schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DataEntity;
using System.Collections.ObjectModel;
using System.ComponentModel;
 
namespace XImagingXhandler.XDAL
{
    public class MethodCoatingFile : IEntity
    {
        public string isrun { get; set; }
        public string status { get; set; }
        public string name { get; set; }
        public string label { get; set; }
        public string filePath { get; set; }
        public string strIndex { get; set; }
 
        public string armText { get; set; }
        public string armValue { get; set; }
        public string labwaretipText { get; set; }
        public string labwaretipValue { get; set; }
 
        private int[] _channels;
        /// <summary>
        /// 移液所用通道
        /// </summary>
        public int[] channels
        {
            get { return _channels; }
            set
            {
                _channels = value;
                OnPropertyChanged("channels");
            }
        }
        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 bacteriaText { get; set; }
        public string bacteriaValue { get; set; }
 
        private int _beginLine;
        /// <summary>
        /// 从第几行开始读数据
        /// </summary>
        public int beginLine
        {
            get { return _beginLine; }
            set
            {
                _beginLine = value;
                OnPropertyChanged("beginLine");
            }
        }
 
        #region 挑菌涂布设置
        /// <summary>
        /// 涂布方式 1:回字型  2:Z字型;3:上下移动;4:吸放液;5:放液
        /// </summary>
        public int coatingModeValue { get; set; }
        /// <summary>
        /// 同时挑菌的通道数量:1~6之间
        /// </summary>
        public int coatingCount { get; set; }
        /// <summary>
        /// 挑菌方式 1:单选; 2:穿刺; 3:吸液;
        /// </summary>
        public int choiceCategory { get; set; }
        private double _coatingOffset = 3.153d;
        /// <summary>
        /// 涂布调节高度
        /// </summary>
        public double coatingOffset
        {
            get { return _coatingOffset; }
            set
            {
                _coatingOffset = value;
                OnPropertyChanged("coatingOffset");
            }
        }
 
        /// <summary>
        /// 涂布板位自动开关盖
        /// </summary>
        public bool autoOpenCloseCoverCoating { get; set; } = false;
 
        /// <summary>
        /// 多块目标板涂布前要挑菌
        /// </summary>
        public bool pickEveryTime { get; set; }
        /// <summary>
        /// 多块目标板挑菌前要换枪头
        /// </summary>
        public bool pickAgoChangeTipEveryTime { get; set; }
 
        /// <summary>
        /// 涂布方式为上下移动时的距离
        /// </summary>
        public double shakeDistanceValue { get; set; } = 0.0d;
        /// <summary>
        /// 涂布方式为上下移动时次数
        /// </summary>
        public int shakeCountValue { get; set; } = 0;
        #endregion
 
        #region 吸放液
        /// <summary>
        /// 液体参数Id
        /// </summary>
        public string liquidpidText { get; set; } = "0";
 
        /// <summary>
        /// 液体参数名称
        /// </summary>
        public string liquidpidValue { get; set; } = "";
 
        /// <summary>
        /// 液体范围Id
        /// </summary>
        public string liquidrangeidText { get; set; } = "0";
        /// <summary>
        /// 液体范围名称
        /// </summary>
        public string liquidrangeidValue { get; set; } = "";
 
        /// <summary>
        /// 液体Id
        /// </summary>
        public string liquididText { get; set; } = "0";
        /// <summary>
        /// 液体名称
        /// </summary>
        public string liquididValue { get; set; } = "";
 
        private double _mixvolume = 0;
        /// <summary>
        /// 混合体积
        /// </summary>
        public double mixvolume
        {
            get { return _mixvolume; }
            set
            {
                _mixvolume = value;
                OnPropertyChanged("mixvolume");
            }
        }
 
        private int _mixcount = 0;
        /// <summary>
        /// 混合次数
        /// </summary>
        public int mixcount
        {
            get { return _mixcount; }
            set
            {
                _mixcount = value;
                OnPropertyChanged("mixcount");
            }
        }
        private bool _bMix = false;
        /// <summary>
        /// 吸液是否开启混合
        /// </summary>
        public bool bMix
        {
            get { return _bMix; }
            set
            {
                _bMix = value;
                OnPropertyChanged("bMix");
            }
        }
        #endregion
 
        #region 超声探测
        private bool _bUltrasonic = false;
        /// <summary>
        /// 是否开启超声
        /// </summary>
        public bool isEnableultrasonic
        {
            get { return _bUltrasonic; }
            set
            {
                _bUltrasonic = value;
                OnPropertyChanged("isEnableultrasonic");
            }
        }
 
