EnumHelper.cs 27.7 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 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
namespace WebRepository
{
    public static class EnumHelper
    {
        public static string Value(this EnumBusinessType enumValue)
        {
            switch (enumValue)
            {
                case EnumBusinessType.入库_调整单:
                    return "AI";
                case EnumBusinessType.入库_采购到货单:
                    return "PI";
                case EnumBusinessType.入库_产成品入库单:
                    return "SI";
                case EnumBusinessType.入库_销售退货单:
                    return "SRI";
                case EnumBusinessType.入库_调拨入库单:
                    return "TI";
                case EnumBusinessType.入库_手持入库单:
                    return "PPI";
                case EnumBusinessType.入库_其他入库单:
                    return "QI";
                case EnumBusinessType.入库_生产退料单:
                    return "CI";

                case EnumBusinessType.出库_质检出库单:
                    return "CO";
                case EnumBusinessType.出库_加工出库单:
                    return "OO";
                case EnumBusinessType.出库_采购退货单:
                    return "PRO";
                case EnumBusinessType.出库_销售发货单:
                    return "SO";
                case EnumBusinessType.出库_调拨出库单:
                    return "TO";
                case EnumBusinessType.出库_手持出库单:
                    return "PO";
                case EnumBusinessType.出库_材料出库单:
                    return "MO";
                case EnumBusinessType.出库_其他出库单:
                    return "QO";
                case EnumBusinessType.出库_中间区出库单:
                    return "ZO";
                case EnumBusinessType.出库_盘点出库:
                    return "OUT";
                default:
                    return " ";
            }
        }

        public static string Value(this EnumTaskType enumValue)
        {
            switch (enumValue)
            {
                case EnumTaskType.整盘入库:
                    return "100";
                case EnumTaskType.补充入库:
                    return "200";
                case EnumTaskType.整盘出库:
                    return "300";
                case EnumTaskType.分拣出库:
                    return "400";
                case EnumTaskType.空容器入库:
                    return "500";
                case EnumTaskType.空容器出库:
                    return "600";
                case EnumTaskType.盘点:
                    return "700";
                case EnumTaskType.移库:
                    return "800";
                case EnumTaskType.出库查看:
                    return "900";
                case EnumTaskType.容器出库:
                    return "999";
                case EnumTaskType.容器回库:
                    return "1000";
                default:
                    return " ";
            }
        }
    }

    public static class BusinessType
    {
        /// <summary>
        /// 入库_调整单 = "AI";
        /// </summary>
        public static readonly string 入库_调整单 = "AI";
        /// <summary>
        /// 入库_采购到货单 = "PI";
        /// </summary>
        public static readonly string 入库_采购到货单 = "PI";
        /// <summary>
        /// 入库_产成品入库单 = "SI";
        /// </summary>
        public static readonly string 入库_产成品入库单 = "SI";
        /// <summary>
        /// 入库_销售退货单 = "SRI";
        /// </summary>
        public static readonly string 入库_销售退货单 = "SRI";
        /// <summary>
        /// 入库_调拨入库单 = "TI";
        /// </summary>
        public static readonly string 入库_调拨入库单 = "TI";
        /// <summary>
        /// 入库_手持入库单 = "AI";
        /// </summary>
        public static readonly string 入库_手持入库单 = "AI";
        /// <summary>
        /// 入库_其他入库单 = "QI";
        /// </summary>
        public static readonly string 入库_其他入库单 = "QI";
        /// <summary>
        /// 入库_生产退料单 = "CI";
        /// </summary>
        public static readonly string 入库_生产退料单 = "CI";
        /// <summary>
        /// 出库_质检出库单 = "CO";
        /// </summary>
        public static readonly string 出库_质检出库单 = "CO";
        /// <summary>
        /// 出库_加工出库单 = "OO";
        /// </summary>
        public static readonly string 出库_加工出库单 = "OO";
        /// <summary>
        /// 出库_采购退货单 = "PRO";
        /// </summary>
        public static readonly string 出库_采购退货单 = "PRO";
        /// <summary>
        /// 出库_销售发货单 = "SO";
        /// </summary>
        public static readonly string 出库_销售发货单 = "SO";
        /// <summary>
        /// 出库_调拨出库单 = "TO";
        /// </summary>
        public static readonly string 出库_调拨出库单 = "TO";
        /// <summary>
        /// 出库_手持出库单 = "PO";
        /// </summary>
        public static readonly string 出库_手持出库单 = "PO";
        /// <summary>
        /// 出库_材料出库单 = "MO";
        /// </summary>
        public static readonly string 出库_材料出库单 = "MO";
        /// <summary>
        /// 出库_其他出库单 = "QO";
        /// </summary>
        public static readonly string 出库_其他出库单 = "QO";
        /// <summary>
        /// 出库_中间区出库单 = "ZO";
        /// </summary>
        public static readonly string 出库_中间区出库单 = "ZO";
        /// <summary>
        /// 出库_盘点出库 = "OUT";
        /// </summary>
        public static readonly string 出库_盘点出库 = "OUT";
    }

