|
@@ -1,11 +1,15 @@
|
|
|
-<UserControl x:Class="FurnaceUI.Client.Dialog.SelectSequenceView"
|
|
|
- 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.Recipes" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
|
|
|
- mc:Ignorable="d"
|
|
|
- Height="400" Width="260" FontFamily="Segoe">
|
|
|
+<UserControl
|
|
|
+ x:Class="FurnaceUI.Client.Dialog.SelectSequenceView"
|
|
|
+ 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: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="260"
|
|
|
+ Height="400"
|
|
|
+ FontFamily="Segoe"
|
|
|
+ mc:Ignorable="d">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="300"/>
|
|
@@ -14,75 +18,76 @@
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid Grid.Row="0" Grid.Column="0">
|
|
|
- <WrapPanel Orientation="Vertical" HorizontalAlignment="Center">
|
|
|
- <RadioButton Content="Auto" Margin="12,12,12,0" Height="40" Width="160" Tag="In automatic contorl.">
|
|
|
-
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
- <cal:Parameter Value="Auto"></cal:Parameter>
|
|
|
+ <WrapPanel HorizontalAlignment="Center" Orientation="Vertical">
|
|
|
+ <RadioButton
|
|
|
+ Width="160"
|
|
|
+ Height="40"
|
|
|
+ Margin="12,30,12,12"
|
|
|
+ Content="N2 Purge Mode">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
+ <cal:Parameter Value="N2PurgeMode"/>
|
|
|
</cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </RadioButton>
|
|
|
- <RadioButton Content="Manual(N2Purge)" Margin="12" Height="40" Width="160" Tag="In manual control(N2Purge)">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
- <cal:Parameter Value="Manual_N2Purge"></cal:Parameter>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </RadioButton>
|
|
|
+ <RadioButton
|
|
|
+ Width="160"
|
|
|
+ Height="40"
|
|
|
+ Margin="12,0,12,12"
|
|
|
+ Content="ATM Mode">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
+ <cal:Parameter Value="ATMMode"/>
|
|
|
</cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </RadioButton>
|
|
|
- <RadioButton Content="Manual(ATM)" Margin="12,0,12,12" Height="40" Width="160" Tag="In manual control(atmospere)">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
- <cal:Parameter Value="Manual_ATM"></cal:Parameter>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </RadioButton>
|
|
|
+ <RadioButton
|
|
|
+ Width="160"
|
|
|
+ Height="40"
|
|
|
+ Margin="12,0,12,12"
|
|
|
+ Content="Manual Mode">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
+ <cal:Parameter Value="ManualMode"/>
|
|
|
</cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </RadioButton>
|
|
|
- <RadioButton Content="Manual(Maintenance)" Margin="12,0,12,12" Height="40" Width="160" Tag="In manual control(maintenance)">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
- <cal:Parameter Value="Manual_Maintenance"></cal:Parameter>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </RadioButton>
|
|
|
- <RadioButton Content="Auto Check" Margin="12,0,12,12" Height="40" Width="160" Tag="In performance automatic check(currently not functioning)">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SelectExistClick">
|
|
|
- <cal:Parameter Value="Auto_Check"></cal:Parameter>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </RadioButton>
|
|
|
- </WrapPanel>
|
|
|
- </Grid>
|
|
|
- <Border Grid.Row="1" Background="AliceBlue" >
|
|
|
- <TextBlock Text="{Binding DialogResultView}" HorizontalAlignment="Center" FontSize="20" VerticalAlignment="Center"></TextBlock>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </RadioButton>
|
|
|
+ </WrapPanel>
|
|
|
+ </Grid>
|
|
|
+ <Border Grid.Row="1" Background="AliceBlue">
|
|
|
+ <TextBlock
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ FontSize="20"
|
|
|
+ Text="{Binding DialogResultView}"/>
|
|
|
</Border>
|
|
|
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="3" >
|
|
|
- <Button Margin="0 0 40 0" Width="90" Height="40" Content="OK">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="OK">
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Width="90" Height="40" Content="Cancel">
|
|
|
+ <StackPanel
|
|
|
+ Grid.Row="3"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Orientation="Horizontal">
|
|
|
+ <Button
|
|
|
+ Width="90"
|
|
|
+ Height="40"
|
|
|
+ Margin="0,0,40,0"
|
|
|
+ Content="OK">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Cancel">
|
|
|
- </cal:ActionMessage>
|
|
|
+ <cal:ActionMessage MethodName="OK"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</Button>
|
|
|
+ <Button
|
|
|
+ x:Name="TryClose"
|
|
|
+ Width="90"
|
|
|
+ Height="40"
|
|
|
+ Content="Cancel"/>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
</UserControl>
|