DiagnoseView.xaml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. <UserControl x:Class="Aitex.Jet.UI.Views.DiagnoseView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. mc:Ignorable="d"
  7. Height="800" Width="1920" Background="#669ACC">
  8. <Grid>
  9. <Grid.Resources>
  10. <BorderGapMaskConverter x:Key="BorderGapMaskConverter"/>
  11. <Style TargetType="{x:Type GroupBox}">
  12. <Setter Property="BorderBrush" Value="#D5DFE5" />
  13. <Setter Property="BorderThickness" Value="1" />
  14. <Setter Property="Template">
  15. <Setter.Value>
  16. <ControlTemplate TargetType="{x:Type GroupBox}">
  17. <Grid SnapsToDevicePixels="true">
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition Width="6" />
  20. <ColumnDefinition Width="Auto" />
  21. <ColumnDefinition Width="*" />
  22. <ColumnDefinition Width="6" />
  23. </Grid.ColumnDefinitions>
  24. <Grid.RowDefinitions>
  25. <RowDefinition Height="Auto" />
  26. <RowDefinition Height="Auto" />
  27. <RowDefinition Height="*" />
  28. <RowDefinition Height="6" />
  29. </Grid.RowDefinitions>
  30. <Border CornerRadius="4" Grid.Row="1" Grid.RowSpan="3" Grid.Column="0" Grid.ColumnSpan="4" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="Transparent" Background="{TemplateBinding Background}" />
  31. <Border Name="Header" Padding="3,1,3,0" Grid.Row="0" Grid.RowSpan="2" Grid.Column="1">
  32. <ContentPresenter ContentSource="Header" RecognizesAccessKey="true" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  33. </Border>
  34. <ContentPresenter Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  35. <Border Grid.Row="1" Grid.RowSpan="3" Grid.ColumnSpan="4" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="3">
  36. <Border.OpacityMask>
  37. <MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
  38. <Binding ElementName="Header" Path="ActualWidth" />
  39. <Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
  40. <Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
  41. </MultiBinding>
  42. </Border.OpacityMask>
  43. </Border>
  44. </Grid>
  45. </ControlTemplate>
  46. </Setter.Value>
  47. </Setter>
  48. </Style>
  49. <!--<Style TargetType="{x:Type TextBox}">
  50. <Setter Property="Template">
  51. <Setter.Value>
  52. <ControlTemplate TargetType="{x:Type TextBox}">
  53. <Border x:Name="border" Width="Auto" Height="Auto" BorderThickness="1" BorderBrush="#FF7F9DB9">
  54. <Grid x:Name="grid" Background="Transparent">
  55. <ScrollViewer x:Name="PART_ContentHost" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  56. </Grid>
  57. </Border>
  58. </ControlTemplate>
  59. </Setter.Value>
  60. </Setter>
  61. </Style>-->
  62. </Grid.Resources>
  63. <Grid.RowDefinitions>
  64. <RowDefinition Height="250" />
  65. <RowDefinition Height="*" />
  66. </Grid.RowDefinitions>
  67. <GroupBox Grid.Row="0" Header="{DynamicResource GlobalLableRFMatch}" IsEnabled="{Binding IsManualMode}" Margin="10" BorderBrush="Black" Padding="5" Background="SteelBlue">
  68. <Grid >
  69. <Grid.ColumnDefinitions>
  70. <ColumnDefinition Width="*" />
  71. <ColumnDefinition Width="600" />
  72. <ColumnDefinition Width="1"/>
  73. <ColumnDefinition Width="600"/>
  74. <ColumnDefinition Width="*" />
  75. </Grid.ColumnDefinitions>
  76. <Grid Grid.Column="1" ToolTip="Rf 设置表格" Margin="5">
  77. <Grid.RowDefinitions>
  78. <RowDefinition Height="30"/>
  79. <RowDefinition Height="30"/>
  80. <RowDefinition Height="30"/>
  81. <RowDefinition Height="30"/>
  82. <RowDefinition Height="30"/>
  83. </Grid.RowDefinitions>
  84. <Grid.ColumnDefinitions>
  85. <ColumnDefinition Width="150" />
  86. <ColumnDefinition Width="90" />
  87. <ColumnDefinition Width="90" />
  88. <ColumnDefinition Width="90" />
  89. <ColumnDefinition Width="180" />
  90. </Grid.ColumnDefinitions>
  91. <Rectangle Grid.Row="0" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  92. <TextBlock Grid.Row="0" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPowerOnOff}" Foreground="White" />
  93. <Rectangle Grid.Row="0" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  94. <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}" />
  95. <Rectangle Grid.Row="0" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  96. <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"/>
  97. <Rectangle Grid.Row="0" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  98. <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"/>
  99. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  100. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPowerSet}" Foreground="White" />
  101. <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  102. <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}}" />
  103. <Rectangle Grid.Row="1" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  104. <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}" />
  105. <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  106. <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"/>
  107. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  108. <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchMode}" Foreground="White" />
  109. <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  110. <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 }" />
  111. <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  112. <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"/>
  113. <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  114. <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"/>
  115. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  116. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchC1}" Foreground="White" />
  117. <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  118. <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}}" />
  119. <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  120. <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}" />
  121. <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  122. <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"/>
  123. <StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="4" >
  124. <Button Content="--" Command="{Binding RfCommand}" CommandParameter="SetC1LowLow" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  125. <Button Content="-" Command="{Binding RfCommand}" CommandParameter="SetC1Low" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  126. <Button Content="+" Command="{Binding RfCommand}" CommandParameter="SetC1High" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  127. <Button Content="++" Command="{Binding RfCommand}" CommandParameter="SetC1HighHigh" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  128. </StackPanel>
  129. <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  130. <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFMatchC2}" Foreground="White" />
  131. <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  132. <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}}" />
  133. <Rectangle Grid.Row="4" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  134. <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}" />
  135. <Rectangle Grid.Row="4" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  136. <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"/>
  137. <StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="4" >
  138. <Button Content="--" Command="{Binding RfCommand}" CommandParameter="SetC2LowLow" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  139. <Button Content="-" Command="{Binding RfCommand}" CommandParameter="SetC2Low" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  140. <Button Content="+" Command="{Binding RfCommand}" CommandParameter="SetC2High" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  141. <Button Content="++" Command="{Binding RfCommand}" CommandParameter="SetC2HighHigh" FontSize="16" Width="35" Height="23" Margin="3" VerticalAlignment="Center"/>
  142. </StackPanel>
  143. </Grid>
  144. <Border Grid.Column="2" Width="1" Background="Black"/>
  145. <Grid Grid.Column="3" ToolTip="Rf Status" Margin="15,5">
  146. <Grid.RowDefinitions>
  147. <RowDefinition Height="30"/>
  148. <RowDefinition Height="30"/>
  149. <RowDefinition Height="30"/>
  150. <RowDefinition Height="30"/>
  151. <RowDefinition Height="30"/>
  152. </Grid.RowDefinitions>
  153. <Grid.ColumnDefinitions>
  154. <ColumnDefinition Width="250" />
  155. <ColumnDefinition Width="90" />
  156. </Grid.ColumnDefinitions>
  157. <Rectangle Grid.Row="0" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  158. <TextBlock Grid.Row="0" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFPower}" Foreground="White" />
  159. <Rectangle Grid.Row="0" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  160. <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}}" />
  161. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  162. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableReflectPower}" Foreground="White" />
  163. <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  164. <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}}" />
  165. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  166. <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="{DynamicResource GlobalLableRFTime}" Foreground="White" />
  167. <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  168. <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}}" />
  169. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  170. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="C1 (%)" Foreground="White" />
  171. <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  172. <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}}" />
  173. <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  174. <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="C2 (%)" Foreground="White" />
  175. <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  176. <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}}" />
  177. </Grid>
  178. </Grid>
  179. </GroupBox>
  180. <GroupBox Grid.Row="1" Header="{DynamicResource GlobalLableButtonLeakCheck}" Margin="10" BorderBrush="Black" Background="SteelBlue">
  181. <Grid >
  182. <Grid.ColumnDefinitions>
  183. <ColumnDefinition Width="*" />
  184. <ColumnDefinition Width="420" />
  185. <ColumnDefinition Width="1"/>
  186. <ColumnDefinition Width="790"/>
  187. <ColumnDefinition Width="*" />
  188. </Grid.ColumnDefinitions>
  189. <Grid Grid.Column="1" Width="380" HorizontalAlignment="Center" Margin="0,10,0,0" >
  190. <Grid.RowDefinitions>
  191. <RowDefinition Height="50" />
  192. <RowDefinition Height="40" />
  193. <RowDefinition Height="40" />
  194. <RowDefinition Height="40" />
  195. <RowDefinition Height="0" />
  196. <RowDefinition Height="0" />
  197. <RowDefinition Height="0" />
  198. <RowDefinition Height="0" />
  199. <RowDefinition Height="0" />
  200. <RowDefinition Height="50" />
  201. <RowDefinition Height="50" />
  202. <RowDefinition Height="40" />
  203. <RowDefinition Height="40" />
  204. <RowDefinition Height="40" />
  205. <RowDefinition Height="40" />
  206. </Grid.RowDefinitions>
  207. <Grid.ColumnDefinitions>
  208. <ColumnDefinition Width="190" />
  209. <ColumnDefinition Width="90" />
  210. <ColumnDefinition Width="90" />
  211. </Grid.ColumnDefinitions>
  212. <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  213. <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" FontSize="18" TextAlignment="Center" Text="{DynamicResource GlobalLableLeakCheckConfiguration}" Foreground="White" />
  214. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  215. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLablePumpDownTime}" Foreground="White" />
  216. <!--<Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  217. <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}" />-->
  218. <Rectangle Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  219. <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}" />
  220. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  221. <TextBlock Grid.Row="2" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLableLeakCheckTime}" Foreground="White" />
  222. <!--<Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  223. <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}" />-->
  224. <Rectangle Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  225. <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}" />
  226. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  227. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="17" Text="{DynamicResource GlobalLableLeakCheckMode}" Foreground="White" />
  228. <Rectangle Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  229. <ComboBox Text="{Binding Path=LeakCheckModeSetPoint}" IsEnabled="{Binding Path=IsManualMode}" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" FontSize="13" >
  230. <ComboBoxItem>ChamberOnly</ComboBoxItem>
  231. <ComboBoxItem>ChamberAndGasLine</ComboBoxItem>
  232. </ComboBox>
  233. <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  234. <TextBlock Grid.Row="4" Grid.Column="0" FontSize="17" Text="MFC1" Foreground="White" />
  235. <Rectangle Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  236. <CheckBox Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine1}" />
  237. <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  238. <TextBlock Grid.Row="5" Grid.Column="0" FontSize="17" Text="MFC2" Foreground="White" />
  239. <Rectangle Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  240. <CheckBox Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine2}" />
  241. <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  242. <TextBlock Grid.Row="6" Grid.Column="0" FontSize="17" Text="MFC3" Foreground="White" />
  243. <Rectangle Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  244. <CheckBox Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine3}" />
  245. <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  246. <TextBlock Grid.Row="7" Grid.Column="0" FontSize="17" Text="MFC4" Foreground="White" />
  247. <Rectangle Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  248. <CheckBox Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine4}" />
  249. <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  250. <TextBlock Grid.Row="8" Grid.Column="0" FontSize="17" Text="MFC5" Foreground="White" />
  251. <Rectangle Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  252. <CheckBox Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding IsEnableGasLine}" IsChecked="{Binding EnableGasLine5}" />
  253. <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  254. <TextBlock Grid.Row="10" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckStatus}" Foreground="White" />
  255. <Rectangle Grid.Row="10" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  256. <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}" />
  257. <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  258. <TextBlock Grid.Row="11" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckTime}" Foreground="White" />
  259. <Rectangle Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  260. <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}" />
  261. <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  262. <TextBlock Grid.Row="12" Grid.Column="0" FontSize="18" Text="{DynamicResource GlobalLableLeakCheckPressure}" Foreground="White" />
  263. <Rectangle Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  264. <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}" />
  265. </Grid>
  266. <Border Grid.Column="2" Width="1" Background="Black"/>
  267. <Grid Grid.Column="3" HorizontalAlignment="Center" >
  268. <Grid.RowDefinitions>
  269. <RowDefinition Height="50" />
  270. <RowDefinition Height="*" />
  271. </Grid.RowDefinitions>
  272. <StackPanel Grid.Row="0" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
  273. <Button Content="{DynamicResource GlobalLableButtonLeakCheck}" Command="{Binding LeakCheckCommand}" IsEnabled="{Binding Path=IsEnableLeakCheck}" FontSize="16" />
  274. <Button Content="{DynamicResource GlobalLableButtonAbort}" Command="{Binding AbortCommand}" IsEnabled="{Binding Path=IsLeakCheck}" FontSize="16" />
  275. <Button Content="{DynamicResource GlobalLableButtonDelete}" Command="{Binding DeleteCommand}" HorizontalAlignment="Right" FontSize="16" />
  276. </StackPanel>
  277. <DataGrid Grid.Row="1"
  278. Padding="12,0"
  279. AutoGenerateColumns="False"
  280. BorderThickness="0.1"
  281. CanUserAddRows="False"
  282. CanUserDeleteRows="False"
  283. CanUserReorderColumns="False"
  284. CanUserResizeColumns="True"
  285. CanUserResizeRows="False"
  286. CanUserSortColumns="False"
  287. SelectionMode="Single"
  288. SelectionUnit="FullRow"
  289. Background="#05000000"
  290. VerticalScrollBarVisibility="Auto"
  291. HorizontalScrollBarVisibility="Disabled"
  292. FontSize="12" MinRowHeight="20"
  293. VerticalAlignment="Stretch"
  294. ItemsSource="{Binding LeakCheckResultList}"
  295. SelectedItem="{Binding CurrentLeakCheckResultItem}"
  296. FontFamily="Arial,SimSun" Margin="-8,10,8,45">
  297. <DataGrid.Columns>
  298. <DataGridTextColumn Width="160" Binding="{Binding Date, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  299. <DataGridTextColumn.HeaderTemplate >
  300. <DataTemplate>
  301. <TextBlock Text="{DynamicResource GlobalLableLeakCheckDate}" />
  302. </DataTemplate>
  303. </DataGridTextColumn.HeaderTemplate>
  304. </DataGridTextColumn>
  305. <DataGridTextColumn Width="100" Binding="{Binding StartPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  306. <DataGridTextColumn.HeaderTemplate >
  307. <DataTemplate>
  308. <TextBlock Text="{DynamicResource GlobalLableStartPressure}" />
  309. </DataTemplate>
  310. </DataGridTextColumn.HeaderTemplate>
  311. </DataGridTextColumn>
  312. <DataGridTextColumn Width="100" Binding="{Binding StopPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  313. <DataGridTextColumn.HeaderTemplate >
  314. <DataTemplate>
  315. <TextBlock Text="{DynamicResource GlobalLableStopPressure}" />
  316. </DataTemplate>
  317. </DataGridTextColumn.HeaderTemplate>
  318. </DataGridTextColumn>
  319. <DataGridTextColumn Width="120" Binding="{Binding LeakCheckTime}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  320. <DataGridTextColumn.HeaderTemplate >
  321. <DataTemplate>
  322. <TextBlock Text="{DynamicResource GlobalLableLeakCheckTime}" />
  323. </DataTemplate>
  324. </DataGridTextColumn.HeaderTemplate>
  325. </DataGridTextColumn>
  326. <DataGridTextColumn Width="120" Binding="{Binding LeakRate, StringFormat={}{0:F5}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  327. <DataGridTextColumn.HeaderTemplate >
  328. <DataTemplate>
  329. <TextBlock Text="{DynamicResource GlobalLableLeakRate}" />
  330. </DataTemplate>
  331. </DataGridTextColumn.HeaderTemplate>
  332. </DataGridTextColumn>
  333. <DataGridTextColumn Width="*" Binding="{Binding LeakCheckStatus}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  334. <DataGridTextColumn.HeaderTemplate >
  335. <DataTemplate>
  336. <TextBlock Text="{DynamicResource GlobalLableLeakCheckStatus}" />
  337. </DataTemplate>
  338. </DataGridTextColumn.HeaderTemplate>
  339. </DataGridTextColumn>
  340. </DataGrid.Columns>
  341. </DataGrid>
  342. </Grid>
  343. </Grid>
  344. </GroupBox>
  345. </Grid>
  346. </UserControl>