    public static class TaskType
    {
        /// <summary>
        /// 站台到站台 = "50"
        /// </summary>
        public static readonly string 站台到站台 = "50";
        /// <summary>
        /// 整盘入库 = "100"
        /// </summary>
        public static readonly string 整盘入库 = "100";
        /// <summary>
        /// 补充入库 = "200"
        /// </summary>
        public static readonly string 补充入库 = "200";
        /// <summary>
        /// 整盘出库 = "300"
        /// </summary>
        public static readonly string 整盘出库 = "300";
        /// <summary>
        /// 分拣出库 = "400"
        /// </summary>
        public static readonly string 分拣出库 = "400";
        /// <summary>
        /// 直接出库 = "450"
        /// </summary>
        public static readonly string 直接出库 = "450";
        /// <summary>
        /// 空容器入库 = "500"
        /// </summary>
        public static readonly string 空容器入库 = "500";
        /// <summary>
        /// 空容器出库 = "600"
        /// </summary>
        public static readonly string 空容器出库 = "600";
        /// <summary>
        /// 盘点 = "700"
        /// </summary>
        public static readonly string 盘点 = "700";
        /// <summary>
        /// 移库 = "800"
        /// </summary>
        public static readonly string 移库 = "800";
        /// <summary>
        /// 出库查看 = "900"
        /// </summary>
        public static readonly string 出库查看 = "900";
        /// <summary>
        /// 容器出库 = "999"
        /// </summary>
        public static readonly string 容器出库 = "999";
        /// <summary>
        /// 容器回库 = "1000"
        /// </summary>
        public static readonly string 容器回库 = "1000";
    }

    public static class TaskNo
    {
        //新增带货入库的任务编号都要以I开头

        /// <summary>
        /// 空板补充 = "KB"
        /// </summary>
        public static readonly string 空板补充 = "KB";
        /// <summary>
        /// 空托盘组补充 = "KZB"
        /// </summary>
        public static readonly string 空托盘组补充 = "KZB";
        /// <summary>
        /// 容器出库 = "POUT"
        /// </summary>
        public static readonly string 容器出库 = "POUT";
        /// <summary>
        /// 容器回库 = "PIN"
        /// </summary>
        public static readonly string 容器回库 = "PIN";
        /// <summary>
        /// 查看容器出库 = "COUT"
        /// </summary>
        public static readonly string 查看容器出库 = "COUT";
        /// <summary>
        /// 查看容器回库 = "CIN"
        /// </summary>
        public static readonly string 查看容器回库 = "CIN";
        /// <summary>
        /// 出库自动分配 = "O"
        /// </summary>
        public static readonly string 出库自动分配 = "O";
        /// <summary>
        /// 入库自动分配 = "I"
        /// </summary>
        public static readonly string 入库自动分配 = "I";
        /// <summary>
        /// 出库手动分配 = "OM"
        /// </summary>
        public static readonly string 出库手动分配 = "OM";
        /// <summary>
        /// 入库手动分配 = "IM"
        /// </summary>
        public static readonly string 入库手动分配 = "IM";
        /// <summary>
        /// 空托盘入库 = "K"
        /// </summary>
        public static readonly string 空托盘入库 = "K";
        /// <summary>
        /// 空托盘组入库 = "KZ"
        /// </summary>
        public static readonly string 空托盘组入库 = "KZ";
        /// <summary>
        /// 盘点 = "C"
        /// </summary>
        public static readonly string 盘点 = "C";
        /// <summary>
        /// 站台到站台 = "SS"
        /// </summary>
        public static readonly string 站台到站台 = "SS";
        /// <summary>
        /// 移库 = "Move"
        /// </summary>
        public static readonly string 移库 = "Move";
    }

