TempProfileEditView.xaml 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <UserControl x:Class="FurnaceUI.Views.Parameter.TempProfileEditView"
  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. xmlns:local="clr-namespace:FurnaceUI.Views.Parameter"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org" xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core" xmlns:converter="clr-namespace:FurnaceUI.Converter" xmlns:controls="http://OpenSEMI.Ctrlib.com/presentation"
  9. mc:Ignorable="d"
  10. Height="785" Width="1260" FontFamily="Segoe" Background="White">
  11. <UserControl.Resources>
  12. <Style TargetType="RadioButton" BasedOn="{StaticResource NormalRadioButton}">
  13. <Setter Property="FontSize" Value="16"/>
  14. </Style>
  15. <Style x:Key="myHeaderStyle" TargetType="{x:Type GridViewColumnHeader}">
  16. <Setter Property="Visibility" Value="Collapsed" />
  17. </Style>
  18. <converter:MFCListConverter x:Key="mFCListConverter"/>
  19. <converter:IsCheckShowStringConverter x:Key="isCheckShowStringConverter"/>
  20. </UserControl.Resources>
  21. <Grid>
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="*"/>
  24. <RowDefinition Height="80"/>
  25. </Grid.RowDefinitions>
  26. <Canvas >
  27. <TextBlock Text="File Name:" FontSize="16" Canvas.Left="38" Canvas.Top="33"/>
  28. <Border Canvas.Left="120" Canvas.Top="32" Width="Auto" HorizontalAlignment="Left">
  29. <TextBlock Width="1100" TextWrapping="Wrap" FontSize="16" HorizontalAlignment="Left" Text="{Binding CurrentParameter.Name}" />
  30. </Border>
  31. <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="130" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
  32. <ContentControl>
  33. <Canvas Margin="-10,20,10,0">
  34. <RadioButton Canvas.Left="32" IsChecked="{Binding ProfileTable1.IsChecked}" Canvas.Top="4" Content="Table 1" GroupName="Table"/>
  35. <Grid Canvas.Top="4">
  36. <Grid.RowDefinitions>
  37. <RowDefinition Height="40"/>
  38. <RowDefinition Height="40"/>
  39. <RowDefinition Height="40"/>
  40. <RowDefinition Height="40"/>
  41. <RowDefinition Height="40"/>
  42. <RowDefinition Height="40"/>
  43. <RowDefinition Height="40"/>
  44. <RowDefinition Height="40"/>
  45. <RowDefinition Height="40"/>
  46. <RowDefinition Height="40"/>
  47. <RowDefinition Height="40"/>
  48. <RowDefinition Height="40"/>
  49. <RowDefinition Height="40"/>
  50. </Grid.RowDefinitions>
  51. <Grid.ColumnDefinitions>
  52. <ColumnDefinition Width="142" />
  53. <ColumnDefinition Width="*" />
  54. </Grid.ColumnDefinitions>
  55. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
  56. <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  57. </Border>
  58. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
  59. <TextBox Text="{Binding ProfileTable1.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  60. </TextBox>
  61. </Border>
  62. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
  63. <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  64. </Border>
  65. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
  66. <TextBox Tag="Number" Text="{Binding ProfileTable1.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  67. </TextBox>
  68. </Border>
  69. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
  70. <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  71. </Border>
  72. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
  73. <TextBox Tag="Number" Text="{Binding ProfileTable1.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  74. </TextBox>
  75. </Border>
  76. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
  77. <TextBlock Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  78. </Border>
  79. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
  80. <TextBlock Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  81. </Border>
  82. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
  83. <WrapPanel >
  84. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitU.Minimun}" MaxValue="{Binding ProfileTable1.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
  85. </controls:TextBoxEx>
  86. </WrapPanel>
  87. </Border>
  88. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
  89. <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  90. </Border>
  91. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
  92. <WrapPanel >
  93. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitCU.Minimun}" MaxValue="{Binding ProfileTable1.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  94. </controls:TextBoxEx>
  95. </WrapPanel>
  96. </Border>
  97. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
  98. <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  99. </Border>
  100. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
  101. <WrapPanel >
  102. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitC.Minimun}" MaxValue="{Binding ProfileTable1.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  103. </controls:TextBoxEx>
  104. </WrapPanel>
  105. </Border>
  106. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
  107. <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  108. </Border>
  109. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
  110. <WrapPanel >
  111. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitCL.Minimun}" MaxValue="{Binding ProfileTable1.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  112. </controls:TextBoxEx>
  113. </WrapPanel>
  114. </Border>
  115. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
  116. <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  117. </Border>
  118. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
  119. <WrapPanel >
  120. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitL.Minimun}" MaxValue="{Binding ProfileTable1.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  121. </controls:TextBoxEx>
  122. </WrapPanel>
  123. </Border>
  124. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
  125. <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  126. </Border>
  127. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
  128. <TextBox Tag="Number" Text="{Binding ProfileTable1.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  129. </TextBox>
  130. </Border>
  131. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
  132. <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  133. </Border>
  134. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
  135. <WrapPanel >
  136. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable1.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  137. </controls:TextBoxEx>
  138. </WrapPanel>
  139. </Border>
  140. </Grid>
  141. </Canvas>
  142. </ContentControl>
  143. </Button>
  144. <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="500" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
  145. <ContentControl>
  146. <Canvas Margin="-10,20,10,0">
  147. <RadioButton Canvas.Left="32" Canvas.Top="4" IsChecked="{Binding ProfileTable2.IsChecked}" Content="Table 2" GroupName="Table"/>
  148. <Grid Canvas.Top="4">
  149. <Grid.RowDefinitions>
  150. <RowDefinition Height="40"/>
  151. <RowDefinition Height="40"/>
  152. <RowDefinition Height="40"/>
  153. <RowDefinition Height="40"/>
  154. <RowDefinition Height="40"/>
  155. <RowDefinition Height="40"/>
  156. <RowDefinition Height="40"/>
  157. <RowDefinition Height="40"/>
  158. <RowDefinition Height="40"/>
  159. <RowDefinition Height="40"/>
  160. <RowDefinition Height="40"/>
  161. <RowDefinition Height="40"/>
  162. <RowDefinition Height="40"/>
  163. </Grid.RowDefinitions>
  164. <Grid.ColumnDefinitions>
  165. <ColumnDefinition Width="142" />
  166. <ColumnDefinition Width="*" />
  167. </Grid.ColumnDefinitions>
  168. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
  169. <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  170. </Border>
  171. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
  172. <TextBox Text="{Binding ProfileTable2.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  173. </TextBox>
  174. </Border>
  175. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
  176. <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  177. </Border>
  178. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
  179. <TextBox Tag="Number" Text="{Binding ProfileTable2.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  180. </TextBox>
  181. </Border>
  182. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
  183. <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  184. </Border>
  185. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
  186. <TextBox Tag="Number" Text="{Binding ProfileTable2.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  187. </TextBox>
  188. </Border>
  189. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
  190. <TextBlock Tag="Number" Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  191. </Border>
  192. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
  193. <TextBlock Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  194. </Border>
  195. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
  196. <WrapPanel >
  197. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitU.Minimun}" MaxValue="{Binding ProfileTable2.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
  198. </controls:TextBoxEx>
  199. </WrapPanel>
  200. </Border>
  201. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
  202. <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  203. </Border>
  204. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
  205. <WrapPanel >
  206. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitCU.Minimun}" MaxValue="{Binding ProfileTable2.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  207. </controls:TextBoxEx>
  208. </WrapPanel>
  209. </Border>
  210. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
  211. <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  212. </Border>
  213. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
  214. <WrapPanel >
  215. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitC.Minimun}" MaxValue="{Binding ProfileTable2.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  216. </controls:TextBoxEx>
  217. </WrapPanel>
  218. </Border>
  219. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
  220. <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  221. </Border>
  222. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
  223. <WrapPanel >
  224. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitCL.Minimun}" MaxValue="{Binding ProfileTable2.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  225. </controls:TextBoxEx>
  226. </WrapPanel>
  227. </Border>
  228. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
  229. <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  230. </Border>
  231. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
  232. <WrapPanel >
  233. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitL.Minimun}" MaxValue="{Binding ProfileTable2.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  234. </controls:TextBoxEx>
  235. </WrapPanel>
  236. </Border>
  237. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
  238. <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  239. </Border>
  240. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
  241. <TextBox Tag="Number" Text="{Binding ProfileTable2.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  242. </TextBox>
  243. </Border>
  244. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
  245. <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  246. </Border>
  247. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
  248. <WrapPanel >
  249. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable2.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  250. </controls:TextBoxEx>
  251. </WrapPanel>
  252. </Border>
  253. </Grid>
  254. </Canvas>
  255. </ContentControl>
  256. </Button>
  257. <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="870" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
  258. <ContentControl>
  259. <Canvas Margin="-10,20,10,0">
  260. <RadioButton Canvas.Left="32" Canvas.Top="4" IsChecked="{Binding ProfileTable3.IsChecked}" Content="Table 3" GroupName="Table"/>
  261. <Grid Canvas.Top="4">
  262. <Grid.RowDefinitions>
  263. <RowDefinition Height="40"/>
  264. <RowDefinition Height="40"/>
  265. <RowDefinition Height="40"/>
  266. <RowDefinition Height="40"/>
  267. <RowDefinition Height="40"/>
  268. <RowDefinition Height="40"/>
  269. <RowDefinition Height="40"/>
  270. <RowDefinition Height="40"/>
  271. <RowDefinition Height="40"/>
  272. <RowDefinition Height="40"/>
  273. <RowDefinition Height="40"/>
  274. <RowDefinition Height="40"/>
  275. <RowDefinition Height="40"/>
  276. </Grid.RowDefinitions>
  277. <Grid.ColumnDefinitions>
  278. <ColumnDefinition Width="142" />
  279. <ColumnDefinition Width="*" />
  280. </Grid.ColumnDefinitions>
  281. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
  282. <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  283. </Border>
  284. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
  285. <TextBox Text="{Binding ProfileTable3.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  286. </TextBox>
  287. </Border>
  288. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
  289. <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  290. </Border>
  291. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
  292. <TextBox Tag="Number" Text="{Binding ProfileTable3.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
  293. </TextBox>
  294. </Border>
  295. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
  296. <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
  297. </Border>
  298. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
  299. <TextBox Tag="Number" Text="{Binding ProfileTable3.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  300. </TextBox>
  301. </Border>
  302. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
  303. <TextBlock Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  304. </Border>
  305. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
  306. <TextBlock Tag="Number" Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  307. </Border>
  308. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
  309. <WrapPanel >
  310. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitU.Minimun}" MaxValue="{Binding ProfileTable3.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
  311. </controls:TextBoxEx>
  312. </WrapPanel>
  313. </Border>
  314. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
  315. <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  316. </Border>
  317. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
  318. <WrapPanel >
  319. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitCU.Minimun}" MaxValue="{Binding ProfileTable3.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  320. </controls:TextBoxEx>
  321. </WrapPanel>
  322. </Border>
  323. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
  324. <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  325. </Border>
  326. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
  327. <WrapPanel >
  328. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitC.Minimun}" MaxValue="{Binding ProfileTable3.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  329. </controls:TextBoxEx>
  330. </WrapPanel>
  331. </Border>
  332. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
  333. <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  334. </Border>
  335. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
  336. <WrapPanel >
  337. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitCL.Minimun}" MaxValue="{Binding ProfileTable3.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  338. </controls:TextBoxEx>
  339. </WrapPanel>
  340. </Border>
  341. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
  342. <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  343. </Border>
  344. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
  345. <WrapPanel >
  346. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitL.Minimun}" MaxValue="{Binding ProfileTable3.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  347. </controls:TextBoxEx>
  348. </WrapPanel>
  349. </Border>
  350. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
  351. <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  352. </Border>
  353. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
  354. <TextBox Tag="Number" Text="{Binding ProfileTable3.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
  355. </TextBox>
  356. </Border>
  357. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
  358. <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
  359. </Border>
  360. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
  361. <WrapPanel >
  362. <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable3.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
  363. </controls:TextBoxEx>
  364. </WrapPanel>
  365. </Border>
  366. </Grid>
  367. </Canvas>
  368. </ContentControl>
  369. </Button>
  370. </Canvas>
  371. <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Height="50" Margin="0,0,10,10">
  372. <Button Content="Unload" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
  373. <i:Interaction.Triggers>
  374. <i:EventTrigger EventName="Click">
  375. <cal:ActionMessage MethodName="ParameterUnload">
  376. </cal:ActionMessage>
  377. </i:EventTrigger>
  378. </i:Interaction.Triggers>
  379. </Button>
  380. <Button Content="Download" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
  381. <i:Interaction.Triggers>
  382. <i:EventTrigger EventName="Click">
  383. <cal:ActionMessage MethodName="ParameterDownload">
  384. </cal:ActionMessage>
  385. </i:EventTrigger>
  386. </i:Interaction.Triggers>
  387. </Button>
  388. <Button Content="Save" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
  389. <i:Interaction.Triggers>
  390. <i:EventTrigger EventName="Click">
  391. <cal:ActionMessage MethodName="ParameterSave">
  392. </cal:ActionMessage>
  393. </i:EventTrigger>
  394. </i:Interaction.Triggers>
  395. </Button>
  396. <Button Content="Cancel" Width="95" Margin="2" Style="{StaticResource CommandButton}">
  397. <i:Interaction.Triggers>
  398. <i:EventTrigger EventName="Click">
  399. <cal:ActionMessage MethodName="ParameterCancel">
  400. </cal:ActionMessage>
  401. </i:EventTrigger>
  402. </i:Interaction.Triggers>
  403. </Button>
  404. </StackPanel>
  405. </Grid>
  406. </UserControl>