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 MethodMixing : IEntity { public string isrun { get; set; } public string status { get; set; } public string name { get; set; } public string strIndex { get; set; } public string label { get; set; } public string labwareText { get; set; } public string labwareValue { get; set; } private string _positionText; public string positionText { get { return _positionText; } set { _positionText = value; OnPropertyChanged("positionText"); } } public string positionValue { get; set; } public string armText { get; set; } public string armValue { get; set; } private string _headType; public string headType { get { return _headType; } set { _headType = value; OnPropertyChanged("headType"); } } public string labwaretipText { get; set; } public string labwaretipValue { get; set; } private string _wellarray; public string wellarray { get { return _wellarray; } set { _wellarray = value; OnPropertyChanged("wellarray"); } } 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; public double mixvolume { get { return _mixvolume; } set { _mixvolume = value; OnPropertyChanged("mixvolume"); } } private int _mixcount; public int mixcount { get { return _mixcount; } set { _mixcount = value; OnPropertyChanged("mixcount"); } } private double _wellvolume; public double wellvolume { get { return _wellvolume; } set { _wellvolume = value; OnPropertyChanged("wellvolume"); } } private int[] _channels = { }; public int[] channels { get { return _channels; } set { _channels = value; OnPropertyChanged("channels"); } } private bool _bMix; public bool bMix { get { return _bMix; } set { _bMix = value; OnPropertyChanged("bMix"); } } #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; } = 0; /// /// 吸液液面探测系数(1-100) /// public double liquidSensorRadio { get; set; } = 1; /// /// 吸液液面探测未探测到的选项名称 /// 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 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 enum MixPositionEnum { /// /// Liquid /// [Description("Liquid")] Liquid = 0, /// /// Top /// [Description("Top")] Top = 1, /// /// Bottom /// [Description("Bottom")] Bottom = 2, } }