OtherSettingWindow.xaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <UserControl
  2. x:Class="SHJX.Service.Shell.Views.Setting.OtherSettingWindow"
  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.Shell.Views.Setting"
  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="740"
  11. d:DesignWidth="800"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d">
  14. <Grid>
  15. <Grid.RowDefinitions>
  16. <RowDefinition />
  17. <RowDefinition Height="1.4*" />
  18. <RowDefinition />
  19. <RowDefinition />
  20. <RowDefinition />
  21. <RowDefinition />
  22. <RowDefinition Height="2.5*" />
  23. </Grid.RowDefinitions>
  24. <Grid
  25. Grid.Row="0"
  26. HorizontalAlignment="Center"
  27. VerticalAlignment="Center">
  28. <GroupBox
  29. Grid.Row="3"
  30. Width="700"
  31. Height="80"
  32. Margin="0,5,0,5"
  33. HorizontalAlignment="Center"
  34. VerticalAlignment="Center"
  35. pu:GroupBoxHelper.CornerRadius="8"
  36. pu:GroupBoxHelper.IsSplitLineVisible="True"
  37. pu:GroupBoxHelper.ShadowColor="LightGray"
  38. Header="模板路径">
  39. <StackPanel Orientation="Horizontal">
  40. <TextBlock
  41. Height="30"
  42. MinWidth="0"
  43. Margin="0,10,0,0"
  44. HorizontalAlignment="Center"
  45. VerticalAlignment="Center"
  46. Background="Transparent"
  47. Foreground="Black"
  48. Text="{Binding TemplateFilePath}"
  49. ToolTip="{Binding TemplatePath}" />
  50. <Button
  51. Width="80"
  52. Height="25"
  53. Margin="10,0"
  54. HorizontalAlignment="Center"
  55. VerticalAlignment="Center"
  56. pu:ButtonHelper.ButtonStyle="Hollow"
  57. pu:ButtonHelper.CornerRadius="8"
  58. pu:ButtonHelper.HoverBrush="#929FDE"
  59. Background="#6452A4"
  60. BorderBrush="#6452A4"
  61. Command="{Binding OptTemplatePathCommand}"
  62. Content="选择目录"
  63. Cursor="Hand"
  64. FontFamily="{StaticResource FontAwesome}"
  65. Foreground="#FFF" />
  66. </StackPanel>
  67. </GroupBox>
  68. </Grid>
  69. <Grid
  70. Grid.Row="1"
  71. HorizontalAlignment="Center"
  72. VerticalAlignment="Center">
  73. <GroupBox
  74. Grid.Row="3"
  75. Width="700"
  76. Height="120"
  77. Margin="0,5,0,5"
  78. HorizontalAlignment="Center"
  79. VerticalAlignment="Center"
  80. pu:GroupBoxHelper.CornerRadius="8"
  81. pu:GroupBoxHelper.IsSplitLineVisible="True"
  82. pu:GroupBoxHelper.ShadowColor="LightGray"
  83. Header="导出结果">
  84. <Grid>
  85. <Grid.RowDefinitions>
  86. <RowDefinition />
  87. <RowDefinition />
  88. </Grid.RowDefinitions>
  89. <StackPanel Orientation="Horizontal">
  90. <RadioButton
  91. pu:RadioButtonHelper.CheckedBackground="#6452A4"
  92. Content="Excel"
  93. GroupName="exportType"
  94. IsChecked="{Binding ExportTypeByExcel}" />
  95. <RadioButton
  96. Margin="10,0,0,0"
  97. pu:RadioButtonHelper.CheckedBackground="#6452A4"
  98. Content="Word"
  99. GroupName="exportType"
  100. IsChecked="{Binding ExportTypeByWord}" />
  101. </StackPanel>
  102. <StackPanel Grid.Row="1" Orientation="Horizontal">
  103. <TextBlock
  104. Height="30"
  105. MinWidth="0"
  106. Margin="0,10,0,0"
  107. HorizontalAlignment="Center"
  108. VerticalAlignment="Center"
  109. Background="Transparent"
  110. Foreground="Black"
  111. Text="{Binding SampleResultFilePath}"
  112. ToolTip="{Binding ResultPath}" />
  113. <Button
  114. Width="80"
  115. Height="25"
  116. Margin="10,0"
  117. HorizontalAlignment="Center"
  118. VerticalAlignment="Center"
  119. pu:ButtonHelper.ButtonStyle="Hollow"
  120. pu:ButtonHelper.CornerRadius="8"
  121. pu:ButtonHelper.HoverBrush="#929FDE"
  122. Background="#6452A4"
  123. BorderBrush="#6452A4"
  124. Command="{Binding OptSampleResultPathCommand}"
  125. Content="选择目录"
  126. Cursor="Hand"
  127. FontFamily="{StaticResource FontAwesome}"
  128. Foreground="#FFF" />
  129. </StackPanel>
  130. </Grid>
  131. </GroupBox>
  132. </Grid>
  133. <Grid
  134. Grid.Row="2"
  135. HorizontalAlignment="Center"
  136. VerticalAlignment="Center">
  137. <GroupBox
  138. Grid.Row="3"
  139. Width="700"
  140. Height="80"
  141. Margin="0,5,0,5"
  142. HorizontalAlignment="Center"
  143. VerticalAlignment="Center"
  144. pu:GroupBoxHelper.CornerRadius="8"
  145. pu:GroupBoxHelper.IsSplitLineVisible="True"
  146. pu:GroupBoxHelper.ShadowColor="LightGray"
  147. Header="启停设置">
  148. <StackPanel Orientation="Horizontal">
  149. <CheckBox
  150. x:Name="cb_send"
  151. Height="25"
  152. HorizontalAlignment="Center"
  153. pu:CheckBoxHelper.BoxHeight="16"
  154. pu:CheckBoxHelper.BoxWidth="24"
  155. pu:CheckBoxHelper.CheckBoxStyle="Switch"
  156. pu:CheckBoxHelper.CheckedBackground="#6452A4"
  157. Content="空闲时自动吸液"
  158. Cursor="Hand"
  159. FontSize="12"
  160. IsChecked="{Binding AutomaticInLiquid}" />
  161. </StackPanel>
  162. </GroupBox>
  163. </Grid>
  164. <!--<Grid
  165. Grid.Row="3"
  166. HorizontalAlignment="Center"
  167. VerticalAlignment="Center">
  168. <GroupBox
  169. Grid.Row="3"
  170. Width="700"
  171. Height="80"
  172. Margin="0,5,0,5"
  173. HorizontalAlignment="Center"
  174. VerticalAlignment="Center"
  175. pu:GroupBoxHelper.CornerRadius="8"
  176. pu:GroupBoxHelper.IsSplitLineVisible="True"
  177. pu:GroupBoxHelper.ShadowColor="LightGray"
  178. Header="温湿度设置">
  179. <StackPanel Orientation="Horizontal">
  180. <TextBlock VerticalAlignment="Center" Text="温度:" />
  181. <TextBox
  182. Width="80"
  183. Height="25"
  184. pu:TextBoxHelper.CornerRadius="10"
  185. pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
  186. pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
  187. Cursor="IBeam"
  188. Text="{Binding ManualTemperature}" />
  189. <TextBlock VerticalAlignment="Center" Text="湿度:" />
  190. <TextBox
  191. Width="80"
  192. Height="25"
  193. pu:TextBoxHelper.CornerRadius="10"
  194. pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
  195. pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
  196. Cursor="IBeam"
  197. Text="{Binding ManualHumidity}" />
  198. <Button
  199. Width="60"
  200. Height="25"
  201. Margin="10,0,0,0"
  202. pu:ButtonHelper.ButtonStyle="Hollow"
  203. pu:ButtonHelper.CornerRadius="8"
  204. pu:ButtonHelper.HoverBrush="#929FDE"
  205. Background="#6452A4"
  206. BorderBrush="#6452A4"
  207. Command="{Binding ManualSetTemperatureCommand}"
  208. Content="设置"
  209. Foreground="#FFF" />
  210. </StackPanel>
  211. </GroupBox>
  212. </Grid>-->
  213. <Grid
  214. Grid.Row="3"
  215. HorizontalAlignment="Center"
  216. VerticalAlignment="Center">
  217. <GroupBox
  218. Grid.Row="3"
  219. Width="700"
  220. Height="80"
  221. Margin="0,5,0,5"
  222. HorizontalAlignment="Center"
  223. VerticalAlignment="Center"
  224. pu:GroupBoxHelper.CornerRadius="8"
  225. pu:GroupBoxHelper.IsSplitLineVisible="True"
  226. pu:GroupBoxHelper.ShadowColor="LightGray"
  227. Header="任务结束后降温温度">
  228. <StackPanel Orientation="Horizontal">
  229. <TextBlock VerticalAlignment="Center" Text="温度:" />
  230. <TextBox
  231. Width="80"
  232. Height="25"
  233. pu:TextBoxHelper.CornerRadius="10"
  234. pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
  235. pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
  236. Cursor="IBeam"
  237. Text="{Binding FinishTemprature}" />
  238. </StackPanel>
  239. </GroupBox>
  240. </Grid>
  241. <Grid
  242. Grid.Row="4"
  243. HorizontalAlignment="Center"
  244. VerticalAlignment="Center">
  245. <GroupBox
  246. Grid.Row="3"
  247. Width="700"
  248. Height="80"
  249. Margin="0,5,0,5"
  250. HorizontalAlignment="Center"
  251. VerticalAlignment="Center"
  252. pu:GroupBoxHelper.CornerRadius="8"
  253. pu:GroupBoxHelper.IsSplitLineVisible="True"
  254. pu:GroupBoxHelper.ShadowColor="LightGray"
  255. Header="抓手设置">
  256. <StackPanel Orientation="Horizontal">
  257. <CheckBox
  258. Width="120"
  259. Height="25"
  260. pu:CheckBoxHelper.BoxHeight="20"
  261. pu:CheckBoxHelper.CheckBoxStyle="Switch"
  262. pu:CheckBoxHelper.CheckedBackground="#6452A4"
  263. Content="抓手反馈"
  264. Cursor="Hand"
  265. IsChecked="{Binding TongsFeedbackValue}" />
  266. </StackPanel>
  267. </GroupBox>
  268. </Grid>
  269. </Grid>
  270. </UserControl>