sb
alielie
2025-03-03 f90615921589586c1f9efde22620b45243d94657
HMI.SettingControl/SystemConfig.xaml
@@ -25,10 +25,12 @@
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <GroupBox Header="程序设置" Padding="10">
        <GroupBox Header="基础设置" Padding="10">
            <StackPanel>
                <pu:FormGroup Header="Logo" GroupName="MyFormGroup">
                    <TextBox Text="{Binding LogoPath}"/>
@@ -39,8 +41,17 @@
                </pu:FormGroup>
            </StackPanel>
        </GroupBox>
        <DockPanel Grid.Row="1" LastChildFill="False">
            <Button DockPanel.Dock="Right" Style="{StaticResource PrimaryButton}" Click="Button_Click">保存</Button>
        </DockPanel>
        <GroupBox Grid.Row="1"  Header="PLC设置" Padding="10">
            <StackPanel>
                <pu:FormGroup Header="PLC Ip" GroupName="MyFormGroup">
                    <TextBox Text="{Binding PlcIp}"/>
                </pu:FormGroup>
                <pu:FormGroup Header="是否启用" GroupName="MyFormGroup">
                    <CheckBox IsChecked="{Binding PlcEnabled,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
                </pu:FormGroup>
            </StackPanel>
        </GroupBox>
    </Grid>
</UserControl>