WinderAccessory.cs 13.5 KB
Newer Older
1

潘栩锋's avatar
潘栩锋 committed
2
using Misc;
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
using System.ComponentModel;

namespace FLY.Winder.Common
{
    public class WinderAccessory : INotifyPropertyChanged
    {
        public WinderAccessory()
        {

        }

        #region 辅助代码生成
        /// <summary>
        /// 设定速度(m/min)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
18 19
        [Description("设定速度(m/min)")]
        public float VelocitySet{ get; set; }
20 21 22 23

        /// <summary>
        /// 速度确定(┷)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
24 25
        [Description("速度确定(┷)")]
        public bool IsVelocityChanged{ get; set; }
26 27 28 29

        /// <summary>
        /// 速度显示(m/min)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
30 31
        [Description("速度显示(m/min)")]
        public float Velocity{ get; set; }
32 33 34 35

        /// <summary>
        /// 上牵引电机电流(A)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
36 37
        [Description("上牵引电机电流(A)")]
        public float Traction1Current{ get; set; }
38 39 40 41

        /// <summary>
        /// 上牵引开启显示
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
42 43
        [Description("上牵引开启显示")]
        public bool IsTraction1On{ get; set; }
44 45 46 47

        /// <summary>
        /// 上牵引开启设置
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
48 49
        [Description("上牵引开启设置")]
        public bool IsTraction1OnSet{ get; set; }
50 51 52 53

        /// <summary>
        /// 二牵引设定张力(kg)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
54 55
        [Description("二牵引设定张力(kg)")]
        public float Traction2TensionKgSet{ get; set; }
56 57 58 59

        /// <summary>
        /// 二牵引实际张力(kg)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
60 61
        [Description("二牵引实际张力(kg)")]
        public float Traction2TensionKg{ get; set; }
62 63 64 65

        /// <summary>
        /// 二牵引电机电流(A)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
66 67
        [Description("二牵引电机电流(A)")]
        public float Traction2Current{ get; set; }
68 69 70 71

        /// <summary>
        /// 二牵引手动
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
72 73
        [Description("二牵引手动")]
        public bool IsTraction2Manual{ get; set; }
74 75 76 77

        /// <summary>
        /// 二牵引开启显示
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
78 79
        [Description("二牵引开启显示")]
        public bool IsTraction2On{ get; set; }
80 81 82 83

        /// <summary>
        /// 二牵引开启设置
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
84 85
        [Description("二牵引开启设置")]
        public bool IsTraction2OnSet{ get; set; }
86 87 88 89

        /// <summary>
        /// 旋转塔正转
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
90 91
        [Description("旋转塔正转")]
        public bool IsRotaryForw{ get; set; }
92 93 94 95

        /// <summary>
        /// 旋转塔反转
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
96 97
        [Description("旋转塔反转")]
        public bool IsRotaryBackw{ get; set; }
98 99 100 101

        /// <summary>
        /// 旋转塔正向机械限位
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
102 103
        [Description("旋转塔正向机械限位")]
        public bool IsRotaryForwLimit{ get; set; }
104 105 106 107

        /// <summary>
        /// 旋转塔正转换向限位
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
108 109
        [Description("旋转塔正转换向限位")]
        public bool IsRotaryForwTurn{ get; set; }
110 111 112 113

        /// <summary>
        /// 旋转塔复位原点限位
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
114 115
        [Description("旋转塔复位原点限位")]
        public bool IsRotaryOrgSign{ get; set; }
116 117 118 119

        /// <summary>
        /// 旋转塔反转换向限位
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
120 121
        [Description("旋转塔反转换向限位")]
        public bool IsRotaryBackwTurn{ get; set; }
122 123 124 125

        /// <summary>
        /// 旋转塔反向机械限位
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
126 127
        [Description("旋转塔反向机械限位")]
        public bool IsRotaryBackwLimit{ get; set; }
128 129 130 131

        /// <summary>
        /// 旋转塔电机频率设定(Hz)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
132 133
        [Description("旋转塔电机频率设定(Hz)")]
        public float RotaryFreqSet{ get; set; }
134 135 136 137

