<pu:WindowX x:Class="Plugin.CurrentSensorControl.DataModal"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:local="clr-namespace:Plugin.CurrentSensorControl"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
mc:Ignorable="d"
|
Title="Form"
|
SizeToContent="Height"
|
Width="600"
|
WindowStartupLocation="CenterOwner"
|
Style="{StaticResource ModalWindow}">
|
<Window.Resources>
|
|
</Window.Resources>
|
|
<Grid Margin="10">
|
<StackPanel x:Name="formPanel">
|
<pu:FormGroup x:Name="FgName" Header="名称"
|
Style="{StaticResource InputFormGroupStyle}"
|
dp:FormGroupHelper.IsRequired="True"
|
GroupName="MyFormGroup">
|
<TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" />
|
</pu:FormGroup>
|
|
<pu:FormGroup x:Name="FgIP" Header="IP"
|
Style="{StaticResource InputFormGroupStyle}"
|
dp:FormGroupHelper.IsRequired="True"
|
GroupName="MyFormGroup">
|
<TextBox x:Name="TbIP" Style="{StaticResource EditorTextBoxStyle}" />
|
</pu:FormGroup>
|
|
<pu:FormGroup x:Name="FgPort" Header="Port"
|
Style="{StaticResource InputFormGroupStyle}"
|
dp:FormGroupHelper.IsRequired="True"
|
GroupName="MyFormGroup">
|
<pu:NumberInput x:Name="NiPort" Style="{StaticResource FormNumberInput}" />
|
</pu:FormGroup>
|
|
<!--<pu:FormGroup x:Name="FgAddress" Header="Address"
|
Style="{StaticResource InputFormGroupStyle}"
|
dp:FormGroupHelper.IsRequired="True"
|
GroupName="MyFormGroup">
|
<pu:NumberInput x:Name="NiAddress" Style="{StaticResource FormNumberInput}" />
|
</pu:FormGroup>-->
|
|
<pu:FormGroup x:Name="FgChannel" Header="Index"
|
Style="{StaticResource InputFormGroupStyle}"
|
dp:FormGroupHelper.IsRequired="True"
|
GroupName="MyFormGroup">
|
<pu:NumberInput x:Name="NiChannel" Style="{StaticResource FormNumberInput}" />
|
</pu:FormGroup>
|
</StackPanel>
|
</Grid>
|
</pu:WindowX>
|