BoatElevatorParametersView.xaml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. <UserControl x:Class="FurnaceUI.Views.Operations.BoatElevatorParametersView"
  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.Operations" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org" xmlns:parts="clr-namespace:FurnaceUI.Controls.Parts"
  7. mc:Ignorable="d"
  8. Height="750" Width="1180">
  9. <Canvas>
  10. <TabControl Margin="10,15,0,0" Grid.Row="0" Grid.Column="0" Width="1160" Height="700">
  11. <TabItem Header="Process Parameter">
  12. <Canvas Margin="-58,80,0,0">
  13. <StackPanel Orientation="Horizontal" Canvas.Left="850" Canvas.Top="-50">
  14. <RadioButton Width="125" Height="50" Content="Load"></RadioButton>
  15. <RadioButton Width="125" Height="50" Content="Unload" Margin="20,0,0,0"></RadioButton>
  16. </StackPanel>
  17. <Image Source="/FurnaceUI;component/Resources/Images/Controls3/01.png" Canvas.Left="340" Canvas.Top="-49" Height="240"/>
  18. <parts:BoatElevatorRobot RobotTarget="{Binding BoatPosition}" BoatStatus="{Binding BoatStatus}" StationPosition="{Binding StationPosition3}" Canvas.Left="380" Canvas.Top="240" Height="200" Visibility="{Binding IsShowBoatElevatorRobot, Converter={StaticResource bool2VisibilityConverter}}"/>
  19. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="200" Height="25"/>
  20. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="252" Height="25"/>
  21. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="304" Height="25"/>
  22. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="356" Height="25"/>
  23. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="408" Height="25"/>
  24. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="460" Height="25"/>
  25. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="85" Canvas.Left="75">
  26. <Path.Data>
  27. <LineGeometry StartPoint="200,95" EndPoint="275,95"/>
  28. </Path.Data>
  29. </Path>
  30. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="137" Canvas.Left="75">
  31. <Path.Data>
  32. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  33. </Path.Data>
  34. </Path>
  35. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="189" Canvas.Left="75">
  36. <Path.Data>
  37. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  38. </Path.Data>
  39. </Path>
  40. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="241" Canvas.Left="75">
  41. <Path.Data>
  42. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  43. </Path.Data>
  44. </Path>
  45. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="293" Canvas.Left="75">
  46. <Path.Data>
  47. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  48. </Path.Data>
  49. </Path>
  50. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="345" Canvas.Left="75">
  51. <Path.Data>
  52. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  53. </Path.Data>
  54. </Path>
  55. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="397" Canvas.Left="75">
  56. <Path.Data>
  57. <LineGeometry StartPoint="200,95" EndPoint="289,95"/>
  58. </Path.Data>
  59. </Path>
  60. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="85" Canvas.Left="277">
  61. <Path.Data>
  62. <LineGeometry StartPoint="200,95" EndPoint="857,95"/>
  63. </Path.Data>
  64. </Path>
  65. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="137" Canvas.Left="253">
  66. <Path.Data>
  67. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  68. </Path.Data>
  69. </Path>
  70. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="189" Canvas.Left="253">
  71. <Path.Data>
  72. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  73. </Path.Data>
  74. </Path>
  75. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="241" Canvas.Left="253">
  76. <Path.Data>
  77. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  78. </Path.Data>
  79. </Path>
  80. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="293" Canvas.Left="253">
  81. <Path.Data>
  82. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  83. </Path.Data>
  84. </Path>
  85. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="345" Canvas.Left="253">
  86. <Path.Data>
  87. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  88. </Path.Data>
  89. </Path>
  90. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="397" Canvas.Left="271">
  91. <Path.Data>
  92. <LineGeometry StartPoint="200,95" EndPoint="865,95"/>
  93. </Path.Data>
  94. </Path>
  95. <StackPanel Canvas.Left="135" Canvas.Top="160">
  96. <Label Content="Process Position" Height="45" Width="140" FontSize="18" BorderThickness="1,1,1,1" Padding="5,12,0,0" BorderBrush="Black" Background="#FFCEECEE"></Label>
  97. <Label Content="Position5" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  98. <Label Content="Position4" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  99. <Label Content="Position3" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  100. <Label Content="Position2" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  101. <Label Content="Position1" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  102. <Label Content="Home Position" Height="48" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  103. </StackPanel>
  104. <StackPanel Canvas.Left="555" Canvas.Top="175">
  105. <StackPanel Orientation="Horizontal">
  106. <Label Content="Speed6" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  107. </Label>
  108. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  109. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  110. </StackPanel>
  111. <StackPanel Orientation="Horizontal">
  112. <Label Content="Speed5" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  113. </Label>
  114. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  115. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  116. </StackPanel>
  117. <StackPanel Orientation="Horizontal">
  118. <Label Content="Speed4" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  119. </Label>
  120. <TextBox Width="75" Height="44" Margin="-3,8,0,0"></TextBox>
  121. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  122. </StackPanel>
  123. <StackPanel Orientation="Horizontal">
  124. <Label Content="Speed3" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  125. </Label>
  126. <TextBox Width="75" Height="44" Margin="-3,8,0,0"></TextBox>
  127. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  128. </StackPanel>
  129. <StackPanel Orientation="Horizontal">
  130. <Label Content="Speed2" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  131. </Label>
  132. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  133. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  134. </StackPanel>
  135. <StackPanel Orientation="Horizontal">
  136. <Label Content="Speed1" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  137. </Label>
  138. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  139. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  140. </StackPanel>
  141. </StackPanel>
  142. <StackPanel Orientation="Vertical" Canvas.Left="810" Canvas.Top="200">
  143. <StackPanel Orientation="Horizontal">
  144. <Label Content="Timer 5" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  145. </Label>
  146. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  147. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  148. </StackPanel>
  149. <StackPanel Orientation="Horizontal">
  150. <Label Content="Timer 4" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  151. </Label>
  152. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  153. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  154. </StackPanel>
  155. <StackPanel Orientation="Horizontal">
  156. <Label Content="Timer 3" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  157. </Label>
  158. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  159. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  160. </StackPanel>
  161. <StackPanel Orientation="Horizontal">
  162. <Label Content="Timer 2" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  163. </Label>
  164. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  165. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  166. </StackPanel>
  167. <StackPanel Orientation="Horizontal">
  168. <Label Content="Timer 1" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  169. </Label>
  170. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  171. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  172. </StackPanel>
  173. </StackPanel>
  174. <StackPanel Orientation="Vertical" Canvas.Left="1005" Canvas.Top="183">
  175. <RadioButton Content="Recipe Control" Height="45" Width="127" IsChecked="{Binding RecipeControl6}" GroupName="RecipeControl6">
  176. <i:Interaction.Triggers>
  177. <i:EventTrigger EventName="Click">
  178. <cal:ActionMessage MethodName="RecipeControlCheck">
  179. <cal:Parameter Value="6"/>
  180. </cal:ActionMessage>
  181. </i:EventTrigger>
  182. </i:Interaction.Triggers>
  183. </RadioButton>
  184. <RadioButton Content="Recipe Control" Height="45" Width="127" Margin="0,7,0,0" IsChecked="{Binding RecipeControl5}" GroupName="RecipeControl5">
  185. <i:Interaction.Triggers>
  186. <i:EventTrigger EventName="Click">
  187. <cal:ActionMessage MethodName="RecipeControlCheck">
  188. <cal:Parameter Value="5"/>
  189. </cal:ActionMessage>
  190. </i:EventTrigger>
  191. </i:Interaction.Triggers>
  192. </RadioButton>
  193. <RadioButton Content="Recipe Control" Height="45" Width="127" Margin="0,7,0,0" IsChecked="{Binding RecipeControl4}" GroupName="RecipeControl4">
  194. <i:Interaction.Triggers>
  195. <i:EventTrigger EventName="Click">
  196. <cal:ActionMessage MethodName="RecipeControlCheck">
  197. <cal:Parameter Value="4"/>
  198. </cal:ActionMessage>
  199. </i:EventTrigger>
  200. </i:Interaction.Triggers>
  201. </RadioButton>
  202. <RadioButton Content="Recipe Control" Height="45" Width="127" Margin="0,7,0,0" IsChecked="{Binding RecipeControl3}" GroupName="RecipeControl3">
  203. <i:Interaction.Triggers>
  204. <i:EventTrigger EventName="Click">
  205. <cal:ActionMessage MethodName="RecipeControlCheck">
  206. <cal:Parameter Value="3"/>
  207. </cal:ActionMessage>
  208. </i:EventTrigger>
  209. </i:Interaction.Triggers>
  210. </RadioButton>
  211. <RadioButton Content="Recipe Control" Height="45" Width="127" Margin="0,7,0,0" IsChecked="{Binding RecipeControl2}" GroupName="RecipeControl2">
  212. <i:Interaction.Triggers>
  213. <i:EventTrigger EventName="Click">
  214. <cal:ActionMessage MethodName="RecipeControlCheck">
  215. <cal:Parameter Value="2"/>
  216. </cal:ActionMessage>
  217. </i:EventTrigger>
  218. </i:Interaction.Triggers>
  219. </RadioButton>
  220. <RadioButton Content="Recipe Control" Height="45" Width="127" Margin="0,7,0,0" IsChecked="{Binding RecipeControl1}" GroupName="RecipeControl1">
  221. <i:Interaction.Triggers>
  222. <i:EventTrigger EventName="Click">
  223. <cal:ActionMessage MethodName="RecipeControlCheck">
  224. <cal:Parameter Value="1"/>
  225. </cal:ActionMessage>
  226. </i:EventTrigger>
  227. </i:Interaction.Triggers>
  228. </RadioButton>
  229. </StackPanel>
  230. </Canvas>
  231. </TabItem>
  232. <TabItem Header="Storage Parameter">
  233. <Canvas Margin="-58,80,0,0">
  234. <StackPanel Orientation="Horizontal" Canvas.Left="850" Canvas.Top="-50">
  235. <RadioButton Width="125" Height="50" Content="Load"></RadioButton>
  236. <RadioButton Width="125" Height="50" Content="Unload" Margin="20,0,0,0"></RadioButton>
  237. </StackPanel>
  238. <Image Source="/FurnaceUI;component/Resources/Images/Controls3/01.png" Canvas.Left="340" Canvas.Top="-49" Height="240"/>
  239. <parts:BoatElevatorRobot RobotTarget="{Binding BoatPosition}" BoatStatus="{Binding BoatStatus}" StationPosition="{Binding StationPosition3}" Canvas.Left="380" Canvas.Top="240" Height="200" Visibility="{Binding IsShowBoatElevatorRobot, Converter={StaticResource bool2VisibilityConverter}}"/>
  240. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="200" Height="25"/>
  241. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="252" Height="25"/>
  242. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="304" Height="25"/>
  243. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="356" Height="25"/>
  244. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="408" Height="25"/>
  245. <Image Source="/FurnaceUI;component/Resources/Images/Icons/Upload.ico" Canvas.Left="515" Canvas.Top="460" Height="25"/>
  246. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="85" Canvas.Left="75">
  247. <Path.Data>
  248. <LineGeometry StartPoint="200,95" EndPoint="275,95"/>
  249. </Path.Data>
  250. </Path>
  251. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="137" Canvas.Left="75">
  252. <Path.Data>
  253. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  254. </Path.Data>
  255. </Path>
  256. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="189" Canvas.Left="75">
  257. <Path.Data>
  258. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  259. </Path.Data>
  260. </Path>
  261. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="241" Canvas.Left="75">
  262. <Path.Data>
  263. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  264. </Path.Data>
  265. </Path>
  266. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="293" Canvas.Left="75">
  267. <Path.Data>
  268. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  269. </Path.Data>
  270. </Path>
  271. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="345" Canvas.Left="75">
  272. <Path.Data>
  273. <LineGeometry StartPoint="200,95" EndPoint="308,95"/>
  274. </Path.Data>
  275. </Path>
  276. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="397" Canvas.Left="75">
  277. <Path.Data>
  278. <LineGeometry StartPoint="200,95" EndPoint="289,95"/>
  279. </Path.Data>
  280. </Path>
  281. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="85" Canvas.Left="277">
  282. <Path.Data>
  283. <LineGeometry StartPoint="200,95" EndPoint="857,95"/>
  284. </Path.Data>
  285. </Path>
  286. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="137" Canvas.Left="253">
  287. <Path.Data>
  288. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  289. </Path.Data>
  290. </Path>
  291. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="189" Canvas.Left="253">
  292. <Path.Data>
  293. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  294. </Path.Data>
  295. </Path>
  296. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="241" Canvas.Left="253">
  297. <Path.Data>
  298. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  299. </Path.Data>
  300. </Path>
  301. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="293" Canvas.Left="253">
  302. <Path.Data>
  303. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  304. </Path.Data>
  305. </Path>
  306. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="345" Canvas.Left="253">
  307. <Path.Data>
  308. <LineGeometry StartPoint="200,95" EndPoint="884,95"/>
  309. </Path.Data>
  310. </Path>
  311. <Path Stroke="Gray" StrokeThickness="1" Canvas.Top="397" Canvas.Left="271">
  312. <Path.Data>
  313. <LineGeometry StartPoint="200,95" EndPoint="865,95"/>
  314. </Path.Data>
  315. </Path>
  316. <StackPanel Canvas.Left="135" Canvas.Top="160">
  317. <Label Content="Process Position" Height="45" Width="140" FontSize="18" BorderThickness="1,1,1,1" Padding="5,12,0,0" BorderBrush="Black" Background="#FFCEECEE"></Label>
  318. <Label Content="Position5" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  319. <Label Content="Position4" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  320. <Label Content="Position3" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  321. <Label Content="Position2" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  322. <Label Content="Position1" Height="45" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  323. <Label Content="Home Position" Height="48" Width="140" FontSize="18" Margin="0,5,0,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE"></Label>
  324. </StackPanel>
  325. <StackPanel Canvas.Left="555" Canvas.Top="175">
  326. <StackPanel Orientation="Horizontal">
  327. <Label Content="Speed6" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  328. </Label>
  329. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  330. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  331. </StackPanel>
  332. <StackPanel Orientation="Horizontal">
  333. <Label Content="Speed5" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  334. </Label>
  335. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  336. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  337. </StackPanel>
  338. <StackPanel Orientation="Horizontal">
  339. <Label Content="Speed4" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  340. </Label>
  341. <TextBox Width="75" Height="44" Margin="-3,8,0,0"></TextBox>
  342. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  343. </StackPanel>
  344. <StackPanel Orientation="Horizontal">
  345. <Label Content="Speed3" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  346. </Label>
  347. <TextBox Width="75" Height="44" Margin="-3,8,0,0"></TextBox>
  348. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  349. </StackPanel>
  350. <StackPanel Orientation="Horizontal">
  351. <Label Content="Speed2" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  352. </Label>
  353. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  354. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  355. </StackPanel>
  356. <StackPanel Orientation="Horizontal">
  357. <Label Content="Speed1" Height="45" Width="100" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  358. </Label>
  359. <TextBox Width="75" Height="44" Margin="-3,9,0,0"></TextBox>
  360. <TextBlock Text="mm/min" Margin="0,20,0,0"></TextBlock>
  361. </StackPanel>
  362. </StackPanel>
  363. <StackPanel Orientation="Vertical" Canvas.Left="810" Canvas.Top="200">
  364. <StackPanel Orientation="Horizontal">
  365. <Label Content="Timer 5" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  366. </Label>
  367. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  368. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  369. </StackPanel>
  370. <StackPanel Orientation="Horizontal">
  371. <Label Content="Timer 4" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  372. </Label>
  373. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  374. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  375. </StackPanel>
  376. <StackPanel Orientation="Horizontal">
  377. <Label Content="Timer 3" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  378. </Label>
  379. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  380. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  381. </StackPanel>
  382. <StackPanel Orientation="Horizontal">
  383. <Label Content="Timer 2" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  384. </Label>
  385. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  386. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  387. </StackPanel>
  388. <StackPanel Orientation="Horizontal">
  389. <Label Content="Timer 1" Height="45" Width="80" Margin="0,7,8,0" Padding="5,12,0,0" BorderThickness="1,1,1,1" BorderBrush="Black" Background="#FFCEECEE">
  390. </Label>
  391. <TextBox Width="70" Height="45" Margin="-3,4,0,0"></TextBox>
  392. <TextBlock Text="sec" Margin="0,32,0,0"></TextBlock>
  393. </StackPanel>
  394. </StackPanel>
  395. </Canvas>
  396. </TabItem>
  397. </TabControl>
  398. <DockPanel Canvas.Left="790" Canvas.Top="660" VerticalAlignment="Center" HorizontalAlignment="Right">
  399. <Border>
  400. <Button Width="130" Height="45" Margin="0,0,20,0" IsEnabled="{Binding IsEnable}">
  401. <Button.Content>
  402. <TextBlock Text="Save"/>
  403. </Button.Content>
  404. <i:Interaction.Triggers>
  405. <i:EventTrigger EventName="Click">
  406. <cal:ActionMessage MethodName="SAVECmd">
  407. </cal:ActionMessage>
  408. </i:EventTrigger>
  409. </i:Interaction.Triggers>
  410. </Button>
  411. </Border>
  412. <Border>
  413. <Button Width="130" Height="45" Margin="0,0,20,0">
  414. <Button.Content>
  415. <TextBlock Text="Close"/>
  416. </Button.Content>
  417. <i:Interaction.Triggers>
  418. <i:EventTrigger EventName="Click">
  419. <cal:ActionMessage MethodName="Close">
  420. </cal:ActionMessage>
  421. </i:EventTrigger>
  422. </i:Interaction.Triggers>
  423. </Button>
  424. </Border>
  425. </DockPanel>
  426. </Canvas>
  427. </UserControl>