| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462 | <UserControl x:Class="FurnaceUI.Views.Operations.PressureDetailView"             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"             xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"              xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"    xmlns:cal="http://www.caliburn.org"              xmlns:controls2="clr-namespace:MECF.Framework.UI.Client.IndustrialControl;assembly=MECF.Framework.UI.Client"             mc:Ignorable="d"              Height="820" Width="1200" FontFamily="Segoe" >    <UserControl.Resources>        <Style TargetType="Border" BasedOn="{StaticResource WrapBorder}">            <Setter Property="Background" Value="{StaticResource Area_BG_2}"/>            <Setter Property="BorderBrush" Value="Black"/>            <Setter Property="BorderThickness" Value="1"/>        </Style>        <Style TargetType="TextBox" >            <Setter Property="Width" Value="172"/>            <Setter Property="Margin" Value="1,0,10,0"/>            <Setter Property="HorizontalContentAlignment" Value="Center"/>            <Setter Property="VerticalContentAlignment" Value="Center"/>        </Style>        <Style TargetType="Label" BasedOn="{StaticResource Label_GridButton}">            <Setter Property="HorizontalContentAlignment" Value="Center"/>            <Setter Property="VerticalContentAlignment" Value="Center"/>            <Setter Property="Width" Value="100"/>        </Style>    </UserControl.Resources>    <Grid>        <TabControl>            <TabItem Header="Press">                <StackPanel Orientation="Vertical">                    <GroupBox>                        <GroupBox.Header>                            <TextBlock Text="Recipe Set Value" Foreground="Black"/>                        </GroupBox.Header>                        <StackPanel Orientation="Vertical">                            <StackPanel Orientation="Horizontal">                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="Mode:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="APC Control"    />                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Command:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding APCData.TextModeFeedback, Mode=OneWay}"    />                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Command
Set:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Text="{Binding APCData.SetPoint, StringFormat={}{0:f1}, Mode=OneWay}"    />                                     <TextBox  Tag="None"  IsReadOnly="True"    Width="40"  Text="{Binding DefaultUnit}"     />                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Condition
Wait Sensor:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"   />                                </StackPanel>                            </StackPanel>                            <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="PID Table:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding APCData.PIDTable, Mode=OneWay}"/>                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Send Again
Command:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"   />                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Send Again 
Cmd Set:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" />                                     <TextBox  Tag="None"  IsReadOnly="True"    Width="40" Text="{Binding DefaultUnit}"    />                                </StackPanel>                            </StackPanel>                        </StackPanel>                    </GroupBox>                    <GroupBox>                        <GroupBox.Header>                            <TextBlock Text="Press Control Unit" Foreground="Black"/>                        </GroupBox.Header>                        <StackPanel Orientation="Vertical">                            <StackPanel Orientation="Horizontal">                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Set
Command:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding APCData.TextModeSetPoint, Mode=OneWay}"    />                                </StackPanel>                                <StackPanel Orientation="Horizontal" >                                    <Border>                                        <Label Content="Set Cmd
Status:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Width="160"/>                                </StackPanel>                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="Homing
Status:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding APCData.HomeStatusDisplay, Mode=OneWay}"     Width="480"/>                                </StackPanel>                            </StackPanel>                            <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="APC Hard
Error:"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Width="40" Margin="1,0,1,0"/>                                     <TextBox  Tag="None"  IsReadOnly="True"    Width="1000" TextWrapping="WrapWithOverflow" Text="{Binding APCData.HardError, Mode=OneWay}"     />                                </StackPanel>                            </StackPanel>                        </StackPanel>                    </GroupBox>                    <GroupBox>                        <GroupBox.Header>                            <TextBlock Text="APC" Foreground="Black"/>                        </GroupBox.Header>                        <Canvas Height="455">                            <Border BorderBrush="Black" BorderThickness="1" Background="LightGray"  HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="33" Canvas.Top="40">                                <StackPanel Orientation="Vertical">                                    <Label Content="Press Control" Width="220"/>                                    <Label Content="Control Status" Width="200"/>                                     <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding APCData.TextModeFeedback, Mode=OneWay}"    />                                    <Label Content="Actual"/>                                    <StackPanel Orientation="Horizontal">                                         <TextBox  Tag="None"  IsReadOnly="True"    Margin="10,0,0,0"/>                                         <TextBox  Tag="None"  IsReadOnly="True"    Width="40"/>                                    </StackPanel>                                    <Label Content="Set"/>                                    <StackPanel Orientation="Horizontal">                                         <TextBox  Tag="None"  IsReadOnly="True"    Margin="10,0,0,0"/>                                         <TextBox  Tag="None"  IsReadOnly="True"    Width="40"/>                                    </StackPanel>                                    <Label Content="Press Control Sensor" Width="200"/>                                     <TextBox  Tag="None"  IsReadOnly="True"    />                                </StackPanel>                            </Border>                            <controls2:PipeLine  LeftDirection="None" FlowDirection="LeftToRight" RightDirection="Left" Height="18" Width="365" Canvas.Left="268" Canvas.Top="205" />                            <controls2:PipeLine  FlowDirection="LeftToRight" LeftDirection="None" RightDirection="None" Width="98" Height="18" Canvas.Left="633" Canvas.Top="220" HorizontalAlignment="Left" VerticalAlignment="Center">                                <controls2:PipeLine.RenderTransform>                                    <RotateTransform Angle="90"/>                                </controls2:PipeLine.RenderTransform>                            </controls2:PipeLine>                            <controls2:PipeLine  FlowDirection="LeftToRight" LeftDirection="None" RightDirection="None" Width="48" Height="18" Canvas.Left="633" Canvas.Top="315" HorizontalAlignment="Left" VerticalAlignment="Center">                                <controls2:PipeLine.RenderTransform>                                    <RotateTransform Angle="90"/>                                </controls2:PipeLine.RenderTransform>                            </controls2:PipeLine>                            <controls2:PipeLine  FlowDirection="LeftToRight" LeftDirection="None" RightDirection="None" Width="48" Height="18" Canvas.Left="634" Canvas.Top="397" HorizontalAlignment="Left" VerticalAlignment="Center">                                <controls2:PipeLine.RenderTransform>                                    <RotateTransform Angle="90"/>                                </controls2:PipeLine.RenderTransform>                            </controls2:PipeLine>                            <deviceControl:AITGasValve  Canvas.Left="593" Canvas.Top="265" ValveOpenOrientation="Vertical" Width="60" Height="60" HorizontalAlignment="Center" VerticalAlignment="Top" Visibility="Hidden"/>                            <Border BorderBrush="Black" Background="LightGray" BorderThickness="1" Canvas.Left="573" Canvas.Top="363" HorizontalAlignment="Center" VerticalAlignment="Top">                                <Label Content="Pump"/>                            </Border>                            <GroupBox Canvas.Left="300" Canvas.Top="60">                                <GroupBox.Header>                                    <TextBlock Text="Press Control Unit Sensor" Foreground="Black"/>                                </GroupBox.Header>                                <StackPanel Orientation="Vertical">                                    <StackPanel Orientation="Horizontal">                                        <Border>                                            <Label Content="Press1"/>                                        </Border>                                         <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Text="{Binding APCData.Pressure1Feedback, StringFormat={}{0:f3}, Mode=OneWay}"     />                                         <TextBox  Tag="None"  IsReadOnly="True"    Width="40"  Text="{Binding DefaultUnit}"     />                                    </StackPanel>                                    <StackPanel Orientation="Horizontal">                                        <Border>                                            <Label Content="Press2"/>                                        </Border>                                         <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Text="{Binding APCData.Pressure2Feedback, StringFormat={}{0:f1}, Mode=OneWay}"     />                                         <TextBox  Tag="None"  IsReadOnly="True"    Width="40"   Text="{Binding DefaultUnit}"     />                                    </StackPanel>                                </StackPanel>                            </GroupBox>                            <GroupBox Canvas.Left="700" Canvas.Top="210">                                <GroupBox.Header>                                    <TextBlock Text="APC Valve Angle" Foreground="Black"/>                                </GroupBox.Header>                                <StackPanel Orientation="Horizontal">                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Width="80" Text="{Binding APCData.PositionSetPoint, StringFormat={}{0:f1}, Mode=OneWay}"    />                                    <Label Content="/" Width="20"/>                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Width="80" Text="{Binding APCData.PositionFeedback, StringFormat={}{0:f1}, Mode=OneWay}"    />                                    <Label Content="%" Width="25"/>                                </StackPanel>                            </GroupBox>                            <GroupBox Canvas.Left="700" Canvas.Top="300">                                <GroupBox.Header>                                    <TextBlock Text="SlowVac" Foreground="Black"/>                                </GroupBox.Header>                                <StackPanel Orientation="Horizontal">                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Width="80" Text="{Binding APCData.SlowRateSetPoint, StringFormat={}{0:f2}, Mode=OneWay}"     />                                    <Label Content="" Width="5"/>                                     <TextBox  Tag="None"  IsReadOnly="True"    Margin="0,0,1,0" Width="80"  Text="{Binding _defaultUnit, Mode=OneWay}"    />                                </StackPanel>                            </GroupBox>                            <GroupBox Canvas.Left="388" Canvas.Top="260">                                <GroupBox.Header>                                    <TextBlock Text="SlowVac Check Time" Foreground="Black"/>                                </GroupBox.Header>                                 <TextBox  Tag="None"  IsReadOnly="True"    Height="32"/>                            </GroupBox>                            <Button Content="Sensor Information" Canvas.Left="953"  Canvas.Top="410" Height="35" Width="200" Background="#D3D3D3">                                <i:Interaction.Triggers>                                    <i:EventTrigger EventName="Click">                                        <cal:ActionMessage MethodName="CmdMouseDown">                                            <cal:Parameter Value="SensorInfo"></cal:Parameter>                                        </cal:ActionMessage>                                    </i:EventTrigger>                                </i:Interaction.Triggers>                            </Button>                        </Canvas>                    </GroupBox>                </StackPanel>            </TabItem>            <TabItem Header="Leak Check">                <StackPanel Orientation="Vertical">                    <StackPanel Orientation="Vertical">                        <StackPanel Orientation="Horizontal">                            <StackPanel Orientation="Horizontal">                                <Border>                                    <Label Content="Leak Check
Status:"/>                                </Border>                                 <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding LeakCheckStatus}"/>                            </StackPanel>                            <StackPanel Orientation="Horizontal" >                                <Border>                                    <Label Content="Leak Check
Table:"/>                                </Border>                                 <TextBox  Tag="None"  IsReadOnly="True"      Text="{Binding LeakCheckTable}"/>                            </StackPanel>                            <StackPanel Orientation="Horizontal" >                                <Border>                                    <Label Content="Sensor:"/>                                </Border>                                 <TextBox  Tag="None"  IsReadOnly="True"      Text="{Binding LeakCheckPressureSensorName}" />                            </StackPanel>                        </StackPanel>                        <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                            <StackPanel Orientation="Horizontal">                                <Border>                                    <Label Content="Retry Count:"/>                                </Border>                                 <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckRetryCurrentCount}"/>                            </StackPanel>                            <StackPanel Orientation="Horizontal" >                                <Border>                                    <Label Content="Retry Over
Command:"/>                                </Border>                                 <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckRetryOverCommand}"/>                            </StackPanel>                        </StackPanel>                    </StackPanel>                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition/>                            <ColumnDefinition/>                            <ColumnDefinition/>                        </Grid.ColumnDefinitions>                        <GroupBox >                            <GroupBox.Header>                                <TextBlock Text="Base Pressure Check" Foreground="Black"/>                            </GroupBox.Header>                            <StackPanel Orientation="Vertical">                                <GroupBox Margin="0,10,0,0">                                    <GroupBox.Header>                                        <TextBlock Text="Pressure High Limit" Foreground="Black"/>                                    </GroupBox.Header>                                    <StackPanel Orientation="Vertical">                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="PH(Pa):" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding LeakCheckHighLimit ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="Error Command:" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckHightLimitCommand ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                    </StackPanel>                                </GroupBox>                                <GroupBox Margin="0,10,0,0">                                    <GroupBox.Header>                                        <TextBlock Text="Pressure Low Limit" Foreground="Black"/>                                    </GroupBox.Header>                                    <StackPanel Orientation="Vertical">                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="PL(Pa):" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding LeakCheckLowLimit ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="Error Command:" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckLowLimitCommand ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                    </StackPanel>                                </GroupBox>                                <GroupBox Margin="0,10,0,0">                                    <GroupBox.Header>                                        <TextBlock Text="Base Pressure" Foreground="Black"/>                                    </GroupBox.Header>                                    <StackPanel Orientation="Vertical">                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="BP(Pa):" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckBasePressure ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                                                           </StackPanel>                                </GroupBox>                                <GroupBox Margin="0,10,0,0">                                    <GroupBox.Header>                                        <TextBlock Text="Base Pressure Limit" Foreground="Black"/>                                    </GroupBox.Header>                                    <StackPanel Orientation="Vertical">                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="BPLimit(Pa):" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckBasePressureLimit ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="Error Command:" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckBasePressureLimitCommand ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                    </StackPanel>                                </GroupBox>                            </StackPanel>                        </GroupBox>                        <GroupBox Grid.Column="1">                            <GroupBox.Header>                                <TextBlock Text="Leak Check Delay" Foreground="Black"/>                            </GroupBox.Header>                            <StackPanel Orientation="Vertical">                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="Leak Check
Delay Time:" Width="100"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckDelayElapseTime ,UpdateSourceTrigger=PropertyChanged}" Width="120"/>                                    <Label Content="/" Width="20"/>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckDelayTime ,UpdateSourceTrigger=PropertyChanged}" Width="120"/>                                </StackPanel>                                <ProgressBar Width="380" Height="40" Margin="0,10,0,0" Value="{Binding LeakCheckDelayProGress,UpdateSourceTrigger=PropertyChanged}" Maximum="100"/>                                <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                    <Border>                                        <Label Content="Monitor Pressure(Pa):" Width="160" />                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckDelayMonitorPressure ,UpdateSourceTrigger=PropertyChanged}" Width="220" Margin="0"/>                                </StackPanel>                                <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                    <Border>                                        <Label Content="Start Pressure(Pa):" Width="160" />                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckDelayStartPressure ,UpdateSourceTrigger=PropertyChanged}" Width="220" Margin="0"/>                                </StackPanel>                            </StackPanel>                        </GroupBox>                        <GroupBox Grid.Column="2">                            <GroupBox.Header>                                <TextBlock Text="Leak Check" Foreground="Black"/>                            </GroupBox.Header>                            <StackPanel Orientation="Vertical">                                <StackPanel Orientation="Horizontal">                                    <Border>                                        <Label Content="Leak Check
Time:" Width="100"/>                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckElapseTime ,UpdateSourceTrigger=PropertyChanged}" Width="120"/>                                    <Label Content="/" Width="20"/>                                     <TextBox  Tag="None"  IsReadOnly="True"     Text="{Binding LeakCheckCheckTime ,UpdateSourceTrigger=PropertyChanged}" Width="120"/>                                </StackPanel>                                <ProgressBar Width="380" Height="40" Margin="0,10,0,0" Value="{Binding LeakCheckProGress ,UpdateSourceTrigger=PropertyChanged}" Maximum="100"/>                                <GroupBox>                                    <GroupBox.Header>                                        <TextBlock Text="Leak Limit" Foreground="Black"/>                                    </GroupBox.Header>                                    <StackPanel Orientation="Vertical">                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="Leak Limit(Pa):" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckLeakLimit ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                        <StackPanel Orientation="Horizontal">                                            <Border>                                                <Label Content="Error Command:" Width="130"/>                                            </Border>                                             <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckErrorCommand ,UpdateSourceTrigger=PropertyChanged}" Width="235"/>                                        </StackPanel>                                    </StackPanel>                                </GroupBox>                                <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                    <Border>                                        <Label Content="Actual(Pa):" Width="160" />                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckActualLeak ,UpdateSourceTrigger=PropertyChanged}" Width="220" Margin="0"/>                                </StackPanel>                                <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                    <Border>                                        <Label Content="Monitor Pressure(Pa):" Width="160" />                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckMonitorPressure ,UpdateSourceTrigger=PropertyChanged}"  Width="220" Margin="0"/>                                </StackPanel>                                <StackPanel Orientation="Horizontal" Margin="0,10,0,0">                                    <Border>                                        <Label Content="Start Pressure(Pa):" Width="160" />                                    </Border>                                     <TextBox  Tag="None"  IsReadOnly="True"    Text="{Binding LeakCheckStartPressure ,UpdateSourceTrigger=PropertyChanged}" Width="220" Margin="0"/>                                </StackPanel>                            </StackPanel>                        </GroupBox>                    </Grid>                </StackPanel>            </TabItem>        </TabControl>    </Grid></UserControl>
 |