AutoFocusHouseInfo.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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 partial class AutoFocusHouseInfo : ObservableObject
  10. {
  11. private int _xuHao;
  12. public int xuHao
  13. {
  14. get => _xuHao;
  15. set => SetProperty(ref _xuHao, value);
  16. }
  17. public string tlSn { get; set; }
  18. public int houseSn { get; set; }
  19. private int? _verticalMotorSpacePulse;
  20. public int? verticalMotorSpacePulse
  21. {
  22. get => _verticalMotorSpacePulse;
  23. set => SetProperty(ref _verticalMotorSpacePulse, value);
  24. }
  25. private int _photographPictureNumber;
  26. public int photographPictureNumber
  27. {
  28. get => _photographPictureNumber;
  29. set => SetProperty(ref _photographPictureNumber, value);
  30. }
  31. private int _autoFocusNumber;
  32. public int autoFocusNumber
  33. {
  34. get => _autoFocusNumber;
  35. set => SetProperty(ref _autoFocusNumber, value);
  36. }
  37. private int _updateFocusNumber;
  38. public int updateFocusNumber
  39. {
  40. get => _updateFocusNumber;
  41. set => SetProperty(ref _updateFocusNumber, value);
  42. }
  43. private int _updateClearestNumber;
  44. public int updateClearestNumber
  45. {
  46. get => _updateClearestNumber;
  47. set => SetProperty(ref _updateClearestNumber, value);
  48. }
  49. private int _autoFocus;
  50. public int autoFocus
  51. {
  52. get => _autoFocus;
  53. set => SetProperty(ref _autoFocus, value);
  54. }
  55. private int _autoFocusNew;
  56. public int autoFocusNew
  57. {
  58. get => _autoFocusNew;
  59. set => SetProperty(ref _autoFocusNew, value);
  60. }
  61. private List<AutoFocusWellInfo> _wellFocusSetting;
  62. public List<AutoFocusWellInfo> wellFocusSetting
  63. {
  64. get => _wellFocusSetting;
  65. set => SetProperty(ref _wellFocusSetting, value);
  66. }
  67. private AutoFocusWellInfo _currentWellInfo;
  68. public AutoFocusWellInfo CurrentWellInfo
  69. {
  70. get => _currentWellInfo;
  71. set => SetProperty(ref _currentWellInfo, value);
  72. }
  73. [ObservableProperty]
  74. private int? newPhotographPictureNumber = null;
  75. [ObservableProperty]
  76. private int? newAutoFocusNumber = null;
  77. [ObservableProperty]
  78. private int? newUpdateClearestNumber = null;
  79. [ObservableProperty]
  80. private int? newUpdateFocusNumber = null;
  81. }
  82. public partial class AutoFocusWellInfo : ObservableObject
  83. {
  84. public long id { get; set; }
  85. public int wellSn { get; set; }
  86. private int _horizontalMotorPosition;
  87. public int horizontalMotorPosition
  88. {
  89. get => _horizontalMotorPosition;
  90. set => SetProperty(ref _horizontalMotorPosition, value);
  91. }
  92. private int _focusStartingPoint;
  93. public int focusStartingPoint
  94. {
  95. get => _focusStartingPoint;
  96. set => SetProperty(ref _focusStartingPoint, value);
  97. }
  98. private int _moveDownLayer;
  99. public int moveDownLayer
  100. {
  101. get => _moveDownLayer;
  102. set => SetProperty(ref _moveDownLayer, value);
  103. }
  104. private int _leftOffset;
  105. public int leftOffset
  106. {
  107. get => _leftOffset;
  108. set => SetProperty(ref _leftOffset, value);
  109. }
  110. private int _bottomOffset;
  111. public int bottomOffset
  112. {
  113. get => _bottomOffset;
  114. set => SetProperty(ref _bottomOffset, value);
  115. }
  116. [ObservableProperty]
  117. private int? newFocusStartingPoint = null;
  118. [ObservableProperty]
  119. private int? newMoveDownLayer = null;
  120. [ObservableProperty]
  121. private int? newLeftOffset = null;
  122. [ObservableProperty]
  123. private int? newBottomOffset = null;
  124. }
  125. public class AutoFocusHouseInfoRequest
  126. {
  127. public string tlSn { get; set; }
  128. public int houseSn { get; set; }
  129. private int _photographPictureNumber;
  130. public int photographPictureNumber
  131. {
  132. get => _photographPictureNumber;
  133. set => _photographPictureNumber = value;
  134. }
  135. private int _autoFocusNumber;
  136. public int autoFocusNumber
  137. {
  138. get => _autoFocusNumber;
  139. set => _autoFocusNumber = value;
  140. }
  141. private int _updateFocusNumber;
  142. public int updateFocusNumber
  143. {
  144. get => _updateFocusNumber;
  145. set => _updateFocusNumber = value;
  146. }
  147. private int _updateClearestNumber;
  148. public int updateClearestNumber
  149. {
  150. get => _updateClearestNumber;
  151. set => _updateClearestNumber = value;
  152. }
  153. private int _autoFocus;
  154. public int autoFocus
  155. {
  156. get => _autoFocus;
  157. set => _autoFocus = value;
  158. }
  159. private List<AutoFocusWellInfo> _wellFocusSetting;
  160. public List<AutoFocusWellInfo> wellFocusSetting
  161. {
  162. get => _wellFocusSetting;
  163. set => _wellFocusSetting = value;
  164. }
  165. }
  166. }