    public static class ContainerStatus
    {
        /// <summary>
        /// 空 = "empty"
        /// </summary>
        public static readonly string  = "empty";
        /// <summary>
        /// 有 = "some"
        /// </summary>
        public static readonly string  = "some";
        /// <summary>
        /// 满 = "full"
        /// </summary>
        public static readonly string  = "full";
    }

    public static class StationPlace
    {
        /// <summary>
        /// 巷道北面 = 1
        /// </summary>
        public static readonly int 巷道北面 = 1;
        /// <summary>
        /// 巷道中间 = 2
        /// </summary>
        public static readonly int 巷道中间 = 2;
        /// <summary>
        /// 巷道南面 = 3
        /// </summary>
        public static readonly int 巷道南面 = 3;
        /// <summary>
        /// 5巷道北面 = 4
        /// </summary>
        public static readonly int 五巷道北面 = 4;
        /// <summary>
        /// 6巷道北面 = 5
        /// </summary>
        public static readonly int 六巷道北面 = 5;
    }

    public static class StationType
    {
        /// <summary>
        /// 普通站台 = 1
        /// </summary>
        public static readonly int 普通站台 = 1;
        /// <summary>
        /// 木栈板补给站台w_1 = 2
        /// </summary>
        public static readonly int 木栈板补给站台w_1 = 2;
        /// <summary>
        /// 木栈板补给站台w_2 = 3
        /// </summary>
        public static readonly int 木栈板补给站台w_2 = 3;
        /// <summary>
        /// 木栈板母板补给站台s_1 = 4
        /// </summary>
        public static readonly int 木栈板母板补给站台s_1 = 4;
        /// <summary>
        /// 木栈板母板补给站台s_2 = 5
        /// </summary>
        public static readonly int 木栈板母板补给站台s_2 = 5;
        /// <summary>
        /// 暂存区站台 = 6
        /// </summary>
        public static readonly int 暂存区站台 = 6;
        /// <summary>
        /// 木板到达站台 = 7
        /// </summary>
        public static readonly int 木板补给终点站台 = 7;
        ///<summary>
        /// 输送线点位 = 8
        /// </summary>
        public static readonly int 输送线点位 = 8;
        /// <summary>
        /// 空板暂存区站台 = 9
        /// </summary>
        public static readonly int 空板暂存区站台 = 9;
        /// <summary>
        /// PP片上胶站台 = 10
        /// </summary>
        public static readonly int PP片上胶站台 = 10;
        /// <summary>
        /// PP片叠配站台 = 11
        /// </summary>
        public static readonly int PP片叠配站台 = 11;
        /// <summary>
        /// 东侧原材料出库机台 = 12
        /// </summary>
        public static readonly int 东侧原材料出库机台 = 12;
        /// <summary>
        /// 钢板补给终点站台 = 13
        /// </summary>
        public static readonly int 钢板补给终点站台 = 13;
    }

    public static class InventoryTaskType
    {
        /// <summary>
        /// 无任务 = "idle"
        /// </summary>
        public static readonly string 无任务 = "idle";
        /// <summary>
        /// 有盘点任务 = "cyclecountLock"
        /// </summary>
        public static readonly string 有盘点任务 = "cyclecountLock";
        /// <summary>
        /// 任务锁定中... = "lock"
        /// </summary>
        public static readonly string 任务锁定中 = "lock";
    }

    public static class ContainerType
    {
        /// <summary>
        /// 普通栈板 = "p_1"
        /// </summary>
        public static readonly string 普通栈板 = "p_1";
        /// <summary>
        /// 空托盘组 = "p_2"
        /// </summary>
        public static readonly string 空托盘组 = "p_2";
        /// <summary>
        /// 木栈板母板_1 = "s_1"
        /// </summary>
        public static readonly string 木栈板母板_1 = "s_1";
        /// <summary>
        /// 木栈板母板_2 = "s_2"
        /// </summary>
        public static readonly string 木栈板母板_2 = "s_2";
    }

