123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <UserControl x:Class="FurnaceUI.Views.Operations.PMCommandView"
- 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.Operations"
- xmlns:cal="http://www.caliburn.org"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- mc:Ignorable="d"
- Height="650" Width="960" Background="{DynamicResource MainArea_BG}">
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition Height="60"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="360"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Border Grid.Row="1" Grid.Column="0" Margin="10" BorderBrush="Gray" BorderThickness="2">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="100"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Abort" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Abort recipe is begin. And mode shifts tp the abort."/>
- </Grid>
- </ContentControl>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="EmergencyAbort"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Border Grid.Row="1" Margin="10" BorderBrush="Gray" BorderThickness="2">
- <UniformGrid Rows="2">
- <Border Margin="10,10,10,10" BorderBrush="Gray" BorderThickness="2">
- <UniformGrid Rows="2">
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Idle" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Idle recipe is begin. mode shifts to the idle."/>
- </Grid>
- </ContentControl>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Standby" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Mode shifts to the standby. "/>
- </Grid>
- </ContentControl>
- </Button>
- </UniformGrid>
- </Border>
- <Border Margin="10,10,10,10" BorderBrush="Gray" BorderThickness="2">
- <UniformGrid Rows="2">
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Start" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Process recipe is begin."/>
- </Grid>
- </ContentControl>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="End" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="End step is begin."/>
- </Grid>
- </ContentControl>
- </Button>
- </UniformGrid>
- </Border>
- </UniformGrid>
- </Border>
- </Grid>
- </Border>
- <WrapPanel Grid.Row="2" Grid.ColumnSpan="2" IsEnabled="{Binding IsEnable}" HorizontalAlignment="Center">
- </WrapPanel>
- <Grid Grid.Row="1" Grid.Column="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="100"/>
- <RowDefinition Height="120"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <WrapPanel HorizontalAlignment="Stretch" VerticalAlignment="Center">
- <TextBox Text="UNKNOWN" Height="78" Width="246" Margin="10,0,40,0"/>
- <Button Content="Close" HorizontalAlignment="Right" Width="180" Height="62">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ClickCmd">
- <cal:Parameter Value="Cancel"/>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </WrapPanel>
- <UniformGrid Columns="2" Grid.Row="1">
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Reset" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Reset recipe is begin. And mode shifts tp the reset."/>
- </Grid>
- </ContentControl>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="False">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Manual" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Equiment is driven with the manual."/>
- </Grid>
- </ContentControl>
- </Button>
- </UniformGrid>
- <UniformGrid Grid.Row="2" Rows="2" Columns="2" >
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{Binding IsHoldButtonEnable}">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Hold" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Recipe is hold in a present step."/>
- </Grid>
- </ContentControl>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Hold"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{Binding PM1IsRecipeHold}">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Release" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Release the hold."/>
- </Grid>
- </ContentControl>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Release"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Skip" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Skipping to the next step."/>
- </Grid>
- </ContentControl>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Skip"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Width="250" Height="80" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="Jump" FontSize="30" HorizontalAlignment="Center"/>
- <TextBlock Grid.Row="1" Text="Jump to the specified step."/>
- </Grid>
- </ContentControl>
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Jump"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </UniformGrid>
- </Grid>
- </Grid>
- </UserControl>
|