<UserControl
    x:Class="SicUI.Client.Models.Platform.TM.TMView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:OpenSEMI="http://OpenSEMI.Ctrlib.com/presentation"
    xmlns:cal="http://www.caliburn.org"
    xmlns:control="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"
    xmlns:controlUI="clr-namespace:SicUI.Controls"
    xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:industrialcontrol="clr-namespace:MECF.Framework.UI.Client.IndustrialControl;assembly=MECF.Framework.UI.Client"
    xmlns:lex="http://wpflocalizeextension.codeplex.com"
    xmlns:m2c4parts="clr-namespace:SicUI.Controls.M2C4Parts"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:unitControls="clr-namespace:MECF.Framework.UI.Client.Ctrlib.UnitControls;assembly=MECF.Framework.UI.Client"
    d:DesignHeight="800"
    d:DesignWidth="1920"
    lex:LocalizeDictionary.DesignCulture="en"
    lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
    lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Color x:Key="EdgeColorWhite">DimGray</Color>
        <Color x:Key="CenterColorWhite">LightGray</Color>
        <Color x:Key="CenterColorBlue">LightBlue</Color>
    </UserControl.Resources>
    <ScrollViewer
        Margin="-10"
        HorizontalScrollBarVisibility="Auto"
        VerticalScrollBarVisibility="Auto">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>

            <StackPanel
                Grid.Column="0"
                Width="540"
                HorizontalAlignment="Right"
                VerticalAlignment="Top">

                <Grid Margin="10,10" Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="0" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="PM1"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Status}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding StatusPM1}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="PM1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Abort_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="PM1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Reset_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="PM1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_OnlineMode}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding PM1OnlineMode}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <Grid>
                            <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                                <Button
                                    Width="80"
                                    Height="25"
                                    Margin="10,0"
                                    Content="{lex:Loc ID_BTN_Online_Content}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="Click">
                                            <cal:ActionMessage MethodName="SetOnline">
                                                <cal:Parameter Value="PM1" />
                                            </cal:ActionMessage>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </Button>

                                <Button
                                    Width="80"
                                    Height="25"
                                    Margin="10,0"
                                    Content="{lex:Loc ID_BTN_Offline_Content}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="Click">
                                            <cal:ActionMessage MethodName="SetOffline">
                                                <cal:Parameter Value="PM1" />
                                            </cal:ActionMessage>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </Button>
                            </StackPanel>
                            <TextBlock
                                Width="100"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                TextAlignment="Left"
                                TextWrapping="Wrap">
                                <Run FontSize="12" Text="{lex:Loc ID_TXT_PurgeLoop}" /><Run FontSize="12" Text="{Binding PM1PurgeLoop, StringFormat=0.00, Mode=OneWay}" />
                            </TextBlock>
                        </Grid>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Info}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Grid.ColumnSpan="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1Pressure}"
                                ContentStringFormat="{}{0:F1} mbar"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <!--<Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1Temprature}"
                                ContentStringFormat="{}{0:F1} ℃"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />-->
                            <Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1Rotation}"
                                ContentStringFormat="{}{0:F1} rpm"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1ConfinementState}"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_PyroTemp}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Grid.ColumnSpan="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1L1InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000"
                                Visibility="Collapsed" />
                            <Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1L2InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃ Middle"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1L3InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃ Outer"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Confinement"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1" />

                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <deviceControl:AITSensor
                                Margin="3,0"
                                GreenColor="True"
                                LightOnValue="{Binding RingUpSensor}" />
                            <Button
                                Width="60"
                                Height="25"
                                Margin="1,0"
                                Content="Up"
                                IsEnabled="{Binding EnableRingUpPM1}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingMoveUpPos">
                                            <cal:Parameter Value="{Binding PM1.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <deviceControl:AITSensor
                                Margin="5,0"
                                GreenColor="True"
                                LightOnValue="{Binding RingDownSensor}" />

                            <Button
                                Width="60"
                                Height="25"
                                Margin="1,0"
                                Content="Down"
                                IsEnabled="{Binding EnableRingDownPM1}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingMoveDownPos">
                                            <cal:Parameter Value="{Binding PM1.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="60"
                                Height="25"
                                Margin="5,0"
                                Content="Home"
                                IsEnabled="{Binding EnableRingDownPM1}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingHome">
                                            <cal:Parameter Value="{Binding PM1.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="60"
                                Height="25"
                                Margin="5,0"
                                Content="Reset"
                                IsEnabled="{Binding EnableRingDownPM1}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingReset">
                                            <cal:Parameter Value="{Binding PM1.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                </Grid>

                <Grid Margin="10,10" Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="0" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="PM2"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Status}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding StatusPM2}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="PM2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Abort_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="PM2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Reset_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="PM2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_OnlineMode}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding PM2OnlineMode}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <Grid>
                            <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                                <Button
                                    Width="80"
                                    Height="25"
                                    Margin="10,0"
                                    Content="{lex:Loc ID_BTN_Online_Content}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="Click">
                                            <cal:ActionMessage MethodName="SetOnline">
                                                <cal:Parameter Value="PM2" />
                                            </cal:ActionMessage>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </Button>

                                <Button
                                    Width="80"
                                    Height="25"
                                    Margin="10,0"
                                    Content="{lex:Loc ID_BTN_Offline_Content}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="Click">
                                            <cal:ActionMessage MethodName="SetOffline">
                                                <cal:Parameter Value="PM2" />
                                            </cal:ActionMessage>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </Button>
                            </StackPanel>
                            <TextBlock
                                Width="100"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                TextAlignment="Left"
                                TextWrapping="Wrap">
                                <Run FontSize="12" Text="{lex:Loc ID_TXT_PurgeLoop}" /><Run FontSize="12" Text="{Binding PM2PurgeLoop, StringFormat=0.00, Mode=OneWay}" />
                            </TextBlock>
                        </Grid>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Info}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Grid.ColumnSpan="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2Pressure}"
                                ContentStringFormat="{}{0:F1} mbar"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <!--<Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM1Temprature}"
                                ContentStringFormat="{}{0:F1} ℃"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />-->
                            <Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2Rotation}"
                                ContentStringFormat="{}{0:F1} rpm"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2ConfinementState}"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_PyroTemp}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Grid.ColumnSpan="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2L1InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000"
                                Visibility="Collapsed" />
                            <Label
                                Width="100"
                                Margin="40,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2L2InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃ Middle"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                            <Label
                                Width="100"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="{Binding PM2L3InputTemp}"
                                ContentStringFormat="{}{0:F1} ℃ Outer"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="#000" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Confinement"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1" />

                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <deviceControl:AITSensor
                                Margin="3,0"
                                GreenColor="True"
                                LightOnValue="{Binding RingUpSensor}" />
                            <Button
                                Width="60"
                                Height="25"
                                Margin="1,0"
                                Content="Up"
                                IsEnabled="{Binding EnableRingUpPM2}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingMoveUpPos">
                                            <cal:Parameter Value="{Binding PM2.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <deviceControl:AITSensor
                                Margin="5,0"
                                GreenColor="True"
                                LightOnValue="{Binding RingDownSensor}" />

                            <Button
                                Width="60"
                                Height="25"
                                Margin="1,0"
                                Content="Down"
                                IsEnabled="{Binding EnableRingDownPM2}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingMoveDownPos">
                                            <cal:Parameter Value="{Binding PM2.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="60"
                                Height="25"
                                Margin="5,0"
                                Content="Home"
                                IsEnabled="{Binding EnableRingDownPM2}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingHome">
                                            <cal:Parameter Value="{Binding PM2.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="60"
                                Height="25"
                                Margin="5,0"
                                Content="Reset"
                                IsEnabled="{Binding EnableRingDownPM2}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="RingReset">
                                            <cal:Parameter Value="{Binding PM2.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                </Grid>

                <Grid Margin="10,10" Visibility="Collapsed">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />

                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="UnLoad"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Status"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding UnLoadStatus}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">

                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Home">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Abort">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Reset">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Online Mode"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            Margin="0,7,0,0"
                            VerticalAlignment="Top"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding UnLoadOnlineMode}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Online"
                                IsEnabled="{Binding IsUnLoadOnlineButtonEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOnline">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Offline"
                                IsEnabled="{Binding IsUnLoadOfflineButtonEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOffline">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Pressure"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding UnLoadPressureDisplay, StringFormat=\{0:F1\}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Pump"
                                IsEnabled="{Binding IsUnLoadEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Pump">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Vent"
                                IsEnabled="{Binding IsUnLoadEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Vent">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Purge"
                                IsEnabled="{Binding IsUnLoadEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Purge">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Temperature"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding UnLoadTemperature, StringFormat=\{0:F1\}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="4"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <Grid>
                            <Button
                                Width="95"
                                Height="25"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                Content="LeakCheck"
                                IsEnabled="{Binding IsUnLoadEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LeakCheck">
                                            <cal:Parameter Value="UnLoad" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <TextBlock
                                Width="100"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{Binding UnLoadPurgeLoop, StringFormat=0.00}"
                                TextAlignment="Right"
                                TextWrapping="Wrap" />
                        </Grid>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="TrayPresence"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            DeviceData="{Binding UnLoadTrayPresence}"
                            IsCustomRender="True" />
                    </Border>

                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Label
                                Margin="15,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                Content="ColingTime(s)"
                                FontFamily="Arial"
                                FontSize="12" />

                            <TextBlock
                                Width="140"
                                Margin="10,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{Binding UnLoadCoolingTime}"
                                TextWrapping="Wrap" />
                        </StackPanel>

                    </Border>

                    <Border
                        Grid.Row="6"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="UnLoad Lid"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding UnLoadLidState}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <Button
                            Width="80"
                            Height="25"
                            Margin="10,0"
                            HorizontalAlignment="Left"
                            Content="Separate"
                            IsEnabled="{Binding IsUnLoadEnableManualOperation}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="Separate">
                                        <cal:Parameter Value="UnLoad" />
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>

                </Grid>

                <Grid Margin="10" Visibility="{Binding IsLLInstalled, Converter={StaticResource BoolVisibilityConverter}}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />

                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="Load"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Status}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding LLStatus}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">

                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Abort_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Reset_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_OnlineMode}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            Margin="0,7,0,0"
                            VerticalAlignment="Top"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding LLOnlineMode}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Online_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOnline">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Offline_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOffline">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <TextBlock
                                Width="100"
                                Margin="15,0,0,0"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                TextAlignment="Left"
                                TextWrapping="Wrap">
                                <Run FontSize="12" Text="{lex:Loc ID_TXT_PurgeLoop}" /><Run FontSize="12" Text="{Binding LLPurgeLoop, StringFormat=0.00, Mode=OneWay}" />
                            </TextBlock>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Pressure}"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding LLPressureDisplay, StringFormat=\{0:F1\}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Pump_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Pump">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Vent_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Vent">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Purge_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Purge">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_TrayPresence}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            DeviceData="{Binding LLTrayPresence}"
                            IsCustomRender="True" />
                    </Border>

                    <Border
                        Grid.Row="4"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <Grid>
                            <Button
                                Width="95"
                                Height="25"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                Content="{lex:Loc ID_BTN_LeakCheck_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LeakCheck">
                                            <cal:Parameter Value="LoadLock" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Grid>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Door}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            Margin="0,7,0,0"
                            VerticalAlignment="Top"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="LeftSide"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                Content="{lex:Loc ID_BTN_Open_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LoadOpenSlitValve" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <deviceControl:AITSensor
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                GreenColor="True"
                                LightOnValue="{Binding LoadLockLSideDoorOpenSensor}" />
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                Content="{lex:Loc ID_BTN_Close_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LoadCloseSlitValve" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <deviceControl:AITSensor
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                GreenColor="True"
                                LightOnValue="{Binding LoadLockLSideDoorCloseSensor}" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="6"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Lift}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text=""
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <deviceControl:AITSensor
                                Margin="10,0,0,0"
                                HorizontalAlignment="Center"
                                GreenColor="True"
                                LightOnValue="{Binding LoadLiftUpSensor}" />
                            <Button
                                Width="80"
                                Height="24"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
                                Content="{lex:Loc ID_BTN_Up_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LLLiftUp" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <deviceControl:AITSensor
                                Margin="60,0,0,0"
                                HorizontalAlignment="Center"
                                GreenColor="True"
                                LightOnValue="{Binding LoadLiftDownSensor}" />
                            <Button
                                Width="80"
                                Height="24"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
                                Content="{lex:Loc ID_BTN_Down_Content}"
                                IsEnabled="{Binding IsLLEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LLLiftDown" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                </Grid>
            </StackPanel>

            <Canvas
                Grid.Column="1"
                Width="800"
                Height="700"
                Margin="10,-20"
                VerticalAlignment="Top">
                <Canvas
                    x:Name="GasLines1"
                    Canvas.Left="-16"
                    Canvas.Top="150">
                    <industrialcontrol:PipeLine
                        Canvas.Left="45"
                        Canvas.Top="572"
                        Width="282"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorBlue}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="0"
                        RightDirection="None"
                        Visibility="Visible" />

                    <industrialcontrol:PipeLine
                        Canvas.Left="491"
                        Canvas.Top="122"
                        Width="56"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V702MoveSpeed2}"
                        RightDirection="Right"
                        Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <industrialcontrol:PipeLine
                        Canvas.Left="547"
                        Canvas.Top="33"
                        Width="90"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V702MoveSpeed}"
                        RightDirection="None"
                        Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <industrialcontrol:PipeLine
                        Canvas.Left="237"
                        Canvas.Top="122"
                        Width="56"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V701MoveSpeed}"
                        RightDirection="None"
                        Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <industrialcontrol:PipeLine
                        Canvas.Left="245"
                        Canvas.Top="34"
                        Width="90"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V701MoveSpeed}"
                        RightDirection="None"
                        Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="238"
                        Canvas.Top="262"
                        Width="75"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V70MoveSpeed}"
                        RightDirection="None"
                        Visibility="Visible" />-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="246"
                        Canvas.Top="237"
                        Width="26"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V70MoveSpeed}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->

                    <industrialcontrol:PipeLine
                        Canvas.Left="426"
                        Canvas.Top="307"
                        Width="40"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V85MoveSpeed2}"
                        RightDirection="Right"
                        Visibility="Visible" />
                    <industrialcontrol:PipeLine
                        Canvas.Left="466"
                        Canvas.Top="262"
                        Width="46"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V85MoveSpeed}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="647"
                        Canvas.Top="-115"
                        Width="100"
                        Height="34"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V78MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V77MoveSpeed2}"
                        PipeWidth="8" />-->

                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="699"
                        Canvas.Top="-81"
                        Width="108"
                        Height="28"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V77V78MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V79MoveSpeed2}"
                        PipeWidth="8" />-->

                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="735"
                        Canvas.Top="161"
                        Width="61"
                        Height="171"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V79MoveSpeed2}"
                        MoveSpeed2="{Binding V80MoveSpeed2}"
                        MoveSpeed3="0"
                        PipeWidth="8">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="90" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>-->


                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="757"
                        Canvas.Top="-53"
                        Width="407"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V79MoveSpeed2}"
                        RightDirection="Left"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->

                    <industrialcontrol:PipeLine
                        Canvas.Left="431"
                        Canvas.Top="360"
                        Width="43"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V83V84MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <industrialcontrol:PipeLine
                        Canvas.Left="431"
                        Canvas.Top="504"
                        Width="14"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V83V84MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="423"
                        Canvas.Top="471"
                        Width="68"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V83MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V84MoveSpeed2}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <RotateTransform Angle="-90" />
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="423"
                        Canvas.Top="466"
                        Width="38"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V83MoveSpeed2}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V84MoveSpeed}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="-1.0" />
                                <SkewTransform />
                                <RotateTransform Angle="-90" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>

                    <industrialcontrol:PipeLine
                        Canvas.Left="472"
                        Canvas.Top="433"
                        Width="56"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Left"
                        MoveSpeed="{Binding V84MoveSpeed2}"
                        RightDirection="Left">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>


                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="220"
                        Canvas.Top="249"
                        Width="165"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V122V123MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="73"
                        Canvas.Top="189"
                        Width="125"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V78MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible" />-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="81"
                        Canvas.Top="-115"
                        Width="304"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V78MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="80"
                        Canvas.Top="-115"
                        Width="567"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V78MoveSpeed}"
                        RightDirection="None"
                        Visibility="Visible" />-->


                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="212"
                        Canvas.Top="469"
                        Width="68"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V122MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V123MoveSpeed2}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <RotateTransform Angle="-90" />
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>-->

                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="212"
                        Canvas.Top="464"
                        Width="38"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V122MoveSpeed2}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V123MoveSpeed}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="-1.0" />
                                <SkewTransform />
                                <RotateTransform Angle="-90" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="261"
                        Canvas.Top="431"
                        Width="56"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Left"
                        MoveSpeed="{Binding V123MoveSpeed2}"
                        RightDirection="Left">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->
                    <industrialcontrol:PipeLine
                        Canvas.Left="750"
                        Canvas.Top="354"
                        Width="310"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V79MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="180" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>


                    <industrialcontrol:PipeLine
                        Canvas.Left="758"
                        Canvas.Top="-53"
                        Width="407"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V79MoveSpeed2}"
                        RightDirection="Left"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="699"
                        Canvas.Top="-81"
                        Width="110"
                        Height="28"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V77MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V79MoveSpeed2}"
                        PipeWidth="8" />



                    <industrialcontrol:PipeLine
                        Canvas.Left="699"
                        Canvas.Top="-73"
                        Width="302"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V77MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="180" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>



                    <industrialcontrol:PipeLine
                        Canvas.Left="398"
                        Canvas.Top="-81"
                        Width="178"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V77MoveSpeed2}"
                        RightDirection="None"
                        Visibility="{Binding TMN2BallastValveData.Feedback, Converter={StaticResource BoolVisibilityConverter}}">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="90" />
                            </TransformGroup>
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="220"
                        Canvas.Top="502"
                        Width="20"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V122V123MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="90" />
                            </TransformGroup>
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="212"
                        Canvas.Top="521"
                        Width="200"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Right"
                        MoveSpeed="{Binding V122V123MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible" />-->
                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="377"
                        Canvas.Top="615"
                        Width="148"
                        Height="48"
                        CenterColor="{StaticResource ResourceKey=CenterColorBlue}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="-1.0" />
                                <SkewTransform />
                                <RotateTransform Angle="180" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>-->
                    <industrialcontrol:PipeLine
                        Canvas.Left="379"
                        Canvas.Top="603"
                        Width="340"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorBlue}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        RightDirection="None"
                        Visibility="Visible" />


                    <industrialcontrol:PipeLine
                        Canvas.Left="368"
                        Canvas.Top="518"
                        Width="63"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V83V84MoveSpeed}"
                        RightDirection="Right"
                        Visibility="Visible" />
                    <!--<industrialcontrol:PipeLine
                        Canvas.Left="571"
                        Canvas.Top="529"
                        Width="73"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V83V84V122V123MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>-->
                    <industrialcontrol:PipeLine
                        Canvas.Left="335"
                        Canvas.Top="541"
                        Width="50"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V81V82V83V84MoveSpeed}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <!--<industrialcontrol:PipeLineThree
                        Canvas.Left="451"
                        Canvas.Top="529"
                        Width="48"
                        Height="31"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V122V123MoveSpeed}"
                        MoveSpeed2="{Binding V83V84MoveSpeed}"
                        MoveSpeed3="0"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="180" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>-->

                    <industrialcontrol:PipeLine
                        Canvas.Left="375"
                        Canvas.Top="432"
                        Width="56"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="Left"
                        MoveSpeed="{Binding V82MoveSpeed2}"
                        RightDirection="Left">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>


                    <industrialcontrol:PipeLine
                        Canvas.Left="335"
                        Canvas.Top="260"
                        Width="163"
                        Height="8"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        LeftDirection="None"
                        MoveSpeed="{Binding V81V82MoveSpeed2}"
                        RightDirection="None"
                        Visibility="Visible">
                        <industrialcontrol:PipeLine.RenderTransform>
                            <RotateTransform Angle="90" />
                        </industrialcontrol:PipeLine.RenderTransform>
                    </industrialcontrol:PipeLine>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="327"
                        Canvas.Top="450"
                        Width="28"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V81MoveSpeed}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V82MoveSpeed2}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <RotateTransform Angle="-90" />
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="327"
                        Canvas.Top="465"
                        Width="38"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V81MoveSpeed2}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V82MoveSpeed}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="-1.0" />
                                <SkewTransform />
                                <RotateTransform Angle="-90" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>

                    <industrialcontrol:PipeLineThree
                        Canvas.Left="327"
                        Canvas.Top="503"
                        Width="38"
                        Height="41"
                        CenterColor="{StaticResource ResourceKey=CenterColorWhite}"
                        EdgeColor="{StaticResource ResourceKey=EdgeColorWhite}"
                        MoveSpeed1="{Binding V81V82MoveSpeed2}"
                        MoveSpeed2="0"
                        MoveSpeed3="{Binding V83V84MoveSpeed}"
                        PipeWidth="8"
                        Visibility="Visible">
                        <industrialcontrol:PipeLineThree.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="-1.0" />
                                <SkewTransform />
                                <RotateTransform Angle="-90" />
                                <TranslateTransform />
                            </TransformGroup>
                        </industrialcontrol:PipeLineThree.RenderTransform>
                    </industrialcontrol:PipeLineThree>
                </Canvas>

                <m2c4parts:M2C4EFEMView2
                    x:Name="system"
                    Canvas.Top="-78"
                    Width="750"
                    Height="640" />

                <Canvas
                    x:Name="Devices"
                    Canvas.Left="0"
                    Canvas.Top="150"
                    IsEnabled="{Binding IsServiceMode}">
                    <Line
                        Canvas.Top="-25"
                        Stroke="Gray"
                        StrokeThickness="8"
                        X1="415"
                        X2="430"
                        Y1="415"
                        Y2="415" />
                    <Line
                        Canvas.Left="-118"
                        Canvas.Top="-150"
                        Stroke="Gray"
                        StrokeThickness="8"
                        X1="415"
                        X2="430"
                        Y1="540"
                        Y2="540" />
                    <!--<Line
                        Canvas.Left="-2"
                        Canvas.Top="101"
                        Stroke="Gray"
                        StrokeThickness="8"
                        X1="196"
                        X2="196"
                        Y1="285"
                        Y2="293" />-->

                    <!--<Line
                        Canvas.Left="6"
                        Canvas.Top="-264"
                        Panel.ZIndex="-1"
                        Stroke="Gray"
                        StrokeThickness="20"
                        X1="196"
                        X2="196"
                        Y1="285"
                        Y2="293" />-->

                    <Path
                        Canvas.Left="773"
                        Canvas.Top="-89"
                        Data="M20 0L11 4L9 4L0 0 L0 10L9 6L11 6L20 10Z"
                        Stroke="Gray"
                        StrokeThickness="2">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="90" />
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>

                    <Path
                        Canvas.Left="648"
                        Canvas.Top="598"
                        Data="M20 0L11 4L9 4L0 0 L0 10L9 6L11 6L20 10Z"
                        Stroke="Gray"
                        StrokeThickness="2">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="90" />
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>

                    <Label
                        Canvas.Left="282"
                        Canvas.Top="462"
                        Content="V81" />
                    <Label
                        Canvas.Left="456"
                        Canvas.Top="281"
                        Content="V85" />
                    <Label
                        Canvas.Left="614"
                        Canvas.Top="315"
                        Content="V79" />
                    <!--<Label
                        Canvas.Left="160"
                        Canvas.Top="427"
                        Content="V122" />
                    <Label
                        Canvas.Left="239"
                        Canvas.Top="427"
                        Content="V123" />-->
                    <!--<Label
                        Canvas.Left="481"
                        Canvas.Top="-112"
                        Content="V78" />-->
                    <Label
                        Canvas.Left="582"
                        Canvas.Top="-63"
                        Content="V77" />
                    <Label
                        Canvas.Left="622"
                        Canvas.Top="-63"
                        Content="MFC60" />
                    <Label
                        Canvas.Left="170"
                        Canvas.Top="96"
                        Content="V70-1"
                        Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <Label
                        Canvas.Left="504"
                        Canvas.Top="125"
                        Content="V70-2"
                        Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <!--<Label
                        Canvas.Left="614"
                        Canvas.Top="158"
                        Content="V80"/>-->
                    <!--<Label
                        Canvas.Left="232"
                        Canvas.Top="271"
                        Content="V124" />-->
                    <Label
                        Canvas.Left="751"
                        Canvas.Top="-73"
                        Content="V86" />
                    <Label
                        Canvas.Left="378"
                        Canvas.Top="432"
                        Content="V83" />
                    <Label
                        Canvas.Left="453"
                        Canvas.Top="432"
                        Content="V84" />
                    <Label
                        Canvas.Left="354"
                        Canvas.Top="463"
                        Content="V82" />
                    <!--<Label
                        Canvas.Left="118"
                        Canvas.Top="-7"
                        Content="PT10" />-->
                    <Label
                        Canvas.Left="500"
                        Canvas.Top="379"
                        Content="PT3" />
                    <Label
                        Canvas.Left="192"
                        Canvas.Top="378"
                        Content="PT4" />
                    <!--<Label
                        Canvas.Left="125"
                        Canvas.Top="354"
                        Content="PT9" />-->
                    <Label
                        Canvas.Left="9"
                        Canvas.Top="581"
                        Content="To V75 Double O-Ring"
                        FontSize="10" />
                    <Label
                        Canvas.Left="652"
                        Canvas.Top="606"
                        Content="N2 Purge"
                        FontSize="10" />

                    <Label
                        Canvas.Left="631"
                        Canvas.Top="580"
                        Content="V17"
                        FontSize="10" />

                    <TextBlock
                        Canvas.Left="205"
                        Canvas.Top="-46"
                        FontFamily="Arial"
                        FontSize="18"
                        Text="PM1"
                        Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <TextBlock
                        Canvas.Left="500"
                        Canvas.Top="-45"
                        FontFamily="Arial"
                        FontSize="18"
                        Text="PM2"
                        Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <TextBlock
                        Canvas.Left="116"
                        Canvas.Top="235"
                        FontFamily="Arial"
                        FontSize="18"
                        Text="UnLoad"
                        Visibility="{Binding IsPreHeatInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
                    <TextBlock
                        Canvas.Left="568"
                        Canvas.Top="220"
                        FontFamily="Arial"
                        FontSize="18"
                        RenderTransformOrigin="0.604,-1.095"
                        Text="Buffer"
                        Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
                    <TextBlock
                        Canvas.Left="360"
                        Canvas.Top="110"
                        FontFamily="Arial"
                        FontSize="18"
                        Text="TM"
                        Visibility="{Binding IsTMInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
                    <TextBlock
                        Canvas.Left="351"
                        Canvas.Top="380"
                        FontFamily="Arial"
                        FontSize="18"
                        RenderTransformOrigin="4.531,3.688"
                        Text="Load"
                        Visibility="{Binding IsLLInstalled, Converter={StaticResource BoolVisibilityConverter}}" />

                    <!--<deviceControl:AITPressureMeter
                        Canvas.Left="113"
                        Canvas.Top="11"
                        Width="90"
                        Height="30"
                        DeviceData="{Binding ForelinePressure}" />-->
                    <!--<deviceControl:AITPressureMeter
                        Canvas.Left="105"
                        Canvas.Top="377"
                        Width="90"
                        Height="30"
                        DeviceData="{Binding UnLoadPressure}" />-->
                    <deviceControl:AITPressureMeter
                        Canvas.Left="416"
                        Canvas.Top="376"
                        Width="90"
                        Height="30"
                        DeviceData="{Binding LLPressure}" />
                    <deviceControl:AITPressureMeter
                        Canvas.Left="219"
                        Canvas.Top="376"
                        Width="90"
                        Height="30"
                        DeviceData="{Binding TMPressure}" />

                    <!--<controlUI:AITPumpSIC
                        Canvas.Left="344"
                        Canvas.Top="586"
                        DeviceData="{Binding PumpData2}"
                        EnableControl="True" />-->
                    <controlUI:AITPumpSIC
                        Canvas.Left="108"
                        Canvas.Top="586"
                        DeviceData="{Binding PumpData}"
                        EnableControl="True" />

                    <deviceControl:AITGasValve
                        Canvas.Left="512"
                        Canvas.Top="90"
                        DeviceData="{Binding TMPMBBanlance}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding PM2TMValveIsEnable}"
                        ValveOpenOrientation="Vertical"
                        Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <deviceControl:AITGasValve
                        Canvas.Left="210"
                        Canvas.Top="90"
                        DeviceData="{Binding TMPMABanlance}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding PM1TMValveIsEnable}"
                        ValveOpenOrientation="Vertical"
                        Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
                    <!--<deviceControl:AITGasValve
                        Canvas.Left="236"
                        Canvas.Top="249"
                        DeviceData="{Binding TMUnLoadBanlance}"
                        EnableServiceControl="True"
                        IsEnabled="False"
                        ValveOpenOrientation="Horizontal" />-->
                    <deviceControl:AITGasValve
                        Canvas.Left="299"
                        Canvas.Top="442"
                        DeviceData="{Binding TMFastRough}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding TMValveIsEnable}"
                        ValveOpenOrientation="Vertical" />
                    <deviceControl:AITGasValve
                        Canvas.Left="436"
                        Canvas.Top="444"
                        DeviceData="{Binding LLSlowRough}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding LoadValveIsEnable}"
                        ValveOpenOrientation="Vertical" />
                    <deviceControl:AITGasValve
                        Canvas.Left="395"
                        Canvas.Top="444"
                        DeviceData="{Binding LLFastRough}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding LoadValveIsEnable}"
                        ValveOpenOrientation="Vertical" />
                    <deviceControl:AITGasValve
                        Canvas.Left="614"
                        Canvas.Top="334"
                        DeviceData="{Binding LoadLockVent}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding LoadValveIsEnable}"
                        ValveOpenOrientation="Horizontal" />
                    <deviceControl:AITGasValve
                        Canvas.Left="614"
                        Canvas.Top="176"
                        DeviceData="{Binding BufferVent}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding IsEnableManual}"
                        ValveOpenOrientation="Horizontal"
                        Visibility="Hidden" />


                    <deviceControl:AITGasValve
                        Canvas.Left="430"
                        Canvas.Top="276"
                        DeviceData="{Binding TMLoadBanlance}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding LoadTMValveIsEnable}"
                        ValveOpenOrientation="Vertical" />
                    <deviceControl:AITGasValve
                        Canvas.Left="340"
                        Canvas.Top="442"
                        DeviceData="{Binding TMSlowRough}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding TMValveIsEnable}"
                        ValveOpenOrientation="Vertical" />
                    <deviceControl:AITGasValve
                        Canvas.Left="581"
                        Canvas.Top="-94"
                        DeviceData="{Binding TMVent}"
                        EnableServiceControl="True"
                        IsEnabled="{Binding TMValveIsEnable}" />
                    <!--<deviceControl:AITGasValve
                        Canvas.Left="449"
                        Canvas.Top="-125"
                        DeviceData="{Binding UnLoadVent}"
                        EnableServiceControl="True"
                        IsEnabled="False" />-->
                    <!--<deviceControl:AITGasValve
                        Canvas.Left="225"
                        Canvas.Top="442"
                        DeviceData="{Binding UnLoadSlowRough}"
                        EnableServiceControl="True"
                       IsEnabled="False"
                        ValveOpenOrientation="Vertical" />-->
                    <!--<deviceControl:AITGasValve
                        Canvas.Left="184"
                        Canvas.Top="441"
                        DeviceData="{Binding UnLoadFastRough}"
                        EnableServiceControl="True"
                        IsEnabled="False"
                        ValveOpenOrientation="Vertical" />-->

                    <controlUI:AnalogControl2
                        Canvas.Left="620"
                        Canvas.Top="-95"
                        Width="54"
                        Command="{Binding CmdSetMfcFlow}"
                        DeviceData="{Binding Mfc60Data}"
                        OperationName="SetMfcFlowValue" />

                    <unitControls:FOUPFrontView
                        Canvas.Left="576"
                        Canvas.Top="33"
                        IsEnabled="{Binding BufferEnableWaferClick}"
                        UnitData="{Binding Buffer}" />
                </Canvas>

            </Canvas>

            <StackPanel
                Grid.Column="2"
                Width="550"
                HorizontalAlignment="Right"
                VerticalAlignment="Top">
                <Grid Margin="0,10">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="TM"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Status}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding TMStatus}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">

                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Abort_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Reset_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_OnlineMode}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding TMOnlineMode}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Online_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOnline">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Offline_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOffline">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <TextBlock
                                Width="97"
                                Margin="47,0,0,0"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                TextAlignment="Left"
                                TextWrapping="Wrap">
                                <Run FontSize="12" Text="{lex:Loc ID_TXT_PurgeLoop}" /><Run FontSize="12" Text="{Binding TMPurgeLoop, StringFormat=0.00, Mode=OneWay}" />
                            </TextBlock>
                        </StackPanel>

                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Pressure}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding TMPressureDisplay, StringFormat=\{0:F1\}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Pump_Content}"
                                IsEnabled="{Binding IsTMEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Pump">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Vent_Content}"
                                IsEnabled="{Binding IsTMEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Vent">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Purge_Content}"
                                IsEnabled="{Binding IsTMEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Purge">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Robot}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <ComboBox
                            x:Name="cbPickModules"
                            Width="90"
                            Height="25"
                            ItemsSource="{Binding Modules}"
                            SelectedItem="{Binding PickSelectedModule}" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}"
                                IsEnabled="{Binding RobotCheckOffline}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="TMRobot_Home" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Pick_Content}"
                                IsEnabled="{Binding RobotCheckOffline}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="TMRobot_Pick" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Place_Content}"
                                IsEnabled="{Binding RobotCheckOffline}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="TMRobot_Place" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>


                    <Border
                        Grid.Row="6"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_SlitValve}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <ComboBox
                            x:Name="SlitValveModules"
                            Width="90"
                            Height="25"
                            ItemsSource="{Binding ModulesSlitValve}"
                            SelectedItem="{Binding SlitValveSelectedModule}" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Open_Content}"
                                IsEnabled="{Binding CheckOffline}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="OpenSlitValve">
                                            <cal:Parameter Value="{Binding SlitValveSelectedModule}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <deviceControl:AITSensor
                                Margin="3,0"
                                GreenColor="True"
                                LightOnValue="{Binding IsSelectedSlitValveOpen}" />

                            <Button
                                Width="80"
                                Height="25"
                                Margin="88,0,10,0"
                                Content="{lex:Loc ID_BTN_Close_Content}"
                                IsEnabled="{Binding CheckOffline}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="CloseSlitValve">
                                            <cal:Parameter Value="{Binding SlitValveSelectedModule}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <deviceControl:AITSensor
                                Margin="3,0"
                                GreenColor="True"
                                LightOnValue="{Binding IsSelectedSlitValveClose}" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <!--<TextBlock Text="Vacuum" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />-->
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1" />
                    <Border
                        Grid.Row="4"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="95"
                                Height="25"
                                Margin="10,0"
                                HorizontalAlignment="Left"
                                Content="{lex:Loc ID_BTN_LeakCheck_Content}"
                                IsEnabled="{Binding IsTMEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LeakCheck">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                            <Button
                                Width="120"
                                Height="25"
                                Margin="10,0"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                Content="{lex:Loc ID_BTN_ServoPressure_Content}"
                                IsEnabled="{Binding IsTMEnableManualOperation}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="ServoToLL">
                                            <cal:Parameter Value="TM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                </Grid>

                <Grid Margin="0,-20" Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="Buffer"
                        Style="{DynamicResource Table_TitleStyle}" />

                    <Border
                        Grid.Row="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Status}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding BufferStatus}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">

                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Home_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="Buffer" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Abort_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="Buffer" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Reset_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="Buffer" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="2"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_OnlineMode}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc {Binding BufferOnlineMode}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Online_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOnline">
                                            <cal:Parameter Value="Buffer" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="{lex:Loc ID_BTN_Offline_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOffline">
                                            <cal:Parameter Value="Buffer" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="3"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_Pressure}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding TMPressureDisplay, StringFormat=\{0:F1\}}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="3"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Pump"
                                IsEnabled="{Binding IsBufferEnableManualOperation}"
                                Visibility="Hidden">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Pump">
                                            <cal:Parameter Value="{Binding Buffer.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Vent"
                                IsEnabled="{Binding IsBufferEnableManualOperation}"
                                Visibility="Hidden">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Vent">
                                            <cal:Parameter Value="{Binding Buffer.ModuleID}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="4"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_TrayTop}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            DeviceData="{Binding BufferTrayPresenceHigh}"
                            IsCustomRender="True" />

                    </Border>
                    <Border
                        Grid.Row="4"
                        Grid.Column="2"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                Content="{lex:Loc ID_TXT_RemainTime}"
                                FontFamily="Arial"
                                FontSize="12" />

                            <TextBlock
                                Width="140"
                                Margin="10,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{Binding TimeBuffer3, StringFormat=0.0}"
                                TextWrapping="Wrap" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="5"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_TrayMiddle}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            DeviceData="{Binding BufferTrayPresenceMiddle}"
                            IsCustomRender="True" />

                    </Border>
                    <Border
                        Grid.Row="5"
                        Grid.Column="2"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                Content="{lex:Loc ID_TXT_RemainTime}"
                                FontFamily="Arial"
                                FontSize="12" />

                            <TextBlock
                                Width="140"
                                Margin="10,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{Binding TimeBuffer2, StringFormat=0.0}"
                                TextWrapping="Wrap" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="6"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{lex:Loc ID_TXT_TrayBottom}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            DeviceData="{Binding BufferTrayPresenceLow}"
                            IsCustomRender="True" />

                    </Border>
                    <Border
                        Grid.Row="6"
                        Grid.Column="2"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                Content="{lex:Loc ID_TXT_RemainTime}"
                                FontFamily="Arial"
                                FontSize="12" />

                            <TextBlock
                                Width="140"
                                Margin="10,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{Binding TimeBuffer1, StringFormat=0.0}"
                                TextWrapping="Wrap" />
                        </StackPanel>
                    </Border>

                    <!--<Border
                        Grid.Row="7"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Temp PV"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="7"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding BufferTempPV}"
                            TextAlignment="Center"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="7"
                        Grid.Column="2"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                Content="Target SP"
                                FontFamily="Arial"
                                FontSize="12" />

                            <Border
                                Margin="2,3"
                                Background="{DynamicResource Table_BG_Content}"
                                BorderBrush="{DynamicResource Table_BD}"
                                BorderThickness="1">
                                <Label
                                    Width="50"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding BufferTempTargetSP, StringFormat=0.0}"
                                    FontFamily="Arial"
                                    FontSize="12" />
                            </Border>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="5,0"
                                Content="Set SP">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetBufferTempTargetSP">
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=BufferTargetSP}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <OpenSEMI:TextBoxEx
                                x:Name="BufferTargetSP"
                                Width="50"
                                Margin="0,3"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Text="0" />
                        </StackPanel>
                    </Border>


                    <Border
                        Grid.Row="8"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="A-M Auto/Off"
                            TextWrapping="Wrap" />
                    </Border>

                    <Border
                        Grid.Row="8"
                        Grid.Column="1"
                        Padding="5,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <deviceControl:AITSensor
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            CustomColorOff="Gray"
                            CustomColorOn="Lime"
                            IsCustomRender="True"
                            LightOnValue="{Binding BufferTempAMAuto}"
                            ToolTip="Light up for Auto, or for Off." />
                    </Border>

                    <Border
                        Grid.Row="8"
                        Grid.Column="2"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Set Auto">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetBufferTempAM">
                                            <cal:Parameter Value="0" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Set Off">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetBufferTempAM">
                                            <cal:Parameter Value="2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>


                        </StackPanel>
                    </Border>-->

                </Grid>

                <Grid
                    Width="550"
                    Margin="0,50"
                    HorizontalAlignment="Left"
                    Visibility="Hidden">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="80" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="100" />
                        <ColumnDefinition Width="130" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="32" />
                        <RowDefinition Height="32" />
                    </Grid.RowDefinitions>
                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="5"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="EFEM"
                        Style="{DynamicResource Table_TitleStyle}" />
                    <Border
                        Grid.Row="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <TextBlock
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="Status"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="1"
                        Padding="5,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="0,0,0,1">
                        <TextBlock
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            FontFamily="Arial"
                            FontSize="12"
                            Foreground="{DynamicResource FG_Black}"
                            Text="{Binding EFEMStatus}"
                            TextWrapping="Wrap" />
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="2"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Online">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Online">
                                            <cal:Parameter Value="EFEM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                    <Border
                        Grid.Row="1"
                        Grid.Column="3"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Offline">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Offline">
                                            <cal:Parameter Value="EFEM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="0"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Title}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,0,1" />
                    <Border
                        Grid.Row="2"
                        Grid.Column="1"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,0,1">
                        <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Content="Home">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Home">
                                            <cal:Parameter Value="EFEM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="2"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,0,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Abort">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort">
                                            <cal:Parameter Value="EFEM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>
                    <Border
                        Grid.Row="2"
                        Grid.Column="3"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1">
                        <StackPanel Orientation="Horizontal">
                            <Button
                                Width="80"
                                Height="25"
                                Margin="10,0"
                                Content="Reset">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Reset">
                                            <cal:Parameter Value="EFEM" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="1"
                        Grid.Column="4"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1" />

                    <Border
                        Grid.Row="2"
                        Grid.Column="4"
                        Padding="0,1,0,1"
                        Background="{DynamicResource Table_BG_Content}"
                        BorderBrush="{DynamicResource Table_BD}"
                        BorderThickness="1,0,1,1" />

                </Grid>

            </StackPanel>

        </Grid>
    </ScrollViewer>
</UserControl>
