ChartPageView.xaml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. <UserControl x:Class="ivf_tl_Operate.View.ChartPageView"
  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:ivf_tl_Operate.View"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  8. xmlns:customUserControl="clr-namespace:ivf_tl_Operate.CustomUserControls"
  9. xmlns:oxy="http://oxyplot.org/wpf"
  10. mc:Ignorable="d"
  11. Height="2736" Width="1824">
  12. <Grid x:Name="_root">
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="250"/>
  15. <RowDefinition Height="*"/>
  16. </Grid.RowDefinitions>
  17. <!--顶部信息-->
  18. <Border Grid.Row="0" Background="{StaticResource BannerTopFill}">
  19. <Grid>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="350"/>
  22. <ColumnDefinition Width="1"/>
  23. <ColumnDefinition Width="1"/>
  24. <ColumnDefinition Width="auto"/>
  25. <ColumnDefinition Width="auto"/>
  26. <ColumnDefinition Width="auto"/>
  27. <ColumnDefinition Width="auto"/>
  28. </Grid.ColumnDefinitions>
  29. <!--<customUserControl:BackButton Grid.Column="0" MouseUp="BackButton_MouseUp"/>-->
  30. <customControl:ButtonLeftImage Grid.Column="0" Content="{DynamicResource C0044}" Click="Return_Click" Width="350" Height="250" IconWidth="46" IconHeight="46" FontSize="44" FontWeight="Medium" Foreground="#4D75AC" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/button_return.png" IconMargin="0 0 10 0"/>
  31. <Border Grid.Column="1" Background="#FFFFFF"/>
  32. <Border Grid.Column="2" Background="#DFE0E4"/>
  33. <Border Grid.Column="3" Width="409" Height="133" Margin="20 0 0 0" MouseUp="Border_MouseUp" Name="_buttonLeftData">
  34. <Border.Background>
  35. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
  36. </Border.Background>
  37. <StackPanel Orientation="Horizontal">
  38. <Image x:Name="leftDataDis" Visibility="Hidden" Width="60" Height="60" HorizontalAlignment="Left" Source="/ivf_tl_Operate;component/Resources/Image/date_disable.png" Stretch="Fill" Margin="20,0,0,0"></Image>
  39. <TextBlock x:Name="leftDataString" Text="{Binding LeftDateString,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray" Margin="5,34,103,35"/>
  40. </StackPanel>
  41. </Border>
  42. <TextBlock Grid.Column="4" Text="-" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#B0B4B9" FontSize="44" Margin="20 0 20 0"/>
  43. <Border Grid.Column="5" Width="409" Height="133" MouseUp="Border_MouseUp_GetRightDate" Name="_buttonRightData">
  44. <Border.Background>
  45. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
  46. </Border.Background>
  47. <StackPanel Orientation="Horizontal">
  48. <Image x:Name="rightDataDis" Visibility="Hidden" Width="60" Height="60" HorizontalAlignment="Left" Source="/ivf_tl_Operate;component/Resources/Image/date_disable.png" Stretch="Fill" Margin="20,0,10,0"></Image>
  49. <TextBlock x:Name="rightDataString" Text="{Binding RightDateString,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray"/>
  50. </StackPanel>
  51. </Border>
  52. <Border Grid.Column="6" Width="257" Height="137" Margin="20,0,20,0" MouseUp="Border_MouseUp_1" x:Name="_buttonSearch" >
  53. <Border.Background>
  54. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_button.png" Stretch="UniformToFill"/>
  55. </Border.Background>
  56. <TextBlock x:Name="searchSure" Text="{DynamicResource C0159}" FontSize="44" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" />
  57. </Border>
  58. <!--<Border Grid.Column="7" Width="257" Height="137" Margin="20 0 0 0" MouseUp="Border_Export">
  59. <Border.Background>
  60. <ImageBrush ImageSource="/Incubator;component/Image/chart_button.png" Stretch="UniformToFill"/>
  61. </Border.Background>
  62. <TextBlock Text="批量导出" FontSize="44" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" />
  63. </Border>-->
  64. </Grid>
  65. </Border>
  66. <!--列表-->
  67. <Border Grid.Row="2" Background="{StaticResource BorderStageFill}">
  68. <Grid>
  69. <Grid.RowDefinitions>
  70. <RowDefinition Height="278"/>
  71. <RowDefinition Height="auto"/>
  72. <RowDefinition Height="auto"/>
  73. <RowDefinition Height="auto"/>
  74. <RowDefinition Height="auto"/>
  75. </Grid.RowDefinitions>
  76. <!--腔室选择-->
  77. <StackPanel Grid.Row="0" Width="1726" Height="169" Margin="49 109 49 0" Orientation="Horizontal" x:Name="_buttonHouse">
  78. <StackPanel.Background>
  79. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_bar.png" Stretch="None" AlignmentX="Left" AlignmentY="Top" />
  80. </StackPanel.Background>
  81. <customUserControl:ChartButton x:Name="_chartButton1" Tag="1" Content="1" MouseUp="_chartButton1_MouseUp" Width="180"/>
  82. <Rectangle x:Name="r1" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  83. <customUserControl:ChartButton x:Name="_chartButton2" Tag="2" Content="2" MouseUp="_chartButton1_MouseUp" />
  84. <Rectangle x:Name="r2" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  85. <customUserControl:ChartButton x:Name="_chartButton3" Tag="3" Content="3" MouseUp="_chartButton1_MouseUp" />
  86. <Rectangle x:Name="r3" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  87. <customUserControl:ChartButton x:Name="_chartButton4" Tag="4" Content="4" MouseUp="_chartButton1_MouseUp" />
  88. <Rectangle x:Name="r4" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  89. <customUserControl:ChartButton x:Name="_chartButton5" Tag="5" Content="5" MouseUp="_chartButton1_MouseUp" />
  90. <Rectangle x:Name="r5" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  91. <customUserControl:ChartButton x:Name="_chartButton6" Tag="6" Content="6" MouseUp="_chartButton1_MouseUp" />
  92. <Rectangle x:Name="r6" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  93. <customUserControl:ChartButton x:Name="_chartButton7" Tag="7" Content="7" MouseUp="_chartButton1_MouseUp" />
  94. <Rectangle x:Name="r7" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  95. <customUserControl:ChartButton x:Name="_chartButton8" Tag="8" Content="8" MouseUp="_chartButton1_MouseUp" />
  96. <Rectangle x:Name="r8" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  97. <customUserControl:ChartButton x:Name="_chartButton9" Tag="9" Content="9" MouseUp="_chartButton1_MouseUp" />
  98. <Rectangle x:Name="r9" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
  99. <customUserControl:ChartButton x:Name="_chartButton10" Tag="10" Content="10" MouseUp="_chartButton1_MouseUp" Width="172" />
  100. </StackPanel>
  101. <Grid Grid.Row="0" Width="1726" Height="169" Margin="49 109 49 0" x:Name="_buttonNewHouse" Visibility="Collapsed">
  102. <Grid.Background>
  103. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_bar.png" Stretch="None" AlignmentX="Left" AlignmentY="Top" />
  104. </Grid.Background>
  105. <Label Foreground="#6E7276" FontSize="50" HorizontalAlignment="Center" VerticalAlignment="Center">2号舱室</Label>
  106. </Grid>
  107. <Grid x:Name="_gridRow1_close" Grid.Row="1" Height="80" Margin="0 10 0 10" Visibility="Visible">
  108. <StackPanel Margin="0 0 50 0" Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Right">
  109. <Border Visibility="Collapsed" x:Name="_buttonWeekHis1" Margin="0,0,40,0" Background="White" Width="140" Height="60" CornerRadius="25" MouseDown="weekHis1">
  110. <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">数据分析</Label>
  111. </Border>
  112. <Border x:Name="_buttonWeekHis" Margin="0,0,40,0" Background="White" Height="60" CornerRadius="25" MouseDown="weekHis">
  113. <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" Content="{DynamicResource C0254}"></Label>
  114. </Border>
  115. <Border Visibility="Collapsed" x:Name="_button1" Margin="0,0,40,0" Background="White" Width="110" Height="60" CornerRadius="25" MouseDown="restHisPlot">
  116. <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">重置</Label>
  117. </Border>
  118. <!--<Border x:Name="_button2" Margin="0,0,40,0" Background="White" Width="110" Height="60" CornerRadius="25" MouseDown="Export_MouseDown">
  119. <Label x:Name="exportState" Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">导出</Label>
  120. </Border>-->
  121. </StackPanel>
  122. </Grid>
  123. <StackPanel x:Name="_gridRow2_open" Grid.Row="2" Width="1724" Margin="0 100 0 0" Visibility="Collapsed">
  124. <TextBlock Height="55" x:Name="_temA_TextBlock" Text="1号舱室温度数据分析" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
  125. <ScrollViewer PreviewMouseWheel="ScrollViewer_PreviewMouseWheel" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback" HorizontalAlignment="Center" MaxWidth="1724" Height="700" Margin="0 50 0 0" PanningMode="HorizontalOnly" CanContentScroll="True" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Hidden">
  126. <StackPanel>
  127. <StackPanel Visibility="Visible" x:Name="_temFenXi_StackPanel" Orientation="Horizontal">
  128. <!--第一列-->
  129. <!--
  130. <StackPanel>
  131. <Border CornerRadius="30 0 0 0" Background="#4D75AC" Width="345" Height="150"/>
  132. <StackPanel Orientation="Horizontal">
  133. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  134. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  135. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  136. </StackPanel>
  137. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  138. <StackPanel Orientation="Horizontal">
  139. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  140. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  141. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  142. </StackPanel>
  143. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  144. <StackPanel Orientation="Horizontal">
  145. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  146. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  147. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  148. </StackPanel>
  149. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  150. <StackPanel Orientation="Horizontal">
  151. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  152. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  153. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  154. </StackPanel>
  155. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  156. </StackPanel>
  157. -->
  158. <!--第二列-->
  159. <!--
  160. <StackPanel>
  161. <Border CornerRadius="0 0 0 0" Background="#5E88C1" Width="345" Height="150">
  162. </Border>
  163. <StackPanel Orientation="Horizontal">
  164. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  165. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
  166. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  167. </StackPanel>
  168. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  169. <StackPanel Orientation="Horizontal">
  170. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  171. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
  172. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  173. </StackPanel>
  174. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  175. <StackPanel Orientation="Horizontal">
  176. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  177. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
  178. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  179. </StackPanel>
  180. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  181. <StackPanel Orientation="Horizontal">
  182. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  183. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
  184. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  185. </StackPanel>
  186. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  187. </StackPanel>
  188. -->
  189. <!--第三列-->
  190. <!--
  191. <StackPanel>
  192. <Border CornerRadius="0 30 0 0" Background="#4D75AC" Width="345" Height="150"/>
  193. <StackPanel Orientation="Horizontal">
  194. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  195. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  196. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  197. </StackPanel>
  198. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  199. <StackPanel Orientation="Horizontal">
  200. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  201. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  202. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  203. </StackPanel>
  204. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  205. <StackPanel Orientation="Horizontal">
  206. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  207. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  208. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  209. </StackPanel>
  210. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  211. <StackPanel Orientation="Horizontal">
  212. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  213. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  214. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  215. </StackPanel>
  216. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  217. </StackPanel>-->
  218. </StackPanel>
  219. <Grid Width="{Binding ElementName=_temFenXi_StackPanel,Path=Width}">
  220. <Grid.ColumnDefinitions>
  221. <ColumnDefinition Width="345"/>
  222. <ColumnDefinition Width="*"/>
  223. </Grid.ColumnDefinitions>
  224. <StackPanel Grid.Column="0" Orientation="Horizontal">
  225. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  226. <Label Padding="60 0 0 0" Content="累计异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  227. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  228. </StackPanel>
  229. <Rectangle Grid.Column="0" VerticalAlignment="Bottom" Width="345" Height="1" Fill="#6E7276"/>
  230. <Rectangle Grid.Column="1" HorizontalAlignment="Left" Width="2" Height="109" Fill="#DDDEE0"/>
  231. <Rectangle Grid.Column="1" HorizontalAlignment="Right" Width="1" Height="109" Fill="#6E7276"/>
  232. <Rectangle Grid.Column="1" VerticalAlignment="Bottom" Height="1" Fill="#6E7276"/>
  233. <Label Grid.Column="1" x:Name="_allTemErrorTime_Label" Margin="2 0 2 1" Background="#F3F5F6" Content="123" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="36" Foreground="#6E7276"/>
  234. </Grid>
  235. </StackPanel>
  236. </ScrollViewer>
  237. </StackPanel>
  238. <StackPanel x:Name="_gridRow3_open" Grid.Row="3" Width="1724" Margin="0 100 0 0" Visibility="Collapsed">
  239. <TextBlock Height="55" x:Name="_preA_TextBlock" Text="1号舱室气压数据分析" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
  240. <ScrollViewer PreviewMouseWheel="ScrollViewer_PreviewMouseWheel" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback" HorizontalAlignment="Center" MaxWidth="1724" Height="810" Margin="0 50 0 0" PanningMode="Both" CanContentScroll="True" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Hidden">
  241. <StackPanel>
  242. <StackPanel Visibility="Visible" x:Name="_preFenXi_StackPanel" Orientation="Horizontal">
  243. <!--第一列-->
  244. <!--
  245. <StackPanel>
  246. <Border CornerRadius="30 0 0 0" Background="#4D75AC" Width="345" Height="150"/>
  247. <StackPanel Orientation="Horizontal">
  248. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  249. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  250. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  251. </StackPanel>
  252. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  253. <StackPanel Orientation="Horizontal">
  254. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  255. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  256. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  257. </StackPanel>
  258. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  259. <StackPanel Orientation="Horizontal">
  260. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  261. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  262. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  263. </StackPanel>
  264. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  265. <StackPanel Orientation="Horizontal">
  266. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  267. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  268. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  269. </StackPanel>
  270. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  271. <StackPanel Orientation="Horizontal">
  272. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  273. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  274. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  275. </StackPanel>
  276. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  277. </StackPanel>
  278. -->
  279. <!--第二列-->
  280. <!--
  281. <StackPanel>
  282. <Border CornerRadius="0 0 0 0" Background="#5E88C1" Width="345" Height="150">
  283. </Border>
  284. <StackPanel Orientation="Horizontal">
  285. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  286. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
  287. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  288. </StackPanel>
  289. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  290. <StackPanel Orientation="Horizontal">
  291. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  292. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
  293. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  294. </StackPanel>
  295. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  296. <StackPanel Orientation="Horizontal">
  297. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  298. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
  299. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  300. </StackPanel>
  301. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  302. <StackPanel Orientation="Horizontal">
  303. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  304. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
  305. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  306. </StackPanel>
  307. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  308. <StackPanel Orientation="Horizontal">
  309. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  310. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
  311. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  312. </StackPanel>
  313. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  314. </StackPanel>
  315. -->
  316. <!--第三列-->
  317. <!--
  318. <StackPanel>
  319. <Border CornerRadius="0 30 0 0" Background="#4D75AC" Width="345" Height="150"/>
  320. <StackPanel Orientation="Horizontal">
  321. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  322. <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  323. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  324. </StackPanel>
  325. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  326. <StackPanel Orientation="Horizontal">
  327. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  328. <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  329. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  330. </StackPanel>
  331. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  332. <StackPanel Orientation="Horizontal">
  333. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  334. <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
  335. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  336. </StackPanel>
  337. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  338. <StackPanel Orientation="Horizontal">
  339. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  340. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  341. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  342. </StackPanel>
  343. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  344. <StackPanel Orientation="Horizontal">
  345. <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
  346. <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  347. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  348. </StackPanel>
  349. <Rectangle Width="345" Height="1" Fill="#6E7276"/>
  350. </StackPanel>-->
  351. </StackPanel>
  352. <Grid Width="{Binding ElementName=_preFenXi_StackPanel,Path=Width}">
  353. <Grid.ColumnDefinitions>
  354. <ColumnDefinition Width="345"/>
  355. <ColumnDefinition Width="*"/>
  356. </Grid.ColumnDefinitions>
  357. <StackPanel Grid.Column="0" Orientation="Horizontal">
  358. <Rectangle Width="1" Height="109" Fill="#6E7276"/>
  359. <Label Padding="60 0 0 0" Content="累计异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
  360. <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
  361. </StackPanel>
  362. <Rectangle Grid.Column="0" VerticalAlignment="Bottom" Width="345" Height="1" Fill="#6E7276"/>
  363. <Rectangle Grid.Column="1" HorizontalAlignment="Left" Width="2" Height="109" Fill="#DDDEE0"/>
  364. <Rectangle Grid.Column="1" HorizontalAlignment="Right" Width="1" Height="109" Fill="#6E7276"/>
  365. <Rectangle Grid.Column="1" VerticalAlignment="Bottom" Height="1" Fill="#6E7276"/>
  366. <Label Grid.Column="1" x:Name="_allPreErrorTime_Label" Margin="2 0 2 1" Background="#E4E8ED" Content="123" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="36" Foreground="#6E7276"/>
  367. </Grid>
  368. </StackPanel>
  369. </ScrollViewer>
  370. </StackPanel>
  371. <!--历史报表-->
  372. <StackPanel x:Name="_gridRow2_close" Grid.Row="2" Height="725" Margin="0 180 0 0" Visibility="Visible">
  373. <TextBlock Height="55" Text="{DynamicResource C0256}" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
  374. <oxy:PlotView Height="620" Margin="0 50 0 0" x:Name="_plot" Model="{Binding RealModel}"/>
  375. <!--<oxy:Plot x:Name="_plot" >-->
  376. <!--Title="温度压力曲线"-->
  377. <!--
  378. <oxy:Plot.Axes>
  379. <oxy:DateTimeAxis Title="时间"/>
  380. <oxy:LinearAxis Title="数值"/>
  381. </oxy:Plot.Axes>
  382. <oxy:Plot.Series>
  383. <oxy:LineSeries x:Name="_seriesTemprature" FontSize="30" Title="温度" ItemsSource="{Binding TempDataPoints}" MarkerType="Circle" />
  384. <oxy:LineSeries x:Name="_seriesPressure" FontSize="30" Title="压力" ItemsSource="{Binding PressureDataPoints}" MarkerType="Circle" />
  385. </oxy:Plot.Series>
  386. </oxy:Plot>-->
  387. </StackPanel>
  388. <!--实时报表-->
  389. <StackPanel x:Name="_gridRow3_close" Grid.Row="3" Height="725" Margin="0 250 0 0" Visibility="Visible">
  390. <TextBlock Height="55" Text="{DynamicResource C0255}" FontSize="44" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  391. <oxy:PlotView Height="620" Margin="0 50 0 0" x:Name="_plotView" Model="{Binding HistoryModel}" IsMouseWheelEnabled="False"/>
  392. </StackPanel>
  393. <TextBlock x:Name="_gridRow4_close" Grid.Row="4" Text="{Binding Message}" Margin="20"/>
  394. </Grid>
  395. </Border>
  396. </Grid>
  397. </UserControl>