MainFormBottom.xaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <UserControl
  2. x:Class="SHJX.Service.Main.Views.MainFormBottom"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:SHJX.Service.Main.Views"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:prism="http://prismlibrary.com/"
  9. xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
  10. d:DesignHeight="60"
  11. d:DesignWidth="2000"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. Background="#929FDE"
  14. mc:Ignorable="d">
  15. <Grid>
  16. <StackPanel
  17. HorizontalAlignment="Left"
  18. VerticalAlignment="Center"
  19. Orientation="Horizontal">
  20. <Label
  21. Content="屏幕锁定:"
  22. FontSize="12"
  23. FontWeight="Black"
  24. Foreground="White" />
  25. <pu:Badge
  26. Height="20"
  27. Margin="-8,0,0,0"
  28. HorizontalAlignment="Center"
  29. VerticalAlignment="Center"
  30. Background="{Binding LockDesktopDisplay}"
  31. IsWaving="{Binding LockDesktopState}" />
  32. <Label
  33. Content=" | "
  34. FontSize="12"
  35. FontWeight="Black"
  36. Foreground="White" />
  37. <Label
  38. Content="加热状态:"
  39. FontSize="12"
  40. FontWeight="Black"
  41. Foreground="White" />
  42. <pu:Badge
  43. Height="20"
  44. Margin="-8,0,0,0"
  45. HorizontalAlignment="Center"
  46. VerticalAlignment="Center"
  47. Background="{Binding HeatingDisplay}"
  48. IsWaving="{Binding HeatingState}" />
  49. <Label
  50. Content=" | "
  51. FontSize="12"
  52. FontWeight="Black"
  53. Foreground="White" />
  54. <Label
  55. Content="端口连接:"
  56. FontSize="12"
  57. FontWeight="Black"
  58. Foreground="White" />
  59. <pu:Badge
  60. Height="20"
  61. Margin="-8,0,0,0"
  62. HorizontalAlignment="Center"
  63. VerticalAlignment="Center"
  64. Background="{Binding PortClientDisplay}"
  65. IsWaving="{Binding PortClientState}" />
  66. <Label
  67. Content=" | "
  68. FontSize="12"
  69. FontWeight="Black"
  70. Foreground="White" />
  71. <Label
  72. Content="监测连接:"
  73. FontSize="12"
  74. FontWeight="Black"
  75. Foreground="White" />
  76. <pu:Badge
  77. Height="20"
  78. Margin="-8,0,0,0"
  79. HorizontalAlignment="Center"
  80. VerticalAlignment="Center"
  81. Background="{Binding CameraClientDisplay}"
  82. IsWaving="{Binding CameraClientState}" />
  83. <pu:Badge
  84. Height="20"
  85. Margin="0,0,0,0"
  86. HorizontalAlignment="Center"
  87. VerticalAlignment="Center"
  88. Background="{Binding CameraClientDisplay2}"
  89. IsWaving="{Binding CameraClientState2}" />
  90. <Label
  91. Content=" | "
  92. FontSize="12"
  93. FontWeight="Black"
  94. Foreground="White" />
  95. <Label
  96. Content="温度监控:"
  97. FontSize="12"
  98. FontWeight="Black"
  99. Foreground="White" />
  100. <Label
  101. Content="{Binding TemperatureValue}"
  102. FontSize="12"
  103. FontWeight="Black"
  104. Foreground="White" />
  105. <Label
  106. Content=" | "
  107. FontSize="12"
  108. FontWeight="Black"
  109. Foreground="White" />
  110. <Label
  111. Content="K值监控:"
  112. FontSize="12"
  113. FontWeight="Black"
  114. Foreground="White" />
  115. <Label
  116. Content="{Binding KValue}"
  117. FontSize="12"
  118. FontWeight="Black"
  119. Foreground="White" />
  120. <Label
  121. Content=" | "
  122. FontSize="12"
  123. FontWeight="Black"
  124. Foreground="White" />
  125. <Label
  126. Content="任务需求时间(h):"
  127. FontSize="12"
  128. FontWeight="Black"
  129. Foreground="White" />
  130. <Label
  131. Content="{Binding TaskNeedTime}"
  132. FontSize="12"
  133. FontWeight="Black"
  134. Foreground="White" />
  135. <!--<Label
  136. Content="温度监控:"
  137. FontSize="12"
  138. FontWeight="Black"
  139. Foreground="White" />
  140. <Label
  141. Content="{Binding TempValue}"
  142. FontSize="12"
  143. FontWeight="Black"
  144. Foreground="White" />
  145. <Label
  146. Content=" | "
  147. FontSize="12"
  148. FontWeight="Black"
  149. Foreground="White" />
  150. <Label
  151. Content="湿度监控:"
  152. FontSize="12"
  153. FontWeight="Black"
  154. Foreground="White" />
  155. <Label
  156. Content="{Binding HumidValue}"
  157. FontSize="12"
  158. FontWeight="Black"
  159. Foreground="White" />
  160. <Label
  161. Content=" | "
  162. FontSize="12"
  163. FontWeight="Black"
  164. Foreground="White" />
  165. <Label
  166. Content="大气压:"
  167. FontSize="12"
  168. FontWeight="Black"
  169. Foreground="White" />
  170. <Label
  171. Content="101.4 kpa"
  172. FontSize="12"
  173. FontWeight="Black"
  174. Foreground="White" />-->
  175. </StackPanel>
  176. </Grid>
  177. </UserControl>