Matrix.xaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <!--矩阵页面资源-->
  4. <!--style-->
  5. <Style x:Key="PythStyle" TargetType="Path">
  6. <Style.Triggers>
  7. <Trigger Property="IsMouseOver" Value="True">
  8. <Setter Property="Fill" Value="#FF1296DB"/>
  9. </Trigger>
  10. <Trigger Property="IsMouseOver" Value="False">
  11. <Setter Property="Fill" Value="WhiteSmoke"/>
  12. </Trigger>
  13. </Style.Triggers>
  14. </Style>
  15. <SolidColorBrush x:Key="transl" Color="#01FFFFFF"/>
  16. <!--时钟-->
  17. <ControlTemplate x:Key="time">
  18. <ControlTemplate.Triggers>
  19. <Trigger Property="IsMouseOver" Value="True">
  20. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  21. <Setter TargetName="p2" Property="Path.Fill" Value="#FF1296DB"/>
  22. </Trigger>
  23. <Trigger Property="IsMouseOver" Value="False">
  24. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  25. <Setter TargetName="p2" Property="Path.Fill" Value="WhiteSmoke"/>
  26. </Trigger>
  27. </ControlTemplate.Triggers>
  28. <Viewbox>
  29. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  30. <Path x:Name="p1" Data="M512 32c-265.080 0-480 214.92-480 480 0 265.14 214.92 480 480 480 265.14 0 480-214.86 480-480 0-265.080-214.86-480-480-480zM512 912.020c-220.56 0-400.020-179.46-400.020-400.020s179.46-400.020 400.020-400.020 400.020 179.46 400.020 400.020-179.46 400.020-400.020 400.020z"/>
  31. <Path x:Name="p2" Data="M783.26 616.34l-250.38-83.46 0.72-292.92c0 0 2.28-40.98-40.98-40.98s-42.48 42.48-42.48 42.48l-0.72 312.3c0 41.76 28.62 49.5 62.58 62.58l229.56 73.020c0 0 62.58 20.94 73.080-20.88 10.44-41.7-31.38-52.14-31.38-52.14z"/>
  32. </Canvas>
  33. </Viewbox>
  34. </ControlTemplate>
  35. <!--启动-->
  36. <ControlTemplate x:Key="start">
  37. <ControlTemplate.Triggers>
  38. <Trigger Property="IsMouseOver" Value="True">
  39. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  40. </Trigger>
  41. <Trigger Property="IsMouseOver" Value="False">
  42. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  43. </Trigger>
  44. </ControlTemplate.Triggers>
  45. <Viewbox>
  46. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  47. <Path x:Name="p1" Data="M957.28 521.24c-0.76 9.36-8.54 8.94-17.77 8.94h-0.85l-213.88-1.96c-4.92-0.25-9.55 1.32-12.75-2.45-3.21-3.79-4.71-6.85-4.19-11.78 9.83-88.42-40.84-171.86-123.21-204.26-4.61-1.83-8.26-4.98-10.12-9.61-1.81-4.63-1.66-9.54 0.43-14.05l91.08-194.83c4.09-8.76 14.36-12.6 23.17-8.76 175.26 75.72 282.98 247.47 268.09 438.76z m-319.4-26.96c0 69.28-56.03 125.66-124.89 125.66-68.87 0-124.89-56.38-124.89-125.66 0-69.27 56.02-125.64 124.89-125.64 68.86 0 124.89 56.37 124.89 125.64zM432.01 314.64c-80.56 36.63-126.83 123.55-112.51 211.37 0.8 4.9-0.46 9.92-3.49 13.84a17.887 17.887 0 0 1-12.43 6.95L90.52 567.49c-0.56 0.04-1.11 0.07-1.71 0.07-8.85 0-16.49-6.6-17.68-15.64C46.4 361.69 144.74 176.96 315.9 92.23c8.57-4.25 19.06-0.88 23.59 7.68L440.4 289.82c2.35 4.35 2.76 9.54 1.16 14.23-1.61 4.71-5.02 8.52-9.55 10.59zM368.1 655.21a17.88 17.88 0 0 1 11.96-7.75c4.77-0.8 9.86 0.43 13.76 3.48 67.89 52.42 170.51 52.38 238.35 0a17.87 17.87 0 0 1 13.8-3.48c4.87 0.8 9.2 3.62 11.93 7.75l118.75 179.2c5.29 8.05 3.34 18.9-4.46 24.54C696.28 913.67 606.66 942.6 513 942.6c-93.68 0-183.3-28.92-259.19-83.65-7.81-5.64-9.76-16.49-4.46-24.54l118.75-179.2z"/>
  48. </Canvas>
  49. </Viewbox>
  50. </ControlTemplate>
  51. <!--停机-->
  52. <ControlTemplate x:Key="stop">
  53. <ControlTemplate.Triggers>
  54. <Trigger Property="IsMouseOver" Value="True">
  55. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  56. <Setter TargetName="p2" Property="Path.Fill" Value="#FF1296DB"/>
  57. </Trigger>
  58. <Trigger Property="IsMouseOver" Value="False">
  59. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  60. <Setter TargetName="p2" Property="Path.Fill" Value="WhiteSmoke"/>
  61. </Trigger>
  62. </ControlTemplate.Triggers>
  63. <Viewbox>
  64. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  65. <Path x:Name="p1" Data="M464.621946 124.483152c0-26.264177 21.324678-47.589878 47.582715-47.589878 26.258037 0 47.662533 21.324678 47.662533 47.589878v299.552424c0 26.264177-21.404496 47.589878-47.662533 47.589878-26.258037 0-47.582715-21.324678-47.582715-47.589878v-299.552424z"/>
  66. <Path x:Name="p2" Data="M813.450656 822.458821c-166.205393 166.205393-436.678524 166.205393-602.936105-0.053212-166.205393-166.205393-166.205393-436.678524 0-602.883917 18.191314-18.191314 47.709605-18.191314 65.900919 0s18.191314 47.709605 0 65.900919c-129.868813 129.875976-129.868813 341.207126 0 471.082079 129.868813 129.868813 341.260337 129.922025 471.129151 0.053212 129.875976-129.875976 129.875976-341.319689 0-471.188502-18.191314-18.191314-18.191314-47.708582 0-65.90092 18.198477-18.191314 47.708582-18.191314 65.907059 0 166.250418 166.259628 166.250418 436.732759-0.001024 602.990341z"/>
  67. </Canvas>
  68. </Viewbox>
  69. </ControlTemplate>
  70. <!--复位-->
  71. <ControlTemplate x:Key="reset">
  72. <ControlTemplate.Triggers>
  73. <Trigger Property="IsMouseOver" Value="True">
  74. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  75. </Trigger>
  76. <Trigger Property="IsMouseOver" Value="False">
  77. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  78. </Trigger>
  79. </ControlTemplate.Triggers>
  80. <Viewbox>
  81. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}" Margin="1">
  82. <Path x:Name="p1" Data="M910.208 611.584c-29.824 0-49.792 19.84-49.792 49.728v199.104h-199.04c-29.888 0-49.792 19.968-49.792 49.792 0 29.888 19.84 49.792 49.728 49.792h199.104C915.2 960 960 915.2 960 860.416v-199.04c0-29.888-19.904-49.792-49.792-49.792m0-547.584h-248.896c-29.824 0-49.728 19.904-49.728 49.792 0 29.824 19.84 49.792 49.728 49.792h134.4L651.392 307.84a48.128 48.128 0 0 0 0 69.696 48.128 48.128 0 0 0 69.696 0l139.328-139.392v124.48c0 29.824 19.968 49.728 49.792 49.728 29.888 0 49.792-19.84 49.792-49.728v-248.96c0-29.824-19.904-49.728-49.792-49.728M362.688 860.416H238.208l144.384-144.32a48.128 48.128 0 0 0 0-69.696 48.128 48.128 0 0 0-69.76 0l-149.248 149.312v-134.4c0-29.824-19.968-49.728-49.792-49.728-29.888 0-49.792 19.84-49.792 49.728v248.96c0 29.824 19.904 49.728 49.792 49.728h248.896c29.824 0 49.728-19.904 49.728-49.792 0-29.824-19.84-49.792-49.728-49.792m49.728-746.624c0 29.824-19.84 49.792-49.728 49.792H163.584v199.04c0 29.888-19.968 49.792-49.792 49.792-29.888 0-49.792-19.84-49.792-49.728V163.584C64 108.8 108.8 64 163.584 64h199.04c29.888 0 49.792 19.904 49.792 49.792"/>
  83. </Canvas>
  84. </Viewbox>
  85. </ControlTemplate>
  86. <!--维护-->
  87. <ControlTemplate x:Key="maintain">
  88. <ControlTemplate.Triggers>
  89. <Trigger Property="IsMouseOver" Value="True">
  90. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  91. </Trigger>
  92. <Trigger Property="IsMouseOver" Value="False">
  93. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  94. </Trigger>
  95. </ControlTemplate.Triggers>
  96. <Viewbox>
  97. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  98. <Path x:Name="p1" Data="M402.45 720.72l318.27-318.27c62.9 24.63 137.13 11.62 187.95-39.2 50.25-50.25 63.6-123.41 40.08-185.85-3.56-9.44-15.88-11.88-23.02-4.75l-75.74 75.74a14.014 14.014 0 0 1-7.92 3.96l-63.67 9.1c-9.24 1.32-17.16-6.6-15.84-15.84l9.1-63.67c0.43-3 1.82-5.78 3.96-7.92l75.74-75.74c7.13-7.13 4.69-19.46-4.75-23.02C784.16 51.73 711 65.08 660.75 115.33c-50.82 50.82-63.83 125.05-39.2 187.95L303.28 621.55c-62.9-24.63-137.13-11.62-187.95 39.2C65.08 711 51.73 784.16 75.25 846.6c3.56 9.44 15.88 11.88 23.02 4.75l75.74-75.74c2.14-2.14 4.92-3.53 7.92-3.96l63.67-9.1c9.24-1.32 17.16 6.6 15.84 15.84l-9.1 63.67c-0.43 3-1.82 5.78-3.96 7.92l-75.74 75.74c-7.13 7.13-4.69 19.46 4.75 23.02 62.44 23.52 135.6 10.17 185.85-40.08 50.83-50.81 63.84-125.04 39.21-187.94z"/>
  99. </Canvas>
  100. </Viewbox>
  101. </ControlTemplate>
  102. <!--取消维护-->
  103. <ControlTemplate x:Key="unmaintain">
  104. <ControlTemplate.Triggers>
  105. <Trigger Property="IsMouseOver" Value="True">
  106. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  107. </Trigger>
  108. <Trigger Property="IsMouseOver" Value="False">
  109. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  110. </Trigger>
  111. </ControlTemplate.Triggers>
  112. <Viewbox>
  113. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  114. <Path x:Name="p1" Data="M402.45 720.72l318.27-318.27c62.9 24.63 137.13 11.62 187.95-39.2 50.25-50.25 63.6-123.41 40.08-185.85-3.56-9.44-15.88-11.88-23.02-4.75l-75.74 75.74a14.014 14.014 0 0 1-7.92 3.96l-63.67 9.1c-9.24 1.32-17.16-6.6-15.84-15.84l9.1-63.67c0.43-3 1.82-5.78 3.96-7.92l75.74-75.74c7.13-7.13 4.69-19.46-4.75-23.02C784.16 51.73 711 65.08 660.75 115.33c-50.82 50.82-63.83 125.05-39.2 187.95L303.28 621.55c-62.9-24.63-137.13-11.62-187.95 39.2C65.08 711 51.73 784.16 75.25 846.6c3.56 9.44 15.88 11.88 23.02 4.75l75.74-75.74c2.14-2.14 4.92-3.53 7.92-3.96l63.67-9.1c9.24-1.32 17.16 6.6 15.84 15.84l-9.1 63.67c-0.43 3-1.82 5.78-3.96 7.92l-75.74 75.74c-7.13 7.13-4.69 19.46 4.75 23.02 62.44 23.52 135.6 10.17 185.85-40.08 50.83-50.81 63.84-125.04 39.21-187.94z"/>
  115. <Path Data="m 822.29707,855.94436 c -7.42201,0 -14.84402,-2.87099 -20.52133,-8.61297 l -0.0138,-0.0141 -0.0138,-0.0141 -617.93813,-628.04336 a 28.997095,29.471289 0 0 1 -8.51591,-21.12431 c 0.0554,-7.4871 2.89403,-14.96012 8.51591,-20.67395 11.3546,-11.54026 29.75732,-11.54026 41.12573,0 l 617.92434,628.0434 0.0138,0.0141 c 0,0.0141 0.0139,0.0141 0.0139,0.0141 v 0.0141 c 11.32688,11.54026 11.29918,30.22986 -0.0416,41.75603 -0.30463,0.3237 -0.62311,0.61924 -0.94161,0.92885 v 0.0141 a 28.965246,29.438919 0 0 1 -15.89641,7.4871 c -1.23236,0.14073 -2.46476,0.2111 -3.711,0.2111 z" Fill="#FFFF5B0E"/>
  116. </Canvas>
  117. </Viewbox>
  118. </ControlTemplate>
  119. <!--发送-->
  120. <ControlTemplate x:Key="send">
  121. <ControlTemplate.Triggers>
  122. <Trigger Property="IsMouseOver" Value="True">
  123. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  124. <Setter TargetName="p2" Property="Path.Fill" Value="#FF1296DB"/>
  125. <Setter TargetName="p3" Property="Path.Fill" Value="#FF1296DB"/>
  126. </Trigger>
  127. <Trigger Property="IsMouseOver" Value="False">
  128. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  129. <Setter TargetName="p2" Property="Path.Fill" Value="WhiteSmoke"/>
  130. <Setter TargetName="p3" Property="Path.Fill" Value="WhiteSmoke"/>
  131. </Trigger>
  132. </ControlTemplate.Triggers>
  133. <Viewbox>
  134. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  135. <Path x:Name="p1" Data="M393.2 701.7c-8.2 0-16.4-3.1-22.6-9.4-12.5-12.5-12.5-32.8 0-45.3l115.3-115.3c14-14 36.9-14 50.9 0L652.1 647c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-95.5-95.5-95.5 95.5c-6.2 6.2-14.4 9.4-22.6 9.4z"/>
  136. <Path x:Name="p2" Data="M511.3 921.1c-17.7 0-32-14.3-32-32v-276c0-17.7 14.3-32 32-32s32 14.3 32 32v276c0 17.6-14.3 32-32 32z"/>
  137. <Path x:Name="p3" Data="M732.7 784.9c-17.7 0-32-14.3-32-32s14.3-32 32-32c90.6 0 164.3-73.7 164.3-164.3 0-82.9-61.9-153-144-163.1l-22.7-2.8-4.7-22.4c-20.8-99.9-110.1-172.4-212.4-172.4-102.2 0-191.5 72.5-212.4 172.4l-4.7 22.4-22.7 2.8c-82.1 10.1-144 80.2-144 163.1 0 90.6 73.7 164.3 164.3 164.3 17.7 0 32 14.3 32 32s-14.3 32-32 32c-61 0-118.3-23.8-161.5-66.9-43.1-43.1-66.9-100.5-66.9-161.5 0-107.6 75.2-199.7 178.2-222.8 15.8-53.8 47.7-102.2 91.3-138.1 50.1-41.2 113.4-63.9 178.3-63.9s128.3 22.7 178.3 63.9c43.6 35.9 75.5 84.3 91.3 138.1C885.9 356.8 961 448.9 961 556.5c0 61-23.8 118.3-66.9 161.5-43.1 43.1-100.4 66.9-161.4 66.9z"/>
  138. </Canvas>
  139. </Viewbox>
  140. </ControlTemplate>
  141. <!--挂牌-->
  142. <ControlTemplate x:Key="lock">
  143. <ControlTemplate.Triggers>
  144. <Trigger Property="IsMouseOver" Value="True">
  145. <Setter TargetName="p1" Property="Path.Fill" Value="#FF1296DB"/>
  146. <Setter TargetName="p2" Property="Path.Fill" Value="#FF1296DB"/>
  147. </Trigger>
  148. <Trigger Property="IsMouseOver" Value="False">
  149. <Setter TargetName="p1" Property="Path.Fill" Value="WhiteSmoke"/>
  150. <Setter TargetName="p2" Property="Path.Fill" Value="WhiteSmoke"/>
  151. </Trigger>
  152. </ControlTemplate.Triggers>
  153. <Viewbox>
  154. <Canvas Width="500.98" Height="651.78" Background="{StaticResource transl}">
  155. <Path x:Name="p1" Data="m250.44 371.44c-13.9 0-25.2 11.3-25.2 25.2v74.4c0 13.9 11.3 25.2 25.2 25.2s25.2-11.3 25.2-25.2v-74.4c0-13.9-11.3-25.2-25.2-25.2zm-114.9-144h0.4c13.8 0 25.3-11.2 25.5-24.9 0.1-3.7 0.2-10.6 0.3-18.6 0.2-19.6 0.5-34.8 0.7-37.6l0.1-0.5c0.2-1 0.3-2.1 0.4-3.1 2.4-45.6 40.3-81.7 86.3-82 46.1 0.3 84 36.3 86.4 82 0.1 1 0.2 2 0.4 3.1l0.1 0.5c0.2 2.9 0.5 18.3 0.7 38.2 0.1 7.5 0.2 14.3 0.3 18 0.2 13.8 11.6 24.9 25.5 24.9h0.5c13.7-0.2 24.9-11.6 24.9-25.3l-0.1-56.4c-0.9-74.7-62.9-135.5-138.1-135.5h-1c-75.2 0-137.1 60.8-138 135.6l-0.1 56.4c-0.2 13.6 11 25 24.8 25.2z"/>
  156. <Path x:Name="p2" Data="m473.94 265.94c-11-11-25.6-17.1-41.1-17.1h-364.4c-32 0-58 25.9-58 57.6 0 0.4 0 17.5-0.1 37.3 0 26.8-0.1 58.4-0.1 59.4 0 63.6 24.9 123.5 70.2 168.6 45.3 45 105.5 69.8 169.6 69.8 63.6 0 123.5-24.5 168.7-69 45.1-44.4 70.4-103.6 71.1-166.6v-0.3c0.4-6.2 0.8-74.9 0.9-99.2 0-15.2-6-29.6-16.8-40.5zm-34.9 134.6v0.4l-0.1 0.8-0.1 3.7c-1.2 102.3-85.9 185.6-188.7 185.6-104.2-0.1-189-84.3-189-187.8v-3.8c0-9.9 0.1-39 0.1-86.8v-6c0-3.9 3.1-7 7-7h364.4c3.8 0 7 3.1 7 6.7 0 23.3-0.3 80.4-0.6 94.2z"/>
  157. </Canvas>
  158. </Viewbox>
  159. </ControlTemplate>
  160. <!--取消挂牌-->
  161. <ControlTemplate x:Key="unlock">
  162. <ControlTemplate.Triggers>
  163. <Trigger Property="IsMouseOver" Value="True">
  164. <Setter TargetName="p2" Property="Path.Fill" Value="#FF1296DB"/>
  165. </Trigger>
  166. <Trigger Property="IsMouseOver" Value="False">
  167. <Setter TargetName="p2" Property="Path.Fill" Value="WhiteSmoke"/>
  168. </Trigger>
  169. </ControlTemplate.Triggers>
  170. <Viewbox>
  171. <Canvas Width="500.98" Height="651.78" Background="{StaticResource transl}">
  172. <Path x:Name="p1" Data="m250.44 371.34c-13.9 0-25.2 11.3-25.2 25.2v74.4c0 13.9 11.3 25.2 25.2 25.2s25.2-11.3 25.2-25.2v-74.4c0-13.9-11.3-25.2-25.2-25.2z" Fill="#FFFF5B0E"/>
  173. <Path x:Name="p2" Data="m473.94 265.94c-11-11-25.6-17.1-41.1-17.1h-364.4c-32 0-58 25.9-58 57.6 0 0.4 0 17.5-0.1 37.3 0 26.8-0.1 58.4-0.1 59.4 0 63.6 24.9 123.5 70.2 168.6 45.3 45 105.5 69.8 169.6 69.8 63.6 0 123.5-24.5 168.7-69 45.1-44.4 70.4-103.6 71.1-166.6v-0.3c0.4-6.2 0.8-74.9 0.9-99.2 0-15.2-6-29.6-16.8-40.5zm-34.9 134.5v0.4l-0.1 0.8-0.1 3.7c-1.2 102.3-85.9 185.6-188.7 185.6-104.2 0-188.9-84.2-188.9-187.7v-3.8c0-9.9 0.1-39 0.1-86.8v-6c0-3.9 3.1-7 7-7h364.4c3.8 0 7 3.1 7 6.7-0.1 23.2-0.4 80.3-0.7 94.1zm-303.5-173h0.4c13.8 0 25.3-11.2 25.5-24.9 0.1-3.7 0.2-10.6 0.3-18.6 0.2-19.6 0.5-34.8 0.7-37.6l0.1-0.5c0.2-1 0.3-2.1 0.4-3.1 2.4-45.6 40.3-81.7 86.3-82 25.9 0.1 50.2 11.7 66.7 31.6l0.3 0.4 0.2 0.5c4.5 8.5 13.3 13.7 22.9 13.7 14.3 0 25.9-11.6 25.9-25.9 0-6.3-2.2-12.2-6.4-17l-4.2-4.9 0.3-0.1c-26.4-31.1-64.5-48.8-105.4-48.8h-1c-75.2 0-137.1 60.8-138 135.6l-0.1 56.4c0 13.5 11.3 24.9 25.1 25.2z"/>
  174. </Canvas>
  175. </Viewbox>
  176. </ControlTemplate>
  177. <!--上电-->
  178. <ControlTemplate x:Key="start1">
  179. <Viewbox>
  180. <Canvas Width="989.87" Height="563.2" Background="{StaticResource transl}">
  181. <Path Fill="WhiteSmoke" Data="m110.93 452.27h213.33v-341.33h-213.33zm810.67-256v-85.333c0-46.933-38.4-85.333-85.333-85.333h-725.33c-46.933 0-85.333 38.4-85.333 85.333v341.33c0 46.933 38.4 85.333 85.333 85.333h725.33c46.933 0 85.333-38.4 85.333-85.333v-85.333c23.467 0 42.667-19.2 42.667-42.667v-85.333c0-23.467-19.2-42.667-42.667-42.667zm-42.667 256c0 23.467-19.2 42.667-42.667 42.667h-725.33c-23.467 0-42.667-19.2-42.667-42.667v-341.33c0-23.467 19.2-42.667 42.667-42.667h725.33c23.467 0 42.667 19.2 42.667 42.667z"/>
  182. </Canvas>
  183. </Viewbox>
  184. </ControlTemplate>
  185. <!--上电2-->
  186. <ControlTemplate x:Key="start2">
  187. <Viewbox>
  188. <Canvas Width="989.87" Height="563.2" Background="{StaticResource transl}">
  189. <Path Fill="WhiteSmoke" Data="m921.6 196.27v-85.333c0-46.933-38.4-85.333-85.333-85.333h-725.33c-46.933 0-85.333 38.4-85.333 85.333v341.33c0 46.933 38.4 85.333 85.333 85.333h725.33c46.933 0 85.333-38.4 85.333-85.333v-85.333c23.467 0 42.667-19.2 42.667-42.667v-85.333c0-23.467-19.2-42.667-42.667-42.667zm-42.667 42.667v213.33c0 23.467-19.2 42.667-42.667 42.667h-725.33c-23.467 0-42.667-19.2-42.667-42.667v-341.33c0-23.467 19.2-42.667 42.667-42.667h725.33c23.467 0 42.667 19.2 42.667 42.667zm-768 213.33h554.67v-341.33h-554.67z"/>
  190. </Canvas>
  191. </Viewbox>
  192. </ControlTemplate>
  193. <!--挂牌状态-->
  194. <ControlTemplate x:Key="lock2">
  195. <ControlTemplate.Triggers>
  196. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}, Path=LockType}" Value="Overhaul">
  197. <Setter TargetName="w1" Property="Path.Visibility" Value="Visible"/>
  198. <Setter TargetName="w2" Property="Path.Visibility" Value="Visible"/>
  199. </DataTrigger>
  200. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}, Path=LockType}" Value="Fault">
  201. <Setter TargetName="f1" Property="Path.Visibility" Value="Visible"/>
  202. <Setter TargetName="f2" Property="Path.Visibility" Value="Visible"/>
  203. </DataTrigger>
  204. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}, Path=LockType}" Value="Normal">
  205. <Setter TargetName="p2" Property="Path.Visibility" Value="Visible"/>
  206. </DataTrigger>
  207. </ControlTemplate.Triggers>
  208. <Viewbox>
  209. <Canvas Width="1024" Height="1024" Background="{StaticResource transl}">
  210. <Path x:Name="p2" Visibility="Collapsed" Fill="WhiteSmoke" Data="M512 819.2L870.4 460.8c42.667-34.133 68.267-110.933 68.267-153.6L938.667 93.867C938.667 42.667 896 0 844.8 0l-213.333 0c-51.2 0-119.467 25.6-153.6 68.267l-358.4 358.4c-34.134 34.133-34.134 93.866 0 128L392.533 819.2c25.6 34.133 85.334 34.133 119.467 0zM708.267 162.133c0-42.66600001 34.133-76.8 76.8-76.8s76.8 34.13399999 76.8 76.8-34.13399999 76.8-76.8 76.8-76.8-34.133-76.8-76.8zM512 998.4L870.4 640c42.667-34.133 68.267-102.4 68.267-153.6l-469.334 460.8c-8.533 8.533-34.133 8.533-42.666 0l-332.8-324.267c-17.067 34.13399999-17.067 76.8 17.066 110.934L384 998.4c34.133 34.133 93.867 34.133 128 0z"/>
  211. <Path x:Name="f1" Visibility="Collapsed" Fill="WhiteSmoke" Data="M890.8 412.6l-71.6-12.8c-3.2-8.7-6.7-17.3-10.7-25.7l41.6-59.6c13.9-19.9 11.5-46.8-5.7-64l-71-71c-17.2-17.2-44.1-19.5-64-5.7l-59.6 41.6c-8.4-3.9-17-7.5-25.7-10.7l-12.8-71.6c-4.3-23.9-25-41.2-49.2-41.2H461.8c-24.3 0-45 17.3-49.2 41.2l-12.8 71.6c-8.7 3.2-17.3 6.7-25.7 10.7l-59.6-41.6c-19.9-13.9-46.8-11.5-64 5.7l-71 71c-17.2 17.2-19.5 44.1-5.7 64l41.6 59.6c-3.9 8.4-7.5 17-10.7 25.7l-71.6 12.8c-23.9 4.3-41.2 25-41.2 49.2v100.4c0 24.3 17.3 45 41.2 49.2l71.6 12.8c3.2 8.7 6.7 17.3 10.7 25.7l-41.6 59.6c-13.9 19.9-11.5 46.8 5.7 64l71 71c17.2 17.2 44.1 19.5 64 5.7l59.6-41.6c8.4 3.9 17 7.5 25.7 10.7l12.8 71.6c4.3 23.9 25 41.2 49.2 41.2h100.4c24.3 0 45-17.3 49.2-41.2l12.8-71.6c8.7-3.2 17.3-6.7 25.7-10.7l59.6 41.6c19.9 13.9 46.8 11.5 64-5.7l71-71c17.2-17.2 19.5-44.1 5.7-64l-41.6-59.6c3.9-8.4 7.5-17 10.7-25.7l71.6-12.8c23.9-4.3 41.2-25 41.2-49.2V461.8c-0.1-24.2-17.4-44.9-41.3-49.2z"/>
  212. <Path x:Name="f2" Visibility="Collapsed" Fill="DimGray" Data="M512 512m-117 0a117 117 0 1 0 234 0 117 117 0 1 0-234 0Z"/>
  213. <Path x:Name="w1" Visibility="Collapsed" Fill="WhiteSmoke" Data="M304.274286 688.518095c-8.289524 8.289524-8.289524 21.455238 0 29.744762 8.289524 8.289524 21.455238 8.289524 29.744762 0s8.289524-21.455238 0-29.744762c-8.289524-8.289524-21.455238-8.289524-29.744762 0z"/>
  214. <Path x:Name="w2" Visibility="Collapsed" Fill="WhiteSmoke" Data="M850.895238 24.380952h-682.666667C87.771429 24.380952 21.942857 90.209524 21.942857 170.666667v682.666666c0 80.457143 65.828571 146.285714 146.285714 146.285715h682.666667c80.457143 0 146.285714-65.828571 146.285714-146.285715V170.666667c0-80.457143-65.828571-146.285714-146.285714-146.285715zM271.11619 258.438095l64.365715 46.32381 19.992381 38.521905 90.209524 90.209523-37.059048 37.059048-89.721905-90.697143-38.521905-19.992381L234.057143 295.009524l37.059047-36.571429zM726.552381 773.851429c-19.017143 18.041905-49.249524 18.041905-68.266667 0l-123.855238-123.855239c-4.87619-4.87619-4.87619-12.678095 0-17.554285l52.662857-52.662857c4.87619-4.87619 12.678095-4.87619 17.554286 0l123.855238 123.855238c18.529524 19.992381 18.041905 51.2-1.950476 70.217143z m58.026667-376.929524c-4.388571 29.257143-18.041905 56.07619-39.009524 77.043809-33.158095 33.158095-80.944762 47.299048-127.268572 37.546667L385.219048 744.594286c-29.744762 29.744762-77.531429 29.744762-107.276191 0s-29.744762-77.531429 0-107.276191l233.081905-233.081905c-9.752381-45.83619 4.388571-94.110476 37.546667-127.268571 21.455238-21.455238 48.761905-34.620952 77.043809-39.009524 27.794286-4.388571 38.034286 13.653333 22.430476 29.257143l-27.794285 27.794286c-29.744762 29.744762-29.744762 78.019048 0 107.27619 29.744762 29.744762 78.019048 29.744762 107.27619 0l27.794286-27.794285c15.60381-15.60381 33.645714-5.36381 29.257143 22.430476z"/>
  215. </Canvas>
  216. </Viewbox>
  217. </ControlTemplate>
  218. </ResourceDictionary>