        /// <summary>
        /// 旋转塔电机频率确定
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
138 139
        [Description("旋转塔电机频率确定")]
        public bool IsRotaryFreqChanged{ get; set; }
140 141 142 143

        /// <summary>
        /// 旋转塔电机频率显示(Hz)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
144 145
        [Description("旋转塔电机频率显示(Hz)")]
        public float RotaryFreq{ get; set; }
146 147 148 149

        /// <summary>
        /// 旋转塔电机电流(A)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
150 151
        [Description("旋转塔电机电流(A)")]
        public float RotaryCurrent{ get; set; }
152 153 154 155

        /// <summary>
        /// 旋转塔复位指示
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
156 157
        [Description("旋转塔复位指示")]
        public bool IsRotaryOrg{ get; set; }
158 159 160 161

        /// <summary>
        /// 旋转塔复位(┷)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
162 163
        [Description("旋转塔复位(┷)")]
        public bool RotaryOrg{ get; set; }
164 165 166 167

        /// <summary>
        /// 旋转塔开启指示
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
168 169
        [Description("旋转塔开启指示")]
        public bool IsRotaryOn{ get; set; }
170 171 172 173

        /// <summary>
        /// 旋转塔开启(┷)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
174 175
        [Description("旋转塔开启(┷)")]
        public bool RotaryOn{ get; set; }
176 177 178 179

        /// <summary>
        /// 一牵引调试On
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
180 181
        [Description("一牵引调试On")]
        public bool IsTraction1Debug{ get; set; }
182 183 184 185

        /// <summary>
        /// 一牵引辊筒直径
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
186 187
        [Description("一牵引辊筒直径")]
        public float Traction1RollerD{ get; set; }
188 189 190 191

        /// <summary>
        /// 一牵引传动速比
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
192 193
        [Description("一牵引传动速比")]
        public float Traction1GearRatio{ get; set; }
194 195 196 197

        /// <summary>
        /// 一牵引同步速度
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
198 199
        [Description("一牵引同步速度")]
        public float Traction1SyncV{ get; set; }
200 201 202 203

        /// <summary>
        /// 一牵引实际速度
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
204 205
        [Description("一牵引实际速度")]
        public float Traction1Velocity{ get; set; }
206 207 208 209

        /// <summary>
        /// 二牵引张力反馈
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
210 211
        [Description("二牵引张力反馈")]
        public float Traction2Tension{ get; set; }
212 213 214 215

        /// <summary>
        /// 二牵引张力设定
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
216 217
        [Description("二牵引张力设定")]
        public float Traction2TensionSet{ get; set; }
218 219 220 221

        /// <summary>
        /// 二牵引增益设定
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
222 223
        [Description("二牵引增益设定")]
        public float Traction2Gain{ get; set; }
224 225 226 227

        /// <summary>
        /// 二牵引积分时间
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
228 229
        [Description("二牵引积分时间")]
        public float Traction2ITime{ get; set; }
230 231 232 233

        /// <summary>
        /// 二牵引调节系数
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
234 235
        [Description("二牵引调节系数")]
        public float Traction2Factor{ get; set; }
236 237 238 239

        /// <summary>
        /// 二牵引辊筒直径
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
240 241
        [Description("二牵引辊筒直径")]
        public float Traction2RollerD{ get; set; }
242 243 244 245

        /// <summary>
        /// 二牵引传动速比
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
246 247
        [Description("二牵引传动速比")]
        public float Traction2GearRatio{ get; set; }
248 249 250 251

        /// <summary>
        /// 二牵引PID结果
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
252 253
        [Description("二牵引PID结果")]
        public float Traction2PIDResult{ get; set; }
254 255 256 257

        /// <summary>
        /// 二牵引PID调节
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
258 259
        [Description("二牵引PID调节")]
        public float Traction2PIDAdjust{ get; set; }
260 261 262 263

        /// <summary>
        /// 二牵引同步速度
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
264 265
        [Description("二牵引同步速度")]
        public float Traction2SyncV{ get; set; }
266 267 268 269

