using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XImagingXhandler.XDAL { /// /// 校准数据实体类 /// public class CalibrationData : INotifyPropertyChanged { private string _liquidaccuracy_Id; private double _liquid_accuracy_k; private double _liquid_accuracy_b; private int _liquid_range_id; private int _device_arm_id; private string _strTarget; private string _strCorrect; private string _liquidtype_Id; /// /// 液体校准参数Id /// public string liquidaccuracy_Id { get { return _liquidaccuracy_Id; } set { _liquidaccuracy_Id = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("liquidaccuracy_Id")); } } } /// /// 液体校准目标体积 /// public string strTarget { get { return _strTarget; } set { _strTarget = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("strTarget")); } } } /// /// 液体校准实际体积 /// public string strCorrect { get { return _strCorrect; } set { _strCorrect = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("strCorrect")); } } } /// /// 液体校准k值 /// public double liquid_accuracy_k { get { return _liquid_accuracy_k; } set { _liquid_accuracy_k = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("liquid_accuracy_k")); } } } /// /// 液体校准b值 /// public double liquid_accuracy_b { get { return _liquid_accuracy_b; } set { _liquid_accuracy_b = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("liquid_accuracy_b")); } } } /// /// 液体范围Id /// public int liquid_range_id { get { return _liquid_range_id; } set { _liquid_range_id = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("liquid_range_id")); } } } /// /// 机械臂Id /// public int device_arm_id { get { return _device_arm_id; } set { _device_arm_id = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("device_arm_id")); } } } /// /// 液体类型Id /// public string liquidtype_Id { get { return _liquidtype_Id; } set { _liquidtype_Id = value; if (this.PropertyChanged != null) { this.PropertyChanged(this, new PropertyChangedEventArgs("liquidtype_Id")); } } } /// /// 属性改变事件对象 /// public event PropertyChangedEventHandler PropertyChanged; } }