<UserControl x:Class="HMI.AlarmInfoManage.AlarmInfoManage_Setting"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:local="clr-namespace:HMI.AlarmInfoManage"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
Loaded="UserControl_Loaded"
|
mc:Ignorable="d"
|
d:DesignHeight="450" d:DesignWidth="800">
|
<Grid>
|
<StackPanel>
|
<GroupBox Header="PLC设置">
|
<StackPanel>
|
<pu:FormGroup Header="PLC IP" GroupName="MyFormGroup">
|
<TextBox Text="{Binding PlcIp}"/>
|
</pu:FormGroup>
|
|
<pu:FormGroup Header="启用PLC" GroupName="MyFormGroup">
|
<CheckBox IsChecked="{Binding PlcEnabled,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
</pu:FormGroup>
|
</StackPanel>
|
</GroupBox>
|
</StackPanel>
|
</Grid>
|
</UserControl>
|