    public static class ContainerLock
    {
        /// <summary>
        /// 未锁 = 0
        /// </summary>
        public static readonly short? 未锁 = 0;
        /// <summary>
        /// 任务锁 = 1
        /// </summary>
        public static readonly short? 任务锁 = 1;
        /// <summary>
        /// 盘点锁 = 2
        /// </summary>
        public static readonly short? 盘点锁 = 2;
    }

    public static class LocationStatus
    {
        /// <summary>
        /// 禁用 = "disable"
        /// </summary>
        public static readonly string 禁用 = "disable";
        /// <summary>
        /// 空仓位 = "empty"
        /// </summary>
        public static readonly string 空仓位 = "empty";
        /// <summary>
        /// 任务锁定中... = "lock"
        /// </summary>
        public static readonly string 任务锁定中 = "lock";
        /// <summary>
        /// 有货 = "some"
        /// </summary>
        public static readonly string 有货 = "some";
        /// <summary>
        /// 已满 = "full"
        /// </summary>
        public static readonly string 已满 = "full";
        /// <summary>
        /// 空容器 = "emptycontainer"
        /// </summary>
        public static readonly string 空容器 = "emptycontainer";
        /// <summary>
        /// 空容器组 = "emptycontainers"
        /// </summary>
        public static readonly string 空容器组 = "emptycontainers";
        /// <summary>
        /// 入库占用 = "receiptLock"
        /// </summary>
        public static readonly string 入库占用 = "receiptLock";
    }

    public static class InventoryStatus
    {
        /// <summary>
        /// 次品 = "defective"
        /// </summary>
        public static readonly string 次品 = "defective";
        /// <summary>
        /// 待确认 = "discussed"
        /// </summary>
        public static readonly string 待确认 = "discussed";
        /// <summary>
        /// 良品 = "good"
        /// </summary>
        public static readonly string 良品 = "good";
        /// <summary>
        /// 报废品 = "scrap"
        /// </summary>
        public static readonly string 报废品 = "scrap";
    }

    public static class ReceiptContainerHeaderStatus
    {
        /// <summary>
        /// 新建 = 0
        /// </summary>
        public static readonly int 新建 = 0;
        /// <summary>
        /// 开始上架 = 10
        /// </summary>
        public static readonly int 开始上架 = 10;
        /// <summary>
        /// 上架完成 = 20
        /// </summary>
        public static readonly int 上架完成 = 20;
    }

    public static class ReceiptHeaderStatus
    {
        /// <summary>
        /// 新建 = 0
        /// </summary>
        public static readonly short? 新建 = 0;
        /// <summary>
        /// 订单池 = 100
        /// </summary>
        public static readonly short? 订单池 = 100;
        /// <summary>
        /// 入库预约 = 120
        /// </summary>
        public static readonly short? 入库预约 = 120;
        /// <summary>
        /// 分配完成 = 130
        /// </summary>
        public static readonly short? 分配完成 = 130;
        /// <summary>
        /// 入库到货 = 150
        /// </summary>
        public static readonly short? 入库到货 = 150;
        /// <summary>
        /// 入库质检 = 180
        /// </summary>
        public static readonly short? 入库质检 = 180;
        /// <summary>
        /// 收货 = 200
        /// </summary>
        public static readonly short? 收货 = 200;
        /// <summary>
        /// 定位 = 240
        /// </summary>
        public static readonly short? 定位 = 240;
        /// <summary>
        /// 上架 = 300
        /// </summary>
        public static readonly short? 上架 = 300;
        /// <summary>
        /// 过账 = 800
        /// </summary>
        public static readonly short? 过账 = 800;
        /// <summary>
        /// 回传 = 900
        /// </summary>
        public static readonly short? 回传 = 900;
        /// <summary>
        /// 空托回库 = 1000
        /// </summary>
        public static readonly short? 空托回库 = 1000;
    }

    public static class ShipmentContainerHeaderStatus
    {
        /// <summary>
        /// 新建 = 0
        /// </summary>
        public static readonly int 新建 = 0;
        /// <summary>
        /// 生成任务 = 10
        /// </summary>
        public static readonly int 生成任务 = 10;
        /// <summary>
        /// 拣货完成 = 20
        /// </summary>
        public static readonly int 拣货完成 = 20;
        /// <summary>
        /// 复核完成 = 30
        /// </summary>
        public static readonly int 复核完成 = 30;
    }

