Files
CapMachine/CapMachine.Wpf/Views/DialogTherdyConfigView.xaml

60 lines
2.0 KiB
XML

<UserControl
x:Class="CapMachine.Wpf.Views.DialogTherdyConfigView"
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:local="clr-namespace:CapMachine.Wpf.Views"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Width="800"
Height="240"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<StackPanel
Margin="20"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
Margin="10,0,10,0"
VerticalAlignment="Center"
FontSize="26"
FontWeight="Bold"
Foreground="DimGray"
Text="排气压力饱和温度回差(℃):" />
<TextBox
Width="160"
Margin="10,0,0,0"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
FontSize="24"
Text="{Binding H3TempOffsetText, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
</Grid>
<StackPanel
Grid.Row="1"
Margin="0,10,20,10"
HorizontalAlignment="Right"
Orientation="Horizontal">
<Button
Margin="10,0"
Command="{Binding SaveCmd}"
Content="确定"
Foreground="White" />
<Button
Margin="10,0"
Command="{Binding CancelCmd}"
Content="取消"
Foreground="White" />
</StackPanel>
</Grid>
</UserControl>