TieStoreConfig.cs 26.1 KB
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 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 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 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace OnlineStore.LoadCSVLibrary
{
    public class TieStoreConfig : StoreConfig
    {
        public TieStoreConfig()
            : base()
        {
        }
        public TieStoreConfig(int id, string cid, string type, string filepath)
            : base(id, cid, type, filepath)
        {
        }
        /// <summary>
        ///  PRO,IO模块对应的DI数量,IO_DILength,192.168.200.21#16;192.168.200.22#8,,,,,,,
        /// </summary>
        [ConfigProAttribute("IO_DILength")]
        public string IO_DILength { get; set; }
        /// <summary>
        ///  PRO,模块对应的DO数量,IO_DOLength,192.168.200.21#16;192.168.200.22#8,,,,,,,
        /// </summary>
        [ConfigProAttribute("IO_DOLength")]
        public string IO_DOLength { get; set; }
        /// <summary>
        ///  AXIS,(轴一)取料旋转轴,Middle_Axis,1,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("Middle_Axis")]
        public ConfigMoveAxis Middle_Axis { get; set; }
        /// <summary>
        ///  AXIS,(轴二)取料上下轴,UpDown_Axis,2,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("UpDown_Axis")]
        public ConfigMoveAxis UpDown_Axis { get; set; }
        /// <summary>
        ///  AXIS,(轴三)取料进出轴,InOut_Axis,3,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("InOut_Axis")]
        public ConfigMoveAxis InOut_Axis { get; set; }
        /// <summary>
        ///  AXIS,(轴四)回温区旋转轴,Warming_Axis,4,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("Warming_Axis")]
        public ConfigMoveAxis Warming_Axis { get; set; }
        /// <summary>
        ///  AXIS,(轴五)冷藏区旋转轴,Colding_Axis,5,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("Colding_Axis")]
        public ConfigMoveAxis Colding_Axis { get; set; }
        /// <summary>
        ///  AXIS,(轴六)搅拌旋转轴,Stir_Axis,6,COM1,0,,,,,
        /// </summary>
        [ConfigProAttribute("Stir_Axis")]
        public ConfigMoveAxis Stir_Axis { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口取料点 P1(夹具),UpDownAxis_OL_P1,403000,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_OL_P1")]
        public int UpDownAxis_OL_P1 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口出料前点 P2(夹具),UpDownAxis_IH_P2,415000,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_IH_P2")]
        public int UpDownAxis_IH_P2 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口取料缓冲点 P7(夹具),UpDownAxis_OH_P7,415000,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_OH_P7")]
        public int UpDownAxis_OH_P7 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口出料缓冲点 P8(夹具),UpDownAxis_IL_P8,403000,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_IL_P8")]
        public int UpDownAxis_IL_P8 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口取料点 P11(锡膏),UpDownAxis_OL_P11,403099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_OL_P11")]
        public int UpDownAxis_OL_P11 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口出料前点 P21(锡膏),UpDownAxis_IH_P21,415099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_IH_P21")]
        public int UpDownAxis_IH_P21 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口取料缓冲点 P71(锡膏),UpDownAxis_OH_P71,415099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_OH_P71")]
        public int UpDownAxis_OH_P71 { get; set; }
        /// <summary>
        ///  PRO,升降轴 进料口出料缓冲点 P81(锡膏),UpDownAxis_IL_P81,403099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_IL_P81")]
        public int UpDownAxis_IL_P81 { get; set; }
        /// <summary>
        ///  PRO,升降轴 搅拌位置高点P101(搅拌区),UpDownAxis_StirH_P101,415099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_StirH_P101")]
        public int UpDownAxis_StirH_P101 { get; set; }
        /// <summary>
        ///  PRO,升降轴 搅拌位置低点P102(搅拌区),UpDownAxis_StirL_P102,403099,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_StirL_P102")]
        public int UpDownAxis_StirL_P102 { get; set; }
        /// <summary>
        ///  PRO,旋转轴 P1待机原位点(夹具取料点),MiddleAxis_P1,268000,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P1")]
        public int MiddleAxis_P1 { get; set; }
        /// <summary>
        ///  PRO,旋转轴 P11左侧取放料点(左侧锡膏),MiddleAxis_P11,260000,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P11")]
        public int MiddleAxis_P11 { get; set; }
        /// <summary>
        ///  PRO,旋转轴 P12右侧取放料点(右侧锡膏),MiddleAxis_P12,280000,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P12")]
        public int MiddleAxis_P12 { get; set; }
        /// <summary>
        ///  PRO,旋转轴 P101搅拌取放料点(搅拌区),MiddleAxis_Stir_P101,280000,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_Stir_P101")]
        public int MiddleAxis_Stir_P101 { get; set; }
        /// <summary>
        ///  PRO,进出轴 P1待机原位点,InOutAxis_P1,1000,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P1")]
        public int InOutAxis_P1 { get; set; }
        /// <summary>
        ///  PRO,进出轴 P20(夹具取料点),InOutAxis_P20,2000,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P20")]
        public int InOutAxis_P20 { get; set; }
        /// <summary>
        ///  PRO,进出轴 P21(左侧锡膏取料点),InOutAxis_P21,2800,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P21")]
        public int InOutAxis_P21 { get; set; }
        /// <summary>
        ///  PRO,进出轴 P22(右侧锡膏取料点),InOutAxis_P22,2900,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P22")]
        public int InOutAxis_P22 { get; set; }
        /// <summary>
        ///  PRO,进出轴 P101(搅拌区取放料点),InOutAxis_Stir_P101,2900,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_Stir_P101")]
        public int InOutAxis_Stir_P101 { get; set; }
        /// <summary>
        ///  PRO,(轴四)回温区旋转轴 P1待机原位点,Warming_Axis_P1,2000,,,,,,,
        /// </summary>
        [ConfigProAttribute("Warming_Axis_P1")]
        public int Warming_Axis_P1 { get; set; }
        /// <summary>
        ///  PRO,(轴五)冷藏区旋转轴 P1待机原位点,Colding_Axis_P1,2000,,,,,,,
        /// </summary>
        [ConfigProAttribute("Colding_Axis_P1")]
        public int Colding_Axis_P1 { get; set; }
        /// <summary>
        ///  PRO,(轴六)搅拌旋转轴 P1搅拌点1,Stir_Axis_P1,2000,,,,,,,
        /// </summary>
        [ConfigProAttribute("Stir_Axis_P1")]
        public int Stir_Axis_P1 { get; set; }
        /// <summary>
        ///  PRO,(轴六)搅拌旋转轴 P2搅拌点2,Stir_Axis_P2,8000,,,,,,,
        /// </summary>
        [ConfigProAttribute("Stir_Axis_P2")]
        public int Stir_Axis_P2 { get; set; }


        /// <summary>
        ///  PRO,是否有左右侧门,IsHasDoorLimit,1,,,,,,,
        /// </summary>
        [ConfigProAttribute("IsHasDoorLimit")]
        public int IsHasDoorLimit { get; set; }
        /// <summary>
        ///  PRO,设备是否处于调试状态(1=调试,0=正常),IsInDebug,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("IsInDebug")]
        public int IsInDebug { get; set; }
        /// <summary>
        ///  PRO,气压检测IO关闭需要持续的时间,AirCheckSeconds,3,,,,,,,
        /// </summary>
        [ConfigProAttribute("AirCheckSeconds")]
        public int AirCheckSeconds { get; set; }
        /// <summary>
        ///  PRO,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,, 
        /// </summary>
        [ConfigProAttribute("Box_ResetACount")]
        public int Box_ResetACount { get; set; }
        /// <summary>
        ///  PRO,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,
        /// </summary>
        [ConfigProAttribute("IOSingle_TimerOut")]
        public int IOSingle_TimerOut { get; set; }
        /// <summary>
        ///  PRO,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("IsUse_Tray_Check")]
        public int IsUse_Tray_Check { get; set; }
      
        /// <summary>
        ///  PRO,升降轴(轴2)P1速度,UpDownAxis_P1_Speed,250,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P1_Speed")]
        public int UpDownAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P2速度,UpDownAxis_P2_Speed,250,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P2_Speed")]
        public int UpDownAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P3速度,UpDownAxis_P3_Speed,250,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P3_Speed")]
        public int UpDownAxis_P3_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P4速度,UpDownAxis_P4_Speed,150,,,,,, ,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P4_Speed")]
        public int UpDownAxis_P4_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P5速度,UpDownAxis_P5_Speed,250,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P5_Speed")]
        public int UpDownAxis_P5_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P6速度,UpDownAxis_P6_Speed,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P6_Speed")]
        public int UpDownAxis_P6_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P7速度,UpDownAxis_P7_Speed,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P7_Speed")]
        public int UpDownAxis_P7_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P8速度,UpDownAxis_P8_Speed,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P8_Speed")]
        public int UpDownAxis_P8_Speed { get; set; }
         
        /// <summary>
        ///  PRO,升降轴(轴2)P101速度,UpDownAxis_P101_Speed,100,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P101_Speed")]
        public int UpDownAxis_P101_Speed { get; set; }
        /// <summary>
        ///  PRO,升降轴(轴2)P102速度,UpDownAxis_P102_Speed,100,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpDownAxis_P102_Speed")]
        public int UpDownAxis_P102_Speed { get; set; }
       
        /// <summary>
        ///  PRO,旋转轴(轴1)P1速度,MiddleAxis_P1_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P1_Speed")]
        public int MiddleAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,旋转轴(轴1)P2速度,MiddleAxis_P2_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P2_Speed")]
        public int MiddleAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,旋转轴(轴1)P101速度,MiddleAxis_P101_Speed,120,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_P101_Speed")]
        public int MiddleAxis_P101_Speed { get; set; }

        /// <summary>
        ///  PRO,进出轴(轴3)P1速度,InOutAxis_P1_Speed,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P1_Speed")]
        public int InOutAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,进出轴(轴3)P2速度,InOutAxis_P2_Speed,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P2_Speed")]
        public int InOutAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,进出轴(轴3)P3速度,InOutAxis_P3_Speed,1000,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P3_Speed")]
        public int InOutAxis_P3_Speed { get; set; }
        /// <summary>
        ///  PRO,进出轴(轴3)P101速度,InOutAxis_P101_Speed,100,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("InOutAxis_P101_Speed")]
        public int InOutAxis_P101_Speed { get; set; }
        /// <summary>
        ///  PRO,回温区旋转轴(轴4)P1速度,WarmingAxis_P1_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("WarmingAxis_P1_Speed")]
        public int WarmingAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,回温区旋转轴(轴4)P2速度,WarmingAxis_P2_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("WarmingAxis_P2_Speed")]
        public int WarmingAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,冷藏区旋转轴(轴5)P1速度,ColdingAxis_P1_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("ColdingAxis_P1_Speed")]
        public int ColdingAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,冷藏区旋转轴(轴5)P2速度,ColdingAxis_P2_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("ColdingAxis_P2_Speed")]
        public int ColdingAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,搅拌区旋转轴(轴6)P1速度,StirAxis_P1_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("StirAxis_P1_Speed")]
        public int StirAxis_P1_Speed { get; set; }
        /// <summary>
        ///  PRO,搅拌区旋转轴(轴6)P2速度,StirAxis_P2_Speed,120,,,,,,,
        /// </summary>
        [ConfigProAttribute("StirAxis_P2_Speed")]
        public int StirAxis_P2_Speed { get; set; }
        /// <summary>
        ///  PRO,伺服停止时可误差的脉冲数的最小值,Axis_ErrorCountMin,10,,,,,,,
        /// </summary>
        [ConfigProAttribute("Axis_ErrorCountMin")]
        public int Axis_ErrorCountMin { get; set; }
        /// <summary>
        ///  PRO,伺服停止时可误差的脉冲数的最大值,Axis_ErrorCountMax,1000,,,,,,,
        /// </summary>
        [ConfigProAttribute("Axis_ErrorCountMax")]
        public int Axis_ErrorCountMax { get; set; }
        /// <summary>
        ///  PRO,(轴一)旋转轴最小限位,MiddleAxis_PositionMin,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_PositionMin")]
        public int MiddleAxis_PositionMin { get; set; }
        /// <summary>
        ///  PRO,(轴二)升降轴最小限位,UpdownAxis_PositionMin,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpdownAxis_PositionMin")]
        public int UpdownAxis_PositionMin { get; set; }
        /// <summary>
        ///  PRO,(轴三)进出轴最小限位,InoutAxis_PositionMin,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("InoutAxis_PositionMin")]
        public int InoutAxis_PositionMin { get; set; }
        /// <summary>
        ///  PRO,(轴一)旋转轴最大限位,MiddleAxis_PositionMax,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("MiddleAxis_PositionMax")]
        public int MiddleAxis_PositionMax { get; set; }
        /// <summary>
        ///  PRO,(轴二)升降轴最大限位,UpdownAxis_PositionMax,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("UpdownAxis_PositionMax")]
        public int UpdownAxis_PositionMax { get; set; }
        /// <summary>
        ///  PRO,(轴三)进出轴最大限位,InoutAxis_PositionMax,0,,,,,,,
        /// </summary>
        [ConfigProAttribute("InoutAxis_PositionMax")]
        public int InoutAxis_PositionMax { get; set; }
        /// <summary>
        ///  PRO,每次吹气的时间(分钟),BlowAir_Time,10,,,,,,,
        /// </summary>
        [ConfigProAttribute("BlowAir_Time")]
        public int BlowAir_Time { get; set; }
        /// <summary>
        ///  PRO,两次吹气间隔(分钟),BlowAir_Interval,10,,,,,,, 
        /// </summary>
        [ConfigProAttribute("BlowAir_Interval")]
        public int BlowAir_Interval { get; set; }
        /// <summary>
        ///  PRO,冷藏区温湿度端口号,Humiture_Colding_Port,COM3,,,,,,,
        /// </summary>
        [ConfigProAttribute("Humiture_Colding_Port")]
        public string  Humiture_Colding_Port { get; set; }
        /// <summary>
        ///  PRO,回温区温湿度端口号,Humiture_Warming_Port,COM4,,,,,,,
        /// </summary>
        [ConfigProAttribute("Humiture_Warming_Port")]
        public string Humiture_Warming_Port { get; set; }
        /// <summary>
        ///  PRO,左侧测重控制器,Weight_Left_Port,COM5,,,,,,,
        /// </summary>
        [ConfigProAttribute("Weight_Left_Port")]
        public string Weight_Left_Port { get; set; }
        /// <summary>
        ///  PRO,右侧测重控制器,Weight_Right_Port,COM6,,,,,,,
        /// </summary>
        [ConfigProAttribute("Weight_Right_Port")]
        public string Weight_Right_Port { get; set; }
         

        /// <summary>
        ///  PRO,锡膏宽度,Tin_Width,100,,,,,,,
        /// </summary>
        [ConfigProAttribute("Tin_Width")]
        public int Tin_Width { get; set; }
        /// <summary>
        ///  PRO,锡膏高度,Tin_Height,50,,,,,,,
        /// </summary>
        [ConfigProAttribute("Tin_Height")]
        public int Tin_Height { get; set; }
        /// <summary>
        ///  PRO,夹具宽度,Fixture_Width,185,,,,,,,
        /// </summary>
        [ConfigProAttribute("Fixture_Width")]
        public int Fixture_Width { get; set; }
        /// <summary>
        ///  PRO,夹具高度,Fixture_Height,60,,,,,,,
        /// </summary>
        [ConfigProAttribute("Fixture_Height")]
        public int Fixture_Height { get; set; }

        /// <summary>
        ///  PRO,左侧测重空夹具重量,LeftDefWeight,30,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("LeftDefWeight")]
        public double LeftDefWeight { get; set; }
        /// <summary>
        ///  PRO,右侧测重空夹具重量,RightDefWeight,45,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("RightDefWeight")]
        public double RightDefWeight { get; set; }

        /// <summary>
        ///    PRO,特殊二维码尺寸配置,CodeSizeConfig,XA=13x48#XB=13x32#FA=7x32,,,,,,,
        /// </summary>
        [ConfigProAttribute("CodeSizeConfig", false)]
        public string CodeSizeConfig { get; set; }
        /// <summary>
        ///  PRO,左侧测重控制器重量转换系数,Weight_Left_Divisor,40,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("Weight_Left_Divisor")]
        public double Weight_Left_Divisor { get; set; }
        /// <summary>
        ///  PRO,右侧测重控制器重量转换系数,Weight_Right_Divisor,50,,,,,,,,,,,,,,
        /// </summary>
        [ConfigProAttribute("Weight_Right_Divisor")]
        public double Weight_Right_Divisor { get; set; }

        protected override void initMustHavePro()
        {
            MustHaveDIList = new List<string>();
            MustHaveDOList = new List<string>();
           // MustHaveDIList.Add(IO_Type.SuddenStop_BTN);
            MustHaveDIList.Add(IO_Type.Reset_BTN);
            MustHaveDIList.Add(IO_Type.AutoRun_Signal);
            MustHaveDIList.Add(IO_Type.Airpressure_Check);
      //      MustHaveDIList.Add(IO_Type.TrayCheck_Door);
      //      MustHaveDIList.Add(IO_Type.TrayCheck_Fixture);

            MustHaveDIList.Add(IO_Type.Door_Up);
            MustHaveDIList.Add(IO_Type.Door_Down);
            MustHaveDIList.Add(IO_Type.SafetyLightCurtains);
            MustHaveDIList.Add(IO_Type.SafetyLightCurtains);
            MustHaveDIList.Add(IO_Type.Door_Limit);
            MustHaveDIList.Add(IO_Type.Door_LeftLimit);
            MustHaveDIList.Add(IO_Type.Door_RightLimit);


            MustHaveDOList.Add(IO_Type.AutoRun_HddLed);
            MustHaveDOList.Add(IO_Type.Alarm_HddLed);
            MustHaveDOList.Add(IO_Type.RunSign_HddLed);
            MustHaveDOList.Add(IO_Type.Alarm_Buzzer);
       //     MustHaveDOList.Add(IO_Type.StartOrStopBlow);
            MustHaveDOList.Add(IO_Type.Run_Signal);
            MustHaveDOList.Add(IO_Type.Axis_Brake);
            MustHaveDOList.Add(IO_Type.Door_Up);
            MustHaveDOList.Add(IO_Type.Door_Down);
            MustHaveDOList.Add(IO_Type.Camera_Led);
        }
        public static void ConfigAxis(TieStoreConfig con)
        { 

            con.Middle_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;
            con.InOut_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;
            con.UpDown_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;
            con.Warming_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;
            con.Colding_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;
            con.Stir_Axis.CanErrorCountMin = con.Axis_ErrorCountMin;

            con.Middle_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;
            con.InOut_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;
            con.UpDown_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;
            con.Warming_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;
            con.Colding_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;
            con.Stir_Axis.CanErrorCountMax = con.Axis_ErrorCountMax;

            con.Middle_Axis.PositionMin = con.MiddleAxis_PositionMin;
            con.Middle_Axis.PositionMax = con.MiddleAxis_PositionMax;
            con.InOut_Axis.PositionMin = con.InoutAxis_PositionMin;
            con.InOut_Axis.PositionMax = con.InoutAxis_PositionMax;
            con.UpDown_Axis.PositionMin = con.UpdownAxis_PositionMin;
            con.UpDown_Axis.PositionMax = con.UpdownAxis_PositionMax;


            //Config.InOut_Axis.ResolveSpeed = Config.InoutAxis_ResolveSpeed;
            //Config.UpDown_Axis.ResolveSpeed = Config.UpdownAxis_ResolveSpeed;
            //Config.Middle_Axis.ResolveSpeed = Config.MiddleAxis_ResolveSpeed;

            con.Middle_Axis.DefaultPosition = con.MiddleAxis_P1;
            con.InOut_Axis.DefaultPosition = con.InOutAxis_P1;
            con.UpDown_Axis.DefaultPosition = con.UpDownAxis_OL_P1;
            con.Warming_Axis.DefaultPosition = con.Warming_Axis_P1;
            con.Colding_Axis.DefaultPosition = con.Colding_Axis_P1;
            con.Stir_Axis.DefaultPosition = con.Stir_Axis_P1;
        }
        private Dictionary<string, ushort> DILengthMap = null;
        private Dictionary<string, ushort> DOLengthMap = null;
        public ushort GetDILength(string ip)
        {
            try
            {
                if (DILengthMap == null)
                {
                    DILengthMap = new Dictionary<string, ushort>();
                    string[] arrayList = IO_DILength.Split(';');
                    foreach (string str in arrayList)
                    {
                        string[] arrStr = str.Split('#');
                        if (arrStr.Length == 2)
                        {
                            string ioip = arrStr[0];
                            ushort length = Convert.ToUInt16(arrStr[1]);
                            DILengthMap.Add(ioip, length);
                        }
                    }
                }
            }
            catch (Exception ex)
            {

            }
            if (DILengthMap.ContainsKey(ip))
            {
                return DILengthMap[ip];
            }
            return 16;
        }
        public ushort GetDOLength(string ip)
        {
            try
            {
                if (DOLengthMap == null)
                {
                    DOLengthMap = new Dictionary<string, ushort>();
                    string[] arrayList = IO_DOLength.Split(';');
                    foreach (string str in arrayList)
                    {
                        string[] arrStr = str.Split('#');
                        if (arrStr.Length == 2)
                        {
                            string ioip = arrStr[0];
                            ushort length = Convert.ToUInt16(arrStr[1]);
                            DOLengthMap.Add(ioip, length);
                        }
                    }
                }
            }
            catch (Exception ex)
            {

            }
            if (DOLengthMap.ContainsKey(ip))
            {
                return DOLengthMap[ip];
            }
            return 16;
        }

        private Dictionary<string, string> CodeSizeMap = null;
        private static char codeSpilt = '#';

        public string GetCodeSize(ref string code)
        {
            try
            {
                if (CodeSizeMap == null)
                {
                    CodeSizeMap = new Dictionary<string, string>();
                    string[] array = CodeSizeConfig.Split(codeSpilt);
                    if (array.Length > 0)
                    {
                        foreach (string str in array)
                        {
                            string[] codeStr = str.Split('=');
                            if (codeStr.Length == 2)
                            {
                                string key = codeStr[0].Trim();
                                string value = codeStr[1].Trim();
                                CodeSizeMap.Add(key, value);
                            }

                        }
                    }
                }

                foreach (string key in CodeSizeMap.Keys)
                {
                    string[] array = key.Split(';');
                    if (array.Length == 1 && code.Trim().StartsWith(key))
                    {
                        return CodeSizeMap[key];
                    }
                    else if (array.Length >= 2)
                    {
                        if (code.Trim().StartsWith(array[0]))
                        {
                            int leng = array[0].Length;
                            code = code.Trim() + key.Substring(leng, key.Length - leng);
                            return CodeSizeMap[key];
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                LOGGER.Error("获取二维码【" + code + "】的固定尺寸出错:" + ex.ToString());
            }
            return "";
        }

    }
}