using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace XImagingXhandler.XDAL
|
{
|
/// <summary>
|
/// 液体校准参数数据实体
|
/// </summary>
|
[SugarTable("liquidaccuracy")]
|
public class LiquidAccuracy: INotifyPropertyChanged
|
{
|
/// <summary>
|
/// 属性改变事件对象
|
/// </summary>
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
private string _liquidaccuracy_Id;
|
/// <summary>
|
/// 液体校准参数Id
|
/// </summary>
|
[SugarColumn(ColumnName = "liquidaccuracy_Id", IsPrimaryKey = true)]
|
public string liquidaccuracy_Id
|
{
|
get { return _liquidaccuracy_Id; }
|
set
|
{
|
_liquidaccuracy_Id = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquidaccuracy_Id)));
|
}
|
}
|
}
|
|
private double _liquid_target_volume;
|
/// <summary>
|
/// 液体校准目标体积
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_target_volume")]
|
public double liquid_target_volume
|
{
|
get { return _liquid_target_volume; }
|
set
|
{
|
_liquid_target_volume = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_target_volume)));
|
}
|
}
|
}
|
|
private double _liquid_Real_volume;
|
/// <summary>
|
/// 液体校准实际体积
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_Real_volume")]
|
public double liquid_Real_volume
|
{
|
get { return _liquid_Real_volume; }
|
set
|
{
|
_liquid_Real_volume = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_Real_volume)));
|
}
|
}
|
}
|
|
private double _liquid_accuracy_k;
|
/// <summary>
|
/// 液体校准k值
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_accuracy_k")]
|
public double liquid_accuracy_k
|
{
|
get { return _liquid_accuracy_k; }
|
set
|
{
|
_liquid_accuracy_k = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_accuracy_k)));
|
}
|
}
|
}
|
|
private double _liquid_accuracy_b;
|
/// <summary>
|
/// 液体校准b值
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_accuracy_b")]
|
public double liquid_accuracy_b
|
{
|
get { return _liquid_accuracy_b; }
|
set
|
{
|
_liquid_accuracy_b = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_accuracy_b)));
|
}
|
}
|
}
|
|
private double _liquid_range_id;
|
/// <summary>
|
/// 液体范围Id
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_range_id")]
|
public double liquid_range_id
|
{
|
get { return _liquid_range_id; }
|
set
|
{
|
_liquid_range_id = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_range_id)));
|
}
|
}
|
}
|
|
private double _device_arm_id;
|
/// <summary>
|
/// 机械臂Id
|
/// </summary>
|
[SugarColumn(ColumnName = "device_arm_id")]
|
public double device_arm_id
|
{
|
get { return _device_arm_id; }
|
set
|
{
|
_device_arm_id = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(device_arm_id)));
|
}
|
}
|
}
|
|
private string _liquidtype_Id;
|
|
/// <summary>
|
/// 液体类型Id
|
/// </summary>
|
[SugarColumn(ColumnName = "liquid_type_Id")]
|
public string liquidtype_Id
|
{
|
get
|
{
|
return _liquidtype_Id;
|
}
|
set
|
{
|
_liquidtype_Id = value;
|
if (this.PropertyChanged != null)
|
{
|
this.PropertyChanged(this, new PropertyChangedEventArgs("liquidtype_Id"));
|
}
|
}
|
}
|
}
|
}
|