        /// <summary>
        /// 二牵引实际速度
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
270 271
        [Description("二牵引实际速度")]
        public float Traction2Velocity{ get; set; }
272 273 274 275

        /// <summary>
        /// 速度系数
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
276 277
        [Description("速度系数")]
        public float VelocityFactor{ get; set; }
278 279 280 281

        /// <summary>
        /// 加减时间
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
282 283
        [Description("加减时间")]
        public float AccDecTime{ get; set; }
284 285 286 287

        /// <summary>
        /// 二牵引升降增益
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
288 289
        [Description("二牵引升降增益")]
        public float Traction2LiftGain{ get; set; }
290 291 292 293

        /// <summary>
        /// 张力检测设定
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
294 295
        [Description("张力检测设定")]
        public float TensionDetection{ get; set; }
296 297 298 299

        /// <summary>
        /// 收卷计米辊周长(mm)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
300 301
        [Description("收卷计米辊周长(mm)")]
        public float WinderMeasurePerimeter{ get; set; }
302 303 304 305

        /// <summary>
        /// 张力检测量程(kg)
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
306 307
        [Description("张力检测量程(kg)")]
        public float TensionDetectionRange{ get; set; }
308 309

        /// <summary>
潘栩锋's avatar
潘栩锋 committed
310
        /// 收卷最大直径
311
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
312 313
        [Description("收卷最大直径")]
        public float WindMaxDia{ get; set; }
314 315

        /// <summary>
316
        /// 主牵引风机过载报警 (OFF)
317
        /// </summary>
318
        [Description("主牵引风机过载报警")]
潘栩锋's avatar
潘栩锋 committed
319 320
        [IsError(offIsError:true)]
        public bool IsError_T1FanOL{ get; set; }
321 322

        /// <summary>
323
        /// 主牵引变频故障报警 (ON)
324
        /// </summary>
325
        [Description("主牵引变频故障报警")]
潘栩锋's avatar
潘栩锋 committed
326 327
        [IsError()]
        public bool IsError_T1VFD{ get; set; }
328 329

        /// <summary>
330
        /// 二牵引变频故障报警 (ON)
331
        /// </summary>
332
        [Description("二牵引变频故障报警")]
潘栩锋's avatar
潘栩锋 committed
333 334
        [IsError()]
        public bool IsError_T2VFD{ get; set; }
335 336

        /// <summary>
337
        /// 二牵引风机过载报警 (OFF)
338
        /// </summary>
339
        [Description("二牵引风机过载报警")]
潘栩锋's avatar
潘栩锋 committed
340 341
        [IsError(offIsError:true)]
        public bool IsError_T2FanOL{ get; set; }
342 343

        /// <summary>
344
        /// 旋转塔变频故障报警 (ON)
345
        /// </summary>
346
        [Description("旋转塔变频故障报警")]
潘栩锋's avatar
潘栩锋 committed
347 348
        [IsError()]
        public bool IsError_RotaryVFD{ get; set; }
349 350

        /// <summary>
351
        /// 二牵引拉线急停开启!请复位 (OFF)
352
        /// </summary>
353
        [Description("二牵引拉线急停开启!请复位")]
潘栩锋's avatar
潘栩锋 committed
354 355
        [IsError(offIsError:true)]
        public bool IsError_T2Scram{ get; set; }
356 357

        /// <summary>
358
        /// 电柜急停开启!请复位 (OFF)
359
        /// </summary>
360
        [Description("电柜急停开启!请复位")]
潘栩锋's avatar
潘栩锋 committed
361 362
        [IsError(offIsError:true)]
        public bool IsError_Scram{ get; set; }
363 364

        /// <summary>
365
        /// 主牵引拉线急停开启!请复位 (OFF)
366
        /// </summary>
367
        [Description("主牵引拉线急停开启!请复位")]
潘栩锋's avatar
潘栩锋 committed
368 369
        [IsError(offIsError:true)]
        public bool IsError_T1Scram{ get; set; }
370 371

        /// <summary>
372
        /// 客户急停开启!请复位 (OFF)
373
        /// </summary>
374
        [Description("客户急停开启!请复位")]
潘栩锋's avatar
潘栩锋 committed
375 376
        [IsError(offIsError:true)]
        public bool IsError_CustomerScram{ get; set; }
377 378