        /// <summary>
        /// 非圆形皿耗材超声属性
        /// </summary>
        public List<UltrasonicObject> ultrasonicObjectList { get; set; } = null;
 
        /// <summary>
        /// 圆形皿耗材超声属性
        /// </summary>
        public List<UltrasonicDishObject> ultrasonicDishObjectList { get; set; } = null;
        #endregion
 
        #region 混合吸液属性
        private string _mixAspiratePositionText = "";
        /// <summary>
        /// 混合时,吸液距离类型名称
        /// </summary>
        public string mixAspiratePositionText
        {
            get { return _mixAspiratePositionText; }
            set
            {
                _mixAspiratePositionText = value;
                OnPropertyChanged("mixAspiratePositionText");
            }
        }
        private int _mixAspiratePositionValue = 0;
        /// <summary>
        /// 混合时,吸液距离类型Id
        /// </summary>
        public int mixAspiratePositionValue
        {
            get { return _mixAspiratePositionValue; }
            set
            {
                _mixAspiratePositionValue = value;
                OnPropertyChanged("mixAspiratePositionValue");
            }
        }
 
        private double _mixAspirateDistance = 0;
        /// <summary>
        /// 混合时,吸液距离
        /// </summary>
        public double mixAspirateDistance
        {
            get { return _mixAspirateDistance; }
            set
            {
                _mixAspirateDistance = value;
                OnPropertyChanged("mixAspirateDistance");
            }
        }
 
        private double _mixAspirateSpeed = 100;
        /// <summary>
        /// 混合时,吸液速度
        /// </summary>
        public double mixAspirateSpeed
        {
            get { return _mixAspirateSpeed; }
            set
            {
                _mixAspirateSpeed = value;
                OnPropertyChanged("mixAspirateSpeed");
            }
        }
        #endregion
 
        #region 混合加液属性
        private string _mixDispensePositionText = "";
        /// <summary>
        /// 混合时,排液距离类型名称
        /// </summary>
        public string mixDispensePositionText
        {
            get { return _mixDispensePositionText; }
            set
            {
                _mixDispensePositionText = value;
                OnPropertyChanged("mixDispensePositionText");
            }
        }
 
        private int _mixDispensePositionValue = 0;
        /// <summary>
        /// 混合时,排液距离类型Id,0:液面; 1顶部;2:底部
        /// </summary>
        public int mixDispensePositionValue
        {
            get { return _mixDispensePositionValue; }
            set
            {
                _mixDispensePositionValue = value;
                OnPropertyChanged("mixDispensePositionValue");
            }
        }
 
        private double _mixDispenseDistance = 0;
        /// <summary>
        /// 混合时,排液距离
        /// </summary>
        public double mixDispenseDistance
        {
            get { return _mixDispenseDistance; }
            set
            {
                _mixDispenseDistance = value;
                OnPropertyChanged("mixDispenseDistance");
            }
        }
 
        private double _mixDispenseSpeed = 100;
        /// <summary>
        /// 混合时,排液速度
        /// </summary>
        public double mixDispenseSpeed
        {
            get { return _mixDispenseSpeed; }
            set
            {
                _mixDispenseSpeed = value;
                OnPropertyChanged("mixDispenseSpeed");
            }
        }
        #endregion
 
        #region 挑菌前环境设置
        /// <summary>
        /// 挑菌前环境设置参数
        /// </summary>
        public MethodChoiceAgoAspirateChild choiceAgoAspirateData { get; set; } = new MethodChoiceAgoAspirateChild();
        #endregion
    }
 
    /// <summary>
    /// 挑选方式
    /// </summary>
    public enum ChoiceModeEnum
    {
        /// <summary>
        /// 单选
        /// </summary>
        [Description("单选")]
        SigleSelectMode = 1,
        /// <summary>
        /// 穿刺
        /// </summary>
        [Description("穿刺")]
        PricksMode = 2,
        /// <summary>
        /// 吸液
        /// </summary>
        [Description("吸液")]
        AspirateMode = 3,
    }
 
    /// <summary>
    /// 涂布方式
    /// </summary>
    public enum CoatingModeEnum
    {
        /// <summary>
        /// 回字型
        /// </summary>
        [Description("回字型")]
        HuiziMode = 1,
        /// <summary>
        /// Z字型
        /// </summary>
        [Description("Z字型")]
        ZMode = 2,
        /// <summary>
        /// 上下移动
        /// </summary>
        [Description("上下移动")]
        UpDownMode = 3,
        /// <summary>
        /// 吸放液
        /// </summary>
        [Description("吸放液")]
        AspirateDispenseMode = 4,
        /// <summary>
        /// 放液
        /// </summary>
        [Description("放液")]
        DispenseMode = 5,
    }
}