| 1234567891011121314151617181920212223242526272829303132333435 |
- using CommunityToolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ivf_tl_Entity.GlobalEntitys
- {
- public class ExEmbryo : ObservableObject
- {
- public long id { get; set; }
- public string tlSn { get; set; }
- public int houseSn { get; set; }
- public int wellSn { get; set; }
- public DateTime startTime { get; set; }
- public int state { get; set; }
- public DateTime stateTime { get; set; }
- public int embryoCultureRecordId { get; set; }
- private int _alarm = 0;
- public int alarm
- {
- get => _alarm;
- set
- {
- if (_alarm == value) return;
- SetProperty(ref _alarm, value);
- AlarmChangedEvent?.Invoke(wellSn, value);
- }
- }
- public event Action<int, int> AlarmChangedEvent;
- }
- }
|