    public static class ShipmentHeaderStatus
    {
        /// <summary>
        /// 新建 = 0
        /// </summary>
        public static readonly short? 新建 = 0;
        /// <summary>
        /// 订单池 = 100
        /// </summary>
        public static readonly short? 订单池 = 100;
        /// <summary>
        /// 出库预约 = 120
        /// </summary>
        public static readonly short? 出库预约 = 120;
        /// <summary>
        /// 订单分析 = 150
        /// </summary>
        public static readonly short? 订单分析 = 150;
        /// <summary>
        /// 波次 = 200
        /// </summary>
        public static readonly short? 波次 = 200;
        /// <summary>
        /// 分配完成 = 250
        /// </summary>
        public static readonly short? 分配完成 = 250;
        /// <summary>
        /// 拣货完成 = 300
        /// </summary>
        public static readonly short? 拣货完成 = 300;
        /// <summary>
        /// 称重 = 400
        /// </summary>
        public static readonly short? 称重 = 400;
        /// <summary>
        /// 复核 = 500
        /// </summary>
        public static readonly short? 复核 = 500;
        /// <summary>
        /// 装载 = 600
        /// </summary>
        public static readonly short? 装载 = 600;
        /// <summary>
        /// 过账 = 700
        /// </summary>
        public static readonly short? 过账 = 700;
        /// <summary>
        /// 发运 = 800
        /// </summary>
        public static readonly short? 发运 = 800;
        /// <summary>
        /// 回传 = 900
        /// </summary>
        public static readonly short? 回传 = 900;
    }

    public static class TaskStatus
    {
        /// <summary>
        /// 错误 = -99
        /// </summary>
        public static readonly int? 错误 = -99;
        /// <summary>
        /// 无任务 = -1
        /// </summary>
        public static readonly int? 无任务 = -1;
        /// <summary>
        /// 新建任务 = 0
        /// </summary>
        public static readonly int? 新建任务 = 0;
        /// <summary>
        /// 待下发任务 = 5
        /// </summary>
        public static readonly int? 待下发任务 = 5;
        /// <summary>
        /// 下达任务 = 10
        /// </summary>
        public static readonly int? 下达任务 = 10;
        /// <summary>
        /// 开始执行 = 20
        /// </summary>
        public static readonly int? 开始执行 = 20;
        /// <summary>
        /// 到达堆垛机接出站台(堆垛机执行出库完成) = 25
        /// </summary>
        public static readonly int? 到达堆垛机接出站台 = 25;
        /// <summary>
        /// 已经完成堆垛机接出站台任务响应 = 28
        /// </summary>
        public static readonly int? 已经完成堆垛机接出站台任务响应 = 28;
        /// <summary>
        /// 已经到站台 = 30
        /// </summary>
        public static readonly int? 已经到站台 = 30;
        /// <summary>
        /// 放货中(放不下待放其它容器) = 31
        /// </summary>
        public static readonly int? 放货中 = 31;
        /// <summary>
        /// 到达站台出库查看确认完成 = 32
        /// </summary>
        public static readonly int? 出库查看完成 = 32;
        /// <summary>
        /// 放/取货完成 = 33
        /// </summary>
        public static readonly int? 放取货完成 = 33;
        /// <summary>
        /// 模拟电气拣放货完成按钮 = 34
        /// </summary>
        public static readonly int? 模拟电气拣放货完成按钮 = 34;
        /// <summary>
        /// 到达堆垛机接入站台(表示堆垛机可以对其进行入库) = 35
        /// </summary>
        public static readonly int? 到达堆垛机接入站台 = 35;
        /// <summary>
        /// 堆垛机进行了入库响应 = 38
        /// </summary>
        public static readonly int? 堆垛机进行了入库响应 = 38;
        /// <summary>
        /// 已经完成 = 40
        /// </summary>
        public static readonly int? 已经完成 = 40;
    }

    public static class TransactionType
    {
        /// <summary>
        /// 入库 = receipt
        /// </summary>
        public static readonly string 入库 = "receipt";
        /// <summary>
        /// 出库 = shipment
        /// </summary>
        public static readonly string 出库 = "shipment";
        /// <summary>
        /// 盘点更改 = Cyclecount
        /// </summary>
        public static readonly string 盘点 = "Cyclecount";
    }

