using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XImagingXhandler.XDAL
{
///
/// 液体校准参数数据实体
///
[SugarTable("liquidaccuracy")]
public class LiquidAccuracy: INotifyPropertyChanged
{
///
/// 属性改变事件对象
///
public event PropertyChangedEventHandler PropertyChanged;
private string _liquidaccuracy_Id;
///
/// 液体校准参数Id
///
[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;
///
/// 液体校准目标体积
///
[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;
///
/// 液体校准实际体积
///
[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;
///
/// 液体校准k值
///
[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;
///
/// 液体校准b值
///
[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;
///
/// 液体范围Id
///
[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;
///
/// 机械臂Id
///
[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;
///
/// 液体类型Id
///
[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"));
}
}
}
}
}