using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace XImagingXhandler.XDAL
|
{
|
/// <summary>
|
/// 校准数据实体类
|
/// </summary>
|
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;
|
|
/// <summary>
|
/// 液体校准参数Id
|
/// </summary>
|
public string liquidaccuracy_Id
|
{
|
get
|
{
|
return _liquidaccuracy_Id;
|
}
|
set
|
{
|
_liquidaccuracy_Id = value;
|
if (this.PropertyChanged != null)
|
{
|
this.PropertyChanged(this, new PropertyChangedEventArgs("liquidaccuracy_Id"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体校准目标体积
|
/// </summary>
|
public string strTarget
|
{
|
get
|
{
|
return _strTarget;
|
}
|
set
|
{
|
_strTarget = value;
|
if (this.PropertyChanged != null)
|
{
|
this.PropertyChanged(this, new PropertyChangedEventArgs("strTarget"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体校准实际体积
|
/// </summary>
|
public string strCorrect
|
{
|
get
|
{
|
return _strCorrect;
|
}
|
set
|
{
|
_strCorrect = value;
|
if (this.PropertyChanged != null)
|
{
|
this.PropertyChanged(this, new PropertyChangedEventArgs("strCorrect"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体校准k值
|
/// </summary>
|
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"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体校准b值
|
/// </summary>
|
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"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体范围Id
|
/// </summary>
|
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"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 机械臂Id
|
/// </summary>
|
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"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 液体类型Id
|
/// </summary>
|
public string liquidtype_Id
|
{
|
get
|
{
|
return _liquidtype_Id;
|
}
|
set
|
{
|
_liquidtype_Id = value;
|
if (this.PropertyChanged != null)
|
{
|
this.PropertyChanged(this, new PropertyChangedEventArgs("liquidtype_Id"));
|
}
|
}
|
}
|
|
/// <summary>
|
/// 属性改变事件对象
|
/// </summary>
|
public event PropertyChangedEventHandler PropertyChanged;
|
}
|
}
|