ExEmbryo.cs 1005 B

1234567891011121314151617181920212223242526272829303132333435
  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.GlobalEntitys
  8. {
  9. public class ExEmbryo : ObservableObject
  10. {
  11. public long id { get; set; }
  12. public string tlSn { get; set; }
  13. public int houseSn { get; set; }
  14. public int wellSn { get; set; }
  15. public DateTime startTime { get; set; }
  16. public int state { get; set; }
  17. public DateTime stateTime { get; set; }
  18. public int embryoCultureRecordId { get; set; }
  19. private int _alarm = 0;
  20. public int alarm
  21. {
  22. get => _alarm;
  23. set
  24. {
  25. if (_alarm == value) return;
  26. SetProperty(ref _alarm, value);
  27. AlarmChangedEvent?.Invoke(wellSn, value);
  28. }
  29. }
  30. public event Action<int, int> AlarmChangedEvent;
  31. }
  32. }