using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamplePre.Models.Models { public class sample_exec :INotifyPropertyChanged { public string id { get; set; } public string standrad_id { get; set; } public string cmd_content { get; set; } public string cmd_content2 { get; set; } public string qrcodes { get; set; } public int sample_count { get; set; } //public string exec_state { get; set; } private string _exec_state; public string exec_state { get { return _exec_state; } set { _exec_state = value; PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(exec_state))); } } public DateTime exec_date { get; set; } public event PropertyChangedEventHandler? PropertyChanged; } }