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 MethodTransferFile: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 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; /// /// 从第几行开始读数据 /// 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 destinationLabware { get; set; } /// /// 目标孔列名 /// public string destinationWell { get; set; } /// /// 移液体积列名 /// public string destVolume { get; set; } /// /// Tip头列名 /// public string tipSet { get; set; } /// /// true:跳过0体积;flase:不跳过0体积 /// public bool jump0Volume { get; set; } /// /// 液体参数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; } /// /// 更换枪头下拉选项文本 /// public string changeToTipText { get; set; } /// /// 更换枪头下拉选项Id /// public int changeToTipValue { get; set; } /// /// 是否混合 /// private bool _bMix; public bool bMix { get { return _bMix; } set { _bMix = value; OnPropertyChanged("bMix"); } } 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"); } } #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 /// /// 吸液液面探测 /// 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; ///// ///// 吸液液面探测 ///// //public bool enableLiquidSensor { get; set; } = false; ///// ///// 吸液液面探测失败允许次数 ///// //public int liquidSensorCount { get; set; } = 0; ///// ///// 吸液液面探测离孔顶部距离 ///// //public double liquidSensorDistance { get; set; } = 0; ///// ///// 吸液液面探测未探测到的选项名称 ///// //public string liquidSensorDisIdText { get; set; } = ""; ///// ///// 吸液液面探测未探测到的选项Id ///// //public double liquidSensorDisIdValue { get; set; } = 0; /// /// 枪头堵塞探测 /// 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; /// /// 吸空处理方式的选项名称 /// public string aspirateAirDisIdText { get; set; } = ""; /// /// 吸空处理方式的选项Id /// public int aspirateAirDisIdValue { get; set; } = 0; } }