<Window x:Class="parkMonitor.view.writePLCWin.WritePLCWin"
        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:parkMonitor.view.writePLCWin"
		xmlns:supUI="clr-namespace:com.superscene.ui"
		xmlns:util="clr-namespace:parkMonitor.view.util"
        xmlns:lng="clr-namespace:parkMonitor.language"
        mc:Ignorable="d"
        Title="写入PLC" Height="250" Width="450" ResizeMode="NoResize" WindowStartupLocation="CenterOwner">
	<Grid Background="#727272">
		<Grid Margin="8">
			<StackPanel>
				<supUI:TextBoxLabel Foreground="#fff" LeftWidth="80" ContentColor="#fff" Margin="0,2" BorderBrush="Transparent" IsReadOnly="True" Content="地址：" Text="0" x:Name="lblAddr"/>
				<supUI:TextBoxLabel Foreground="#fff" LeftWidth="80" ContentColor="#fff" Margin="0,2" BorderBrush="Transparent" IsReadOnly="True" Content="设备名：" Text="" x:Name="lblDevNameDesc"/>
				<supUI:TextBoxLabel Foreground="#fff" LeftWidth="80" ContentColor="#fff" Margin="0,2" BorderBrush="Transparent" IsReadOnly="True" Content="状态名：" Text="" x:Name="lblStatusDesc"/>
				<supUI:TextBoxLabel Foreground="#fff" LeftWidth="80" ContentColor="#fff" Margin="0,2" BorderBrush="#fff" Content="写入值：" x:Name="txtWrite" TextChanged="txtWrite_TextChanged"/>
			</StackPanel>
			
			<Grid VerticalAlignment="Bottom">
				<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
					<supUI:MiniButton Content="确定" Padding="30,8" Background="#4c4c4c" Margin="4,0" x:Name="btnOk" Click="btnOk_Click"/>
					<supUI:MiniButton Content="取消" Padding="30,8" Background="#4c4c4c" Margin="4,0" x:Name="btnCancel" Click="btnCancel_Click"/>
				</StackPanel>
			</Grid>
		</Grid>
    </Grid>
</Window>
