| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 | <UserControl x:Class="MaintainModule.Controls.FimsInformation"             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:MaintainModule.Controls"             mc:Ignorable="d"              xmlns:contorl="clr-namespace:MaintainModule.Controls"             d:DesignHeight="450" d:DesignWidth="800">    <UserControl.Resources>        <ResourceDictionary >            <ResourceDictionary.MergedDictionaries>                <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>            </ResourceDictionary.MergedDictionaries>        </ResourceDictionary>    </UserControl.Resources>    <Border Background="White" CornerRadius="4">        <Grid>            <Grid.ColumnDefinitions>                <ColumnDefinition Width="96"/>                <ColumnDefinition Width="*"/>                <ColumnDefinition Width="*"/>                <ColumnDefinition Width="*"/>            </Grid.ColumnDefinitions>            <Grid.RowDefinitions>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>                <RowDefinition Height="42"/>            </Grid.RowDefinitions>            <Border Grid.Row="0" Grid.Column="0" CornerRadius="4,0,0,0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                           BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Dock/Unlock</TextBlock>            </Border>            <Border Grid.Row="0" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="0" Grid.Column="2"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Dock</Button>            </Border>            <Border Grid.Row="0" Grid.Column="3" CornerRadius="0,4,0,0" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Undock</Button>            </Border>            <Border Grid.Row="1" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                     BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Seal/Release</TextBlock>            </Border>            <Border Grid.Row="1" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="1" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Seal</Button>            </Border>            <Border Grid.Row="1" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Release</Button>            </Border>            <Border Grid.Row="2" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                     BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">DoorOpen/DoorClose</TextBlock>            </Border>            <Border Grid.Row="2" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="2" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Open</Button>            </Border>            <Border Grid.Row="2" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Close</Button>            </Border>            <Border Grid.Row="3" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                    BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">LatchOn/LatchOff</TextBlock>            </Border>            <Border Grid.Row="3" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="3" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">On</Button>            </Border>            <Border Grid.Row="3" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Off</Button>            </Border>            <Border Grid.Row="4" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                    BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">Collision Avoidance Up/Down</TextBlock>            </Border>            <Border Grid.Row="4" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="4" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Up</Button>            </Border>            <Border Grid.Row="4" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Down</Button>            </Border>            <Border Grid.Row="5" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">N2 Purge Valve Open/Close</TextBlock>            </Border>            <Border Grid.Row="5" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="5" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Open</Button>            </Border>            <Border Grid.Row="5" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Close</Button>            </Border>            <Border Grid.Row="6" Grid.Column="0" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}"                BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">Vaccum Valve Open/Close</TextBlock>            </Border>            <Border Grid.Row="6" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="6" Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Open</Button>            </Border>            <Border Grid.Row="6" Grid.Column="3"  BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0.5,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Close</Button>            </Border>            <Border Grid.Row="7" Grid.Column="0" CornerRadius="0,0,0,4" Background="{StaticResource LightThemeColor}" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0.5">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow">Cycle</TextBlock>            </Border>            <Border Grid.Row="7" Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0.5">                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Unknow</TextBlock>            </Border>            <Border Grid.Row="7" Grid.Column="2"   BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5,0.5,0,0.5">                <Button Style="{StaticResource FunctionButton}" Margin="4">Start</Button>            </Border>            <Border Grid.Row="7" Grid.Column="3" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.5" CornerRadius="0,0,4,0">                <Button Style="{StaticResource FunctionButton}" Margin="4">Stop</Button>            </Border>        </Grid>    </Border></UserControl>
 |