123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391 |
- <UserControl x:Class="Aitex.Jet.UI.Views.DiagnoseView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- mc:Ignorable="d"
- Height="800" Width="1920" Background="#669ACC">
-
- <Grid>
- <Grid.Resources>
- <BorderGapMaskConverter x:Key="BorderGapMaskConverter"/>
- <Style TargetType="{x:Type GroupBox}">
- <Setter Property="BorderBrush" Value="#D5DFE5" />
- <Setter Property="BorderThickness" Value="1" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type GroupBox}">
- <Grid SnapsToDevicePixels="true">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="6" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="6" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="6" />
- </Grid.RowDefinitions>
- <Border CornerRadius="4" Grid.Row="1" Grid.RowSpan="3" Grid.Column="0" Grid.ColumnSpan="4" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="Transparent" Background="{TemplateBinding Background}" />
- <Border Name="Header" Padding="3,1,3,0" Grid.Row="0" Grid.RowSpan="2" Grid.Column="1">
- <ContentPresenter ContentSource="Header" RecognizesAccessKey="true" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </Border>
- <ContentPresenter Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- <Border Grid.Row="1" Grid.RowSpan="3" Grid.ColumnSpan="4" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="3">
- <Border.OpacityMask>
- <MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
- <Binding ElementName="Header" Path="ActualWidth" />
- <Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
- <Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
- </MultiBinding>
- </Border.OpacityMask>
- </Border>
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--<Style TargetType="{x:Type TextBox}">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <Border x:Name="border" Width="Auto" Height="Auto" BorderThickness="1" BorderBrush="#FF7F9DB9">
- <Grid x:Name="grid" Background="Transparent">
- <ScrollViewer x:Name="PART_ContentHost" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Grid>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>-->
- </Grid.Resources>
- <Grid.RowDefinitions>
- <RowDefinition Height="250" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <GroupBox Grid.Row="0" Header="{DynamicResource GlobalLableRFMatch}" IsEnabled="{Binding IsManualMode}" Margin="10" BorderBrush="Black" Padding="5" Background="SteelBlue">
- <Grid >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="600" />
- <ColumnDefinition Width="1"/>
- <ColumnDefinition Width="600"/>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="1" ToolTip="Rf 设置表格" Margin="5">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150" />
- <ColumnDefinition Width="90" />
- <ColumnDefinition Width="90" />
- <ColumnDefinition Width="90" />
- <ColumnDefinition Width="180" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPowerOnOff}" Foreground="White" />
- <Rectangle Grid.Row="0" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.TextOnOff}" />
- <Rectangle Grid.Row="0" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonOn}" Grid.Row="0" Grid.Column="2" Command="{Binding RfCommand}" CommandParameter="PowerOn" IsEnabled="{Binding IsRfPowerOff}" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <Rectangle Grid.Row="0" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonOff}" Grid.Row="0" Grid.Column="3" Command="{Binding RfCommand}" CommandParameter="PowerOff" IsEnabled="{Binding IsRfPowerOn}" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPowerSet}" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.PowerSetPoint, StringFormat={}{0:F0}}" />
- <Rectangle Grid.Row="1" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox Grid.Row="1" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="13" Height="25" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding Path=RfDataSetPoint.PowerSetPoint}" />
- <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonSet}" Grid.Row="1" Grid.Column="3" Command="{Binding RfCommand}" CommandParameter="SetPower" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
-
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchMode}" Foreground="White" />
- <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.TritonTextMatchMode }" />
- <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonManual}" Grid.Row="2" Grid.Column="2" Command="{Binding RfCommand}" IsEnabled="{Binding IsMatchAutoMode}" CommandParameter="SetMatchManualMode" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonAuto}" Grid.Row="2" Grid.Column="3" Command="{Binding RfCommand}" CommandParameter="SetMatchAutoMode" IsEnabled="{Binding IsMatchManualMode}" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchC1}" Foreground="White" />
- <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.MatchPositionC1SetPoint, StringFormat={}{0:F0}}" />
- <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox Grid.Row="3" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="13" Height="25" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding Path=RfDataSetPoint.MatchPositionC1SetPoint}" />
- <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonSet}" Grid.Row="3" Grid.Column="3" Command="{Binding RfCommand}" CommandParameter="SetC1" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="4" >
- <Button Content="--" Command="{Binding RfCommand}" CommandParameter="SetC1LowLow" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="-" Command="{Binding RfCommand}" CommandParameter="SetC1Low" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="+" Command="{Binding RfCommand}" CommandParameter="SetC1High" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="++" Command="{Binding RfCommand}" CommandParameter="SetC1HighHigh" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- </StackPanel>
-
- <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchC2}" Foreground="White" />
- <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.MatchPositionC2SetPoint, StringFormat={}{0:F0}}" />
- <Rectangle Grid.Row="4" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox Grid.Row="4" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="13" Height="25" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding Path=RfDataSetPoint.MatchPositionC2SetPoint}" />
- <Rectangle Grid.Row="4" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Content="{DynamicResource GlobalLableButtonSet}" Grid.Row="4" Grid.Column="3" Command="{Binding RfCommand}" CommandParameter="SetC2" FontSize="16" Width="80" Height="26" Margin="0" VerticalAlignment="Center"/>
- <StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="4" >
- <Button Content="--" Command="{Binding RfCommand}" CommandParameter="SetC2LowLow" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="-" Command="{Binding RfCommand}" CommandParameter="SetC2Low" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="+" Command="{Binding RfCommand}" CommandParameter="SetC2High" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- <Button Content="++" Command="{Binding RfCommand}" CommandParameter="SetC2HighHigh" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
- </StackPanel>
- </Grid>
- <Border Grid.Column="2" Width="1" Background="Black"/>
- <Grid Grid.Column="3" ToolTip="Rf Status" Margin="15,5">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="250" />
- <ColumnDefinition Width="90" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPower}" Foreground="White" />
- <Rectangle Grid.Row="0" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.ForwardPower, StringFormat={}{0:F0}}" />
-
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableReflectPower}" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.ReflectPower, StringFormat={}{0:F0}}" />
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFTime}" Foreground="White" />
- <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.PowerOnElapsedTime, StringFormat={}{0:F0}}" />
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="C1 (%)" Foreground="White" />
- <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.MatchPositionC1, StringFormat={}{0:F0}}" />
-
- <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="C2 (%)" Foreground="White" />
- <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding Path=RfData.MatchPositionC2, StringFormat={}{0:F0}}" />
-
- </Grid>
- </Grid>
- </GroupBox>
- <GroupBox Grid.Row="1" Header="{DynamicResource GlobalLableButtonLeakCheck}" Margin="10" BorderBrush="Black" Background="SteelBlue">
- <Grid >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="420" />
- <ColumnDefinition Width="1"/>
- <ColumnDefinition Width="790"/>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="1" Width="380" HorizontalAlignment="Center" Margin="0,10,0,0" >
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="0" />
- <RowDefinition Height="0" />
- <RowDefinition Height="0" />
- <RowDefinition Height="0" />
- <RowDefinition Height="0" />
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="190" />
- <ColumnDefinition Width="90" />
- <ColumnDefinition Width="90" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" FontSize="18" TextAlignment="Center" Text="{DynamicResource GlobalLableLeakCheckConfiguration}" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLablePumpDownTime}" Foreground="White" />
- <!--<Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="20" Margin="3" Padding="0,0,0,0" Text="{Binding Path=Rf.TextWorkMode}" />-->
- <Rectangle Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" IsEnabled="{Binding Path=IsManualMode}" TextAlignment="Center" PreviewTextInput="OnPreviewTextInput" FontSize="15" Width="160" Height="30" Margin="3" Padding="0,4,0,0" Text="{Binding LeakCheckPumpDownTimeSetPoint}" />
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLableLeakCheckTime}" Foreground="White" />
- <!--<Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="13" Width="88" Height="20" Margin="3" Padding="0,0,0,0" Text="{Binding Path=Rf.TextWorkMode}" />-->
- <Rectangle Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" IsEnabled="{Binding Path=IsManualMode}" FontSize="15" Width="160" Height="30" Margin="3" Padding="0,4,0,0" Text="{Binding LeakCheckTimeSetPoint}" />
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLableLeakCheckMode}" Foreground="White" />
- <Rectangle Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <ComboBox Text="{Binding Path=LeakCheckModeSetPoint}" IsEnabled="{Binding Path=IsManualMode}" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" FontSize="13" >
- <ComboBoxItem>ChamberOnly</ComboBoxItem>
- <ComboBoxItem>ChamberAndGasLine</ComboBoxItem>
- </ComboBox>
- <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="0" FontSize="17" Text="MFC1" Foreground="White" />
- <Rectangle Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <CheckBox Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine1}" />
- <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="5" Grid.Column="0" FontSize="17" Text="MFC2" Foreground="White" />
- <Rectangle Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <CheckBox Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine2}" />
- <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="6" Grid.Column="0" FontSize="17" Text="MFC3" Foreground="White" />
- <Rectangle Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <CheckBox Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine3}" />
- <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="7" Grid.Column="0" FontSize="17" Text="MFC4" Foreground="White" />
- <Rectangle Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <CheckBox Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine4}" />
- <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="8" Grid.Column="0" FontSize="17" Text="MFC5" Foreground="White" />
- <Rectangle Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <CheckBox Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine5}" />
- <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="10" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckStatus}" Foreground="White" />
- <Rectangle Grid.Row="10" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="10" Grid.Column="1" Grid.ColumnSpan="2" TextAlignment="Center" FontSize="13" Margin="3" Padding="0,0,0,0" Text="{Binding Path=Status}" />
- <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="11" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckTime}" Foreground="White" />
- <Rectangle Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="2" TextAlignment="Center" FontSize="13" Margin="3" Padding="0,0,0,0" Text="{Binding Path=LeakCheckElapseTime}" />
- <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="12" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckPressure}" Foreground="White" />
- <Rectangle Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="2" TextAlignment="Center" FontSize="13" Margin="3" Padding="0,0,0,0" Text="{Binding Path=Pressure}" />
- </Grid>
- <Border Grid.Column="2" Width="1" Background="Black"/>
- <Grid Grid.Column="3" HorizontalAlignment="Center" >
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
- <Button Content="{DynamicResource GlobalLableButtonLeakCheck}" Command="{Binding LeakCheckCommand}" IsEnabled="{Binding Path=IsEnableLeakCheck}" FontSize="16" />
- <Button Content="{DynamicResource GlobalLableButtonAbort}" Command="{Binding AbortCommand}" IsEnabled="{Binding Path=IsLeakCheck}" FontSize="16" />
- <Button Content="{DynamicResource GlobalLableButtonDelete}" Command="{Binding DeleteCommand}" HorizontalAlignment="Right" FontSize="16" />
- </StackPanel>
- <DataGrid Grid.Row="1"
- Padding="12,0"
- AutoGenerateColumns="False"
- BorderThickness="0.1"
- CanUserAddRows="False"
- CanUserDeleteRows="False"
- CanUserReorderColumns="False"
- CanUserResizeColumns="True"
- CanUserResizeRows="False"
- CanUserSortColumns="False"
- SelectionMode="Single"
- SelectionUnit="FullRow"
- Background="#05000000"
- VerticalScrollBarVisibility="Auto"
- HorizontalScrollBarVisibility="Disabled"
- FontSize="12" MinRowHeight="20"
- VerticalAlignment="Stretch"
- ItemsSource="{Binding LeakCheckResultList}"
- SelectedItem="{Binding CurrentLeakCheckResultItem}"
- FontFamily="Arial,SimSun" Margin="-8,10,8,45">
- <DataGrid.Columns>
- <DataGridTextColumn Width="160" Binding="{Binding Date, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableLeakCheckDate}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding StartPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableStartPressure}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding StopPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableStopPressure}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- <DataGridTextColumn Width="120" Binding="{Binding LeakCheckTime}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableLeakCheckTime}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- <DataGridTextColumn Width="120" Binding="{Binding LeakRate, StringFormat={}{0:F5}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableLeakRate}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- <DataGridTextColumn Width="*" Binding="{Binding LeakCheckStatus}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableLeakCheckStatus}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- </DataGridTextColumn>
- </DataGrid.Columns>
- </DataGrid>
- </Grid>
- </Grid>
- </GroupBox>
- </Grid>
- </UserControl>
|