优化样品管理
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
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
|
||||
public class sample_exec :INotifyPropertyChanged
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string standrad_id { get; set; }
|
||||
@@ -14,9 +15,22 @@ namespace SamplePre.Models.Models
|
||||
public string cmd_content2 { get; set; }
|
||||
public string qrcodes { get; set; }
|
||||
public int sample_count { get; set; }
|
||||
public string exec_state { 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user