| | |
| | | |
| | | <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}"/> |
| | |
| | | </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> |