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

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>
18 19
        [Description("设定速度(m/min)")]
        public float VelocitySet{ get; set; }
潘栩锋's avatar
潘栩锋 committed
20 21 22 23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        /// <summary>
310
        /// 主牵引风机过载报警!!!请检查
潘栩锋's avatar
潘栩锋 committed
311
        /// </summary>
312 313 314
        [Description("主牵引风机过载报警!!!请检查")]
        [IsError()]
        public bool IsError_T1FanOL{ get; set; }
潘栩锋's avatar
潘栩锋 committed
315 316

        /// <summary>
317
        /// 主牵引变频故障报警!!!请检查
潘栩锋's avatar
潘栩锋 committed
318
        /// </summary>
319 320 321
        [Description("主牵引变频故障报警!!!请检查")]
        [IsError()]
        public bool IsError_T1VFD{ get; set; }
潘栩锋's avatar
潘栩锋 committed
322 323

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

        /// <summary>
331
        /// 二牵引风机过载报警!!!请检查
潘栩锋's avatar
潘栩锋 committed
332
        /// </summary>
333 334 335
        [Description("二牵引风机过载报警!!!请检查")]
        [IsError()]
        public bool IsError_T2FanOL{ get; set; }
潘栩锋's avatar
潘栩锋 committed
336 337

        /// <summary>
338
        /// 旋转塔变频故障报警!!!请检查
潘栩锋's avatar
潘栩锋 committed
339
        /// </summary>
340 341 342
        [Description("旋转塔变频故障报警!!!请检查")]
        [IsError()]
        public bool IsError_RotaryVFD{ get; set; }
潘栩锋's avatar
潘栩锋 committed
343 344

        /// <summary>
345
        /// 旋转塔风机过载报警!!!请检查
潘栩锋's avatar
潘栩锋 committed
346
        /// </summary>
347 348 349
        [Description("旋转塔风机过载报警!!!请检查")]
        [IsError()]
        public bool IsError_RotaryFan{ get; set; }
潘栩锋's avatar
潘栩锋 committed
350 351

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

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

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

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

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

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

        /// <summary>
394
        /// 一牵变频通讯故障!!!请检查
潘栩锋's avatar
潘栩锋 committed
395
        /// </summary>
396 397 398
        [Description("一牵变频通讯故障!!!请检查")]
        [IsError()]
        public bool IsError_T1CommErr{ get; set; }
潘栩锋's avatar
潘栩锋 committed
399 400

        /// <summary>
401
        /// 二牵变频通讯故障!!!请检查
潘栩锋's avatar
潘栩锋 committed
402
        /// </summary>
403 404 405
        [Description("二牵变频通讯故障!!!请检查")]
        [IsError()]
        public bool IsError_T2CommErr{ get; set; }
潘栩锋's avatar
潘栩锋 committed
406 407

        /// <summary>
408
        /// 旋转变频通讯故障!!!请检查
潘栩锋's avatar
潘栩锋 committed
409
        /// </summary>
410 411 412
        [Description("旋转变频通讯故障!!!请检查")]
        [IsError()]
        public bool IsError_RotaryCommErr{ get; set; }
潘栩锋's avatar
潘栩锋 committed
413 414

        /// <summary>
415
        /// 转塔正向极限锁定!!!请解除
潘栩锋's avatar
潘栩锋 committed
416
        /// </summary>
417 418 419
        [Description("转塔正向极限锁定!!!请解除")]
        [IsError()]
        public bool IsError_RotaryFlLock{ get; set; }
潘栩锋's avatar
潘栩锋 committed
420 421

        /// <summary>
422
        /// 转塔反向极限锁定!!!请解除
潘栩锋's avatar
潘栩锋 committed
423
        /// </summary>
424 425 426
        [Description("转塔反向极限锁定!!!请解除")]
        [IsError()]
        public bool IsError_RotaryBlLock{ get; set; }
潘栩锋's avatar
潘栩锋 committed
427 428 429 430 431 432

        #endregion

        public event PropertyChangedEventHandler PropertyChanged;
    }
}