123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706 |
- <UserControl x:Class="CyberX8_MainPages.Views.SystemSafetyView"
- 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:CyberX8_MainPages.Views"
- xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
- xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignHeight="850" d:DesignWidth="1800">
- <UserControl.Resources>
- <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>
- <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>
- <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>
- <converters:BoolToRedColor x:Key="boolToRedColor"></converters:BoolToRedColor>
- <converters:boolToRedColor2 x:Key="boolToRedColor2"></converters:boolToRedColor2>
- <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>
- <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>
- <converters:BoolToColor x:Key="boolToColor"></converters:BoolToColor>
- <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>
- <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>
- <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>
- <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>
- </UserControl.Resources>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="380"></ColumnDefinition>
- <ColumnDefinition Width="660"></ColumnDefinition>
- <ColumnDefinition Width="380"></ColumnDefinition>
- <ColumnDefinition Width="380"></ColumnDefinition>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="200"></RowDefinition>
- <RowDefinition Height="650"></RowDefinition>
- </Grid.RowDefinitions>
- <!--<GroupBox Grid.Row="0" Header="Scheduler/Job Status" VerticalAlignment="Top" Margin="5,0,5,0" Height="180">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="110"></ColumnDefinition>
- <ColumnDefinition Width="110"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Scheduler Mode" VerticalAlignment="Center" FontWeight="Bold"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Processing State" VerticalAlignment="Center" FontWeight="Bold"/>
- <TextBox Name="SchedulerMode" Grid.Row="1" Grid.Column="0" Width="80" Height="30" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"/>
- <TextBox Name="ProcessingState" Grid.Row="3" Grid.Column="0" Width="80" Height="30" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"/>
- <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Pause" Width="75" Height="30" HorizontalAlignment="Center" Command="{Binding PauseCommand}"></Button>
- <Button Grid.Row="1" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Resume" Width="75" Height="30" HorizontalAlignment="Center" Command="{Binding ResumeCommand}"></Button>
- </Grid>
- </GroupBox>-->
- <GroupBox Grid.Row="0" Grid.RowSpan="2" Header="Safety I/O" VerticalAlignment="Top" Margin="5,0,5,0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="80"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="400"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- <ColumnDefinition Width="50"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Button Grid.Row="0" Grid.Column="0" Style="{StaticResource SysBtnStyle}" Content="Reset" Width="75" Height="30" HorizontalAlignment="Left" Command="{Binding ResetCommand}" Margin="10,0,0,0"></Button>
- <Grid Grid.Row="0" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0">
- <TextBlock Text="Main" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,40,0,0">
- <TextBlock.LayoutTransform>
- <RotateTransform Angle="-90"/>
- </TextBlock.LayoutTransform>
- </TextBlock>
- </Label>
- <Label Grid.Column="1">
- <TextBlock Text="Ldr/puf" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,25,0,0">
- <TextBlock.LayoutTransform>
- <RotateTransform Angle="-90"/>
- </TextBlock.LayoutTransform>
- </TextBlock>
- </Label>
- <Label Grid.Column="2">
- <TextBlock Text="SRD" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,45,0,0">
- <TextBlock.LayoutTransform>
- <RotateTransform Angle="-90"/>
- </TextBlock.LayoutTransform>
- </TextBlock>
- </Label>
- <Label Grid.Column="3">
- <TextBlock Text="Transp" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,30,0,0">
- <TextBlock.LayoutTransform>
- <RotateTransform Angle="-90"/>
- </TextBlock.LayoutTransform>
- </TextBlock>
- </Label>
- </Grid>
- <Label Grid.Row="1" Grid.Column="0" Content="Communication Status" VerticalAlignment="Center" FontWeight="Bold"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Function Block Status" VerticalAlignment="Center" FontWeight="Bold"/>
- <Label Grid.Row="3" Grid.Column="0" Content="TwinCAT State" VerticalAlignment="Center" FontWeight="Bold"/>
- <Grid Grid.Row="1" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Ellipse Grid.Column="0" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.MainCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPufCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="2" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="3" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransportCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- <ColumnDefinition Width="25"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Ellipse Grid.Column="0" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.MainFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPufFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="2" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Column="3" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- </Grid>
- <TextBox Name="TwinCATState" Grid.Row="3" Grid.Column="1" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.TwincatState}"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.TwincatState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" >
- <GroupBox Header="Hot Connect Groups" Margin="10,10,20,20">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Transporter" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Loader TX I/O" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Process TX I/O" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="3" Grid.Column="0" Content="Loader" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="4" Grid.Column="0" Content="PUF" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="5" Grid.Column="0" Content="SRD" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="6" Grid.Column="0" Content="Reservoir 1" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Label Grid.Row="7" Grid.Column="0" Content="Reservoir 2" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.TransporterHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.LdrHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="2" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.PrcHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="3" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.LoaderHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="4" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.PufHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="5" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.SrdHotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="6" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.Reservoir1HotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- <Ellipse Grid.Row="7" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="red"/>
- <Style.Triggers>
- <DataTrigger Binding="{Binding CommonSafetyData.Reservoir2HotConnectState}" Value="8">
- <Setter Property="Fill" Value="lime" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </Grid>
- </GroupBox>
- </Grid>
- </Grid>
- </GroupBox>
- </Grid>
- <Grid Grid.Column="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="600"></RowDefinition>
- <RowDefinition Height="250"></RowDefinition>
- </Grid.RowDefinitions>
- <GroupBox Grid.Row="0" Header="System Access">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="150"></RowDefinition>
- <RowDefinition Height="270"></RowDefinition>
- <RowDefinition Height="180"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="320"></ColumnDefinition>
- <ColumnDefinition Width="320"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <GroupBox Grid.Row="0" Grid.Column="0" Header="Controls" Margin="5,0,5,0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- <ColumnDefinition Width="50"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Access Key :" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Process Halt Button 1" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Process Halt Button 2" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="3" Grid.Column="0" Content="Loader Halt Button" Margin="5,0,0,0" FontWeight="Bold"/>
- <Ellipse Grid.Row="0" Grid.Column="0" Margin="0,0,10,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ModeSelectorSwitch,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- <Label Grid.Row="0" Grid.Column="1" Content="Normal/Slow" Margin="5,0,0,0" FontWeight="Bold"/>
- <Ellipse Grid.Row="0" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ModeSelectorSwitch,Converter={StaticResource boolToColor6}}" Stroke="Silver" HorizontalAlignment="Right"/>
- <Ellipse Grid.Row="1" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessHaltButton1,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- <Ellipse Grid.Row="2" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessHaltButton2,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderHaltButton,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Grid.Column="0" Header="Loader Access" Margin="5,0,5,80">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="80"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Loader Side Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Buffer Side Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Content="Transporter Loader Panel" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Content="Transporter Buffer Panel" Margin="5,0,0,0" FontWeight="Bold"/>
- <Button Grid.Row="0" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockLoaderDoorsCommand}"></Button>
- <Button Grid.Row="0" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockLoaderDoorsCommand}"></Button>
- <UserControls:LockControl Grid.Row="0" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.LoaderDoorLocked}"/>
- <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockBufferDoorsCommand}"></Button>
- <Button Grid.Row="1" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockBufferDoorsCommand}"></Button>
- <UserControls:LockControl Grid.Row="1" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.BufferDoorLocked}"/>
-
- <Ellipse Grid.Row="2" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.BufferPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Grid.Column="0" Header="Plumbing Access" VerticalAlignment="Bottom" Margin="5,0,5,0">
- <Grid Height="50">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0" Content="Plumbing Doors Closed" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PlumbingDoorClosed,Converter={StaticResource boolToColor4}}" Stroke="Silver" HorizontalAlignment="Right"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Grid.Column="1" Header="Process Access" Margin="5,0,5,25">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="75"></ColumnDefinition>
- <ColumnDefinition Width="75"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Process Doors" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Process Door 1" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Process Door 2" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="3" Grid.Column="0" Content="Process Door 3" Margin="5,0,0,0" FontWeight="Bold"/>
- <Label Grid.Row="4" Grid.Column="0" Content="Process Door 4" Margin="5,0,0,0" FontWeight="Bold"/>
- <UserControls:LockControl Grid.Row="1" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor1Locked}"/>
- <UserControls:LockControl Grid.Row="2" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor2Locked}"/>
- <UserControls:LockControl Grid.Row="3" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor3Locked}"/>
- <UserControls:LockControl Grid.Row="4" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor4Locked}"/>
- <Label Grid.Row="5" Grid.Column="0" Content="Upper Panel" Margin="5,0,0,0" FontWeight="Bold"/>
- <Button Grid.Row="0" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Center" Command="{Binding LockProcessDoorsCommand}"></Button>
- <Button Grid.Row="0" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Center" Command="{Binding UnlockProcessDoorsCommand}"></Button>
- <Ellipse Grid.Row="5" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessUpperPanelsOn,Converter={StaticResource boolToColor4}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="2" Grid.Column="1" Header="SRD Access" VerticalAlignment="Top" Margin="5,0,5,0">
- <Grid Height="80">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="SRD Top Panel" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdTopPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="SRD Lower Panel" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdLowerPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- </Grid>
- </GroupBox>
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="320"></ColumnDefinition>
- <ColumnDefinition Width="320"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <GroupBox Grid.Column="0" Header="Motion" Margin="5,0,5,20">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="220"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Button Grid.Row="0" Grid.Column="0" Style="{StaticResource SysBtnStyle}" Margin="5,0,0,0" Content="All On" Width="65" Height="20" HorizontalAlignment="Left" Command="{Binding AllOnCommand}"></Button>
- <Label Grid.Row="0" Grid.Column="0" Content="All Amplifiers On" Margin="0,0,25,0" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Right"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Process Transporter Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Loader Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="DPUFs Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="4" Grid.Column="0" Content="SRDs Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="5" Grid.Column="0" Content="Loader Transporter Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsProcessTransMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsLoaderMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsPufsMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Row="4" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsSRDsMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- <Ellipse Grid.Row="5" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsLoaderTransMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
- </Grid>
- </GroupBox>
-
- </Grid>
- </Grid>
- <Grid Grid.Column="2">
- <Grid.RowDefinitions>
- <RowDefinition Height="240"></RowDefinition>
- <RowDefinition Height="290"></RowDefinition>
- <RowDefinition Height="110"></RowDefinition>
- <RowDefinition Height="200"></RowDefinition>
- </Grid.RowDefinitions>
- <GroupBox Grid.Row="0" Header="Loader" Margin="5,0,5,0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="1" Grid.Column="0" Content="Loader Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Loader A Shuttle" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="Loader A Tilt" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="4" Grid.Column="0" Content="Loader B Shuttle" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="5" Grid.Column="0" Content="Loader B Tilt" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderRotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderRotationSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderAShuttleOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderShuttleASls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderATiltOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderTiltASls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderBShuttleOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderShuttleBSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="5" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderBTiltOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="5" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderTiltBSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="5" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Header="PUFs" Margin="5,0,5,0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="1" Grid.Column="0" Content="PUF 1 Vertical" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="PUF 1 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="PUF 1 Flip" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="4" Grid.Column="0" Content="PUF 2 Vertical" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="5" Grid.Column="0" Content="PUF 2 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="6" Grid.Column="0" Content="PUF 2 Flip" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1VerticalOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1VerticalSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1FlipOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2VerticalOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2VerticalSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="5" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="5" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="6" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2FlipOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="6" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="2" Header="Loader Safety" VerticalAlignment="Center" Margin="5,0,5,0">
- <Grid Height="80">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Loader Zone Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Loader Zone Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="3" Header="PUF Safety" VerticalAlignment="Top" Margin="5,0,5,0">
- <Grid Height="150">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="DPUF Vertical Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="DPUF Vertical Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="DPUF A Pivot/Sup STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="DPUF B Pivot/Sup STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- </Grid>
- <Grid Grid.Column="3">
- <Grid.RowDefinitions>
- <RowDefinition Height="200"></RowDefinition>
- <RowDefinition Height="200"></RowDefinition>
- <RowDefinition Height="80"></RowDefinition>
- <RowDefinition Height="100"></RowDefinition>
- <RowDefinition Height="100"></RowDefinition>
- <RowDefinition Height="150"></RowDefinition>
- </Grid.RowDefinitions>
- <GroupBox Grid.Row="0" Header="SRD" VerticalAlignment="Center" Margin="5,0,5,0">
- <Grid Height="180">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="2" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="SRD 1 ARM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="SRD 1 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="SRD 2 ARM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="4" Grid.Column="0" Content="SRD 2 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd1ArmOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd1RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd2ArmOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Header="Transporters" Margin="5,0,5,0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- <ColumnDefinition Width="70"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="1" Grid.Column="0" Content="Loader Gantry" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Loader Elevator" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="3" Grid.Column="0" Content="Process Gantry" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="4" Grid.Column="0" Content="Process Elevator" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderGantryOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderGantrySls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderElevatorOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderElevatorSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsProcessGantryOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessGantrySls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsProcessElevatorOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessElevatorSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="3" Header="Transporter Safety" VerticalAlignment="Center" Margin="5,0,5,0">
- <Grid Height="80">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Grantry Zone Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterSafeSto,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Grantry Zone Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="4" Header="SRD Safety" VerticalAlignment="Center" Margin="5,0,5,0">
- <Grid Height="80">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="SRD Wash Arms STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="SRD Rotate STO" Margin="5,0,0,2" FontWeight="Bold" VerticalAlignment="Bottom"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="5" Header="Plumbing Safety" VerticalAlignment="Center" Margin="5,0,5,0">
- <Grid Height="120">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Pump EDM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PumpEdm,Converter={StaticResource boolToColor7}}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="1" Grid.Column="0" Content="Reservoir Overflow" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ReservoirHighLevel,Converter={StaticResource boolToRedColor }}" Stroke="Silver" HorizontalAlignment="Center"/>
- <Label Grid.Row="2" Grid.Column="0" Content="Fluid Enable EDM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
- <Ellipse Grid.Row="2" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.FluidEnableEdm,Converter={StaticResource boolToColor7}}" Stroke="Silver" HorizontalAlignment="Center"/>
- </Grid>
- </GroupBox>
- </Grid>
- </Grid>
- </UserControl>
|