HouseInfo.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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 SettingHouseData
  10. {
  11. public List<HouseInfo> records { get; set; } = new List<HouseInfo>();
  12. }
  13. public class HouseInfo : ObservableObject
  14. {
  15. private int _xuHao;
  16. public int xuHao
  17. {
  18. get => _xuHao;
  19. set => SetProperty(ref _xuHao, value);
  20. }
  21. public long id { get; set; }
  22. public string tlSn { get; set; }
  23. public int houseSn { get; set; }
  24. public string houseName { get; set; }
  25. public string housePort { get; set; }
  26. public int ccdId { get; set; }
  27. public string ccdSn { get; set; }
  28. private int _ccdHeight;
  29. public int ccdHeight
  30. {
  31. get => _ccdHeight;
  32. set => SetProperty(ref _ccdHeight, value);
  33. }
  34. private int _ccdWidth;
  35. public int ccdWidth
  36. {
  37. get => _ccdWidth;
  38. set => SetProperty(ref _ccdWidth, value);
  39. }
  40. private int _targetWidth;
  41. public int targetWidth
  42. {
  43. get => _targetWidth;
  44. set => SetProperty(ref _targetWidth, value);
  45. }
  46. private int _targetHeight;
  47. public int targetHeight
  48. {
  49. get => _targetHeight;
  50. set => SetProperty(ref _targetHeight, value);
  51. }
  52. private int? _verticalMotorSpacePulse;
  53. public int? verticalMotorSpacePulse
  54. {
  55. get => _verticalMotorSpacePulse;
  56. set => SetProperty(ref _verticalMotorSpacePulse, value);
  57. }
  58. private int _ccdExposure;
  59. public int ccdExposure
  60. {
  61. get => _ccdExposure;
  62. set => SetProperty(ref _ccdExposure, value);
  63. }
  64. private int _autoFocusNumber;
  65. public int autoFocusNumber
  66. {
  67. get => _autoFocusNumber;
  68. set => SetProperty(ref _autoFocusNumber, value);
  69. }
  70. private int _photographPictureNumber;
  71. public int photographPictureNumber
  72. {
  73. get => _photographPictureNumber;
  74. set => SetProperty(ref _photographPictureNumber, value);
  75. }
  76. private int _updateFocusNumber;
  77. public int updateFocusNumber
  78. {
  79. get => _updateFocusNumber;
  80. set => SetProperty(ref _updateFocusNumber, value);
  81. }
  82. private int _updateClearestNumber;
  83. public int updateClearestNumber
  84. {
  85. get => _updateClearestNumber;
  86. set => SetProperty(ref _updateClearestNumber, value);
  87. }
  88. private int _openCcd;
  89. public int openCcd
  90. {
  91. get => _openCcd;
  92. set => SetProperty(ref _openCcd, value);
  93. }
  94. private int _openPort;
  95. public int openPort
  96. {
  97. get => _openPort;
  98. set => SetProperty(ref _openPort, value);
  99. }
  100. private int _autoFocus;
  101. public int autoFocus
  102. {
  103. get => _autoFocus;
  104. set => SetProperty(ref _autoFocus, value);
  105. }
  106. private int _noImagePreview;
  107. public int noImagePreview
  108. {
  109. get => _noImagePreview;
  110. set => SetProperty(ref _noImagePreview, value);
  111. }
  112. private int _inletValveOpeningTime;
  113. /// <summary>
  114. /// 进气阀打开时间
  115. /// </summary>
  116. public int inletValveOpeningTime
  117. {
  118. get => _inletValveOpeningTime;
  119. set => SetProperty(ref _inletValveOpeningTime, value);
  120. }
  121. private decimal _temperatureLowerHeatingPlate;
  122. /// <summary>
  123. /// 下加热板目标温度
  124. /// </summary>
  125. public decimal temperatureLowerHeatingPlate
  126. {
  127. get => _temperatureLowerHeatingPlate;
  128. set => SetProperty(ref _temperatureLowerHeatingPlate, value);
  129. }
  130. }
  131. }