using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using DataEntity; namespace XImagingXhandler.XDAL { /// /// 化学文件移液 /// public class MethodFileMoveLiquid : IEntity { public string isrun { get; set; } public string status { get; set; } public string name { get; set; } public string comment { get; set; } = ""; public string strIndex { get; set; } private string _label; public string label { get { return _label; } set { _label = value; OnPropertyChanged("label"); } } public string armText { get; set; } public string armValue { get; set; } public string labwaretipText { get; set; } public string labwaretipValue { get; set; } private string _headType; public string headType { get { return _headType; } set { _headType = value; OnPropertyChanged("headType"); } } private int[] _channels; /// /// 移液所用通道 /// public int[] channels { get { return _channels; } set { _channels = value; OnPropertyChanged("channels"); } } private string _filePath; /// /// 移液表文件路径 /// public string filePath { get { return _filePath; } set { _filePath = value; OnPropertyChanged("filePath"); } } private int _beginLine=1; /// /// 从第几行开始读数据 /// public int beginLine { get { return _beginLine; } set { _beginLine = value; OnPropertyChanged("beginLine"); } } /// /// 移液表 /// public DataTable transferDataTable { get; set; } /// /// 来源孔板列名 /// public string sourceLabware { get; set; } /// /// 来源孔列名 /// public string sourceWell { get; set; } /// /// 吸液体积 /// public string aspVolume { get; set; } /// /// 吸液前开盖 /// public string aspOpenLid { get; set; } /// /// 吸液后关盖 /// public string aspCloseLid { get; set; } /// /// 目标板列名 /// public string destinationLabware { get; set; } /// /// 目标孔列名 /// public string destinationWell { get; set; } /// /// 排液前开盖 /// public string dpsOpenLid { get; set; } /// /// 排液后关盖 /// public string dpsCloseLid { get; set; } /// /// 移液体积列名 /// public string dpsVolume { get; set; } /// /// Tip头列名 /// public string tipSet { get; set; } /// /// true:跳过0体积;flase:不跳过0体积 /// public bool jump0Volume { get; set; } /// /// 更换枪头下拉选项文本 /// public string changeToTipText { get; set; } /// /// 更换枪头下拉选项Id /// public int changeToTipValue { get; set; } #region 液体参数 /// /// 液体参数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; } = ""; /// /// 更换枪头方式: 0-不换枪头, 1-根据表单内容更换枪头,2-每次吸加液后更换枪头 /// public int changeTipsMode { get; set; } #endregion #region 吸液体前混合 /// /// 是否混合 /// private bool _baspMix; public bool baspMix { get { return _baspMix; } set { _baspMix = value; OnPropertyChanged("baspMix"); } } private double _aspmixvolume; /// /// 混合体积 /// public double aspmixvolume { get { return _aspmixvolume; } set { _aspmixvolume = value; OnPropertyChanged("aspmixvolume"); } } private int _aspmixcount; /// /// 混合次数 /// public int aspmixcount { get { return _aspmixcount; } set { _aspmixcount = value; OnPropertyChanged("aspmixcount"); } } #region 混合吸液属性 private string _aspmixAspiratePositionText = ""; /// /// 混合时,吸液距离类型名称 /// public string aspmixAspiratePositionText { get { return _aspmixAspiratePositionText; } set { _aspmixAspiratePositionText = value; OnPropertyChanged("aspmixAspiratePositionText"); } } private int _aspmixAspiratePositionValue = 0; /// /// 混合时,吸液距离类型Id /// public int aspmixAspiratePositionValue { get { return _aspmixAspiratePositionValue; } set { _aspmixAspiratePositionValue = value; OnPropertyChanged("aspmixAspiratePositionValue"); } } private double _aspmixAspirateDistance = 0; /// /// 混合时,吸液距离 /// public double aspmixAspirateDistance { get { return _aspmixAspirateDistance; } set { _aspmixAspirateDistance = value; OnPropertyChanged("aspmixAspirateDistance"); } } private double _aspmixAspirateSpeed = 100; /// /// 混合时,吸液速度 /// public double aspmixAspirateSpeed { get { return _aspmixAspirateSpeed; } set { _aspmixAspirateSpeed = value; OnPropertyChanged("aspmixAspirateSpeed"); } } #endregion #region 混合加液属性 private string _aspmixDispensePositionText = ""; /// /// 混合时,排液距离类型 /// public string aspmixDispensePositionText { get { return _aspmixDispensePositionText; } set { _aspmixDispensePositionText = value; OnPropertyChanged("aspmixDispensePositionText"); } } private int _aspmixDispensePositionValue = 0; /// /// 混合时,排液距离类型 /// public int aspmixDispensePositionValue { get { return _aspmixDispensePositionValue; } set { _aspmixDispensePositionValue = value; OnPropertyChanged("aspmixDispensePositionValue"); } } private double _aspmixDispenseDistance = 0; /// /// 混合时,排液距离 /// public double aspmixDispenseDistance { get { return _aspmixDispenseDistance; } set { _aspmixDispenseDistance = value; OnPropertyChanged("aspmixDispenseDistance"); } } private double _aspmixDispenseSpeed = 100; /// /// 混合时,排液速度 /// public double aspmixDispenseSpeed { get { return _aspmixDispenseSpeed; } set { _aspmixDispenseSpeed = value; OnPropertyChanged("aspmixDispenseSpeed"); } } #endregion #endregion #region 排液后混合 /// /// 是否混合 /// private bool _bDpsMix; public bool bdpsMix { get { return _bDpsMix; } set { _bDpsMix = value; OnPropertyChanged("bDpsMix"); } } private double _dpsmixvolume; /// /// 混合体积 /// public double dpsmixvolume { get { return _dpsmixvolume; } set { _dpsmixvolume = value; OnPropertyChanged("dpsmixvolume"); } } private int _dpsmixcount; /// /// 混合次数 /// public int dpsmixcount { get { return _dpsmixcount; } set { _dpsmixcount = value; OnPropertyChanged("dpsmixcount"); } } #region 混合吸液属性 private string _dpsmixAspiratePositionText = ""; /// /// 混合时,吸液距离类型名称 /// public string dpsmixAspiratePositionText { get { return _dpsmixAspiratePositionText; } set { _dpsmixAspiratePositionText = value; OnPropertyChanged("dpsmixAspiratePositionText"); } } private int _dpsmixAspiratePositionValue = 0; /// /// 混合时,吸液距离类型Id /// public int dpsmixAspiratePositionValue { get { return _dpsmixAspiratePositionValue; } set { _dpsmixAspiratePositionValue = value; OnPropertyChanged("dpsmixAspiratePositionValue"); } } private double _dpsmixAspirateDistance = 0; /// /// 混合时,吸液距离 /// public double dpsmixAspirateDistance { get { return _dpsmixAspirateDistance; } set { _dpsmixAspirateDistance = value; OnPropertyChanged("dpsmixAspirateDistance"); } } private double _dpsmixAspirateSpeed = 100; /// /// 混合时,吸液速度 /// public double dpsmixAspirateSpeed { get { return _dpsmixAspirateSpeed; } set { _dpsmixAspirateSpeed = value; OnPropertyChanged("dpsmixAspirateSpeed"); } } #endregion #region 混合加液属性 private string _dpsmixDispensePositionText = ""; /// /// 混合时,排液距离类型 /// public string dpsmixDispensePositionText { get { return _dpsmixDispensePositionText; } set { _dpsmixDispensePositionText = value; OnPropertyChanged("dpsmixDispensePositionText"); } } private int _dpsmixDispensePositionValue = 0; /// /// 混合时,排液距离类型 /// public int dpsmixDispensePositionValue { get { return _dpsmixDispensePositionValue; } set { _dpsmixDispensePositionValue = value; OnPropertyChanged("dpsmixDispensePositionValue"); } } private double _dpsmixDispenseDistance = 0; /// /// 混合时,排液距离 /// public double dpsmixDispenseDistance { get { return _dpsmixDispenseDistance; } set { _dpsmixDispenseDistance = value; OnPropertyChanged("dpsmixDispenseDistance"); } } private double _dpsmixDispenseSpeed = 100; /// /// 混合时,排液速度 /// public double dpsmixDispenseSpeed { get { return _dpsmixDispenseSpeed; } set { _dpsmixDispenseSpeed = value; OnPropertyChanged("dpsmixDispenseSpeed"); } } #endregion #endregion #region 液面探测 /// /// 吸液液面探测 /// public bool enableLiquidSensor { get; set; } = false; /// /// 吸液液面探测失败允许次数 /// public int liquidSensorCount { get; set; } = 0; /// /// 吸液液面探测离孔顶部距离开始探测 /// public double liquidSensorDistance { get; set; } = 0; /// /// 吸液液面探测离孔顶部距离结束探测 /// public double liquidSensorEndDistance { get; set; } = 0; /// /// 吸液液面探测速度(mm/s) /// 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; #endregion #region 堵塞处理 /// /// 枪头堵塞探测 /// public bool enableSensorBlock { get; set; } = false; /// /// 吸液堵塞探测失败允许次数 /// //public int liquidSensorBlockCount { get; set; } = 0; /// /// 吸液堵塞探测离孔顶部距离 /// //public double liquidSensorBlockDistance { get; set; } = 0; /// /// 吸液堵塞处理方式的选项名称 /// public string aspirateBlockDisIdText { get; set; } = ""; /// /// 吸液堵塞处理方式的选项Id /// public int aspirateBlockDisIdValue { get; set; } = 0; /// /// 排液堵塞处理方式的选项名称 /// public string dispenseBlockDisIdText { get; set; } = ""; /// /// 排液堵塞处理方式的选项Id /// public int dispenseBlockDisIdValue { get; set; } = 0; #endregion #region 吸空处理 /// /// 吸空处理方式的选项名称 /// public string aspirateAirDisIdText { get; set; } = ""; /// /// 吸空处理方式的选项Id /// public int aspirateAirDisIdValue { get; set; } = 0; #endregion } }