using DataEntity; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XImagingXhandler.XDAL { /// /// 吸液属性 /// public class MethodAspirate: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 _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 double _mixvolume=0; /// /// 混合体积 /// 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 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 string _mixAspiratePositionText = ""; /// /// 混合时,吸液距离类型名称 /// public string mixAspiratePositionText { get { return _mixAspiratePositionText; } set { _mixAspiratePositionText = value; OnPropertyChanged("mixAspiratePositionText"); } } private int _mixAspiratePositionValue=0; /// /// 混合时,吸液距离类型Id /// public int mixAspiratePositionValue { get { return _mixAspiratePositionValue; } set { _mixAspiratePositionValue = value; OnPropertyChanged("mixAspiratePositionValue"); } } private double _mixAspirateDistance=0; /// /// 混合时,吸液距离 /// public double mixAspirateDistance { get { return _mixAspirateDistance; } set { _mixAspirateDistance = value; OnPropertyChanged("mixAspirateDistance"); } } private double _mixAspirateSpeed=100; /// /// 混合时,吸液速度 /// 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; /// /// 混合时,排液距离类型 /// public int mixDispensePositionValue { get { return _mixDispensePositionValue; } set { _mixDispensePositionValue = value; OnPropertyChanged("mixDispensePositionValue"); } } private double _mixDispenseDistance=0; /// /// 混合时,排液距离 /// public double mixDispenseDistance { get { return _mixDispenseDistance; } set { _mixDispenseDistance = value; OnPropertyChanged("mixDispenseDistance"); } } private double _mixDispenseSpeed=100; /// /// 混合时,排液速度 /// 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 aspirateBlockDisIdText { get; set; } = ""; /// /// 吸液堵塞处理方式的选项Id /// public int aspirateBlockDisIdValue { get; set; } = 0; /// /// 吸空处理方式的选项名称 /// public string aspirateAirDisIdText { get; set; } = ""; /// /// 吸空处理方式的选项Id /// public int aspirateAirDisIdValue { get; set; } = 0; } /// /// 吸液距离类型枚举 /// public enum WellSharpe { /// /// 圆柱体 /// [Description("圆柱体")] Round = 1, /// /// 立方体 /// [Description("立方体")] Rectangle = 2, } }