Files
6098/Cowain.Bake.Main/Views/MoistureValueView.xaml

120 lines
4.8 KiB
XML

<Window x:Class="Cowain.Bake.Main.Views.MoistureValueView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:prism="http://prismlibrary.com/"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
prism:ViewModelLocator.AutoWireViewModel="True"
Height="220" Width="420" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="70"/>
<RowDefinition Height="60"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<DockPanel Grid.Row="0" Grid.Column="0">
<Label Content="正极水分:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding AnodeWaterJudge}"
FontWeight="Bold" Height="30"
TextWrapping="Wrap"
Width="65" />
</DockPanel>
<DockPanel Grid.Row="0" Grid.Column="1">
<Label
Content="负极水分:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding CathodeWaterJudge}"
FontWeight="Bold"
TextWrapping="Wrap"
VerticalAlignment="Center"
Width="65"/>
</DockPanel>
<DockPanel Grid.Row="0" Grid.Column="2">
<Label
Content="隔膜水分:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding SeptumWaterJudge}"
FontWeight="Bold"
TextWrapping="Wrap"
VerticalAlignment="Center"
Width="65" />
</DockPanel>
<DockPanel Grid.Row="1" Grid.Column="0" Visibility="Hidden">
<Label Content="正极水分2:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding AnodeWaterJudge2}"
FontWeight="Bold" Height="30"
TextWrapping="Wrap"
Width="65" />
</DockPanel>
<DockPanel Grid.Row="1" Grid.Column="1" Visibility="Hidden">
<Label
Content="负极水分2:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding CathodeWaterJudge2}"
FontWeight="Bold"
TextWrapping="Wrap"
VerticalAlignment="Center"
Width="65"/>
</DockPanel>
<DockPanel Grid.Row="1" Grid.Column="2" Visibility="Hidden">
<Label
Content="隔膜水分2:"
Foreground="Black"
FontWeight="Bold"
Style="{DynamicResource BaseStyle}"
Margin="0,25,0,0"
Width="65" />
<TextBox
Text="{Binding SeptumWaterJudge2}"
FontWeight="Bold"
TextWrapping="Wrap"
VerticalAlignment="Center"
Width="65" />
</DockPanel>
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal">
<Button Content="判定" x:Name="judge" Background="DeepSkyBlue" Command="{Binding Judge}" Margin="20,0,0,0" Width="90" />
<!--<Button Content="退出" x:Name="Close" Background="DeepSkyBlue" Command="{Binding CloseCommand}" Margin="30,0,0,0" Width="90" />-->
</StackPanel>
</Grid>
</Window>