TLSettingModel.cs 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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.Entity.HouseSetting
  8. {
  9. public class TLSettingModel : ObservableObject
  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. /// <summary>
  92. /// 舱门超时报警秒数 / (默认60秒)
  93. /// </summary>
  94. public int houseDoorAlarmTime { get; set; }
  95. public long id { get; set; }
  96. /// <summary>
  97. /// 下次保养时间
  98. /// </summary>
  99. public string keepDate { get; set; }
  100. /// <summary>
  101. /// 抠图失败报警次数 / (默认2次)
  102. /// </summary>
  103. public int mattingAlarmTimes { get; set; }
  104. private int _motorDelay;
  105. /// <summary>
  106. /// 电机运动设置:电机到位延时 /ms
  107. /// </summary>
  108. public int motorDelay
  109. {
  110. get => _motorDelay;
  111. set => SetProperty(ref _motorDelay, value);
  112. }
  113. /// <summary>
  114. /// 气压参数设置:是否开启新版换气 0 关闭 1开启
  115. /// </summary>
  116. public int newAirSwap { get; set; }
  117. private int _photoIntervalPerRound;
  118. /// <summary>
  119. /// 相机拍照设置:每轮拍照间隔
  120. /// </summary>
  121. public int photoIntervalPerRound
  122. {
  123. get => _photoIntervalPerRound;
  124. set => SetProperty(ref _photoIntervalPerRound, value);
  125. }
  126. private decimal _pressureAlarmMax;
  127. /// <summary>
  128. /// 舱室气压报警设置:压力报警上限值
  129. /// </summary>
  130. public decimal pressureAlarmMax
  131. {
  132. get => _pressureAlarmMax;
  133. set => SetProperty(ref _pressureAlarmMax, value);
  134. }
  135. private decimal _pressureAlarmMin;
  136. /// <summary>
  137. /// 舱室气压报警设置:压力报警下限值
  138. /// </summary>
  139. public decimal pressureAlarmMin
  140. {
  141. get => _pressureAlarmMin;
  142. set => SetProperty(ref _pressureAlarmMin, value);
  143. }
  144. /// <summary>
  145. /// 气压报警秒数 / (默认60秒)
  146. /// </summary>
  147. public int pressureAlarmTime { get; set; }
  148. private int _saveSourcePicture;
  149. /// <summary>
  150. /// 保存原图: 0不保存 1保存
  151. /// </summary>
  152. public int saveSourcePicture
  153. {
  154. get => _saveSourcePicture;
  155. set => SetProperty(ref _saveSourcePicture, value);
  156. }
  157. private int _saveTargetPicture;
  158. /// <summary>
  159. /// 保存抠图 0 不保存 1 保存
  160. /// </summary>
  161. public int saveTargetPicture
  162. {
  163. get => _saveTargetPicture;
  164. set => SetProperty(ref _saveTargetPicture, value);
  165. }
  166. private decimal _temperatureAlarmMax;
  167. /// <summary>
  168. /// 舱室温度报警设置:温度报警上限值
  169. /// </summary>
  170. public decimal temperatureAlarmMax
  171. {
  172. get => _temperatureAlarmMax;
  173. set => SetProperty(ref _temperatureAlarmMax, value);
  174. }
  175. private decimal _temperatureAlarmMin;
  176. /// <summary>
  177. /// 舱室温度报警设置:温度报警下限值
  178. /// </summary>
  179. public decimal temperatureAlarmMin
  180. {
  181. get => _temperatureAlarmMin;
  182. set => SetProperty(ref _temperatureAlarmMin, value);
  183. }
  184. /// <summary>
  185. /// 温度报警秒数 / (默认180秒)
  186. /// </summary>
  187. public int temperatureAlarmTime { get; set; }
  188. /// <summary>
  189. /// 设备编号
  190. /// </summary>
  191. public string tlSn { get; set; }
  192. private int _valueDelay;
  193. /// <summary>
  194. /// 气压参数设置:气阀到位延时 /ms
  195. /// </summary>
  196. public int valueDelay
  197. {
  198. get => _valueDelay;
  199. set => SetProperty(ref _valueDelay, value);
  200. }
  201. private int _ventilationDelay;
  202. /// <summary>
  203. /// 气压参数设置:换气打开排气阀时间 /s
  204. /// </summary>
  205. public int ventilationDelay
  206. {
  207. get => _ventilationDelay;
  208. set => SetProperty(ref _ventilationDelay, value);
  209. }
  210. private int _verticalMotorPulseMax;
  211. /// <summary>
  212. /// 电机运动设置:垂直电机运动上限脉冲数
  213. /// </summary>
  214. public int verticalMotorPulseMax
  215. {
  216. get => _verticalMotorPulseMax;
  217. set => SetProperty(ref _verticalMotorPulseMax, value);
  218. }
  219. private int _cleanAutofocusData;
  220. /// <summary>
  221. /// 对焦图片清理时间
  222. /// </summary>
  223. public int cleanAutofocusData
  224. {
  225. get => _cleanAutofocusData;
  226. set => SetProperty(ref _cleanAutofocusData, value);
  227. }
  228. private int _cleanSourceData;
  229. /// <summary>
  230. /// 源图清理时间
  231. /// </summary>
  232. public int cleanSourceData
  233. {
  234. get => _cleanSourceData;
  235. set => SetProperty(ref _cleanSourceData, value);
  236. }
  237. private int _cleanControlData;
  238. /// <summary>
  239. /// 控制软件日志清理时间
  240. /// </summary>
  241. public int cleanControlData
  242. {
  243. get => _cleanControlData;
  244. set => SetProperty(ref _cleanControlData, value);
  245. }
  246. private int _cleanSurfaceData;
  247. /// <summary>
  248. /// Surface日志清理时间
  249. /// </summary>
  250. public int cleanSurfaceData
  251. {
  252. get => _cleanSurfaceData;
  253. set => SetProperty(ref _cleanSurfaceData, value);
  254. }
  255. private int _cleanPcData;
  256. /// <summary>
  257. /// PC日志清理时间
  258. /// </summary>
  259. public int cleanPcData
  260. {
  261. get => _cleanPcData;
  262. set => SetProperty(ref _cleanPcData, value);
  263. }
  264. private int _cleanVideoData;
  265. public int cleanVideoData
  266. {
  267. get => _cleanVideoData;
  268. set => SetProperty(ref _cleanVideoData, value);
  269. }
  270. private int _operableEmbryoTime;
  271. public int operableEmbryoTime
  272. {
  273. get => _operableEmbryoTime;
  274. set => SetProperty(ref _operableEmbryoTime, value);
  275. }
  276. }
  277. }