From 1fca2167068e9ef2c079ec742f20313fc6697ab1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 03 三月 2025 09:18:33 +0800
Subject: [PATCH] 完善代码;

---
 HMI.SettingControl/SystemConfig.xaml |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/HMI.SettingControl/SystemConfig.xaml b/HMI.SettingControl/SystemConfig.xaml
index 27114f5..cc84c83 100644
--- a/HMI.SettingControl/SystemConfig.xaml
+++ b/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,7 +41,20 @@
                 </pu:FormGroup>
             </StackPanel>
         </GroupBox>
-        <DockPanel Grid.Row="1" LastChildFill="False">
+
+        <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>
+
+        <DockPanel Grid.Row="3" LastChildFill="False">
             <Button DockPanel.Dock="Right" Style="{StaticResource PrimaryButton}" Click="Button_Click">淇濆瓨</Button>
         </DockPanel>
     </Grid>

--
Gitblit v1.9.1