WinderAccessory.cs 14 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1

潘栩锋's avatar
潘栩锋 committed
2
using Misc;
潘栩锋's avatar
潘栩锋 committed
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; }
潘栩锋's avatar
潘栩锋 committed
20 21 22 23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        /// <summary>
潘栩锋's avatar
潘栩锋 committed
421
        /// 转塔变频通讯报警!!!请检查 (ON)
潘栩锋's avatar
潘栩锋 committed
422
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
        [Description("转塔变频通讯报警!!!请检查")]
        [IsError()]
        public bool IsError_RotaryCommErr{ get; set; }

        /// <summary>
        /// 人字夹板电源故障!!!请检查 (OFF)
        /// </summary>
        [Description("人字夹板电源故障!!!请检查")]
        [IsError(offIsError:true)]
        public bool IsError_Splint1CommErr{ get; set; }

        /// <summary>
        /// 侧夹板电源故障!!!请检查 (OFF)
        /// </summary>
        [Description("侧夹板电源故障!!!请检查")]
        [IsError(offIsError:true)]
        public bool IsError_Splint2CommErr{ get; set; }

        /// <summary>
        /// 转塔正向极限锁定!!!请解除 (ON)
        /// </summary>
        [Description("转塔正向极限锁定!!!请解除")]
        [IsError()]
        public bool IsError_RotaryFlLock{ get; set; }

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

        #endregion

        public event PropertyChangedEventHandler PropertyChanged;
    }
}