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
387
388
389
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;
        /// <summary>
        /// 是否启用单孔体积
        /// </summary>
        public bool enableSingleWellvolume
        {
            get { return _enableSingleWellvolume; }
            set
            {
                _enableSingleWellvolume = value;
                OnPropertyChanged("enableSingleWellvolume");
            }
        }
 
        private List<DropdownName> _singlewellvolume = new List<DropdownName>();
        /// <summary>
        /// 单孔体积集合实体对象
        /// </summary>
        public List<DropdownName> 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 = "";
        /// <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;
        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 = "";
        /// <summary>
        /// 混合时,排液距离类型
        /// </summary>
        public string mixDispensePositionText
        {
            get { return _mixDispensePositionText; }
            set
            {
                _mixDispensePositionText = value;
                OnPropertyChanged("mixDispensePositionText");
            }
        }
 
        private int _mixDispensePositionValue = 0;
        /// <summary>
        /// 混合时,排液距离类型
        /// </summary>
        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
 
        /// <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; } = "";
 
        /// <summary>
        /// 吸液液面探测
        /// </summary>
        public bool enableLiquidSensor { get; set; } = false;
 
        /// <summary>
        /// 吸液液面探测失败允许次数
        /// </summary>
        public int liquidSensorCount { get; set; } = 0;
 
        /// <summary>
        /// 吸液液面探测离孔顶部距离开始探测
        /// </summary>
        public double liquidSensorDistance { get; set; } = 0;
 
        /// <summary>
        /// 吸液液面探测离孔顶部距离结束探测
        /// </summary>
        public double liquidSensorEndDistance { get; set; } = 0;
 
        /// <summary>
        /// 吸液液面探测速度(%)
        /// </summary>
        public double liquidSensorSpeed { get; set; } = 0;
 
        /// <summary>
        /// 吸液液面探测系数(1-100)
        /// </summary>
        public double liquidSensorRadio { get; set; } = 1;
 
        /// <summary>
        /// 吸液液面探测未探测到的选项名称
        /// </summary>
        public string liquidSensorDisIdText { get; set; } = "";
 
        /// <summary>
        /// 吸液液面探测未探测到的选项Id
        /// </summary>
        public double liquidSensorDisIdValue { get; set; } = 0;
 
        /// <summary>
        /// 吸液液面跟随
        /// </summary>
        public bool enableLiquidFollow { get; set; } = false;
 
        /// <summary>
        /// 吸液液面跟随类型
        /// </summary>
        public int liquidFollowType { get; set; } = 1;
 
        /// <summary>
        /// 吸液液面跟随类型名称
        /// </summary>
        public string liquidFollowTypeName { get; set; } = "";
 
        /// <summary>
        /// 吸液液面跟随速度%
        /// </summary>
        public double liquidFollowSpeed { get; set; } = 0d;
 
        /// <summary>
        /// 吸液液面跟随距离mm
        /// </summary>
        public double liquidFollowDistance { get; set; } = 0d;
 
        /// <summary>
        /// 吸液液面表面积
        /// </summary>
        public double liquidFollowArea { get; set; } = 0d;
 
        /// <summary>
        /// 枪头堵塞探测
        /// </summary>
        public bool enableSensorBlock { get; set; } = false;
 
        /// <summary>
        /// 吸液堵塞探测失败允许次数
        /// </summary>
        public int liquidSensorBlockCount { get; set; } = 0;
 
        /// <summary>
        /// 吸液堵塞探测离孔顶部距离
        /// </summary>
        public double liquidSensorBlockDistance { get; set; } = 0;
 
        /// <summary>
        /// 吸液堵塞探测未探测到的选项名称
        /// </summary>
        public string liquidSensorBlockDisIdText { get; set; } = "";
 
        /// <summary>
        /// 吸液堵塞探测未探测到的选项Id
        /// </summary>
        public double liquidSensorBlockDisIdValue { get; set; } = 0;
    }
 
    /// <summary>
    /// 吸液距离类型枚举
    /// </summary>
    public enum MixPositionEnum
    {
        /// <summary>
        /// Liquid
        /// </summary>
        [Description("Liquid")]
        Liquid = 0,
        /// <summary>
        /// Top
        /// </summary>
        [Description("Top")]
        Top = 1,
        /// <summary>
        /// Bottom
        /// </summary>
        [Description("Bottom")]
        Bottom = 2,
    }
}