<UserControl
    x:Class="MECF.Framework.UI.Client.CenterViews.Modules.PM.PMProcessView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:control="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"
    xmlns:controls="clr-namespace:MECF.Framework.UI.Client.Ctrlib.Controls"
    xmlns:cv="clr-namespace:MECF.Framework.UI.Core.Converters;assembly=MECF.Framework.UI.Core"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:dgExtension1="clr-namespace:MECF.Framework.UI.Client.RecipeEditorLib.DGExtension"
    xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
    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:micro="clr-namespace:Caliburn.Micro"
    xmlns:userControls1="clr-namespace:Sicentury.Core.UserControls;assembly=Sicentury.Core"
    xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
    xmlns:color="clr-namespace:MECF.Framework.UI.Client.CenterViews.Maintain"
    d:Background="#91b0cd"
    d:DesignHeight="750"
    d:DesignWidth="1920"
    lex:LocalizeDictionary.DesignCulture="zh"
    lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
    lex:ResxLocalizationProvider.DefaultDictionary="lang_pm"
    mc:Ignorable="d">
    <UserControl.Resources>
        <color:BooleanToUIColorConverter x:Key="boolToUIColorConverter" FalseColor="LawnGreen" TrueColor="Black"/>
        <color:BooleanToUIColorConverter x:Key="boolToUIColorConverter2" FalseColor="LawnGreen" TrueColor="White"/>
        <cv:BoolVisibilityConverter x:Key="BoolVisibilityConverter" />
        <HierarchicalDataTemplate x:Key="FolderTemplate" ItemsSource="{Binding Files}">
            <StackPanel Orientation="Horizontal" Tag="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}, Path=DataContext}">
                <Image
                    x:Name="ExpandImage"
                    Width="14"
                    Height="12"
                    Margin="2,0,0,0"
                    VerticalAlignment="Center"
                    Source="/Resources/Images/Folder_Close.png" />
                <TextBlock
                    Margin="5,0,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"
                    Text="{Binding Name}" />
                <StackPanel.ContextMenu>
                    <ContextMenu DataContext="{Binding Path=PlacementTarget.Tag, RelativeSource={RelativeSource Self}}">
                        <Label
                            Margin="0"
                            Content="{Binding CurrentFileNode.FullPath}"
                            FontWeight="Black" />
                        <Separator />
                        <MenuItem
                            Command="{Binding NewRecipeCommand}"
                            Header="New Recipe"
                            IsEnabled="{Binding IsPermission}" />
                        <MenuItem
                            Command="{Binding DeleteRecipeCommand}"
                            Header="Delete Recipe"
                            IsEnabled="False" />
                        <MenuItem
                            Command="{Binding RenameRecipeCommand}"
                            Header="Rename Recipe"
                            IsEnabled="False" />
                        <MenuItem
                            Command="{Binding SaveAsRecipeCommand}"
                            Header="Save As Recipe"
                            IsEnabled="False" />
                        <Separator />
                        <MenuItem Command="{Binding NewFolderCommand}" Header="New Folder" />
                        <MenuItem Command="{Binding DeleteFolderCommand}" Header="Delete Folder" />
                        <MenuItem Command="{Binding RenameFolderCommand}" Header="Rename Folder" />
                    </ContextMenu>
                </StackPanel.ContextMenu>
            </StackPanel>
            <HierarchicalDataTemplate.Triggers>
                <Trigger Property="IsEnabled" Value="false">
                    <Setter TargetName="ExpandImage" Property="Image.Source" Value="/Resources/Images/Folder_Unable.png" />
                </Trigger>
            </HierarchicalDataTemplate.Triggers>
        </HierarchicalDataTemplate>

        <HierarchicalDataTemplate x:Key="FileTemplate" ItemsSource="{Binding Files}">
            <StackPanel Orientation="Horizontal" Tag="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}, Path=DataContext}">
                <Path
                    Width="13"
                    Height="16"
                    HorizontalAlignment="Left"
                    Data="M0.5,5.125 L5.125,5.125 5.125,0.5 M5.1,0.5 L15.5,0.5 15.5,19.5 0.5,19.5 C0.5,14.7 0.5,10 0.5,5.1 2,3.6 3.6,2 5.1,0.5 z M8.1,8.5 L8.2,8.5 z M8.1,11.5 L8.2,11.5 z M8.1,14.5 L8.2,14.5 z"
                    Fill="#FFF3F3F3"
                    Stretch="Fill"
                    Stroke="#FF454545" />
                <TextBlock
                    Margin="5,0,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"
                    Text="{Binding Name}" />
                <StackPanel.ContextMenu>
                    <ContextMenu DataContext="{Binding Path=PlacementTarget.Tag, RelativeSource={RelativeSource Self}}">
                        <Label
                            Margin="0"
                            Content="{Binding CurrentFileNode.FullPath}"
                            FontWeight="Black" />
                        <Separator />
                        <MenuItem
                            Command="{Binding NewRecipeCommand}"
                            Header="New Recipe"
                            IsEnabled="{Binding IsPermission}" />
                        <MenuItem
                            Command="{Binding DeleteRecipeCommand}"
                            Header="Delete Recipe"
                            IsEnabled="{Binding IsPermission}" />
                        <MenuItem
                            Command="{Binding RenameRecipeCommand}"
                            Header="Rename Recipe"
                            IsEnabled="{Binding IsPermission}" />
                        <MenuItem
                            Command="{Binding SaveAsRecipeCommand}"
                            Header="Save As Recipe"
                            IsEnabled="{Binding IsPermission}" />
                        <Separator />
                        <MenuItem Command="{Binding NewFolderCommand}" Header="New Folder" />
                        <MenuItem
                            Command="{Binding DeleteFolderCommand}"
                            Header="Delete Folder"
                            IsEnabled="False" />
                        <MenuItem
                            Command="{Binding RenameFolderCommand}"
                            Header="Rename Folder"
                            IsEnabled="False" />
                    </ContextMenu>
                </StackPanel.ContextMenu>
            </StackPanel>
        </HierarchicalDataTemplate>

    </UserControl.Resources>

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="670"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="300"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Canvas Grid.Row="1" x:Name="腔体" HorizontalAlignment="Left" Margin="154,-190,0,0">
                <Rectangle
                        Canvas.Top="100"
                        Width="360"
                        Height="310"
                        Stroke="#FF747474">
                    <Rectangle.Fill>
                        <LinearGradientBrush StartPoint="0.757,0" EndPoint="0.243,1">
                            <GradientStop Offset="0" Color="#FFE0DEDE" />
                            <GradientStop Offset="1" Color="#FFE2E2E2" />
                            <GradientStop Offset="0.55" Color="#FEFFFFFF" />
                            <GradientStop Offset="0.75" Color="#FFEFEFEF" />
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>

                <Image
                        Canvas.Left="-19"
                        Canvas.Top="70"
                        Width="400"
                        Height="374"
                        Source="/Resources/Images/chamber.png"
                        Stretch="Fill"
                        StretchDirection="Both" />

                <Rectangle
                        Canvas.Left="26"
                        Canvas.Top="112"
                        Width="320"
                        Height="283"
                        Stroke="Black"
                        StrokeThickness="2">
                    <Rectangle.Fill>
                        <LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
                            <GradientStop Offset="0" Color="#FFABABAB" />
                            <GradientStop Offset="1" Color="#FFDADADA" />
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>

                <Image
                        Canvas.Left="63"
                        Canvas.Top="120"
                        Width="250"
                        Source="/Resources/Images/showerhead.png" />

                <Canvas
                        x:Name="加热器"
                        Canvas.Left="-120"
                        Canvas.Top="40"
                        Width="576"
                        Height="364">
                    <StackPanel
                            Canvas.Left="210"
                            Canvas.Top="100"
                            Orientation="Horizontal">
                        <Label
                                Margin="0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="Inner"
                                FontFamily="Verdana"
                                FontSize="10"
                                Foreground="Black"
                                Visibility="Collapsed" />
                        <Label
                                Margin="0,0,0,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="Outer"
                                FontFamily="Verdana"
                                FontSize="10"
                                Foreground="Black" />
                        <Label
                                Margin="120,0,0,0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="Middle"
                                FontFamily="Verdana"
                                FontSize="10"
                                Foreground="Black" />

                    </StackPanel>
                    <StackPanel
                            Canvas.Left="160"
                            Canvas.Top="120"
                            Orientation="Horizontal">
                        <Label
                                Margin="0,-1,3,-1"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="PV"
                                FontFamily="Verdana"
                                FontSize="10"
                                Foreground="Black" />
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1"
                                Visibility="Collapsed">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L1InputTemp}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Inner Pyro PV Temp" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L3InputTemp}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Outer Pyro PV Temp" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Margin="80,0,0,0"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L2InputTemp}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Middle Pyro PV Temp" />
                        </Grid>
                    </StackPanel>

                    <StackPanel
                            Canvas.Left="164"
                            Canvas.Top="145"
                            Orientation="Horizontal">
                        <Label
                                Margin="-3,-1,2,-1"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                Content="SP"
                                FontFamily="Verdana"
                                FontSize="10"
                                Foreground="Black" />
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1"
                                Visibility="Collapsed">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L1TargetSP}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Inner Pyro SP Temp" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="3*" />
                                <ColumnDefinition Width="17*" />
                            </Grid.ColumnDefinitions>
                            <Border
                                    Grid.ColumnSpan="2"
                                    Background="Transparent"
                                    BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Grid.ColumnSpan="2"
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L3TargetSP}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Outer Pyro SP Temp" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Margin="80,0,0,0"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding L2TargetSP}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Middle Pyro SP Temp" />
                        </Grid>
                    </StackPanel>

                    <StackPanel Canvas.Left="170" Canvas.Top="175">
                        <Grid
                                Width="64"
                                Height="25"
                                Margin="-1,2"
                                Cursor="Hand">

                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-2,-2,-2"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding TC2Mode}"
                                    FontFamily="Verdana"
                                    Foreground="Cyan"
                                    ToolTip="SCR Power/Pyro Mode" />
                        </Grid>
                        <Grid
                                Width="64"
                                Height="25"
                                Margin="-1,2"
                                Cursor="Hand">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="7*" />
                                <RowDefinition Height="6*" />
                            </Grid.RowDefinitions>
                            <Label
                                    Grid.RowSpan="2"
                                    Margin="-16,-1,3,-1"
                                    HorizontalContentAlignment="Left"
                                    VerticalContentAlignment="Center"
                                    Content="U"
                                    FontFamily="Verdana"
                                    FontSize="10"
                                    Foreground="Black" />
                            <Border
                                    Grid.RowSpan="2"
                                    Background="Transparent"
                                    BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Grid.RowSpan="2"
                                    Margin="0,-2,-2,-2"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding SCR1Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="SCR Upper Power" />
                        </Grid>
                        <Grid
                                Width="64"
                                Height="25"
                                Margin="-1,2"
                                Cursor="Hand">
                            <Label
                                    Margin="-16,-1,3,-1"
                                    HorizontalContentAlignment="Left"
                                    VerticalContentAlignment="Center"
                                    Content="M"
                                    FontFamily="Verdana"
                                    FontSize="10"
                                    Foreground="Black" />
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-2,-2,-2"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding SCR2Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="SCR Middle Power" />
                        </Grid>
                        <Grid
                                Width="64"
                                Height="25"
                                Margin="-1,2"
                                Cursor="Hand">
                            <Label
                                    Margin="-16,-1,3,-1"
                                    HorizontalContentAlignment="Left"
                                    VerticalContentAlignment="Center"
                                    Content="L"
                                    FontFamily="Verdana"
                                    FontSize="10"
                                    Foreground="Black" />
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-2,-2,-2"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding SCR3Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="SCR Lower Power" />
                        </Grid>

                    </StackPanel>

                    <StackPanel
                            Canvas.Left="275"
                            Canvas.Top="265"
                            Orientation="Horizontal">
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <!--<Border Background="Transparent" BorderThickness="1">
                                    <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                                </Border>-->
                            <!--<Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding SCRL3InputTemp}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="SCR Lower Pyro PV Temp" />-->
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding SCRL3TargetSP}"
                                    ContentStringFormat="{}{0:F1}℃"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="SCR Lower Pyro SP Temp" />
                        </Grid>
                    </StackPanel>

                    <StackPanel
                            Canvas.Left="188"
                            Canvas.Top="300"
                            Orientation="Horizontal">
                        <Grid
                                Width="85"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding TC1Mode}"
                                    FontFamily="Verdana"
                                    Foreground="Cyan"
                                    ToolTip="PSU Power/Pyro Mode" />
                        </Grid>

                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding PT1Pressure}"
                                    ContentStringFormat="{}{0:F1}mbar"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="Chamber Pressure" />
                        </Grid>

                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding ActualSpeedFeedback}"
                                    ContentStringFormat="{}{0:F1}rpm"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="Rotation Speed" />
                        </Grid>

                    </StackPanel>

                    <StackPanel
                            Canvas.Left="188"
                            Canvas.Top="325"
                            Orientation="Horizontal">
                        <Grid
                                Width="85"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="54*" />
                                <ColumnDefinition Width="31*" />
                            </Grid.ColumnDefinitions>
                            <Border
                                    Grid.ColumnSpan="2"
                                    Background="Transparent"
                                    BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Grid.ColumnSpan="2"
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding PSU1Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Inner Power" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Border Background="Transparent" BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding PSU2Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Middle Power" />
                        </Grid>
                        <Grid
                                Width="80"
                                Height="25"
                                Cursor="Hand"
                                Opacity="1">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="13*" />
                                <ColumnDefinition Width="7*" />
                            </Grid.ColumnDefinitions>
                            <Border
                                    Grid.ColumnSpan="2"
                                    Background="Transparent"
                                    BorderThickness="1">
                                <Rectangle
                                        Margin="1"
                                        Fill="Gray"
                                        Opacity="1"
                                        RadiusX="2"
                                        RadiusY="2"
                                        Stroke="#373737"
                                        StrokeThickness="1"
                                        Style="{x:Null}" />
                            </Border>
                            <Label
                                    Grid.ColumnSpan="2"
                                    Margin="0,-1,-1,-1"
                                    HorizontalContentAlignment="Center"
                                    VerticalContentAlignment="Center"
                                    Content="{Binding PSU3Power}"
                                    ContentStringFormat="{}{0:F2}KW"
                                    FontFamily="Verdana"
                                    Foreground="#FFF"
                                    ToolTip="PSU Outer Power" />
                        </Grid>
                    </StackPanel>
                </Canvas>

                <Canvas
                        x:Name="反应气体源"
                        Canvas.Left="-61"
                        Canvas.Top="285"
                        Width="24"
                        Height="33">
                    <Canvas.Resources>
                        <Style TargetType="TextBlock">
                            <Setter Property="VerticalAlignment" Value="Center" />
                            <Setter Property="HorizontalAlignment" Value="Center" />
                        </Style>
                    </Canvas.Resources>
                    <TextBlock
                            Canvas.Left="-50"
                            Canvas.Top="177"
                            Text="{lex:Loc ID_TXT_GasMol}" />
                    <TextBlock
                            Canvas.Left="500"
                            Canvas.Top="177"
                            Text="{lex:Loc ID_TXT_GasMol}" />
                    <TextBlock
                            Canvas.Left="415"
                            Canvas.Top="177"
                            Text="{lex:Loc ID_TXT_GasSource}" />
                    <TextBlock
                            Canvas.Left="21"
                            Canvas.Top="175"
                            Text="{lex:Loc ID_TXT_GasSource}" />
                    <TextBlock
                            Canvas.Left="350"
                            Canvas.Top="177"
                            Text="{lex:Loc ID_TXT_GasFlow}" />
                    <TextBlock
                            Canvas.Left="96"
                            Canvas.Top="175"
                            Text="{lex:Loc ID_TXT_GasFlow}" />

                    <control:FlowPipeV2
                            Canvas.Left="134"
                            Canvas.Top="204"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISC2H4Flow}"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="134"
                            Canvas.Top="204"
                            Width="62"
                            Height="9"
                            Fill="{Binding C2H4FlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISC2H4Flow, Converter={StaticResource BoolVisibilityConverter}}" />
                    <Border
                            Canvas.Left="-75"
                            Canvas.Top="198"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding C2H4Color}" Text="{Binding C2H4Mol, StringFormat=F4}" />
                    </Border>
                    <Border
                            Canvas.Top="198"
                            Width="75"
                            Height="26"
                            Background="Cyan"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding C2H4Color}" Text="{Binding CarbonSource}" />
                    </Border>
                    <Border
                            Canvas.Left="75"
                            Canvas.Top="198"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding C2H4Color}" Text="{Binding C2H4Flow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="134"
                            Canvas.Top="228"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISSiH4Flow}"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="134"
                            Canvas.Top="228"
                            Width="62"
                            Height="9"
                            Fill="{Binding SIH4FlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISSiH4Flow, Converter={StaticResource BoolVisibilityConverter}}" />
                    <Border
                            Canvas.Left="-75"
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding SIH4Color}" Text="{Binding SIH4Mol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="Cyan"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding SIH4Color}" Text="SiH4" />
                    </Border>
                    <Border
                            Canvas.Left="75"
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding SIH4Color}" Text="{Binding SiH4Flow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="134"
                            Canvas.Top="254"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISHCLFlow}"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="134"
                            Canvas.Top="254"
                            Width="62"
                            Height="9"
                            Fill="{Binding HCLFlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISHCLFlow, Converter={StaticResource BoolVisibilityConverter}}" />
                    <Border
                            Canvas.Left="-75"
                            Canvas.Top="247"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding HCLColor}" Text="{Binding HCLMol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Top="247"
                            Width="75"
                            Height="26"
                            Background="Cyan"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding HCLColor}" Text="HCL" />
                    </Border>
                    <Border
                            Canvas.Left="75"
                            Canvas.Top="247"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding HCLColor}" Text="{Binding HCLFlow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="134"
                            Canvas.Top="280"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISPN2Flow}"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="134"
                            Canvas.Top="280"
                            Width="62"
                            Height="9"
                            Fill="{Binding PN2FlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISPN2Flow, Converter={StaticResource BoolVisibilityConverter}}" />
                    <Border
                            Canvas.Left="-75"
                            Canvas.Top="271"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding PN2Color}" Text="{Binding PN2Mol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Top="271"
                            Width="75"
                            Height="26"
                            Background="Cyan"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding PN2Color}" Text="PN2" />
                    </Border>
                    <Border
                            Canvas.Left="75"
                            Canvas.Top="271"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding PN2Color}" Text="{Binding PN2Flow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="264"
                            Canvas.Top="204"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISH2Flow}"
                            IsReverse="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="264"
                            Canvas.Top="204"
                            Width="62"
                            Height="9"
                            Fill="Gold"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISH2Flow, Converter={StaticResource BoolVisibilityConverter}}" />

                    <Border
                            Canvas.Left="401"
                            Canvas.Top="197"
                            Width="75"
                            Height="26"
                            Background="Gold"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="H2" />
                    </Border>
                    <Border
                            Canvas.Left="476"
                            Canvas.Top="197"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="{Binding H2Mol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Left="326"
                            Canvas.Top="197"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="{Binding H2Flow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="264"
                            Canvas.Top="228"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISArFlow}"
                            IsReverse="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="264"
                            Canvas.Top="228"
                            Width="62"
                            Height="9"
                            Fill="Gold"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISArFlow, Converter={StaticResource BoolVisibilityConverter}}" />

                    <Border
                            Canvas.Left="401"
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="Gold"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="Ar" />
                    </Border>
                    <Border
                            Canvas.Left="476"
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="{Binding ArMol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Left="326"
                            Canvas.Top="223"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Text="{Binding ArFlow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="264"
                            Canvas.Top="254"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISTMAFlow}"
                            IsReverse="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="264"
                            Canvas.Top="254"
                            Width="62"
                            Height="9"
                            Fill="{Binding TMAFlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISTMAFlow, Converter={StaticResource BoolVisibilityConverter}}" />

                    <Border
                            Canvas.Left="401"
                            Canvas.Top="249"
                            Width="75"
                            Height="26"
                            Background="Gold"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TMAColor}" Text="TMA" />
                    </Border>
                    <Border
                            Canvas.Left="476"
                            Canvas.Top="249"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TMAColor}" Text="{Binding TMAMol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Left="326"
                            Canvas.Top="249"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TMAColor}" Text="{Binding TMAFlow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="264"
                            Canvas.Top="280"
                            Width="62"
                            Height="9"
                            FlowOrientation="Horizontal"
                            GasType="Slow"
                            IsFlowing="{Binding ISTCSFlow}"
                            IsReverse="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="0" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="264"
                            Canvas.Top="280"
                            Width="62"
                            Height="9"
                            Fill="{Binding TCSFlowColor}"
                            FlowDirection="RightToLeft"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            Stroke="Gray"
                            Visibility="{Binding ISTCSFlow, Converter={StaticResource BoolVisibilityConverter}}" />

                    <Border
                            Canvas.Left="401"
                            Canvas.Top="275"
                            Width="75"
                            Height="26"
                            Background="Gold"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TCSColor}" Text="TCS" />
                    </Border>
                    <Border
                            Canvas.Left="476"
                            Canvas.Top="275"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TCSColor}" Text="{Binding TCSMol, StringFormat=N4}" />
                    </Border>
                    <Border
                            Canvas.Left="326"
                            Canvas.Top="275"
                            Width="75"
                            Height="26"
                            Background="LightGray"
                            BorderBrush="Gray"
                            BorderThickness="1">
                        <TextBlock Foreground="{Binding TCSColor}" Text="{Binding TCSFlow, StringFormat={}{0:f1}}" />
                    </Border>

                    <control:FlowPipeV2
                            Canvas.Left="106"
                            Canvas.Top="230"
                            Width="196"
                            Height="18"
                            FlowOrientation="Vertical"
                            IsFlowing="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="270" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>

                    <control:FlowPipeV2
                            Canvas.Left="164"
                            Canvas.Top="230"
                            Width="196"
                            Height="18"
                            FlowOrientation="Vertical"
                            IsFlowing="True"
                            RenderTransformOrigin="0.5,0.5">
                        <control:FlowPipeV2.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform />
                                <SkewTransform />
                                <RotateTransform Angle="270" />
                                <TranslateTransform />
                            </TransformGroup>
                        </control:FlowPipeV2.RenderTransform>
                    </control:FlowPipeV2>
                    <Rectangle
                            Canvas.Left="196"
                            Canvas.Top="138"
                            Width="15"
                            Height="197"
                            Fill="Cyan"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            RenderTransformOrigin="6,0.517"
                            Stroke="Transparent" />
                    <Rectangle
                            Canvas.Left="255"
                            Canvas.Top="138"
                            Width="15"
                            Height="197"
                            Fill="Gold"
                            Opacity="0.85"
                            OverridesDefaultStyle="False"
                            RenderTransformOrigin="6,0.517"
                            Stroke="Transparent" />
                </Canvas>
            </Canvas>

        <Grid Grid.Row="0" Grid.Column="0"
              HorizontalAlignment="Center"
              VerticalAlignment="Top" Margin="0,10,0,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="24" />
                <RowDefinition Height="32" />
                <RowDefinition Height="32" />
                <RowDefinition Height="32" />
                <RowDefinition Height="32" />

            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="130" />
                <ColumnDefinition Width="150" />
                <ColumnDefinition Width="120" />
                <ColumnDefinition Width="160" />
            </Grid.ColumnDefinitions>

            <Label
                Grid.Row="0"
                Grid.ColumnSpan="4"
                HorizontalContentAlignment="Center"
                VerticalContentAlignment="Center"
                Content="{lex:Loc ID_TXT_Recipe}"
                FontSize="13"
                Style="{DynamicResource Table_TitleStyle}" />

            <Border
                Grid.Row="1"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Title}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1">
                <TextBlock
                    lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc {Binding RecipeToolTip2, FallbackValue=Unknown}}"
                    TextWrapping="Wrap" />
            </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">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    MinWidth="50"
                    Foreground="{Binding ReadRecipeFromLocal,Converter={StaticResource boolToUIColorConverter}}"
                    Text="{Binding DisplayingRecipeName,TargetNullValue=empty}"
                    TextWrapping="Wrap"/>
                <!--<StackPanel Orientation="Horizontal">
                    <TextBlock
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"
                        FontSize="13"
                        MinWidth="50"
                        Foreground="{DynamicResource FG_Black}" 
                        Text="{Binding DisplayingRecipeName,TargetNullValue=empty}"
                        TextWrapping="Wrap"/>
                    <Border CornerRadius="4" Width="80" Height="20" BorderThickness="1" BorderBrush="Black" Margin="3" Background="{Binding ReadRecipeFromLocal,Converter={StaticResource boolToUIColorConverter2}}" Visibility="{Binding RecipeToolTip2Visibility}">
                        <TextBlock Text="{Binding RecipeToolTip}" FontSize="10" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                    </Border>
                </StackPanel>-->

            </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">
                <Button
                    Width="70"
                    Height="25"
                    micro:Message.Attach="SelectRecipe()"
                    Content="{lex:Loc ID_BTN_SelectRecipe_Content}"
                    FontSize="13"
                    IsEnabled="{Binding IsSelectButtonEnable}"
                    ToolTip="{lex:Loc ID_BTN_SelectRecipe_ToolTip}" />
            </Border>

            <Border
                Grid.Row="2"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Title}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc ID_TXT_RecipeStepNo}"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="1"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="0,0,0,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{Binding StepNumber}"
                    TextAlignment="Center"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="2"
                Padding="5,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1" />

            <Border
                Grid.Row="2"
                Grid.Column="2"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Title}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc ID_TXT_RecipeStepName}"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="3"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="0,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{Binding StepName}"
                    TextAlignment="Center"
                    TextWrapping="Wrap" />
            </Border>



            <Border
                Grid.Row="3"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Title}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc ID_TXT_RecipeStepTime}"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="1"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="0,0,0,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{Binding StepTime}"
                    TextAlignment="Center"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="2"
                Padding="5,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1" />

            <Border
                Grid.Row="3"
                Grid.Column="2"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Title}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc ID_TXT_RecipeTime}"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="3"
                Padding="5,1,0,1"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="0,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="13"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{Binding RecipeTime}"
                    TextAlignment="Center"
                    TextWrapping="Wrap" />
            </Border>

            <Border
                Grid.Row="4"
                Grid.ColumnSpan="4"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1"
                SnapsToDevicePixels="True">
                <StackPanel
                    Width="550"
                    HorizontalAlignment="Center"
                    Orientation="Horizontal">
                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="{lex:Loc ID_BTN_ProcessStart_Content}"
                        FontSize="13"
                        IsEnabled="{Binding IsStartButtonEnable}"
                        ToolTip="{lex:Loc ID_BTN_ProcessStar_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="StartProcess" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="Stop"
                        FontSize="13"
                        IsEnabled="False"
                        Visibility="Collapsed">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="Stop" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="{lex:Loc ID_BTN_ProcessSkip_Content}"
                        FontSize="13"
                        IsEnabled="{Binding IsSkipButtonEnable}"
                        ToolTip="{lex:Loc ID_BTN_ProcessSkip_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="Skip" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>


                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="{lex:Loc ID_BTN_ProcessPause_Content}"
                        FontSize="13"
                        IsEnabled="{Binding IsPauseButtonEnable}"
                        ToolTip="{lex:Loc ID_BTN_ProcessPause_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="Pause" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                    <Button
                        Width="76"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="{lex:Loc ID_BTN_ProcessContinue_Content}"
                        FontSize="13"
                        IsEnabled="{Binding IsContinueButtonEnable}"
                        ToolTip="{lex:Loc ID_BTN_ProcessContinue_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="Continue" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                    <!--<Button FontSize="13" Content="Stop" Width="70" Height="25" Margin="10,0,10,0"  IsEnabled="{Binding IsStopButtonEnable}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <cal:ActionMessage MethodName="Stop">
                                </cal:ActionMessage>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>-->

                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0,10,0"
                        Content="{lex:Loc ID_BTN_ProcessAbort_Content}"
                        FontSize="13"
                        IsEnabled="{Binding IsAbortButtonEnable}"
                        ToolTip="{lex:Loc ID_BTN_ProcessAbort_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="Abort" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                    <Button
                        Width="70"
                        Height="25"
                        Margin="10,0"
                        Content="{lex:Loc ID_BTN_ProcessMonitor_Content}"
                        FontSize="13"
                        ToolTip="{lex:Loc ID_BTN_ProcessMonitor_ToolTip}">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Click">
                                <micro:ActionMessage MethodName="ShowMonitorWindow" />
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Button>

                </StackPanel>
            </Border>
        </Grid>

        <Grid Grid.Column="1" Grid.RowSpan="2">
            <TabControl>
                <TabItem Header="{lex:Loc ID_TXT_Recipe}" IsSelected="True">
                    <Grid>
                        <Grid
                            x:Name="gridRecipe"
                            Margin="5,0"
                            IsEnabled="{Binding IsPermission}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="2*" />
                                <ColumnDefinition Width="2*" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="50" />
                                <RowDefinition />
                            </Grid.RowDefinitions>
                            <StackPanel Orientation="Horizontal">
                                <Button
                                    x:Name="btnLockRecipe"
                                    Width="70"
                                    Height="30"
                                    Margin="0,0,10,0"
                                    Click="BtnLockRecipe_OnClick"
                                    Content="{lex:Loc ID_BTN_LockRecipe_Content}"
                                    ToolTip="{lex:Loc ID_BTN_LockRecipe_ToolTip}" />
                                <Border lex:ResxLocalizationProvider.DefaultDictionary="lang_terms" CornerRadius="4" Width="140" Height="40" BorderThickness="2" Margin="3" Background="{Binding ReadRecipeFromLocal,Converter={StaticResource boolToUIColorConverter2}}">
                                    <TextBlock Text="{lex:Loc {Binding RecipeToolTip2, FallbackValue=Unknown}}" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                </Border>

                                <Button
                                    Width="150"
                                    Height="30"
                                    Margin="0"
                                    micro:Message.Attach="PushRecipeToCurrentProcess()"
                                    HorizontalAlignment="Left"
                                    Content="{lex:Loc ID_BTN_UpdateRecipeInProcess_Content}"
                                    IsEnabled="{Binding IsAllowPush}"
                                    Visibility="{Binding AllowRipRecipe}"
                                    ToolTip="{lex:Loc ID_BTN_UpdateRecipeInProcess_ToolTip}" />

                                <!--<Label Margin="5,0" Content="{Binding CurrentRecipe.FullName}" FontSize="15" VerticalAlignment="Center"></Label>-->
                            </StackPanel>
                            <Grid Grid.Column="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="30" />
                                    <ColumnDefinition Width="4*" />
                                </Grid.ColumnDefinitions>
                                <!--  更新PM正在Run的配方到下表中的配方  -->

                                <Grid Height="40" Grid.Column="1" HorizontalAlignment="Right">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="200" />
                                        <ColumnDefinition Width="140" />
                                        <ColumnDefinition Width="110" />
                                        <ColumnDefinition Width="110" />
                                    </Grid.ColumnDefinitions>
                                    <StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding RecipeDifferenceVisiblity}">
                                        <Image Height="20" Width="20" Source="/MECF.Framework.UI.Client;component/Resources/Images/warning.png" Stretch="Uniform"/>
                                        <TextBlock Foreground="Red" Text="{lex:Loc ID_TXT_Differ_With_Source}" Margin="5" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                                    </StackPanel>
                                    <Border
                                        Grid.Column="1"
                                        Background="{StaticResource Table_BG_Title}"
                                        BorderBrush="{StaticResource Table_BD}"
                                        BorderThickness="1,1,0,1"
                                        CornerRadius="5 0 0 5">
                                        <TextBlock
                                            Margin="5,0"
                                            HorizontalAlignment="Center"
                                            VerticalAlignment="Center"
                                            Text="{lex:Loc ID_TXT_Recipe_Operation}" />
                                    </Border>

                                    <Border
                                        Grid.Column="2"
                                        Background="{StaticResource Table_BG_Content}"
                                        BorderBrush="{StaticResource Table_BD}"
                                        BorderThickness="1,1,0,1">
                                        <!--  重新加载基线配方  -->
                                        <Button
                                            Height="30"
                                            Margin="5,0"
                                            micro:Message.Attach="RestoreToBaselineRecipe()"
                                            Content="{lex:Loc ID_BTN_Restore_Content}"
                                            ToolTip="{lex:Loc ID_BTN_Restore_ToolTip}" />
                                    </Border>

                                    <Border
                                        Grid.Column="3"
                                        Background="{StaticResource Table_BG_Content}"
                                        BorderBrush="{StaticResource Table_BD}"
                                        BorderThickness="1,1,1,1"
                                        CornerRadius="0 5 5 0">
                                        <!--  保存基线配方  -->
                                        <Button
                                            Height="30"
                                            Margin="5,0"
                                            micro:Message.Attach="SaveToBaselineRecipe()"
                                            IsEnabled="{Binding IsAllowSave}"
                                            Content="{lex:Loc ID_TXT_SaveToLocal}"
                                            ToolTip="{lex:Loc ID_BTN_Save_ToolTip}"
                                            Visibility="{Binding AllowSaveRecipe, Converter={StaticResource BoolVisibilityConverter}}" />
                                    </Border>
                                </Grid>
                            </Grid>


                            <dgExtension1:DataGridRecipe
                                x:Name="dgRecipeEditor"
                                Grid.Row="1"
                                Grid.ColumnSpan="2"
                                AllowDragToFill="False"
                                FrozenColumnCount="6"
                                IsEnabled="{Binding IsPermission}"
                                Recipe="{Binding CurrentRecipe, Mode=OneWay}" />
                        </Grid>

                        <controls:PanelLocker
                            x:Name="recipeLocker"
                            LockTarget="{Binding ElementName=gridRecipe}"
                            Visibility="Collapsed" />
                    </Grid>
                </TabItem>

                <TabItem lex:ResxLocalizationProvider.DefaultDictionary="lang_pm" Header="{lex:Loc ID_TXT_GasFlowStat}">
                    <Grid Margin="5">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="25" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label
                            Grid.Row="0"
                            HorizontalContentAlignment="Center"
                            VerticalContentAlignment="Center"
                            Content="{lex:Loc ID_TXT_Accumulated_Gas_Flow_Statistic}"
                            FontSize="12"
                            Style="{DynamicResource Table_TitleStyle}" />

                        <ListView Grid.Row="1" ItemsSource="{Binding ProcessRunDataList}">
                            <ListView.Resources />

                            <ListView.View>
                                <GridView>
                                    <!--<GridView.ColumnHeaderContainerStyle>
                                    <Style TargetType="{x:Type GridViewColumnHeader}" BasedOn="{StaticResource {x:Type GridViewColumnHeader}}">
                                        <Setter Property="IsHitTestVisible" Value="False"/>
                                    </Style>
                                </GridView.ColumnHeaderContainerStyle>-->

                                    <GridViewColumn
                                        Width="30"
                                        DisplayMemberBinding="{Binding Index}"
                                        Header="#" />
                                    <GridViewColumn DisplayMemberBinding="{Binding RecipeName}" Header="{lex:Loc ID_TXT_RecipeName}" />
                                    <!--<GridViewColumn Header="Duration" DisplayMemberBinding="{Binding StatisticsStart, StringFormat='{}{0:MM/dd hh:mm:ss.fff}'}" Width="80"/>-->
                                    <GridViewColumn Width="140" Header="{lex:Loc ID_TXT_Duration}">
                                        <GridViewColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBlock>
                                                    <TextBlock.Text>
                                                        <MultiBinding StringFormat="{}{0:HH:mm:ss} - {1:HH:mm:ss}">
                                                            <Binding Path="ProcessBegin" />
                                                            <Binding Path="ProcessEnd" />
                                                        </MultiBinding>
                                                    </TextBlock.Text>
                                                </TextBlock>
                                            </DataTemplate>
                                        </GridViewColumn.CellTemplate>
                                    </GridViewColumn>
                                    <!--<GridViewColumn Header="Wafer ID" Width="100">
                            <GridViewColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding}" TextTrimming="CharacterEllipsis" />
                                </DataTemplate>
                            </GridViewColumn.CellTemplate>
                        </GridViewColumn>-->
                                    <GridViewColumn DisplayMemberBinding="{Binding H2, StringFormat=F1}" Header="H2" />
                                    <GridViewColumn DisplayMemberBinding="{Binding Ar, StringFormat=F1}" Header="Ar" />
                                    <GridViewColumn DisplayMemberBinding="{Binding PN2, StringFormat=F1}" Header="PN2" />
                                    <GridViewColumn DisplayMemberBinding="{Binding HCL, StringFormat=F1}" Header="HCL" />
                                    <GridViewColumn DisplayMemberBinding="{Binding SiH4, StringFormat=F1}" Header="SiH2" />
                                    <GridViewColumn DisplayMemberBinding="{Binding C2H4, StringFormat=F1}" Header="{Binding CarbonSource}" />
                                    <GridViewColumn DisplayMemberBinding="{Binding TCS, StringFormat=F1}" Header="TCS" />
                                    <GridViewColumn DisplayMemberBinding="{Binding TMA, StringFormat=F1}" Header="TMA" />
                                    <GridViewColumn DisplayMemberBinding="{Binding HeaterPowerConsumption, StringFormat=F3}" Header="{lex:Loc ID_TXT_PowerKWH}" />
                                </GridView>
                            </ListView.View>
                        </ListView>
                    </Grid>
                </TabItem>

                <TabItem FontSize="12" Header="{lex:Loc ID_TXT_GasFlowHistorySearch}">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="27.003" />
                            <ColumnDefinition Width="252.997"/>
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>




                        <StackPanel Orientation="Vertical" Grid.ColumnSpan="2">
                            <StackPanel Width="260" Margin="5,5">
                                <StackPanel.Resources>
                                    <Style TargetType="xctk:DateTimeUpDown">
                                        <Setter Property="Width" Value="180" />
                                        <Setter Property="Format" Value="Custom" />
                                        <Setter Property="FormatString" Value="yyyy/MM/dd HH:mm:ss" />
                                    </Style>
                                </StackPanel.Resources>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock
                                        Width="70"
                                        VerticalAlignment="Center"
                                        FontFamily="Arial"
                                        FontSize="14"
                                        Text="{lex:Loc Sicentury.Localization:lang_common:ID_TXT_StartTime}" />
                                    <WindowsFormsHost
                                        Width="170"
                                        Height="22"
                                        Margin="5,0,0,0"
                                        VerticalAlignment="Center"
                                        FontFamily="Arial"
                                        FontSize="14">
                                        <forms:DateTimePicker
                                            x:Name="wfTimeFrom"
                                            CustomFormat="yyyy/MM/dd HH:mm:ss"
                                            Format="Custom"
                                            Value="2011-8-1" />
                                    </WindowsFormsHost>
                                </StackPanel>
                                <StackPanel Margin="0,5,0,0" Orientation="Horizontal">
                                    <TextBlock
                                        Width="70"
                                        VerticalAlignment="Center"
                                        FontFamily="Arial"
                                        FontSize="14"
                                        Text="{lex:Loc Sicentury.Localization:lang_common:ID_TXT_EndTime}" />
                                    <WindowsFormsHost
                                        Width="170"
                                        Height="22"
                                        Margin="5,0,0,0"
                                        VerticalAlignment="Center"
                                        FontFamily="Arial"
                                        FontSize="14">
                                        <forms:DateTimePicker
                                            x:Name="wfTimeTo"
                                            CustomFormat="yyyy/MM/dd HH:mm:ss"
                                            Format="Custom"
                                            Value="2011-8-1" />
                                    </WindowsFormsHost>
                                </StackPanel>

                            </StackPanel>

                            <StackPanel HorizontalAlignment="Right">
                                <Button
                                    Width="100"
                                    Height="30"
                                    Margin="25,20"
                                    Content="{lex:Loc Sicentury.Localization:lang_common:ID_BTN_Query_Content}"
                                    ToolTip="{lex:Loc Sicentury.Localization:long_common:ID_BTN_Query_ToolTip}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="Click">
                                            <micro:ActionMessage MethodName="Query" />
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </Button>
                            </StackPanel>

                        </StackPanel>

                        <userControls1:BusyIndicator
                            Grid.Column="2"
                            Width="Auto"
                            Height="Auto"
                            Padding="20,10"
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            Panel.ZIndex="1"
                            Background="{StaticResource Tab_BG}"
                            BorderBrush="Gray"
                            BorderThickness="3"
                            Message="{Binding BusyIndicatorContent}"
                            Visibility="{Binding IsBusyGasFlowSum, Converter={StaticResource BoolVisibilityConverter}}">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Canceled">
                                    <micro:ActionMessage MethodName="CancelQuery" />
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </userControls1:BusyIndicator>

                        <DataGrid
                            Grid.Column="2"
                            AlternationCount="2"
                            AutoGenerateColumns="False"
                            CanUserAddRows="False"
                            FontSize="13"
                            IsReadOnly="True"
                            ItemsSource="{Binding GasFlowSumList}">
                            <DataGrid.Columns>
                                <DataGridTextColumn
                                    Width="78"
                                    Binding="{Binding Display}"
                                    Header="{lex:Loc Sicentury.Localization:lang_pm:ID_TXT_GasName}" />
                                <DataGridTextColumn
                                    Width="230"
                                    Binding="{Binding RunVolume, StringFormat=F3}"
                                    Header="{lex:Loc Sicentury.Localization:lang_pm:ID_TXT_RunVolume}" />
                                <DataGridTextColumn
                                    Width="230"
                                    Binding="{Binding VentVolume, StringFormat=F3}"
                                    Header="{lex:Loc Sicentury.Localization:lang_pm:ID_TXT_VentVolume}" />
                                <DataGridTextColumn
                                    Width="300"
                                    Binding="{Binding Volume, StringFormat=F3}"
                                    Header="{lex:Loc Sicentury.Localization:lang_pm:ID_TXT_TotalVolume}" />
                            </DataGrid.Columns>

                        </DataGrid>

                    </Grid>

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

    </Grid>
</UserControl>
