generated from wenjy/SlnMesnac
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
3.9 KiB
XML
69 lines
3.9 KiB
XML
<Window x:Class="SlnMesnac.WPF.Page.CabinetInfo.CabinetUpdateWindow"
|
|
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:SlnMesnac.WPF.Page.CabinetInfo"
|
|
mc:Ignorable="d"
|
|
Title="修改电柜信息" Height="450" Width="600">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="4*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="1" Margin="5,5">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="电柜编号" FontSize="18" Foreground="#31446E" Margin="50,0,10,3"/>
|
|
<TextBox Text="{Binding CabinetInfo.cabinetCode}" FontSize="16" Grid.Row="1" Width="200" Height="35" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5" IsReadOnly="False">
|
|
<TextBox.Template>
|
|
<ControlTemplate TargetType="TextBox">
|
|
<Border Background="#EBF4FD" BorderBrush="White" BorderThickness="1" CornerRadius="5">
|
|
<ScrollViewer x:Name="PART_ContentHost" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</TextBox.Template>
|
|
</TextBox>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border Grid.Row="2" Margin="5,5">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="电柜别名" FontSize="18" Foreground="#31446E" Margin="50,0,10,3"/>
|
|
<TextBox Text="{Binding CabinetInfo.cabinetAlias}" FontSize="16" Grid.Row="1" Width="200" Height="35" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
<TextBox.Template>
|
|
<ControlTemplate TargetType="TextBox">
|
|
<Border Background="#EBF4FD" BorderBrush="White" BorderThickness="1" CornerRadius="5">
|
|
<ScrollViewer x:Name="PART_ContentHost" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</TextBox.Template>
|
|
</TextBox>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border Grid.Row="3" Margin="5,5">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="是否检测" FontSize="18" Foreground="#31446E" Margin="50,0,10,3"/>
|
|
<TextBox Text="{Binding CabinetInfo.isChecked}" FontSize="16" Grid.Row="1" Width="200" Height="35" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
<TextBox.Template>
|
|
<ControlTemplate TargetType="TextBox">
|
|
<Border Background="#EBF4FD" BorderBrush="White" BorderThickness="1" CornerRadius="5">
|
|
<ScrollViewer x:Name="PART_ContentHost" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</TextBox.Template>
|
|
</TextBox>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
|
|
<Border Grid.Row="4" Margin="5,10" VerticalAlignment="Center" HorizontalAlignment="Right">
|
|
<Button Content="保 存" Command="{Binding SaveCabinetInfoCommand}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#5095F3" BorderBrush="#5095F3" Margin="30,0,10,0"/>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|