<UserControl
    x:Class="MECF.Framework.UI.Client.CenterViews.Modules.PM.PMHeaterView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    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:lex="http://wpflocalizeextension.codeplex.com"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:cal="clr-namespace:Caliburn.Micro"
    xmlns:view="clr-namespace:MECF.Framework.UI.Client.CenterViews.Modules.PM"
    xmlns:controls="clr-namespace:OpenSEMI.Ctrlib.Controls"
    xmlns:converters="clr-namespace:MECF.Framework.UI.Core.Converters;assembly=MECF.Framework.UI.Core"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:rt="clr-namespace:Aitex.Core.RT.Device.PmDevices;assembly=MECF.Framework.RT.EquipmentLibrary"
    d:Background="#91b0cd"
    d:DataContext="{d:DesignInstance Type=view:PMHeaterViewModel,
                                     IsDesignTimeCreatable=False}"
    d:DesignHeight="880"
    d:DesignWidth="1920"
    lex:LocalizeDictionary.DesignCulture="zh"
    lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
    lex:ResxLocalizationProvider.DefaultDictionary="lang_pm_heater"
    mc:Ignorable="d"
    SnapsToDevicePixels="True">
    
    <UserControl.Resources>
        <converters:DoubleToStringConverter x:Key="DoubleToStringConverter"/>
        <converters:EnumDisplayConverter x:Key="EnumDisplayConverter"/>
        <ObjectDataProvider x:Key="EnumHeatStrategy" MethodName="GetValues"
                            ObjectType="{x:Type sys:Enum}">
            <ObjectDataProvider.MethodParameters>
                <x:Type TypeName="rt:HeatStrategy"/>
            </ObjectDataProvider.MethodParameters>
        </ObjectDataProvider>
    </UserControl.Resources>

    <Grid>
        <TabControl
            Height="880"
            VerticalAlignment="Top"
            Background="Transparent">
            <TabItem Header="{lex:Loc ID_TabItem_PSU}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="720" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="500" />
                        <ColumnDefinition Width="500" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <Grid
                        Grid.Row="0"
                        Grid.RowSpan="2"
                        Grid.Column="0"
                        Margin="20,20,20,20">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.Column="0"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content=""
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="1"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Inner}"
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Middle}"
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="3"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Outer}"
                            Style="{DynamicResource Table_TitleStyle}" />

                        <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="0" Grid.Column="0" Padding="5,1" />-->


                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Voltage}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU1OutputVoltageFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU2OutputVoltageFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU3OutputVoltageFeedBack}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="2"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Current}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU1OutputArmsFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU2OutputArmsFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU3OutputArmsFeedBack}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="3"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Resistance}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding Resistance1}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding Resistance2}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding Resistance3}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="4"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Power}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU1OutputPowerFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU2OutputPowerFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding PSU3OutputPowerFeedBack}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="7"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Temp_High_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L1TempHighAlarm}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L2TempHighAlarm}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L3TempHighAlarm}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="8"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Temp_Low_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L1TempLowAlarm}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L2TempLowAlarm}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L3TempLowAlarm}" />
                            </Label>
                        </Border>


                        <Border
                            Grid.Row="9"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Loop_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="1"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL1LoopMode, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="2"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL2LoopMode, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL3LoopMode, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="10"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Working_OP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1WorkingOP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2WorkingOP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3WorkingOP, StringFormat=0.00}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="11"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Target_OP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="11"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1TargetOP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="11"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2TargetOP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="11"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3TargetOP, StringFormat=0.00}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="12"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                                Content="{lex:Loc ID_TXT_Temp}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3InputTemp2, StringFormat=0.00}" />
                            </Label>
                            <!--  <TextBlock Text="{Binding L1InputTemp, StringFormat=0.00}"  -->
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2InputTemp, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3InputTemp, StringFormat=0.00}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="13"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_PV}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1PV, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2PV, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3PV, StringFormat=0.00}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="15"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                VerticalContentAlignment="Center"
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Heater_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="15"
                            Grid.Column="1"
                            Grid.ColumnSpan="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" 
                                   VerticalContentAlignment="Center"  
                                   FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding HeaterModeSP, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>

                    </Grid>

                    <Grid
                        Grid.Row="0"
                        Grid.Column="1"
                        Margin="10,20,0,0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="30" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="170" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="120" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.ColumnSpan="4"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Heat_Enable}"
                            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">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Heat_All_Enable}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding AllHeatEnable}" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding HeatEnableStr, FallbackValue=Unknown}}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetAllHeatEnable" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Inner_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding PSU1Running}" />
                        </Border>

                        <Border
                            Grid.Row="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Inner_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="False"
                                LightOnValue="{Binding PSU1Alarm}" />
                        </Border>

                        <Border
                            Grid.Row="3"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding PSU1EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUEnable">
                                            <cal:Parameter Value="PSU1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Reset_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUReset">
                                            <cal:Parameter Value="PSU1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>



                        <Border
                            Grid.Row="6"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding PSU2Running}" />
                        </Border>

                        <Border
                            Grid.Row="7"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="False"
                                LightOnValue="{Binding PSU2Alarm}" />
                        </Border>

                        <Border
                            Grid.Row="6"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding PSU2EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUEnable">
                                            <cal:Parameter Value="PSU2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Reset_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUReset">
                                            <cal:Parameter Value="PSU2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>


                        <Border
                            Grid.Row="9"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Outer_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding PSU3Running}" />
                        </Border>

                        <Border
                            Grid.Row="10"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Outer_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="False"
                                LightOnValue="{Binding PSU3Alarm}" />
                        </Border>





                        <Border
                            Grid.Row="9"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding PSU3EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUEnable">
                                            <cal:Parameter Value="PSU3" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Reset_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUReset">
                                            <cal:Parameter Value="PSU3" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="12"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                VerticalContentAlignment="Center"
                                Content="{lex:Loc ID_TXT_Heater_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="1"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Label HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding HeaterModeSP, FallbackValue=Unknown}}" VerticalAlignment="Center" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <ComboBox
                                ItemsSource="{Binding Source={StaticResource EnumHeatStrategy}}"
                                SelectedItem="{Binding SelectedPSUHeatStrategy}" >
                                <ComboBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Converter={StaticResource EnumDisplayConverter}}"/>
                                    </DataTemplate>
                                </ComboBox.ItemTemplate>
                            </ComboBox>
                        </Border>
                        <Border
                            Grid.Row="12"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUHeatStrategy">
                                            <cal:Parameter Value="{Binding SelectedPSUHeatStrategy}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="13"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Inner_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1Ratio, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL1Ratio"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>

                        <Border
                            Grid.Row="14"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="14"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2Ratio, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="14"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL2Ratio"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>

                        <Border
                            Grid.Row="15"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Outer_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="15"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3Ratio, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="15"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL3Ratio"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="13"
                            Grid.RowSpan="3"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetRatio">
                                            <cal:Parameter Value="TC1" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL1Ratio}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL2Ratio}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL3Ratio}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="16"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Inner_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="16"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1TargetSP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="16"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL1TargetSP"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="16"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC1" />
                                            <cal:Parameter Value="L1" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL1TargetSP}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="17"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="17"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2TargetSP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="17"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL2TargetSP"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="17"
                            Grid.RowSpan="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC1" />
                                            <cal:Parameter Value="L2" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL2TargetSP}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="18"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Outer_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="18"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3TargetSP, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="18"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL3TargetSP"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="18"
                            Grid.RowSpan="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC1" />
                                            <cal:Parameter Value="L3" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL3TargetSP}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="19"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PLC TargetOP Low (%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="19"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PlcTargetOPLowLimit, StringFormat=0.0}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="19"
                            Grid.Column="2"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1"/>

                        <Border
                            Grid.Row="20"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PLC TargetOP Up (%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="20"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PlcTargetOPHighLimit, StringFormat=0.0}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="20"
                            Grid.Column="2"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1"/>

                        <Border
                            Grid.Row="21"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PLC Temp Filt EN"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="21"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding PlcTempFilterEnabled}" />
                        </Border>
                        <Border
                            Grid.Row="21"
                            Grid.Column="2"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1"/>


                        <Border
                            Grid.Row="22"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PLC TargetOP Ctrl EN"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="22"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding PlcTargetOPCtrlEnabled}" />
                        </Border>
                        <Border
                            Grid.Row="22"
                            Grid.Column="2"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1"/>
                        <!--<Border
                            Grid.Row="19"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="Output Limit High(%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="19"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding Psu2Data.OutputLimitHigh, StringFormat=0.0}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="19"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                    Name="tbPsu2OutputLimitHigh"
                                    FontFamily="Arial"
                                    FontSize="14"
                                    Text="{Binding PSU2OutputLimitHighSetting, Mode=OneTime}" />
                        </Border>
                        <Border
                            Grid.Row="19"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOutputLimitHigh">
                                            <cal:Parameter Value="PSU2"/>
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=tbPsu2OutputLimitHigh}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>


                        <Border
                            Grid.Row="20"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="Output Limit Low(%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="20"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding Psu2Data.OutputLimitLow, StringFormat=0.0}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="20"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                    Name="tbPsu2OutputLimitLow"
                                    FontFamily="Arial"
                                    FontSize="14"
                                    Text="{Binding PSU2OutputLimitLowSetting, Mode=OneTime}" />
                        </Border>
                        <Border
                            Grid.Row="20"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetOutputLimitLow">
                                            <cal:Parameter Value="PSU2"/>
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=tbPsu2OutputLimitLow}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>-->

                    </Grid>

                    <Grid Grid.Row="1" Grid.Column="0">
                        <Label
                            Margin="22,-120,-22.5,0"
                            Content="{lex:Loc ID_TXT_Confinement_Must_In_Up_State}"
                            FontSize="30"
                            FontWeight="Bold"
                            Foreground="Red"
                            Visibility="{Binding TipsVisble}" />
                    </Grid>



                    <!--<Grid
                        Grid.Row="0"
                        Grid.Column="2"
                        Margin="10,20,0,0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="50" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>
                    -->
                    <!--  line0  -->
                    <!--
                        <Label
                            Grid.Row="0"
                            Grid.ColumnSpan="6"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="Heat Percent Settings"
                            Style="{DynamicResource Table_TitleStyle}" />
                    -->
                    <!--  line 1  -->
                    <!--
                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content=""
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PC Y(%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="Power(KW)"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="R(Ω)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="Y(%)"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="5"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="I(A)"
                                FontSize="14" />
                        </Border>

                    -->
                    <!--  line2  -->
                    <!--
                        <Border
                            Grid.Row="2"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PSU1 Percent"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU1PC, StringFormat=0.000}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU1Power"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.5" />
                        </Border>

                        <Border
                            Grid.Row="2"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU1R}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Name="LPSU1Y" Text="{Binding PSU1Y}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="5"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU1Per"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="10" />
                        </Border>

                    -->
                    <!--  line3  -->
                    <!--
                        <Border
                            Grid.Row="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PSU2 Percent"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU2PC, StringFormat=0.000}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU2Power"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="6" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU2R}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Name="LPSU2Y" Text="{Binding PSU2Y}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="5"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU2Per"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="10" />
                        </Border>

                    -->
                    <!--  line4  -->
                    <!--
                        <Border
                            Grid.Row="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="PSU3 Percent"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU3PC, StringFormat=0.000}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU3Power"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="6" />
                        </Border>


                        <Border
                            Grid.Row="4"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding PSU3R}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Name="LPSU3Y" Text="{Binding PSU3Y}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="5"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <controls:TextBoxEx
                                x:Name="PSU3Per"
                                HorizontalContentAlignment="Center"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="10" />
                        </Border>

                    -->
                    <!--  lne 5  -->
                    <!--
                        <Border
                            Grid.Row="5"
                            Grid.Column="0"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1" />
                        <Border
                            Grid.Row="5"
                            Grid.Column="1"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1" />
                        <Border
                            Grid.Row="5"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Margin="2,2,2,2" Content="SetPower">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUPower">
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU1Power}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU2Power}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU3Power}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="3"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1" />
                        <Border
                            Grid.Row="5"
                            Grid.RowSpan="1"
                            Grid.Column="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="Calc" IsEnabled="{Binding CanCalc}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="CalcPSUPer">
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU1Per}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU2Per}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=PSU3Per}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="5"
                            Grid.Column="5"
                            Grid.ColumnSpan="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button
                                Margin="2,2,2,2"
                                Content="Calibrate"
                                IsEnabled="{Binding CanCalc}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetPSUY">
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=LPSU1Y}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=LPSU2Y}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=LPSU3Y}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>
                    </Grid>-->
                </Grid>
            </TabItem>


            <TabItem Header="{lex:Loc ID_TabItem_SCR}">
                <Grid>
                    <Grid Margin="20">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.Column="0"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content=""
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="1"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Upper}"
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="2"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Middle}"
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="3"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Lower}"
                            Style="{DynamicResource Table_TitleStyle}" />

                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Voltage}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR1VoltageFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR2VoltageFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR3VoltageFeedBack}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="2"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Current}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR1ArmsFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR2ArmsFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR3ArmsFeedBack}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="3"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Resistance}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCRResistance1}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCRResistance2}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCRResistance3}"
                                ContentStringFormat="{}{0:F3}"
                                FontSize="14" />
                        </Border>

                        <Border
                            Grid.Row="4"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Power}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR1PowerFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR2PowerFeedBack}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding SCR3PowerFeedBack}"
                                FontSize="14" />
                        </Border>

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

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

                        <Border
                            Grid.Row="5"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Temp_High_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L1TempHighAlarm2}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L2TempHighAlarm2}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L3TempHighAlarm2}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="6"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Temp_Low_Alarm}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L1TempLowAlarm2}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L2TempLowAlarm2}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <deviceControl:AITSensor
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    CustomColorOff="Gray"
                                    CustomColorOn="Red"
                                    IsCustomRender="True"
                                    LightOnValue="{Binding L3TempLowAlarm2}" />
                            </Label>
                        </Border>


                        <Border
                            Grid.Row="7"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Loop_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="1"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL1LoopMode2, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="2"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL2LoopMode2, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding strL3LoopMode2, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="8"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Working_OP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1WorkingOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2WorkingOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="8"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3WorkingOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>

                        <Border
                            Grid.Row="9"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Target_OP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L1TargetOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L2TargetOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="9"
                            Grid.Column="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label HorizontalContentAlignment="Center" FontSize="14">
                                <TextBlock Text="{Binding L3TargetOP2, StringFormat=0.00}" />
                            </Label>
                        </Border>


                        <Border
                            Grid.Row="10"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                VerticalContentAlignment="Center"
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc ID_TXT_Heater_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="10"
                            Grid.Column="1"
                            Grid.ColumnSpan="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label 
                                VerticalContentAlignment="Center"
                                HorizontalContentAlignment="Center" 
                                FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding HeaterModeSP2, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>

                        <Grid
                            Grid.Row="16"
                            Grid.Column="0"
                            Grid.ColumnSpan="4"
                            Margin="0,20,0,0">
                            <Label
                                Margin="-4,-4,4,4.5"
                                Content="Confinement must in up state"
                                FontSize="30"
                                FontWeight="Bold"
                                Foreground="Red"
                                Visibility="{Binding TipsVisble}" />
                        </Grid>


                    </Grid>

                    <Grid Margin="520,20,0,0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="0" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.ColumnSpan="4"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Heat_Enable}"
                            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">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Heat_All_Enable}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding AllHeatEnable}" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding HeatEnableStr, FallbackValue=Unknown}}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetAllHeatEnable" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Upper_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding SCR1Running}" />
                        </Border>

                        <Border
                            Grid.Row="2"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding SCR1EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetSCREnable">
                                            <cal:Parameter Value="SCR1" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="3"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding SCR2Running}" />
                        </Border>

                        <Border
                            Grid.Row="3"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding SCR2EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetSCREnable">
                                            <cal:Parameter Value="SCR2" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="4"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Lower_Running}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Grid.ColumnSpan="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <deviceControl:AITSensor
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding SCR3Running}" />
                        </Border>

                        <Border
                            Grid.Row="4"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc {Binding SCR3EnableStr, FallbackValue=Unknown}}" IsEnabled="{Binding AllHeatEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetSCREnable">
                                            <cal:Parameter Value="SCR3" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                    </Grid>

                    <Grid Margin="520,228,0,0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />


                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,1,1,1">
                            <Label
                                VerticalContentAlignment="Center"
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Heater_Mode}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{lex:Loc {Binding HeaterModeSP2, FallbackValue=Unknown}}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <ComboBox
                                ItemsSource="{Binding Source={StaticResource EnumHeatStrategy}}"
                                SelectedItem="{Binding SelectedSCRHeatStrategy}" >
                                <ComboBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Converter={StaticResource EnumDisplayConverter}}"/>
                                    </DataTemplate>
                                </ComboBox.ItemTemplate>
                            </ComboBox>
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetSCRHeatStrategy">
                                            <cal:Parameter Value="{Binding SelectedSCRHeatStrategy}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="2"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Upper_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L1Ratio2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL1Ratio2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>

                        <Border
                            Grid.Row="3"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L2Ratio2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL2Ratio2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0" />
                        </Border>

                        <Border
                            Grid.Row="4"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Lower_Ratio}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L3Ratio2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL3Ratio2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.RowSpan="3"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetRatio">
                                            <cal:Parameter Value="TC2" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL1Ratio2}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL2Ratio2}" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL3Ratio2}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="5"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Upper_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L1TargetSP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL1TargetSP2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC2" />
                                            <cal:Parameter Value="L1" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL1TargetSP2}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="6"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Middle_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L2TargetSP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL2TargetSP2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.RowSpan="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC2" />
                                            <cal:Parameter Value="L2" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL2TargetSP2}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="7"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Left"
                                Content="{lex:Loc ID_TXT_Lower_Target_SP}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                FontSize="14">
                                <TextBlock Text="{Binding L3TargetSP2, StringFormat=0.00}" />
                            </Label>
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.Column="2"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <controls:TextBoxEx
                                x:Name="TextL3TargetSP2"
                                FontFamily="Arial"
                                FontSize="14"
                                Text="0.00" />
                        </Border>
                        <Border
                            Grid.Row="7"
                            Grid.RowSpan="1"
                            Grid.Column="3"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Button Content="{lex:Loc ID_BTN_Set_Content}" IsEnabled="{Binding IsActionEnable}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="SetTargetSP">
                                            <cal:Parameter Value="TC2" />
                                            <cal:Parameter Value="L3" />
                                            <cal:Parameter Value="{Binding Path=Text, ElementName=TextL3TargetSP2}" />
                                        </cal:ActionMessage>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>


                    </Grid>
                </Grid>
            </TabItem>

            <TabItem Header="{lex:Loc ID_TabItem_Line_Heater}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="350" />
                        <ColumnDefinition Width="300" />
                    </Grid.ColumnDefinitions>
                    <Grid
                        Grid.Row="0"
                        Grid.RowSpan="2"
                        Grid.Column="0"
                        Margin="20"
                        lex:ResxLocalizationProvider.DefaultDictionary="lang_pm_terms">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                            <RowDefinition Height="35" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="200" />
                            <ColumnDefinition Width="100" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.Column="0"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_pm_heater"
                            Content="{lex:Loc ID_TabItem_Line_Heater}"
                            Style="{DynamicResource Table_TitleStyle}" />
                        <Label
                            Grid.Row="0"
                            Grid.Column="1"
                            Grid.ColumnSpan="1"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Content="{lex:Loc ID_TXT_Temp}"
                            Style="{DynamicResource Table_TitleStyle}" />




                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC1.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC1.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>



                        <Border
                            Grid.Row="2"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC2.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="2"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC2.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>


                        <Border
                            Grid.Row="3"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC3.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="3"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC3.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>


                        <Border
                            Grid.Row="4"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC4.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="4"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC4.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>


                        <Border
                            Grid.Row="5"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC5.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="5"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC5.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>



                        <Border
                            Grid.Row="6"
                            Grid.Column="0"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Title}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="1,0,1,1">
                            <Label
                                HorizontalContentAlignment="Right"
                                Content="{lex:Loc {Binding ATC6.LineHeaterLaber, FallbackValue=Unknown}}"
                                FontSize="14" />
                        </Border>
                        <Border
                            Grid.Row="6"
                            Grid.Column="1"
                            Padding="5,1"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,0,1,1">
                            <Label
                                HorizontalContentAlignment="Center"
                                Content="{Binding ATC6.TempValue}"
                                ContentStringFormat="{}{0:F1}"
                                FontSize="14" />
                        </Border>

                    </Grid>

                    <Grid Grid.Column="1" Margin="20">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="32" />
                            <RowDefinition Height="40" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="90" />
                            <ColumnDefinition Width="120" />
                        </Grid.ColumnDefinitions>

                        <Label
                            Grid.Row="0"
                            Grid.ColumnSpan="2"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TabItem_Line_Heater}"
                            Style="{DynamicResource Table_TitleStyle}" />

                        <Border
                            Grid.Row="1"
                            Grid.Column="1"
                            Padding="5,1"
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <Button Margin="10,2,10,2" Content="{lex:Loc ID_BTN_Enable_Content}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="LineHeaterEnable" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>
                        </Border>

                        <Border
                            Grid.Row="1"
                            Grid.Column="0"
                            Background="{DynamicResource Table_BG_Content}"
                            BorderBrush="{DynamicResource Table_BD}"
                            BorderThickness="0,1,1,1">
                            <deviceControl:AITSensor
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                EnableToolTip="False"
                                GreenColor="True"
                                LightOnValue="{Binding OmronTempEnable}" />
                        </Border>


                    </Grid>
                </Grid>

            </TabItem>


            <!--<TabItem Header="LineHeater Temp Information">
                <Grid Margin="20">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="32"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="0"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="0"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="32"/>
                        <RowDefinition Height="30"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="50"/>
                        <ColumnDefinition Width="160"/>
                        <ColumnDefinition Width="120"/>
                        <ColumnDefinition Width="120"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.ColumnSpan="7" >
                    </Border>
                    <Label Content="Lineheater Temp Information" Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="9" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
                    <Label Content="ActualTemp(℃)"   FontSize="14"  HorizontalContentAlignment="Center"  Grid.Row="1" Grid.Column="2"/>
                    <Label Content="SettingTemp(℃)"   FontSize="14"  HorizontalContentAlignment="Center"  Grid.Row="1" Grid.Column="3"/>

            -->
            <!--  Line 1  -->
            <!--

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="7" >
                        <deviceControl:AITSensor EnableToolTip="False"  GreenColor="True" LightOnValue="{Binding OmronTempEnable}"/>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="8" >
                        <Button Content="Enable" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="EnableToggle">
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>




                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="0" >
                        <Label Content="TC1"   FontSize="14"  HorizontalContentAlignment="Center"/>
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatTMAPanel (℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[0]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="3" >
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[0]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL1" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}"  ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="5" Padding="5,1">
                        <Button Content="Set"  IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel1Setting1"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL1}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="0" >
                        <Label Content="TC2"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="1" >
                        <Label Content="HeatTCSPanel(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" >
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[1]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="3">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[1]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL2" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}"  ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel1Setting2"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL2}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="0" >
                        <Label Content="TC3"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="1" Padding="5,1">
                        <Label Content="OuterPanel(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[2]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[2]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL3" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}" ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel1Setting3"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL3}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column="0" >
                        <Label Content="TC4"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column="1" Padding="5,1">
                        <Label Content="MiddlePanel(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[3]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[3]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL4" Text="0.0" EditBoxMode="UnSignInteger" IsEnabled="{Binding IsActionEnable}"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}"  Width="100" Height="25"/>
            -->
            <!--<controls:TextBoxEx x:Name="TextL4" Text="0.0" FontFamily="Arial" FontSize="14" ></controls:TextBoxEx>-->
            <!--
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel1Setting4"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL4}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Grid.Column="0" >
                        <Label Content="TC5"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Grid.Column="1" Padding="5,1">
                        <Label Content="InnerPanel(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center" Height="27" VerticalAlignment="Top">
                            <TextBlock Text="{Binding ActualTemp[4]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[4]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL5" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}"  ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel2Setting1"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL5}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" Grid.Column="0" >
                        <Label Content="TC6"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatShowerOuter(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[5]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[5]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL6" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}"  ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel2Setting2"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL6}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" Grid.Column="0" >
                        <Label Content="TC7"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatShowerInner(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[6]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[6]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL7" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}" ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel2Setting3"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL7}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="10" Grid.Column="0" >
                        <Label Content="TC8"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="10" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatShowerMid(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[7]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[7]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL8" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"  EditBoxMode="UnSignInteger"  MinValue="0" MaxValue="90"  Validation.ErrorTemplate="{x:Null}" ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel2Setting4"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL8}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" Grid.Column="0" >
                        <Label Content="TC9"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatDptPanel(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[8]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[8]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL9" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}" ></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel3Setting1"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL9}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="13" Grid.Column="0" >
                        <Label Content="TC10"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="13" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatLeakSource(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[9]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[9]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL10" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel3Setting2"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL10}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="14" Grid.Column="0" >
                        <Label Content="TC11"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="14" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatLeakBypass(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[10]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[10]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL11" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel3Setting3"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL11}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="15" Grid.Column="0" >
                        <Label Content="TC12"   FontSize="14"  HorizontalContentAlignment="Center"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="15" Grid.Column="1" Padding="5,1">
                        <Label Content="HeatDptGate(℃)"   FontSize="14"  HorizontalContentAlignment="Right"  />
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="2" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding ActualTemp[11]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="3" Padding="5,1">
                        <Label FontSize="14"  HorizontalContentAlignment="Center">
                            <TextBlock Text="{Binding SettingTemp[11]}"></TextBlock>
                        </Label>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="4" Padding="5,1">
                        <controls:TextBoxEx x:Name="TextL12" Text="0.0" FontFamily="Arial" FontSize="14" IsEnabled="{Binding IsActionEnable}"></controls:TextBoxEx>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="5" Padding="5,1">
                        <Button Content="Set" IsEnabled="{Binding IsActionEnable}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetTemp">
                                        <cal:Parameter Value="Channel3Setting4"/>
                                        <cal:Parameter Value="{Binding Path=Text, ElementName=TextL12}"></cal:Parameter>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun1}" >
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel1Run1"/>
                                        <cal:Parameter Value="0.0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun2}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel1Run2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun3}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel1Run3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun4}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel1Run4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>


                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun5}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel2Run1"/>
                                        <cal:Parameter Value="0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun6}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel2Run2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun7}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel2Run3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun8}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel2Run4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun9}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel3Run1"/>
                                        <cal:Parameter Value="0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun10}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel3Run2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun11}" Height="27" VerticalAlignment="Top">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel3Run3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="6" Padding="5,1">
                        <Button Content="Run" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorRun12}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel3Run4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>



                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop1}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel1Stop1"/>
                                        <cal:Parameter Value="0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop2}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel1Stop2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop3}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel1Stop3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop4}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel1Stop4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>


                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop5}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel2Stop1"/>
                                        <cal:Parameter Value="0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop6}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel2Stop2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop7}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel2Stop3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop8}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel2Stop4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop9}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel3Stop1"/>
                                        <cal:Parameter Value="0"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="13" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop10}" Height="27" VerticalAlignment="Top">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel3Stop2"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop11}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel3Stop3"/>
                                        <cal:Parameter Value="2"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="15" Grid.Column="7" Padding="5,1">
                        <Button Content="Stop" IsEnabled="{Binding IsActionEnable}" Background="{Binding ColorStop12}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel3Stop4"/>
                                        <cal:Parameter Value="3"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>









                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="RunALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel1RunALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>


                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="StopALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel1StopALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>

                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="RunALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel2RunALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>


                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="StopALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel2StopALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="RunALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetRun">
                                        <cal:Parameter Value="Channel3RunALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>


                    <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="14"  Grid.RowSpan="2" Grid.Column="8" Padding="5,1">
                        <Button Content="StopALL" IsEnabled="{Binding IsActionEnable}" Height="40">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Click">
                                    <cal:ActionMessage MethodName="SetStop">
                                        <cal:Parameter Value="Channel3StopALL"/>
                                        <cal:Parameter Value="1"/>
                                    </cal:ActionMessage>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                    </Border>
                </Grid>
            </TabItem>-->


        </TabControl>



    </Grid>

</UserControl>
