|
@@ -1,13 +1,18 @@
|
|
|
-<UserControl x:Class="FurnaceUI.Views.Editors.RecipeHeaderView"
|
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
- xmlns:local="clr-namespace:FurnaceUI.Views.Editors" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org" xmlns:converter="clr-namespace:FurnaceUI.Converter"
|
|
|
- mc:Ignorable="d"
|
|
|
- Height="600" Width="740" FontFamily="Segoe">
|
|
|
+<UserControl
|
|
|
+ x:Class="FurnaceUI.Views.Editors.RecipeHeaderView"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:cal="http://www.caliburn.org"
|
|
|
+ xmlns:converter="clr-namespace:FurnaceUI.Converter"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ Width="740"
|
|
|
+ Height="600"
|
|
|
+ FontFamily="Segoe"
|
|
|
+ mc:Ignorable="d">
|
|
|
<UserControl.Resources>
|
|
|
- <converter:IsCheckShowStringConverter x:Key="isCheckShowStringConverter"/>
|
|
|
+ <converter:IsCheckShowStringConverter x:Key="isCheckShowStringConverter"/>
|
|
|
</UserControl.Resources>
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
@@ -16,50 +21,91 @@
|
|
|
</Grid.RowDefinitions>
|
|
|
<DockPanel>
|
|
|
<Canvas>
|
|
|
- <GroupBox Canvas.Left="90" Canvas.Top="20" Header="Range Check">
|
|
|
- <Grid Height="115" Width="550">
|
|
|
+ <GroupBox
|
|
|
+ Canvas.Left="90"
|
|
|
+ Canvas.Top="20"
|
|
|
+ Header="Range Check">
|
|
|
+ <Grid Width="550" Height="115">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition/>
|
|
|
<RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="0.7*"/>
|
|
|
- <ColumnDefinition Width="1.3*"/>
|
|
|
+ <ColumnDefinition Width="1.3*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Text="Range Check" VerticalAlignment="Center" Margin="20,0,0,0"/>
|
|
|
- <TextBlock Grid.Row="1" Text="Table Number" VerticalAlignment="Center" Margin="20,0,0,0"/>
|
|
|
- <TextBox Grid.Row="0" Text="Not Select" Grid.Column="1" Grid.RowSpan="2" Width="300" Height="50" IsEnabled="False"/>
|
|
|
+ <TextBlock
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Text="Range Check"/>
|
|
|
+ <TextBlock
|
|
|
+ Grid.Row="1"
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Text="Table Number"/>
|
|
|
+ <TextBox
|
|
|
+ Grid.Row="0"
|
|
|
+ Grid.RowSpan="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ Width="300"
|
|
|
+ Height="50"
|
|
|
+ IsEnabled="False"
|
|
|
+ Text="Not Select"/>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
|
|
|
|
|
|
- <GroupBox Canvas.Left="90" Canvas.Top="350" Header="Special Sequence">
|
|
|
- <Grid Height="115" Width="550">
|
|
|
+ <GroupBox
|
|
|
+ Canvas.Left="90"
|
|
|
+ Canvas.Top="350"
|
|
|
+ Header="Special Sequence">
|
|
|
+ <Grid Width="550" Height="115">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="0.7*"/>
|
|
|
- <ColumnDefinition Width="1.3*"/>
|
|
|
+ <ColumnDefinition Width="1.3*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Text="H20 Type" VerticalAlignment="Center" Margin="20,0,0,0"/>
|
|
|
- <TextBox Grid.Row="0" Text="None" Grid.Column="1" Width="300" Height="50" IsEnabled="False"/>
|
|
|
+ <TextBlock
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Text="H20 Type"/>
|
|
|
+ <TextBox
|
|
|
+ Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ Width="300"
|
|
|
+ Height="50"
|
|
|
+ IsEnabled="False"
|
|
|
+ Text="None"/>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
|
|
|
- <GroupBox Canvas.Left="90" Canvas.Top="180" Header="N2 Purge">
|
|
|
- <Grid Height="115" Width="550">
|
|
|
+ <GroupBox
|
|
|
+ Canvas.Left="90"
|
|
|
+ Canvas.Top="180"
|
|
|
+ Header="N2 Purge">
|
|
|
+ <Grid Width="550" Height="115">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="0.7*"/>
|
|
|
- <ColumnDefinition Width="1.3*"/>
|
|
|
+ <ColumnDefinition Width="1.3*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Text="N2 Purge Mode" VerticalAlignment="Center" Margin="20,0,0,0"/>
|
|
|
- <ComboBox Grid.Row="0" Grid.Column="1" Text="{Binding CmbN2Purge}" Width="300" Height="50">
|
|
|
+ <TextBlock
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Text="N2 Purge Mode"/>
|
|
|
+ <ComboBox
|
|
|
+ Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ Width="300"
|
|
|
+ Height="50"
|
|
|
+ Text="{Binding CmbN2Purge}">
|
|
|
<ListBoxItem Content="None"/>
|
|
|
<ListBoxItem Content="N2 Purge"/>
|
|
|
+ <ListBoxItem Content="ATM"/>
|
|
|
</ComboBox>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
@@ -69,19 +115,30 @@
|
|
|
<Border Grid.Row="2">
|
|
|
<Grid>
|
|
|
<Canvas>
|
|
|
- <Button Content="Save" Canvas.Left="406" Canvas.Top="19" Width="130" Height="45" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
|
|
|
+ <Button
|
|
|
+ Canvas.Left="406"
|
|
|
+ Canvas.Top="19"
|
|
|
+ Width="130"
|
|
|
+ Height="45"
|
|
|
+ Content="Save"
|
|
|
+ IsEnabled="{Binding IsEnable}"
|
|
|
+ Style="{StaticResource CommandButton}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="TempSetSave">
|
|
|
- </cal:ActionMessage>
|
|
|
+ <cal:ActionMessage MethodName="TempSetSave"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</Button>
|
|
|
- <Button Content="Close" Canvas.Left="556" Canvas.Top="19" Width="130" Height="45" Style="{StaticResource CommandButton}">
|
|
|
+ <Button
|
|
|
+ Canvas.Left="556"
|
|
|
+ Canvas.Top="19"
|
|
|
+ Width="130"
|
|
|
+ Height="45"
|
|
|
+ Content="Close"
|
|
|
+ Style="{StaticResource CommandButton}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="TempSetCancel">
|
|
|
- </cal:ActionMessage>
|
|
|
+ <cal:ActionMessage MethodName="TempSetCancel"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</Button>
|