    public static class PickType
    {
        /// <summary>
        /// 打包 = Ispack
        /// </summary>
        public static readonly string 打包 = "Ispack";
        /// <summary>
        /// 未打包 = unpack
        /// </summary>
        public static readonly string 未打包 = "unpack";
    }

    public static class FlodType
    {
        /// <summary>
        /// 排板 = Isflod
        /// </summary>
        public static readonly string 排板 = "Isflod";
        /// <summary>
        /// 未排板 = unflod
        /// </summary>
        public static readonly string 未排板 = "unflod";
    }

    public static class StoreStationStatus
    {
        /// <summary>
        /// 到达站台 
        /// </summary>
        public static readonly string 到达站台 = "store";
        /// <summary>
        /// 任务中
        /// </summary>
        public static readonly string 任务中 = "lock";
    }

    public static class DistributionType
    {
        /// <summary>
        /// 动态库位 
        /// </summary>
        public static readonly int 动态库位 = 0;
        /// <summary>
        /// 静态库位
        /// </summary>
        public static readonly int 静态库位 = 1;
    }

    public static class LocationDistributionType
    {
        /// <summary>
        /// 普通库位 
        /// </summary>
        public static readonly int 普通库位 = 0;
        /// <summary>
        /// 被分配库位动态库位
        /// </summary>
        public static readonly int 被分配库位动态库位 = 1;
        /// <summary>
        /// 被分配库位静态库位
        /// </summary>
        public static readonly int 被分配库位静态库位 = 2;
    }

    public static class WoodType
    {
        /// <summary>
        /// 异常板 
        /// </summary>
        public static readonly int 异常板 = 99;
        /// <summary>
        /// 普通板 
        /// </summary>
        public static readonly int 普通板 = 1;
        /// <summary>
        /// 1号小木板 
        /// </summary>
        public static readonly int 成品1号小木板 = 11;
        /// <summary>
        /// 2号小木板
        /// </summary>
        public static readonly int 成品2号小木板 = 12;
        /// <summary>
        /// 3号小木板
        /// </summary>
        public static readonly int 成品3号小木板 = 13;
        /// <summary>
        /// 4号大木板 
        /// </summary>
        public static readonly int 成品4号大木板 = 14;
        /// <summary>
        /// 5号大木板
        /// </summary>
        public static readonly int 成品5号大木板 = 15;
        /// <summary>
        /// 6号大木板
        /// </summary>
        public static readonly int 成品6号大木板 = 16;
        /// <summary>
        /// 小空母托 
        /// </summary>
        public static readonly int 小空母托 = 21;
        /// <summary>
        /// 大空母托
        /// </summary>
        public static readonly int 大空母托 = 22;
        /// <summary>
        /// 小空母托载的1号小木板 
        /// </summary>
        public static readonly int 小空母托载的1号小木板 = 31;
        /// <summary>
        /// 小空母托载的2号小木板
        /// </summary>
        public static readonly int 小空母托载的2号小木板 = 32;
        /// <summary>
        /// 小空母托载的3号小木板
        /// </summary>
        public static readonly int 小空母托载的3号小木板 = 33;
        /// <summary>
        /// 大空母托载的4号大木板 
        /// </summary>
        public static readonly int 大空母托载的4号大木板 = 34;
        /// <summary>
        /// 大空母托载的5号大木板
        /// </summary>
        public static readonly int 大空母托载的5号大木板 = 35;
        /// <summary>
        /// 大空母托载的6号大木板
        /// </summary>
        public static readonly int 大空母托载的6号大木板 = 36;
    }

    //桁架任务步骤
    public static class TaskSteps
    {
        /// <summary>
        /// 初始 
        /// </summary>
        public static readonly int 初始 = 0;
        /// <summary>
        /// 请求取货
        /// </summary>
        public static readonly int 请求取货 = 1;
        /// <summary>
        /// 允许取货
        /// </summary>
        public static readonly int 允许取货 = 2;
        /// <summary>
        /// 请求放货
        /// </summary>
        public static readonly int 请求放货 = 3;
        /// <summary>
        /// 允许放货
        /// </summary>
        public static readonly int 允许放货 = 4;

    }

}