HouseDebugPageView.xaml 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <UserControl x:Class="ivf_tl_Operate.View.HouseDebugPageView"
  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. mc:Ignorable="d"
  9. d:DesignHeight="2736" d:DesignWidth="1824">
  10. <Grid Background="White">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="134"/>
  13. <RowDefinition Height="auto"/>
  14. <RowDefinition />
  15. </Grid.RowDefinitions>
  16. <!--<Rectangle Grid.RowSpan="100" Panel.ZIndex="1000" Margin="328 805 0 0" HorizontalAlignment="Left" VerticalAlignment="Top" Fill="Black" Width="800" Height="600"/>-->
  17. <Grid Grid.Row="0" Background="{StaticResource BannerTopFill}">
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition Width="250"/>
  20. <ColumnDefinition Width="1"/>
  21. <ColumnDefinition Width="1"/>
  22. <ColumnDefinition/>
  23. <ColumnDefinition Width="414"/>
  24. </Grid.ColumnDefinitions>
  25. <customControl:ButtonLeftImage Grid.Column="0" Content="{DynamicResource C0044}" Click="Return_Click" Width="250" Height="134" 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"/>
  26. <Border Grid.Column="1" Background="#FFFFFF"/>
  27. <Border Grid.Column="2" Background="#DFE0E4"/>
  28. <TextBlock Grid.Column="3" Text="{DynamicResource C0038}" FontSize="60" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  29. </Grid>
  30. <Grid Grid.Row="1" Margin="0 20 0 0">
  31. <Grid.RowDefinitions>
  32. <RowDefinition Height="auto"/>
  33. <RowDefinition Height="auto"/>
  34. <RowDefinition Height="auto"/>
  35. <RowDefinition Height="auto"/>
  36. <RowDefinition Height="auto"/>
  37. <RowDefinition Height="auto"/>
  38. <RowDefinition Height="auto"/>
  39. <RowDefinition Height="auto"/>
  40. <RowDefinition Height="auto"/>
  41. <RowDefinition Height="auto"/>
  42. <RowDefinition Height="auto"/>
  43. </Grid.RowDefinitions>
  44. <StackPanel Grid.Row="0" x:Name="_house_StackPanel" Orientation="Horizontal" HorizontalAlignment="Center">
  45. <customControl:RadioButtonNoFrame Tag="1" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue" IsChecked="True">
  46. <customControl:RadioButtonNoFrame.Content>
  47. <Canvas>
  48. <TextBlock Text="{DynamicResource C0172}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  49. <TextBlock x:Name="_houseCCD1" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  50. </Canvas>
  51. </customControl:RadioButtonNoFrame.Content>
  52. </customControl:RadioButtonNoFrame>
  53. <customControl:RadioButtonNoFrame Tag="2" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  54. <customControl:RadioButtonNoFrame.Content>
  55. <Canvas>
  56. <TextBlock Text="{DynamicResource C0173}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  57. <TextBlock x:Name="_houseCCD2" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  58. </Canvas>
  59. </customControl:RadioButtonNoFrame.Content>
  60. </customControl:RadioButtonNoFrame>
  61. <customControl:RadioButtonNoFrame Tag="3" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  62. <customControl:RadioButtonNoFrame.Content>
  63. <Canvas>
  64. <TextBlock Text="{DynamicResource C0174}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  65. <TextBlock x:Name="_houseCCD3" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  66. </Canvas>
  67. </customControl:RadioButtonNoFrame.Content>
  68. </customControl:RadioButtonNoFrame>
  69. <customControl:RadioButtonNoFrame Tag="4" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  70. <customControl:RadioButtonNoFrame.Content>
  71. <Canvas>
  72. <TextBlock Text="{DynamicResource C0175}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  73. <TextBlock x:Name="_houseCCD4" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  74. </Canvas>
  75. </customControl:RadioButtonNoFrame.Content>
  76. </customControl:RadioButtonNoFrame>
  77. <customControl:RadioButtonNoFrame Tag="5" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  78. <customControl:RadioButtonNoFrame.Content>
  79. <Canvas>
  80. <TextBlock Text="{DynamicResource C0176}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  81. <TextBlock x:Name="_houseCCD5" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  82. </Canvas>
  83. </customControl:RadioButtonNoFrame.Content>
  84. </customControl:RadioButtonNoFrame>
  85. <customControl:RadioButtonNoFrame Tag="6" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  86. <customControl:RadioButtonNoFrame.Content>
  87. <Canvas>
  88. <TextBlock Text="{DynamicResource C0177}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  89. <TextBlock x:Name="_houseCCD6" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  90. </Canvas>
  91. </customControl:RadioButtonNoFrame.Content>
  92. </customControl:RadioButtonNoFrame>
  93. <customControl:RadioButtonNoFrame Tag="7" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  94. <customControl:RadioButtonNoFrame.Content>
  95. <Canvas>
  96. <TextBlock Text="{DynamicResource C0178}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  97. <TextBlock x:Name="_houseCCD7" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  98. </Canvas>
  99. </customControl:RadioButtonNoFrame.Content>
  100. </customControl:RadioButtonNoFrame>
  101. <customControl:RadioButtonNoFrame Tag="8" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  102. <customControl:RadioButtonNoFrame.Content>
  103. <Canvas>
  104. <TextBlock Text="{DynamicResource C0179}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  105. <TextBlock x:Name="_houseCCD8" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  106. </Canvas>
  107. </customControl:RadioButtonNoFrame.Content>
  108. </customControl:RadioButtonNoFrame>
  109. <customControl:RadioButtonNoFrame Tag="9" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  110. <customControl:RadioButtonNoFrame.Content>
  111. <Canvas>
  112. <TextBlock Text="{DynamicResource C0180}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  113. <TextBlock x:Name="_houseCCD9" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  114. </Canvas>
  115. </customControl:RadioButtonNoFrame.Content>
  116. </customControl:RadioButtonNoFrame>
  117. <customControl:RadioButtonNoFrame Tag="10" Checked="House_Checked" Margin="10" CornerRadius="50" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepSkyBlue">
  118. <customControl:RadioButtonNoFrame.Content>
  119. <Canvas>
  120. <TextBlock Text="{DynamicResource C0181}" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="30" Canvas.Top="54"/>
  121. <TextBlock x:Name="_houseCCD10" Text="-1" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="100" Canvas.Top="100"/>
  122. </Canvas>
  123. </customControl:RadioButtonNoFrame.Content>
  124. </customControl:RadioButtonNoFrame>
  125. </StackPanel>
  126. <StackPanel Grid.Row="1" x:Name="_ccd_StackPanel" Orientation="Horizontal" HorizontalAlignment="Center">
  127. <customControl:RadioButtonNoFrame Tag="0" Checked="CCD_Checked" Content="CCD0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink" IsChecked="True"/>
  128. <customControl:RadioButtonNoFrame Tag="1" Checked="CCD_Checked" Content="CCD1" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  129. <customControl:RadioButtonNoFrame Tag="2" Checked="CCD_Checked" Content="CCD2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  130. <customControl:RadioButtonNoFrame Tag="3" Checked="CCD_Checked" Content="CCD3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  131. <customControl:RadioButtonNoFrame Tag="4" Checked="CCD_Checked" Content="CCD4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  132. <customControl:RadioButtonNoFrame Tag="5" Checked="CCD_Checked" Content="CCD5" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  133. <customControl:RadioButtonNoFrame Tag="6" Checked="CCD_Checked" Content="CCD6" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  134. <customControl:RadioButtonNoFrame Tag="7" Checked="CCD_Checked" Content="CCD7" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  135. <customControl:RadioButtonNoFrame Tag="8" Checked="CCD_Checked" Content="CCD8" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  136. <customControl:RadioButtonNoFrame Tag="9" Checked="CCD_Checked" Content="CCD9" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Margin="10" CornerRadius="100" BorderThickness="0" Width="150" Height="150" Background="AliceBlue" EnabledBackground="#bdbdbd" CheckBackground="DeepPink"/>
  137. </StackPanel>
  138. <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="70 0 0 0">
  139. <customControl:ButtonCornerRadius x:Name="_startButton" Click="Start_Click" Content="{DynamicResource C0046}" FontSize="24" Margin="0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" />
  140. <customControl:ButtonCornerRadius x:Name="_button1" Visibility="Collapsed" Click="RedE_Click" Content="读E方" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False"/>
  141. <customControl:ButtonCornerRadius x:Name="_button2" Click="RedTem_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False">
  142. <customControl:ButtonCornerRadius.Content>
  143. <TextBlock Text="{DynamicResource C0057}"/>
  144. </customControl:ButtonCornerRadius.Content>
  145. </customControl:ButtonCornerRadius>
  146. <customControl:ButtonCornerRadius x:Name="_button3" Click="RedPre_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False">
  147. <customControl:ButtonCornerRadius.Content>
  148. <TextBlock Text="{DynamicResource C0058}"/>
  149. </customControl:ButtonCornerRadius.Content>
  150. </customControl:ButtonCornerRadius>
  151. <customControl:ButtonCornerRadius x:Name="_button90" IsEnabled="False" Click="Aeration_Click" Content="{DynamicResource C0066}" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  152. <customControl:ButtonCornerRadius x:Name="_button100" IsEnabled="False" Click="Paiqi_Click" Content="{DynamicResource C0302}" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  153. <customControl:ButtonCornerRadius x:Name="_button4" Click="RedDoor_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False">
  154. <customControl:ButtonCornerRadius.Content>
  155. <TextBlock Text="{DynamicResource C0059}"/>
  156. </customControl:ButtonCornerRadius.Content>
  157. </customControl:ButtonCornerRadius>
  158. <customControl:ButtonCornerRadius x:Name="_button5" Click="OpenLed_Click" Content="{DynamicResource C0060}" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False"/>
  159. <customControl:ButtonCornerRadius x:Name="_button6" Click="CloseLed_Click" Content="{DynamicResource C0061}" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False"/>
  160. <customControl:ButtonCornerRadius x:Name="_button7" Click="End_Click" Content="{DynamicResource C0055}" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" IsEnabled="False"/>
  161. </StackPanel>
  162. <StackPanel Grid.Row="3" x:Name="_stackPanel1" Orientation="Horizontal" HorizontalAlignment="Left" IsEnabled="False" Margin="70 20 0 0">
  163. <customControl:ButtonCornerRadius Click="OpenIntake_Click" FontSize="24" Margin="0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  164. <customControl:ButtonCornerRadius.Content>
  165. <TextBlock Text="{DynamicResource C0062}"/>
  166. </customControl:ButtonCornerRadius.Content>
  167. </customControl:ButtonCornerRadius>
  168. <customControl:ButtonCornerRadius Click="CloseIntake_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  169. <customControl:ButtonCornerRadius.Content>
  170. <TextBlock Text="{DynamicResource C0063}"/>
  171. </customControl:ButtonCornerRadius.Content>
  172. </customControl:ButtonCornerRadius>
  173. <customControl:ButtonCornerRadius Click="OpenExhaust_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  174. <customControl:ButtonCornerRadius.Content>
  175. <TextBlock Text="{DynamicResource C0064}"/>
  176. </customControl:ButtonCornerRadius.Content>
  177. </customControl:ButtonCornerRadius>
  178. <customControl:ButtonCornerRadius Click="CloseExhaust_Click" FontSize="24" Margin="20 0 0 0" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  179. <customControl:ButtonCornerRadius.Content>
  180. <TextBlock Text="{DynamicResource C0065}"/>
  181. </customControl:ButtonCornerRadius.Content>
  182. </customControl:ButtonCornerRadius>
  183. <!--<customControl:ButtonCornerRadius Click="Aeration_Click" Content="{DynamicResource C0066}" FontSize="24" Margin="20" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>-->
  184. <TextBox x:Name="_openIntakeTime_TextBox" Text="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Width="100" Height="80" Margin="20 0 0 0"/>
  185. <customControl:ButtonCornerRadius Click="WriteOpenIntakeTime_Click" FontSize="24" Margin="20 0 0 0" Width="230" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  186. <customControl:ButtonCornerRadius.Content>
  187. <TextBlock Text="{DynamicResource C0067}"/>
  188. </customControl:ButtonCornerRadius.Content>
  189. </customControl:ButtonCornerRadius>
  190. <TextBox x:Name="_openVentTime_TextBox" Text="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Width="100" Height="80" Margin="20 0 0 0"/>
  191. <customControl:ButtonCornerRadius Click="WriteOpenVentTime_Click" FontSize="24" Margin="20 0 0 0" Width="230" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  192. <customControl:ButtonCornerRadius.Content>
  193. <TextBlock Text="{DynamicResource C0303}"/>
  194. </customControl:ButtonCornerRadius.Content>
  195. </customControl:ButtonCornerRadius>
  196. <TextBox x:Name="_exposure_TextBox" Text="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Width="100" Height="80" Margin="20 0 0 0"/>
  197. <customControl:ButtonCornerRadius Click="SetExposure_Click" FontSize="24" Margin="20 0 0 0" Width="190" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0">
  198. <customControl:ButtonCornerRadius.Content>
  199. <TextBlock Text="{DynamicResource C0068}"/>
  200. </customControl:ButtonCornerRadius.Content>
  201. </customControl:ButtonCornerRadius>
  202. </StackPanel>
  203. <StackPanel Grid.Row="4" HorizontalAlignment="Center" Margin="0,10,0,20">
  204. <StackPanel Orientation="Horizontal">
  205. <TextBlock FontSize="24">
  206. <Run Text="{DynamicResource C0069}"/><Run Text=":"/>
  207. </TextBlock>
  208. <TextBlock x:Name="_houseName_TextBlock" Text="{Binding CurrentHouse.houseSn}" FontSize="24"/>
  209. <TextBlock FontSize="24" Margin="50 0 0 0">
  210. <Run Text="{DynamicResource C0071}"/><Run Text=":"/>
  211. </TextBlock>
  212. <TextBlock x:Name="_comName_TextBlock" Text="{Binding CurrentHouse.housePort}" FontSize="24"/>
  213. <TextBlock FontSize="24" Margin="50 0 0 0">
  214. <Run Text="{DynamicResource C0072}"/><Run Text=":"/>
  215. </TextBlock>
  216. <TextBlock x:Name="_ccdId_TextBlock" Text="0" FontSize="24"/>
  217. <TextBlock FontSize="24" Margin="50 0 0 0">
  218. <Run Text="{DynamicResource C0076}"/><Run Text=":"/>
  219. </TextBlock>
  220. <TextBlock Text="{Binding CurrentHouse.temperatureLowerHeatingPlate}" FontSize="24"/>
  221. <TextBlock FontSize="24" Margin="50 0 0 0">
  222. <Run Text="{DynamicResource C0077}"/><Run Text=":"/>
  223. </TextBlock>
  224. <TextBlock Text="{Binding DoorState}" FontSize="24"/>
  225. <TextBlock FontSize="24" Margin="50 0 0 0">
  226. <Run Text="{DynamicResource C0078}"/><Run Text=":"/>
  227. </TextBlock>
  228. <TextBlock Text="{Binding LedState}" FontSize="24"/>
  229. </StackPanel>
  230. <StackPanel Orientation="Horizontal">
  231. <TextBlock FontSize="24" Margin="0 0 0 0">
  232. <Run Text="{DynamicResource C0070}"/><Run Text=":"/>
  233. </TextBlock>
  234. <TextBlock x:Name="_ccdExposure_TextBlock" Text="{Binding CurrentHouse.ccdExposure}" FontSize="24"/>
  235. <TextBlock FontSize="24" Margin="50 0 0 0">
  236. <Run Text="{DynamicResource C0182}"/><Run Text=":"/>
  237. </TextBlock>
  238. <TextBlock x:Name="_openIntakeTime_TextBlock" Text="{Binding CurrentHouse.inletValveOpeningTime}" FontSize="24"/>
  239. <TextBlock FontSize="24" Margin="50 0 0 0">
  240. <Run Text="{DynamicResource C0326}"/><Run Text=":"/>
  241. </TextBlock>
  242. <TextBlock Text="{Binding HouseVentTimeE}" FontSize="24"/>
  243. <TextBlock FontSize="24" Margin="50 0 0 0">
  244. <Run Text="{DynamicResource C0073}"/><Run Text=":"/>
  245. </TextBlock>
  246. <TextBlock x:Name="_tem_TextBlock" Text="{Binding Temperature}" FontSize="24"/>
  247. <TextBlock FontSize="24" Margin="50 0 0 0">
  248. <Run Text="{DynamicResource C0074}"/><Run Text=":"/>
  249. </TextBlock>
  250. <TextBlock x:Name="_pre_TextBlock" Text="{Binding Pressure}" FontSize="24"/>
  251. <TextBlock FontSize="24" Margin="50 0 0 0">
  252. <Run Text="{DynamicResource C0075}"/><Run Text=":"/>
  253. </TextBlock>
  254. <TextBlock Text="{Binding tLSetting.tlSn}" FontSize="24"/>
  255. </StackPanel>
  256. </StackPanel>
  257. <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Center" >
  258. <!--<Rectangle Visibility="Hidden" Fill="Black" Width="800" Height="600"/>-->
  259. <Border Width="800" Height="600" BorderBrush="Black" BorderThickness="1"/>
  260. <StackPanel x:Name="_stackPanel2" VerticalAlignment="Center" Margin="150 0 0 0" IsEnabled="False">
  261. <customControl:ButtonCornerRadius Click="OpenVideo_Click" Content="{DynamicResource C0079}" FontSize="24" Margin="0 0 0 100" Width="218" Height="250" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  262. <customControl:ButtonCornerRadius Click="CloseVideo_Click" Content="{DynamicResource C0080}" FontSize="24" Width="218" Height="250" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  263. </StackPanel>
  264. </StackPanel>
  265. <StackPanel Grid.Row="6" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 20 0 10">
  266. <TextBlock HorizontalAlignment="Right" FontSize="24" VerticalAlignment="Center">
  267. <Run Text="{DynamicResource C0081}"/><Run Text=":"/>
  268. </TextBlock>
  269. <TextBlock x:Name="_well_TextBlock" Width="100" HorizontalAlignment="Center" Text="" FontSize="24" VerticalAlignment="Center" />
  270. <TextBlock FontSize="24">
  271. <Run Text="{DynamicResource C0082}"/><Run Text=":"/>
  272. </TextBlock>
  273. <TextBlock x:Name="_eepromPosition" Width="85" Text="" FontSize="24"/>
  274. <TextBlock FontSize="24" Margin="50 0 0 0">
  275. <Run Text="{DynamicResource C0083}"/><Run Text=":"/>
  276. </TextBlock>
  277. <TextBlock x:Name="_autoFocus" Width="85" Text="" FontSize="24"/>
  278. <TextBlock FontSize="24" Margin="50 0 0 0">
  279. <Run Text="{DynamicResource C0084}"/><Run Text=":"/>
  280. </TextBlock>
  281. <TextBlock x:Name="_ccdOne" Width="85" Text="" FontSize="24"/>
  282. <TextBlock FontSize="24">
  283. <Run Text="{DynamicResource C0085}"/><Run Text=":"/>
  284. </TextBlock>
  285. <TextBlock Width="85" Text="{Binding CurrentHouse.verticalMotorSpacePulse}" FontSize="24"/>
  286. </StackPanel>
  287. <StackPanel Grid.Row="7" x:Name="_stackPanel3" Orientation="Horizontal" HorizontalAlignment="Center" IsEnabled="False">
  288. <Border Width="140" Height="312" Background="#d7d7d7" BorderThickness="0" CornerRadius="20">
  289. <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
  290. <TextBlock Text="{DynamicResource C0086}" FontSize="24"/>
  291. <TextBlock HorizontalAlignment="Center" Text="{Binding CurrentWell}" FontSize="24" Margin="0 100 0 0"/>
  292. </StackPanel>
  293. </Border>
  294. <StackPanel Margin="20 0 0 0">
  295. <StackPanel Orientation="Horizontal">
  296. </StackPanel>
  297. <StackPanel Orientation="Horizontal">
  298. <TextBlock Width="200" HorizontalAlignment="Right" Text="{DynamicResource C0087}" FontSize="24" VerticalAlignment="Center"/>
  299. <TextBlock Width="100" HorizontalAlignment="Center" Text="{Binding CurrentHor}" FontSize="24" VerticalAlignment="Center" />
  300. <customControl:ButtonCornerRadius Click="HorizontalMotorReset_Click" Content="{DynamicResource C0096}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  301. <customControl:ButtonCornerRadius Click="SaveWellHorizontalMotor_Click" Content="{DynamicResource C0098}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  302. </StackPanel>
  303. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  304. <TextBlock Width="200" VerticalAlignment="Center" Text="{DynamicResource C0088}" FontSize="24" />
  305. <TextBox x:Name="_horizontalMotorForward_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  306. <customControl:ButtonCornerRadius Click="HorizontalMotorForward_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  307. </StackPanel>
  308. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  309. <TextBlock Width="200" VerticalAlignment="Center" Text="{DynamicResource C0089}" FontSize="24" />
  310. <TextBox x:Name="_horizontalMotorBackward_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  311. <customControl:ButtonCornerRadius Click="HorizontalMotorBackward_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  312. </StackPanel>
  313. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  314. <TextBlock Width="185" VerticalAlignment="Center" TextAlignment="Right" Text="{DynamicResource C0090}" FontSize="24" Margin="0 0 15 0"/>
  315. <TextBox x:Name="_horizontalMotorToWell_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  316. <customControl:ButtonCornerRadius Click="HorizontalMotorToWell_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  317. <customControl:ButtonCornerRadius Click="HorizontalMotorNextWell_Click" Content="{DynamicResource C0099}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  318. </StackPanel>
  319. </StackPanel>
  320. <Border Margin="100 0 0 0" Width="120" Height="312" Background="#d7d7d7" BorderThickness="0" CornerRadius="20">
  321. <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
  322. <TextBlock Text="{DynamicResource C0100}" FontSize="24"/>
  323. <TextBlock Text="{Binding CurrentFocal}" HorizontalAlignment="Center" FontSize="24" Margin="0 100 0 0"/>
  324. </StackPanel>
  325. </Border>
  326. <StackPanel Margin="20 0 0 0">
  327. <StackPanel Orientation="Horizontal">
  328. <TextBlock Width="200" HorizontalAlignment="Right" Text="{DynamicResource C0101}" FontSize="24" VerticalAlignment="Center"/>
  329. <TextBlock Width="100" HorizontalAlignment="Center" Text="{Binding CurrentVer}" FontSize="24" VerticalAlignment="Center" />
  330. <customControl:ButtonCornerRadius Click="VerticalMotorResetWait_Click" Content="{DynamicResource C0096}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  331. </StackPanel>
  332. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  333. <TextBlock Width="200" VerticalAlignment="Center" Text="{DynamicResource C0102}" FontSize="24" />
  334. <TextBox x:Name="_verticalMotorForward_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  335. <customControl:ButtonCornerRadius Click="VerticalMotorForward_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  336. <customControl:ButtonCornerRadius Click="SaveVerSpacePulse_Click" Content="{DynamicResource C0105}" FontSize="16" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  337. </StackPanel>
  338. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  339. <TextBlock Width="200" VerticalAlignment="Center" Text="{DynamicResource C0103}" FontSize="24" />
  340. <TextBox x:Name="_verticalMotorBackward_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  341. <customControl:ButtonCornerRadius Click="VerticalMotorBackward_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  342. </StackPanel>
  343. <StackPanel Orientation="Horizontal" Margin="0 20 0 0">
  344. <TextBlock Width="185" TextAlignment="Right" VerticalAlignment="Center" Text="{DynamicResource C0104}" FontSize="24" Margin="0 0 15 0"/>
  345. <TextBox x:Name="_verticalMotorAbsolute_TextBox" Width="100" VerticalContentAlignment="Center" Text="" FontSize="24" />
  346. <customControl:ButtonCornerRadius Click="VerticalMotorAbsolute_Click" Content="{DynamicResource C0097}" FontSize="24" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  347. <customControl:ButtonCornerRadius Click="SaveAutoFocus_Click" Content="{DynamicResource C0106}" FontSize="15" Width="150" Height="70" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="20 0 0 0"/>
  348. </StackPanel>
  349. </StackPanel>
  350. </StackPanel>
  351. <StackPanel Grid.Row="8" x:Name="_stackPanel4" Orientation="Horizontal" HorizontalAlignment="Center" IsEnabled="False">
  352. <customControl:ButtonCornerRadius Content="{DynamicResource C0091}" Click="Clear_Click" FontSize="24" Margin="20" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  353. <customControl:ButtonCornerRadius Content="{DynamicResource C0092}" Click="Motor_Click" FontSize="24" Margin="20" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  354. <customControl:ButtonCornerRadius Content="{DynamicResource C0093}" Click="GetPic_Click" FontSize="24" Margin="20" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  355. <customControl:ButtonCornerRadius Content="{DynamicResource C0094}" Click="ShuiPingPic_Click" FontSize="24" Margin="20" Width="200" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  356. <customControl:ButtonCornerRadius Content="{DynamicResource C0095}" Click="EndPic_Click" FontSize="24" Margin="20" Width="150" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  357. <TextBox x:Name="_autoFocusNum_TextBox" TextChanged="_autoFocusNum_TextBox_TextChanged" Background="{StaticResource HelpBrush2}" Text="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Width="200" Height="80" Margin="30 0 0 0"/>
  358. <TextBox x:Name="_autoFocus_TextBox" TextChanged="_autoFocus_TextBox_TextChanged" Background="{StaticResource HelpBrush3}" Text="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="24" Width="200" Height="80" Margin="30 0 0 0"/>
  359. <customControl:ButtonCornerRadius x:Name="_auto_Button" Click="AutoFocus_Click" Content="{DynamicResource C0107}" FontSize="24" Margin="20" Width="250" Height="100" CornerRadius="20" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  360. <!-- M2-05 场景A 一键全自动标定(沙盒):选中 well 逐个跑四步标定,合格绿/伪峰红,结果存档 scene=0 + calibration.json。 -->
  361. <customControl:ButtonCornerRadius x:Name="_oneClickCalib_Button" Click="OneClickCalibrate_Click" Content="一键标定" FontSize="24" Margin="20" Width="200" Height="100" CornerRadius="20" Background="#7DB5D8" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  362. <customControl:ButtonCornerRadius x:Name="_stopCalib_Button" Click="StopCalibrate_Click" Content="中止标定" FontSize="24" Margin="20" Width="200" Height="100" CornerRadius="20" Background="#D8907D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  363. </StackPanel>
  364. <Grid Grid.Row="9" Margin="50 0 50 0">
  365. <Grid.ColumnDefinitions>
  366. <ColumnDefinition/>
  367. <ColumnDefinition Width="700"/>
  368. </Grid.ColumnDefinitions>
  369. <ListBox Grid.Column="0" x:Name="_messageList" ItemsSource="{Binding MessageInfoList}" Height="300" FontSize="24"/>
  370. <!-- M2-05 16 well 实时标定结果(4x4):合格(IsQualified)绿、伪峰/失败红、待标定/标定中中性。 -->
  371. <ItemsControl Grid.Column="1" ItemsSource="{Binding CalibResults}" Margin="20 0 0 0" Height="300">
  372. <ItemsControl.ItemsPanel>
  373. <ItemsPanelTemplate>
  374. <UniformGrid Columns="4" Rows="4"/>
  375. </ItemsPanelTemplate>
  376. </ItemsControl.ItemsPanel>
  377. <ItemsControl.ItemTemplate>
  378. <DataTemplate>
  379. <Border Margin="4" CornerRadius="8" BorderThickness="1" BorderBrush="#DDD">
  380. <Border.Style>
  381. <Style TargetType="Border">
  382. <Setter Property="Background" Value="#EEEEEE"/>
  383. <Style.Triggers>
  384. <DataTrigger Binding="{Binding State}" Value="Running">
  385. <Setter Property="Background" Value="#FFF3CD"/>
  386. </DataTrigger>
  387. <DataTrigger Binding="{Binding State}" Value="Qualified">
  388. <Setter Property="Background" Value="#7ED27E"/>
  389. </DataTrigger>
  390. <DataTrigger Binding="{Binding State}" Value="FakePeak">
  391. <Setter Property="Background" Value="#E57373"/>
  392. </DataTrigger>
  393. <DataTrigger Binding="{Binding State}" Value="Failed">
  394. <Setter Property="Background" Value="#E57373"/>
  395. </DataTrigger>
  396. </Style.Triggers>
  397. </Style>
  398. </Border.Style>
  399. <StackPanel Margin="6">
  400. <TextBlock Text="{Binding Well, StringFormat=well{0}}" FontSize="20" FontWeight="Bold"/>
  401. <TextBlock Text="{Binding FocusZ, StringFormat='Z={0}'}" FontSize="16"/>
  402. <TextBlock Text="{Binding PeakRatio, StringFormat='峰比={0:F2}'}" FontSize="16"/>
  403. <TextBlock Text="{Binding CenterOffsetPct, StringFormat='偏移={0:F1}%'}" FontSize="16"/>
  404. </StackPanel>
  405. </Border>
  406. </DataTemplate>
  407. </ItemsControl.ItemTemplate>
  408. </ItemsControl>
  409. </Grid>
  410. <!-- M2-07 对焦后手动微调拍摄层(层数/层间距/下移)持久化 well 级。
  411. 紧邻标定结果区:选定 well→载入当前生效值(well覆盖优先,空显示继承设备级占位)→编辑→
  412. 实时预览各层绝对Z(调 M2-02 ComputeLayerPositions, 锚点取标定FocusZ)→存为该 well 默认(写 house_well_setting well级覆盖)。
  413. 校验:层数≥1/间距>0/下移≥0且<层数;留空=继承设备级(写 null)。 -->
  414. <Grid Grid.Row="10" Margin="50 10 50 0">
  415. <Grid.ColumnDefinitions>
  416. <ColumnDefinition Width="auto"/>
  417. <ColumnDefinition Width="320"/>
  418. </Grid.ColumnDefinitions>
  419. <StackPanel Grid.Column="0" Orientation="Vertical">
  420. <TextBlock Text="对焦后手调拍摄层(实际拍摄范围,留空继承设备级)" FontSize="22" FontWeight="Bold" Margin="0 0 0 8"/>
  421. <StackPanel Orientation="Horizontal" Margin="0 4">
  422. <TextBlock Text="well" FontSize="22" VerticalAlignment="Center"/>
  423. <TextBox x:Name="_manualTuneWell_TextBox" Text="{Binding ManualTuneWell, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="80" FontSize="22" VerticalContentAlignment="Center" Margin="8 0"/>
  424. <customControl:ButtonCornerRadius x:Name="_loadManualTune_Button" Click="LoadManualTune_Click" Content="载入当前值" FontSize="20" Width="160" Height="60" CornerRadius="12" Background="#7DB5D8" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="8 0"/>
  425. </StackPanel>
  426. <StackPanel Orientation="Horizontal" Margin="0 4">
  427. <TextBlock Text="层数" FontSize="22" VerticalAlignment="Center"/>
  428. <TextBox x:Name="_manualLayerCount_TextBox" Text="{Binding ManualLayerCount, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="120" FontSize="22" VerticalContentAlignment="Center" Margin="8 0"/>
  429. <TextBlock Text="层间距(脉冲)" FontSize="22" VerticalAlignment="Center" Margin="16 0 0 0"/>
  430. <TextBox x:Name="_manualLayerSpacing_TextBox" Text="{Binding ManualLayerSpacing, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="120" FontSize="22" VerticalContentAlignment="Center" Margin="8 0"/>
  431. <TextBlock Text="下移层数" FontSize="22" VerticalAlignment="Center" Margin="16 0 0 0"/>
  432. <TextBox x:Name="_manualMoveDown_TextBox" Text="{Binding ManualMoveDown, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="120" FontSize="22" VerticalContentAlignment="Center" Margin="8 0"/>
  433. </StackPanel>
  434. <StackPanel Orientation="Horizontal" Margin="0 8">
  435. <customControl:ButtonCornerRadius x:Name="_previewManualTune_Button" Click="PreviewManualTune_Click" Content="预览各层位置" FontSize="20" Width="200" Height="70" CornerRadius="12" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0" Margin="0 0 16 0"/>
  436. <customControl:ButtonCornerRadius x:Name="_saveManualTune_Button" Click="SaveManualTune_Click" Content="存为该well默认" FontSize="20" Width="220" Height="70" CornerRadius="12" Background="#BFD87D" EnabledBackground="#bdbdbd" BorderThickness="0"/>
  437. </StackPanel>
  438. </StackPanel>
  439. <!-- 实时预览各层 Z 位置(清晰层 IsFocusLayer 高亮绿) -->
  440. <ListBox Grid.Column="1" ItemsSource="{Binding LayerPreview}" Margin="20 0 0 0" Height="240" FontSize="20">
  441. <ListBox.ItemTemplate>
  442. <DataTemplate>
  443. <Border CornerRadius="6" Padding="6 2" Margin="0 1">
  444. <Border.Style>
  445. <Style TargetType="Border">
  446. <Setter Property="Background" Value="Transparent"/>
  447. <Style.Triggers>
  448. <DataTrigger Binding="{Binding IsFocusLayer}" Value="True">
  449. <Setter Property="Background" Value="#7ED27E"/>
  450. </DataTrigger>
  451. </Style.Triggers>
  452. </Style>
  453. </Border.Style>
  454. <TextBlock>
  455. <Run Text="{Binding LayerIndex, StringFormat=第{0}层, Mode=OneWay}"/>
  456. <Run Text=" Z="/>
  457. <Run Text="{Binding ZPulse, Mode=OneWay}"/>
  458. </TextBlock>
  459. </Border>
  460. </DataTemplate>
  461. </ListBox.ItemTemplate>
  462. </ListBox>
  463. </Grid>
  464. </Grid>
  465. <ScrollViewer Grid.Row="2" PanningMode="Both" Margin="30 0 50 0">
  466. <WrapPanel x:Name="_warpPanelPictures" >
  467. <!--<Canvas Margin="20 5 20 0" Width="300" Height="330">
  468. <Border Width="300" Height="300" Background="Red"/>
  469. <TextBlock Margin="0 2 0 0" Canvas.Left="80" Canvas.Top="302" FontSize="22" Text="well1-15"/>
  470. </Canvas>-->
  471. </WrapPanel>
  472. </ScrollViewer>
  473. </Grid>
  474. </UserControl>