AutoFocusWellInfo.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 partial class AutoFocusWellInfo : ObservableObject
  10. {
  11. public long id { get; set; }
  12. private int _wellSn;
  13. public int wellSn
  14. {
  15. get => _wellSn;
  16. set
  17. {
  18. SetProperty(ref _wellSn, value);
  19. }
  20. }
  21. private int _horizontalMotorPosition;
  22. public int horizontalMotorPosition
  23. {
  24. get => _horizontalMotorPosition;
  25. set => SetProperty(ref _horizontalMotorPosition, value);
  26. }
  27. private int _focusStartingPoint;
  28. public int focusStartingPoint
  29. {
  30. get => _focusStartingPoint;
  31. set => SetProperty(ref _focusStartingPoint, value);
  32. }
  33. private int _moveDownLayer;
  34. public int moveDownLayer
  35. {
  36. get => _moveDownLayer;
  37. set => SetProperty(ref _moveDownLayer, value);
  38. }
  39. private int _leftOffset;
  40. public int leftOffset
  41. {
  42. get => _leftOffset;
  43. set => SetProperty(ref _leftOffset, value);
  44. }
  45. private int _bottomOffset;
  46. public int bottomOffset
  47. {
  48. get => _bottomOffset;
  49. set => SetProperty(ref _bottomOffset, value);
  50. }
  51. [ObservableProperty]
  52. private int? newFocusStartingPoint = null;
  53. [ObservableProperty]
  54. private int? newMoveDownLayer = null;
  55. [ObservableProperty]
  56. private int? newLeftOffset = null;
  57. [ObservableProperty]
  58. private int? newBottomOffset = null;
  59. }
  60. }