Embryo.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ivf_tl_Entity.Entity.balance
  7. {
  8. public class Embryo
  9. {
  10. public long id { get; set; }
  11. public string tlSn { get; set; }
  12. public int houseSn { get; set; }
  13. public int wellSn { get; set; }
  14. public string startTime { get; set; }
  15. public int state { get; set; }
  16. public string stateTime { get; set; }
  17. public int embryoCultureRecordId { get; set; }
  18. public double score { get; set; }
  19. public string blastocystLevel { get; set; }
  20. public string imageUrl { get; set; }
  21. public string level { get; set; }
  22. public List<EmbryoMark> embryoMark { get; set; }
  23. private int _alarm = 0;
  24. public int alarm
  25. {
  26. get => _alarm;
  27. set
  28. {
  29. if (_alarm == value) return;
  30. _alarm = value;
  31. AlarmChangedEvent?.Invoke(wellSn, value);
  32. }
  33. }
  34. public event Action<int, int> AlarmChangedEvent;
  35. }
  36. }