        /// <summary>
379
        /// 旋转塔正转已到极限位 (OFF)
380
        /// </summary>
381
        [Description("旋转塔正转已到极限位")]
潘栩锋's avatar
潘栩锋 committed
382 383
        [IsError(offIsError:true)]
        public bool IsError_RotaryForwLimit{ get; set; }
384 385

        /// <summary>
386
        /// 旋转塔反转已到极限位 (OFF)
387
        /// </summary>
388
        [Description("旋转塔反转已到极限位")]
潘栩锋's avatar
潘栩锋 committed
389 390
        [IsError(offIsError:true)]
        public bool IsError_RotaryBackwLimit{ get; set; }
391 392

        /// <summary>
393
        /// 气垫辊1电源故障 (OFF)
394
        /// </summary>
395
        [Description("气垫辊1电源故障")]
潘栩锋's avatar
潘栩锋 committed
396 397
        [IsError(offIsError:true)]
        public bool IsError_AirRoller1Power{ get; set; }
398 399

        /// <summary>
400
        /// 气垫辊2电源故障 (OFF)
401
        /// </summary>
402
        [Description("气垫辊2电源故障")]
潘栩锋's avatar
潘栩锋 committed
403 404
        [IsError(offIsError:true)]
        public bool IsError_AirRoller2Power{ get; set; }
405 406

        /// <summary>
407
        /// 主牵引变频通讯报警 (ON)
408
        /// </summary>
409
        [Description("主牵引变频通讯报警")]
潘栩锋's avatar
潘栩锋 committed
410 411
        [IsError()]
        public bool IsError_T1CommErr{ get; set; }
412 413

        /// <summary>
414
        /// 二牵引变频通讯报警 (ON)
415
        /// </summary>
416
        [Description("二牵引变频通讯报警")]
潘栩锋's avatar
潘栩锋 committed
417 418
        [IsError()]
        public bool IsError_T2CommErr{ get; set; }
419 420

        /// <summary>
421
        /// 转塔变频通讯报警 (ON)
422
        /// </summary>
423
        [Description("转塔变频通讯报警")]
潘栩锋's avatar
潘栩锋 committed
424 425
        [IsError()]
        public bool IsError_RotaryCommErr{ get; set; }
426

潘栩锋's avatar
潘栩锋 committed
427
        /// <summary>
428
        /// 人字夹板电源故障 (OFF)
潘栩锋's avatar
潘栩锋 committed
429
        /// </summary>
430
        [Description("人字夹板电源故障")]
潘栩锋's avatar
潘栩锋 committed
431 432 433 434
        [IsError(offIsError:true)]
        public bool IsError_Splint1CommErr{ get; set; }

        /// <summary>
435
        /// 侧夹板电源故障 (OFF)
潘栩锋's avatar
潘栩锋 committed
436
        /// </summary>
437
        [Description("侧夹板电源故障")]
潘栩锋's avatar
潘栩锋 committed
438 439 440 441
        [IsError(offIsError:true)]
        public bool IsError_Splint2CommErr{ get; set; }

        /// <summary>
442
        /// 转塔正向极限锁定!请解除 (ON)
潘栩锋's avatar
潘栩锋 committed
443
        /// </summary>
444
        [Description("转塔正向极限锁定!请解除")]
潘栩锋's avatar
潘栩锋 committed
445 446 447 448
        [IsError()]
        public bool IsError_RotaryFlLock{ get; set; }

        /// <summary>
449
        /// 转塔反向极限锁定!请解除 (ON)
潘栩锋's avatar
潘栩锋 committed
450
        /// </summary>
451
        [Description("转塔反向极限锁定!请解除")]
潘栩锋's avatar
潘栩锋 committed
452 453
        [IsError()]
        public bool IsError_RotaryBlLock{ get; set; }
潘栩锋's avatar
潘栩锋 committed
454

455 456 457 458 459
        #endregion

        public event PropertyChangedEventHandler PropertyChanged;
    }
}