终端一体化运控平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

TheCylinder.xaml 9.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <UserControl x:Class="BPASmartClient.SCADAControl.CustomerControls.TheCylinder"
  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:BPASmartClient.SCADAControl.CustomerControls"
  7. mc:Ignorable="d" >
  8. <Grid>
  9. <Viewbox Width="auto" Height="auto">
  10. <Canvas
  11. Width="389"
  12. Height="100">
  13. <Path
  14. Data="M2 30 L2 70"
  15. Stroke="#FFB1B1B9"
  16. StrokeThickness="4" />
  17. <Path
  18. Data="M6 30 L6 70"
  19. Stroke="#FF6d6666"
  20. StrokeThickness="4" />
  21. <Path
  22. Data="M10 30 L10 70"
  23. Stroke="#FFB1B1B9"
  24. StrokeThickness="4" />
  25. <Path
  26. Data="M14 30 L14 70"
  27. Stroke="#FF6d6666"
  28. StrokeThickness="4" />
  29. <Path
  30. Data="M18 30 L18 70"
  31. Stroke="#FFB1B1B9"
  32. StrokeThickness="4" />
  33. <Path
  34. Data="M22 30 L22 70"
  35. Stroke="#FF6d6666"
  36. StrokeThickness="4" />
  37. <Path
  38. Data="M26 30 L26 70"
  39. Stroke="#FFB1B1B9"
  40. StrokeThickness="4" />
  41. <Path
  42. Data="M30 30 L30 70"
  43. Stroke="#FF6d6666"
  44. StrokeThickness="4" />
  45. <Path
  46. Data="M34 30 L34 70"
  47. Stroke="#FFB1B1B9"
  48. StrokeThickness="4" />
  49. <Path
  50. Data="M38 30 L38 70"
  51. Stroke="#FF6d6666"
  52. StrokeThickness="4" />
  53. <Path
  54. Data="M42 30 L42 70"
  55. Stroke="#FFB1B1B9"
  56. StrokeThickness="4" />
  57. <Path
  58. Data="M46 30 L46 70"
  59. Stroke="#FF6d6666"
  60. StrokeThickness="4" />
  61. <Path
  62. Data="M50 30 L50 70"
  63. Stroke="#FFB1B1B9"
  64. StrokeThickness="4" />
  65. <Path
  66. Data="M54 30 L54 70"
  67. Stroke="#FF6d6666"
  68. StrokeThickness="4" />
  69. <Path
  70. Data="M58 30 L58 70"
  71. Stroke="#FFB1B1B9"
  72. StrokeThickness="4" />
  73. <Path
  74. Data="M62 30 L62 70"
  75. Stroke="#FF6d6666"
  76. StrokeThickness="4" />
  77. <Path
  78. Data="M64 30 L64 70"
  79. Stroke="#FFB1B1B9"
  80. StrokeThickness="4" />
  81. <Path
  82. Data="M68 30 L68 70"
  83. Stroke="#FF6d6666"
  84. StrokeThickness="4" />
  85. <Path
  86. Data="M72 30 L72 70"
  87. Stroke="#FFB1B1B9"
  88. StrokeThickness="4" />
  89. <Path
  90. Data="M76 30 L76 70"
  91. Stroke="#FF6d6666"
  92. StrokeThickness="4" />
  93. <Path
  94. Data="M80 30 L80 70"
  95. Stroke="#FFB1B1B9"
  96. StrokeThickness="4" />
  97. <Path
  98. Data="M84 30 L84 70"
  99. Stroke="#FF6d6666"
  100. StrokeThickness="4" />
  101. <Path
  102. Data="M88 30 L88 70"
  103. Stroke="#FFB1B1B9"
  104. StrokeThickness="4" />
  105. <Path
  106. Data="M92 30 L92 70"
  107. Stroke="#FF6d6666"
  108. StrokeThickness="4" />
  109. <Path
  110. Data="M102 30 L102 70"
  111. Stroke="#FF6d6666"
  112. StrokeThickness="16" />
  113. <Path
  114. Data="M50 20 L50 80"
  115. Stroke="#FFB1B1B9"
  116. StrokeThickness="20" />
  117. <Path
  118. Data="M42,25 L58,25 60,30 60,45 58,50 60,55 60,70 58,75 42,75 40,70 40,55 42,50 40,45 40,30 42,25"
  119. Stroke="#FF6d6666"
  120. StrokeThickness="1" />
  121. <Path
  122. Data="M42 50 L58 50"
  123. Stroke="#FF6d6666"
  124. StrokeThickness="1" />
  125. <Path Data="M110 0 L110,100 160,100 175,80 300 ,80 315,100 365,100 365,0 315,0 300,20 175,20 160,0 110,0">
  126. <Path.Fill>
  127. <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
  128. <GradientStop Color="#FF1EDEDA" />
  129. <GradientStop Offset="1" Color="#FF1EDEDA" />
  130. <GradientStop Offset="0.5" Color="#FFDDEAE9" />
  131. </LinearGradientBrush>
  132. </Path.Fill>
  133. </Path>
  134. <Path
  135. Data="M110 30 L160,30 A2,5 0 1 1 160,70 L110,70"
  136. Stroke="#FFB1B1B9"
  137. StrokeThickness="2" />
  138. <Path
  139. Data="M160 0 L160,30"
  140. Stroke="#FFB1B1B9"
  141. StrokeThickness="2" />
  142. <Path
  143. Data="M160 70 L160,100"
  144. Stroke="#FFB1B1B9"
  145. StrokeThickness="2" />
  146. <Path
  147. Data="M175 20 L175,80"
  148. Stroke="#FFB1B1B9"
  149. StrokeThickness="2" />
  150. <Path
  151. Data="M179 20 L179,80"
  152. Stroke="#FFB1B1B9"
  153. StrokeThickness="2" />
  154. <Path
  155. Data="M183 20 L183,80"
  156. Stroke="#FFB1B1B9"
  157. StrokeThickness="2" />
  158. <Path
  159. Data="M187 20 L187,80"
  160. Stroke="#FFB1B1B9"
  161. StrokeThickness="2" />
  162. <Path
  163. Data="M365 30 L315,30 A2,5 0 1 0 315,70 L365,70"
  164. Stroke="#FFB1B1B9"
  165. StrokeThickness="2" />
  166. <Path
  167. Data="M315 0 L315,30"
  168. Stroke="#FFB1B1B9"
  169. StrokeThickness="2" />
  170. <Path
  171. Data="M315 70 L315,100"
  172. Stroke="#FFB1B1B9"
  173. StrokeThickness="2" />
  174. <Path
  175. Data="M300 20 L300,80"
  176. Stroke="#FFB1B1B9"
  177. StrokeThickness="2" />
  178. <Path
  179. Data="M296 20 L296,80"
  180. Stroke="#FFB1B1B9"
  181. StrokeThickness="2" />
  182. <Path
  183. Data="M292 20 L292,80"
  184. Stroke="#FFB1B1B9"
  185. StrokeThickness="2" />
  186. <Path
  187. Data="M288 20 L288,80"
  188. Stroke="#FFB1B1B9"
  189. StrokeThickness="2" />
  190. <Path
  191. Data="M367 20 L367 80"
  192. Stroke="#FFB1B1B9"
  193. StrokeThickness="4" />
  194. <Path
  195. Data="M371 20 L371 80"
  196. Stroke="#FF6d6666"
  197. StrokeThickness="4" />
  198. <Path
  199. Data="M375 20 L375 80"
  200. Stroke="#FFB1B1B9"
  201. StrokeThickness="4" />
  202. <Path
  203. Data="M379 20 L379 80"
  204. Stroke="#FF6d6666"
  205. StrokeThickness="4" />
  206. <Path
  207. Data="M383 20 L383 80"
  208. Stroke="#FFB1B1B9"
  209. StrokeThickness="4" />
  210. <Path
  211. Data="M387 20 L387 80"
  212. Stroke="#FF6d6666"
  213. StrokeThickness="4" />
  214. <Ellipse Tag="LeftTog" Width="30" Height="30" Fill="Red" Margin="120,35,0,0" RenderTransformOrigin="0.5,0.5">
  215. <Ellipse.OpacityMask>
  216. <RadialGradientBrush>
  217. <GradientStop Offset="0" Color="Transparent" />
  218. <GradientStop Offset="1" Color="Black" />
  219. </RadialGradientBrush>
  220. </Ellipse.OpacityMask>
  221. </Ellipse>
  222. <Ellipse Tag="RightTog" Width="30" Height="30" Fill="Red" Margin="325,35,0,0" RenderTransformOrigin="0.5,0.5">
  223. <Ellipse.OpacityMask>
  224. <RadialGradientBrush>
  225. <GradientStop Offset="0" Color="Transparent" />
  226. <GradientStop Offset="1" Color="Black" />
  227. </RadialGradientBrush>
  228. </Ellipse.OpacityMask>
  229. </Ellipse>
  230. </Canvas>
  231. </Viewbox>
  232. </Grid>
  233. </UserControl>