TLSettingModel.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ivf_tl_Entity.DebugEntitys
  8. {
  9. public class TLSettingModel: ObservableValidator
  10. {
  11. private int _aerationDelay;
  12. /// <summary>
  13. /// 气压参数设置:补气后等待检测时间 /s
  14. /// </summary>
  15. public int aerationDelay
  16. {
  17. get => _aerationDelay;
  18. set => SetProperty(ref _aerationDelay, value);
  19. }
  20. private int _airSwapFrequency;
  21. /// <summary>
  22. /// 气压参数设置:换气间隔时间 /min
  23. /// </summary>
  24. public int airSwapFrequency
  25. {
  26. get => _airSwapFrequency;
  27. set => SetProperty(ref _airSwapFrequency, value);
  28. }
  29. private int _airSwapTime;
  30. /// <summary>
  31. /// 气压参数设置:换气次数
  32. /// </summary>
  33. public int airSwapTime
  34. {
  35. get => _airSwapTime;
  36. set => SetProperty(ref _airSwapTime, value);
  37. }
  38. private int _bufferBottlerAerationNum;
  39. /// <summary>
  40. /// 气压参数设置:缓冲瓶补气次数
  41. /// </summary>
  42. public int bufferBottlerAerationNum
  43. {
  44. get => _bufferBottlerAerationNum;
  45. set => SetProperty(ref _bufferBottlerAerationNum, value);
  46. }
  47. private int _bufferBottlerPressureMax;
  48. /// <summary>
  49. /// 缓冲瓶报警设置:缓冲瓶气压上限
  50. /// </summary>
  51. public int bufferBottlerPressureMax
  52. {
  53. get => _bufferBottlerPressureMax;
  54. set => SetProperty(ref _bufferBottlerPressureMax, value);
  55. }
  56. private int _bufferBottlerPressureMin;
  57. /// <summary>
  58. /// 缓冲瓶报警设置:缓冲瓶气压下限
  59. /// </summary>
  60. public int bufferBottlerPressureMin
  61. {
  62. get => _bufferBottlerPressureMin;
  63. set => SetProperty(ref _bufferBottlerPressureMin, value);
  64. }
  65. /// <summary>
  66. /// 温压显示阈值 / (默认0.5)
  67. /// </summary>
  68. public decimal chartThreshold { get; set; }
  69. private int _compositeVideo;
  70. /// <summary>
  71. /// 合成视频: 0不合成 1合成
  72. /// </summary>
  73. public int compositeVideo
  74. {
  75. get => _compositeVideo;
  76. set => SetProperty(ref _compositeVideo, value);
  77. }
  78. /// <summary>
  79. /// 下次安装heap时间
  80. /// </summary>
  81. public string heapDate { get; set; }
  82. private int _houseAerationNum;
  83. /// <summary>
  84. /// 气压参数设置:舱室补气次数
  85. /// </summary>
  86. public int houseAerationNum
  87. {
  88. get => _houseAerationNum;
  89. set => SetProperty(ref _houseAerationNum, value);
  90. }
  91. private int _houseDoorAlarmTime;
  92. /// <summary>
  93. /// 舱门超时报警秒数 / (默认60秒)
  94. /// </summary>
  95. public int houseDoorAlarmTime
  96. {
  97. get => _houseDoorAlarmTime;
  98. set => SetProperty(ref _houseDoorAlarmTime, value);
  99. }
  100. public long id { get; set; }
  101. /// <summary>
  102. /// 下次保养时间
  103. /// </summary>
  104. public string keepDate { get; set; }
  105. private int _mattingAlarmTimes;
  106. /// <summary>
  107. /// 抠图失败报警次数 / (默认2次)
  108. /// </summary>
  109. public int mattingAlarmTimes
  110. {
  111. get => _mattingAlarmTimes;
  112. set => SetProperty(ref _mattingAlarmTimes, value);
  113. }
  114. private int _motorDelay;
  115. /// <summary>
  116. /// 电机运动设置:电机到位延时 /ms
  117. /// </summary>
  118. public int motorDelay
  119. {
  120. get => _motorDelay;
  121. set => SetProperty(ref _motorDelay, value);
  122. }
  123. /// <summary>
  124. /// 气压参数设置:是否开启新版换气 0 关闭 1开启
  125. /// </summary>
  126. public int newAirSwap { get; set; }
  127. private int _photoIntervalPerRound;
  128. /// <summary>
  129. /// 相机拍照设置:每轮拍照间隔
  130. /// </summary>
  131. public int photoIntervalPerRound
  132. {
  133. get => _photoIntervalPerRound;
  134. set => SetProperty(ref _photoIntervalPerRound, value);
  135. }
  136. private decimal _pressureAlarmMax;
  137. /// <summary>
  138. /// 舱室气压报警设置:压力报警上限值
  139. /// </summary>
  140. public decimal pressureAlarmMax
  141. {
  142. get => _pressureAlarmMax;
  143. set => SetProperty(ref _pressureAlarmMax, value);
  144. }
  145. private decimal _pressureAlarmMin;
  146. /// <summary>
  147. /// 舱室气压报警设置:压力报警下限值
  148. /// </summary>
  149. public decimal pressureAlarmMin
  150. {
  151. get => _pressureAlarmMin;
  152. set => SetProperty(ref _pressureAlarmMin, value);
  153. }
  154. private int _pressureAlarmTime;
  155. /// <summary>
  156. /// 气压报警秒数 / (默认60秒)
  157. /// </summary>
  158. public int pressureAlarmTime
  159. {
  160. get => _pressureAlarmTime;
  161. set => SetProperty(ref _pressureAlarmTime, value);
  162. }
  163. private int _saveSourcePicture;
  164. /// <summary>
  165. /// 保存原图: 0不保存 1保存
  166. /// </summary>
  167. public int saveSourcePicture
  168. {
  169. get => _saveSourcePicture;
  170. set => SetProperty(ref _saveSourcePicture, value);
  171. }
  172. private int _saveTargetPicture;
  173. /// <summary>
  174. /// 保存抠图 0 不保存 1 保存
  175. /// </summary>
  176. public int saveTargetPicture
  177. {
  178. get => _saveTargetPicture;
  179. set => SetProperty(ref _saveTargetPicture, value);
  180. }
  181. private decimal _temperatureAlarmMax;
  182. /// <summary>
  183. /// 舱室温度报警设置:温度报警上限值
  184. /// </summary>
  185. public decimal temperatureAlarmMax
  186. {
  187. get => _temperatureAlarmMax;
  188. set => SetProperty(ref _temperatureAlarmMax, value);
  189. }
  190. private decimal _temperatureAlarmMin;
  191. /// <summary>
  192. /// 舱室温度报警设置:温度报警下限值
  193. /// </summary>
  194. public decimal temperatureAlarmMin
  195. {
  196. get => _temperatureAlarmMin;
  197. set => SetProperty(ref _temperatureAlarmMin, value);
  198. }
  199. private int _temperatureAlarmTime;
  200. /// <summary>
  201. /// 温度报警秒数 / (默认180秒)
  202. /// </summary>
  203. public int temperatureAlarmTime
  204. {
  205. get => _temperatureAlarmTime;
  206. set => SetProperty(ref _temperatureAlarmTime, value);
  207. }
  208. /// <summary>
  209. /// 设备编号
  210. /// </summary>
  211. public string tlSn { get; set; }
  212. private int _valueDelay;
  213. /// <summary>
  214. /// 气压参数设置:气阀到位延时 /ms
  215. /// </summary>
  216. public int valueDelay
  217. {
  218. get => _valueDelay;
  219. set => SetProperty(ref _valueDelay, value);
  220. }
  221. private int _ventilationDelay;
  222. /// <summary>
  223. /// 气压参数设置:换气打开排气阀时间 /s
  224. /// </summary>
  225. public int ventilationDelay
  226. {
  227. get => _ventilationDelay;
  228. set => SetProperty(ref _ventilationDelay, value);
  229. }
  230. private int _verticalMotorPulseMax;
  231. /// <summary>
  232. /// 电机运动设置:垂直电机运动上限脉冲数
  233. /// </summary>
  234. public int verticalMotorPulseMax
  235. {
  236. get => _verticalMotorPulseMax;
  237. set => SetProperty(ref _verticalMotorPulseMax, value);
  238. }
  239. private int _diskMinSpace;
  240. /// <summary>
  241. /// 磁盘最小空间 / (默认10g
  242. /// </summary>
  243. public int diskMinSpace
  244. {
  245. get => _diskMinSpace;
  246. set => SetProperty(ref _diskMinSpace, value);
  247. }
  248. private int _cleanAutofocusData;
  249. /// <summary>
  250. /// 对焦图片清理时间
  251. /// </summary>
  252. public int cleanAutofocusData
  253. {
  254. get => _cleanAutofocusData;
  255. set => SetProperty(ref _cleanAutofocusData, value);
  256. }
  257. private int _cleanSourceData;
  258. /// <summary>
  259. /// 源图清理时间
  260. /// </summary>
  261. public int cleanSourceData
  262. {
  263. get => _cleanSourceData;
  264. set => SetProperty(ref _cleanSourceData, value);
  265. }
  266. private int _cleanControlData;
  267. /// <summary>
  268. /// 控制软件日志清理时间
  269. /// </summary>
  270. public int cleanControlData
  271. {
  272. get => _cleanControlData;
  273. set => SetProperty(ref _cleanControlData, value);
  274. }
  275. private int _cleanSurfaceData;
  276. /// <summary>
  277. /// Surface日志清理时间
  278. /// </summary>
  279. public int cleanSurfaceData
  280. {
  281. get => _cleanSurfaceData;
  282. set => SetProperty(ref _cleanSurfaceData, value);
  283. }
  284. private int _cleanPcData;
  285. /// <summary>
  286. /// PC日志清理时间
  287. /// </summary>
  288. public int cleanPcData
  289. {
  290. get => _cleanPcData;
  291. set => SetProperty(ref _cleanPcData, value);
  292. }
  293. private int _cleanVideoData;
  294. public int cleanVideoData
  295. {
  296. get => _cleanVideoData;
  297. set => SetProperty(ref _cleanVideoData, value);
  298. }
  299. private int _operableEmbryoTime;
  300. public int operableEmbryoTime
  301. {
  302. get => _operableEmbryoTime;
  303. set => SetProperty(ref _operableEmbryoTime, value);
  304. }
  305. }
  306. }