<Window
    x:Class="MECF.Framework.UI.Client.CenterViews.Modules.PM.ProcessMonitorView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:lex="http://wpflocalizeextension.codeplex.com"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Width="600"
    Height="380"
    lex:LocalizeDictionary.DesignCulture="zh"
    lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
    lex:ResxLocalizationProvider.DefaultDictionary="lang_messagebox"
    Topmost="True"
    WindowStartupLocation="CenterScreen"
    mc:Ignorable="d">
    <Window.Resources>
        <Style TargetType="TextBlock">
            <Setter Property="FontSize" Value="12" />
            <Setter Property="TextAlignment" Value="Center" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="TextWrapping" Value="Wrap" />
            <Setter Property="Margin" Value="3" />
        </Style>

        <Style TargetType="Border">
            <Setter Property="Background" Value="{DynamicResource Table_BG_Title}" />
            <Setter Property="BorderBrush" Value="{DynamicResource Table_BD}" />
            <Setter Property="SnapsToDevicePixels" Value="True" />
        </Style>

        <Style x:Key="InfBorder" TargetType="Border">
            <Setter Property="Background" Value="{DynamicResource Table_BG_Content}" />
            <Setter Property="BorderBrush" Value="{DynamicResource Table_BD}" />
            <Setter Property="SnapsToDevicePixels" Value="True" />
        </Style>
    </Window.Resources>
    <Viewbox Margin="2" Stretch="Fill">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="85" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="5" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="5" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="90" />
                <ColumnDefinition Width="90" />
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="90" />
                <ColumnDefinition Width="90" />
            </Grid.ColumnDefinitions>

            <Grid Grid.ColumnSpan="6">
                <Grid.RowDefinitions>
                    <RowDefinition Height="30" />
                    <RowDefinition Height="25" />
                    <RowDefinition Height="25" />
                    <RowDefinition Height="5" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100" />
                    <ColumnDefinition />

                </Grid.ColumnDefinitions>

                <Border
                    Grid.ColumnSpan="2"
                    Background="#FF243664"
                    CornerRadius="8,8,0,0">
                    <TextBlock
                        Padding="8,0,0,0"
                        HorizontalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="14"
                        FontWeight="Bold"
                        Foreground="White"
                        Text="{lex:Loc ID_TXT_Process_Monitor}" />
                </Border>



                <Border
                    Grid.Row="1"
                    Padding="5,1,0,1"
                    BorderThickness="1,0,1,1">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock
                            FontFamily="Arial"
                            FontSize="14"
                            FontWeight="Bold"
                            Text="PM1" />
                        <TextBlock
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            FontFamily="Arial"
                            FontSize="14"
                            FontWeight="Bold"
                            Text="{lex:Loc ID_TXT_Recipe}" />
                    </StackPanel>

                </Border>

                <Border
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1,0,1"
                    BorderThickness="0,0,1,1"
                    Style="{StaticResource InfBorder}">
                    <TextBlock HorizontalAlignment="Left" Text="{Binding Pm1Monitor.RecipeName}" />
                </Border>

                <Border
                    Grid.Row="2"
                    Padding="5,1,0,1"
                    BorderThickness="1,0,1,1">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock
                            FontFamily="Arial"
                            FontSize="14"
                            FontWeight="Bold"
                            Text="PM2" />
                        <TextBlock
                            lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
                            FontFamily="Arial"
                            FontSize="14"
                            FontWeight="Bold"
                            Text="{lex:Loc ID_TXT_Recipe}" />
                    </StackPanel>
                </Border>

                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1,0,1"
                    BorderThickness="0,0,1,1"
                    Style="{StaticResource InfBorder}">
                    <TextBlock HorizontalAlignment="Left" Text="{Binding Pm2Monitor.RecipeName}" />
                </Border>


                <!--<Border
                Grid.Column="1"
                CornerRadius="0,10,0,0"
                Background="#FF243664"
                Style="{StaticResource InfBorder}">
                    <TextBlock
                    Text="{Binding Pm1Monitor.RecipeName}" FontSize="14" Foreground="White" HorizontalAlignment="Left" Padding="8,0,0,0"/>
                </Border>-->
                <!--<Border
                Grid.Row="1"
                Grid.Column="2"
                Grid.ColumnSpan="5"
                Background="#FF243664"
                Style="{StaticResource InfBorder}">
                    <TextBlock
                    Text="{Binding Pm2Monitor.RecipeName}" FontSize="14" Foreground="White" HorizontalAlignment="Left" Padding="8,0,0,0"/>
                </Border>-->

            </Grid>

            <Border
                Grid.Row="1"
                Padding="5,1,0,1"
                BorderThickness="1,1,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Model_Name}" />
            </Border>
            <Border
                Grid.Row="1"
                Grid.Column="1"
                Padding="5,1,0,1"
                BorderThickness="0,1,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="PM1" />
            </Border>
            <Border
                Grid.Row="1"
                Grid.Column="2"
                Padding="5,1,0,1"
                BorderThickness="0,1,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="PM2" />
            </Border>

            <Border
                Grid.Row="2"
                Padding="5,1,0,1"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Step_NO}" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="1"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.StepNumber}" />
            </Border>

            <Border
                Grid.Row="2"
                Grid.Column="2"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.StepNumber}" />
            </Border>
            <Border
                Grid.Row="1"
                Grid.Column="3"
                Padding="5,1,0,1"
                BorderThickness="0,1,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Model_Name}" />
            </Border>
            <Border
                Grid.Row="1"
                Grid.Column="4"
                Padding="5,1,0,1"
                BorderThickness="0,1,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="PM1" />
            </Border>
            <Border
                Grid.Row="1"
                Grid.Column="5"
                Padding="5,1,0,1"
                BorderThickness="0,1,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="PM2" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="3"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Step_Name}" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="4"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.StepName}" />
            </Border>
            <Border
                Grid.Row="2"
                Grid.Column="5"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.StepName}" />
            </Border>


            <Border
                Grid.Row="3"
                Padding="5,1,0,1"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Step_Time}" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="1"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.StepTime}" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="2"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.StepTime}" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="3"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Recipe_Time}" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="4"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.RecipeTime}" />
            </Border>
            <Border
                Grid.Row="3"
                Grid.Column="5"
                Padding="5,1,0,1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.RecipeTime}" />
            </Border>

            <Border
                Grid.Row="4"
                Grid.ColumnSpan="6"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1"
                SnapsToDevicePixels="True" />

            <!--  PSU/SCR Mode  -->
            <Border
                Grid.Row="5"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_PSU_Mode}" />
            </Border>
            <Border
                Grid.Row="5"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                SnapsToDevicePixels="True"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.PsuMode}" />
            </Border>
            <Border
                Grid.Row="5"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                SnapsToDevicePixels="True"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.PsuMode}" />
            </Border>

            <Border
                Grid.Row="5"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_SCR_Mode}" />
            </Border>
            <Border
                Grid.Row="5"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.ScrMode}" />
            </Border>
            <Border
                Grid.Row="5"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.ScrMode}" />
            </Border>
            <!--  底部三区功率  -->
            <Border
                Grid.Row="6"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Inner}" />
            </Border>
            <Border
                Grid.Row="6"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.PSU1Power}" />
            </Border>
            <Border
                Grid.Row="6"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.PSU1Power}" />
            </Border>

            <Border
                Grid.Row="6"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Upper}" />
            </Border>
            <Border
                Grid.Row="6"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.SCR1Power}" />
            </Border>
            <Border
                Grid.Row="6"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.SCR1Power}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Middle}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.PSU2Power}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.PSU2Power}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Middle}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.SCR2Power}" />
            </Border>
            <Border
                Grid.Row="7"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.SCR2Power}" />
            </Border>
            <Border
                Grid.Row="8"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Outer}" />
            </Border>
            <Border
                Grid.Row="8"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.PSU3Power}" />
            </Border>
            <Border
                Grid.Row="8"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.PSU3Power}" />
            </Border>

            <Border
                Grid.Row="8"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Power_Lower}" />
            </Border>
            <Border
                Grid.Row="8"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.SCR3Power}" />
            </Border>
            <Border
                Grid.Row="8"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.SCR3Power}" />
            </Border>
            <Border
                Grid.Row="9"
                Grid.ColumnSpan="6"
                Background="{DynamicResource Table_BG_Content}"
                BorderBrush="{DynamicResource Table_BD}"
                BorderThickness="1,0,1,1" />


            <!--  SCR功率  -->


            <!--  底部三区温度  -->

            <!--<Border
                Grid.Row="10"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="Pyro Lower" />
            </Border>-->
            <!--<Border
                Grid.Row="10"
                Grid.Column="1"
                Style="{StaticResource InfBorder}"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{Binding Pm1Monitor.SCRL3InputTemp}" />
            </Border>-->
            <!--<Border
                Grid.Row="10"
                Grid.Column="2"
                Style="{StaticResource InfBorder}"
                BorderThickness="0,0,1,1">
                <TextBlock Text="{Binding Pm2Monitor.SCRL3InputTemp}" />
            </Border>-->
            <Border
                Grid.Row="10"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock lex:ResxLocalizationProvider.DefaultDictionary="lang_common" Text="{lex:Loc ID_TXT_Pressure}" />
            </Border>
            <Border
                Grid.Row="10"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.ChamberPressureFeedback}" />
            </Border>
            <Border
                Grid.Row="10"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.ChamberPressureFeedback}" />
            </Border>
            <Border
                Grid.Row="10"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Pyro_Middle}" />
            </Border>
            <Border
                Grid.Row="10"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.L2InputTemp}" />
            </Border>
            <Border
                Grid.Row="10"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.L2InputTemp}" />
            </Border>

            <Border
                Grid.Row="11"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="11"
                    Foreground="{DynamicResource FG_Black}"
                    Text="{lex:Loc ID_TXT_Rotate_Speed}"
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="11"
                Grid.Column="4"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.ActualSpeedFeedback}" />
            </Border>
            <Border
                Grid.Row="11"
                Grid.Column="5"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.ActualSpeedFeedback}" />
            </Border>
            <Border
                Grid.Row="11"
                Grid.Column="0"
                BorderThickness="1,0,1,1">
                <TextBlock Text="{lex:Loc ID_TXT_Pyro_Outer}" />
            </Border>
            <Border
                Grid.Row="11"
                Grid.Column="1"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm1Monitor.L3InputTemp}" />
            </Border>
            <Border
                Grid.Row="11"
                Grid.Column="2"
                BorderThickness="0,0,1,1"
                Style="{StaticResource InfBorder}">
                <TextBlock Text="{Binding Pm2Monitor.L3InputTemp}" />
            </Border>

            <!--<Border
                Grid.Row="12"
                Grid.Column="3"
                BorderThickness="0,0,1,1">
                <TextBlock
                    VerticalAlignment="Center"
                    FontSize="11"
                    Foreground="{DynamicResource FG_Black}"
                    Text=""
                    TextWrapping="Wrap" />
            </Border>
            <Border
                Grid.Row="12"
                Grid.Column="4"
                Style="{StaticResource InfBorder}"
                BorderThickness="0,0,1,1">
                <TextBlock />
            </Border>
            <Border
                Grid.Row="12"
                Grid.Column="5"
                Style="{StaticResource InfBorder}"
                BorderThickness="0,0,1,1">
                <TextBlock />
            </Border>-->
            <!--  腔体压力 转速  -->



        </Grid>
    </Viewbox>
</Window>
