using DataEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XImagingXhandler.XDAL
{
public class MethodDispense:IEntity
{
///
/// 是否从此命令开始
///
public string isrun { get; set; } = "运行起点";
///
/// 命令是否可用
///
public string status { get; set; } = "可用";
///
/// 命令名称
///
public string name { get; set; } = "";
public string strIndex { get; set; } = "";
private string _label="";
///
/// 命令标签名
///
public string label
{
get { return _label; }
set
{
_label = value;
OnPropertyChanged("label");
}
}
///
/// 排液耗材名称
///
public string labwareText { get; set; } = "";
///
/// 排液耗材Id
///
public string labwareValue { get; set; } = "";
private string _positionText="";
///
/// 排液板位名
///
public string positionText
{
get { return _positionText; }
set
{
_positionText = value;
OnPropertyChanged("positionText");
}
}
///
/// 排液板位Id
///
public string positionValue { get; set; } = "";
///
/// 排液机械臂名称
///
public string armText { get; set; } = "";
///
/// 排液机械臂Id
///
public string armValue { get; set; } = "";
private string _headType = "";
///
/// 排液枪名称
///
public string headType
{
get { return _headType; }
set
{
_headType = value;
OnPropertyChanged("headType");
}
}
///
/// 排液所用枪头耗材名称--新版已舍弃
///
public string labwaretipText { get; set; } = "";
///
/// 排液所用枪头耗材Id--新版已舍弃
///
public string labwaretipValue { get; set; } = "";
private string _wellarray = "";
///
/// 排液选中的孔位,逗号分割
///
public string wellarray
{
get { return _wellarray; }
set
{
_wellarray = value;
OnPropertyChanged("wellarray");
}
}
private double _mixvolume=0d;
///
/// 混合体积
///
public double mixvolume
{
get { return _mixvolume; }
set
{
_mixvolume = value;
OnPropertyChanged("mixvolume");
}
}
private int _mixcount=0;
///
/// 混合次数
///
public int mixcount
{
get { return _mixcount; }
set
{
_mixcount = value;
OnPropertyChanged("mixcount");
}
}
private double _wellvolume=0d;
///
/// 每孔体积
///
public double wellvolume
{
get { return _wellvolume; }
set
{
_wellvolume = value;
OnPropertyChanged("wellvolume");
}
}
private bool _enableSingleWellvolume = false;
///
/// 是否启用单孔体积
///
public bool enableSingleWellvolume
{
get { return _enableSingleWellvolume; }
set
{
_enableSingleWellvolume = value;
OnPropertyChanged("enableSingleWellvolume");
}
}
private List _singlewellvolume = new List();
///
/// 单孔体积集合实体对象
///
public List singlewellvolume
{
get { return _singlewellvolume; }
set
{
_singlewellvolume = value;
OnPropertyChanged("singlewellvolume");
}
}
private bool _isNull=false;
///
/// 是否排空
///
public bool isNull
{
get { return _isNull; }
set
{
_isNull = value;
OnPropertyChanged("isNull");
}
}
private int[] _channels= { };
///
/// 排液所用通道数组
///
public int[] channels
{
get { return _channels; }
set
{
_channels = value;
OnPropertyChanged("channels");
}
}
private bool _bMix=false;
///
/// 排液是否开启混合
///
public bool bMix
{
get { return _bMix; }
set
{
_bMix = value;
OnPropertyChanged("bMix");
}
}
private bool _bMultiMix = false;
///
/// 排液是否开启多点混合
///
public bool bMultiMix
{
get { return _bMultiMix; }
set
{
_bMultiMix = value;
OnPropertyChanged("bMultiMix");
}
}
#region 混合吸液属性
private int _mixAspiratePositionValue=0;
///
/// 混合时,吸液距离类型Id
///
public int mixAspiratePositionValue
{
get { return _mixAspiratePositionValue; }
set
{
_mixAspiratePositionValue = value;
OnPropertyChanged("mixAspiratePositionValue");
}
}
private string _mixAspiratePositionText = "";
///
/// 混合时,吸液距离类型名称
///
public string mixAspiratePositionText
{
get { return _mixAspiratePositionText; }
set
{
_mixAspiratePositionText = value;
OnPropertyChanged("mixAspiratePositionText");
}
}
private double _mixAspirateDistance=0d;
///
/// 混合时,吸液距离
///
public double mixAspirateDistance
{
get { return _mixAspirateDistance; }
set
{
_mixAspirateDistance = value;
OnPropertyChanged("mixAspirateDistance");
}
}
private double _mixAspirateSpeed=100d;
///
/// 混合时,吸液速度
///
public double mixAspirateSpeed
{
get { return _mixAspirateSpeed; }
set
{
_mixAspirateSpeed = value;
OnPropertyChanged("mixAspirateSpeed");
}
}
#endregion
#region 混合加液属性
private string _mixDispensePositionText="";
///
/// 混合时,排液距离类型名称
///
public string mixDispensePositionText
{
get { return _mixDispensePositionText; }
set
{
_mixDispensePositionText = value;
OnPropertyChanged("mixDispensePositionText");
}
}
private int _mixDispensePositionValue = 0;
///
/// 混合时,排液距离类型Id
///
public int mixDispensePositionValue
{
get { return _mixDispensePositionValue; }
set
{
_mixDispensePositionValue = value;
OnPropertyChanged("mixDispensePositionValue");
}
}
private double _mixDispenseDistance=0d;
///
/// 混合时,排液距离
///
public double mixDispenseDistance
{
get { return _mixDispenseDistance; }
set
{
_mixDispenseDistance = value;
OnPropertyChanged("mixDispenseDistance");
}
}
private double _mixDispenseSpeed=100d;
///
/// 混合时,排液速度
///
public double mixDispenseSpeed
{
get { return _mixDispenseSpeed; }
set
{
_mixDispenseSpeed = value;
OnPropertyChanged("mixDispenseSpeed");
}
}
#endregion
///
/// 液体参数Id
///
public string liquidpidText { get; set; } = "0";
///
/// 液体参数名称
///
public string liquidpidValue { get; set; } = "";
///
/// 液体范围Id
///
public string liquidrangeidText { get; set; } = "0";
///
/// 液体范围名称
///
public string liquidrangeidValue { get; set; } = "";
///
/// 液体Id
///
public string liquididText { get; set; } = "0";
///
/// 液体名称
///
public string liquididValue { get; set; } = "";
///
/// 排液液面探测
///
public bool enableLiquidSensor { get; set; } = false;
///
/// 排液液面探测失败允许次数
///
public int liquidSensorCount { get; set; } = 0;
///
/// 排液液面探测离孔顶部距离开始探测
///
public double liquidSensorDistance { get; set; } = 0;
///
/// 排液液面探测离孔顶部距离结束探测
///
public double liquidSensorEndDistance { get; set; } = 0;
///
/// 排液液面探测速度(%)
///
public double liquidSensorSpeed { get; set; } = 10;
///
/// 排液液面探测系数(1-100)
///
public double liquidSensorRadio { get; set; } = 10;
///
/// 排液液面探测未探测到的选项名称
///
public string liquidSensorDisIdText { get; set; } = "";
///
/// 排液液面探测未探测到的选项Id
///
public double liquidSensorDisIdValue { get; set; } = 0;
///
/// 排液液面跟随
///
public bool enableLiquidFollow { get; set; } = false;
///
/// 排液液面跟随类型
///
public int liquidFollowType { get; set; } = 1;
///
/// 排液液面跟随类型名称
///
public string liquidFollowTypeName { get; set; } = "";
///
/// 排液液面跟随速度%
///
public double liquidFollowSpeed { get; set; } = 0d;
///
/// 排液液面跟随距离mm
///
public double liquidFollowDistance { get; set; } = 0d;
///
/// 排液液面表面积
///
public double liquidFollowArea { get; set; } = 0d;
///
/// 排液做混合时,是否跟随
///
public bool enableMixFollow { get; set; } = false;
///
/// 枪头堵塞探测
///
public bool enableSensorBlock { get; set; } = false;
/////
///// 排液堵塞探测失败允许次数
/////
//public int liquidSensorBlockCount { get; set; } = 0;
/////
///// 排液堵塞探测离孔顶部距离
/////
//public double liquidSensorBlockDistance { get; set; } = 0;
/////
///// 排液堵塞探测未探测到的选项名称
/////
//public string liquidSensorBlockDisIdText { get; set; } = "";
/////
///// 排液堵塞探测未探测到的选项Id
/////
//public double liquidSensorBlockDisIdValue { get; set; } = 0;
///
/// 排液堵塞处理方式的选项名称
///
public string dispenseBlockDisIdText { get; set; } = "";
///
/// 排液堵塞处理方式的选项Id
///
public int dispenseBlockDisIdValue { get; set; } = 0;
}
}