jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
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
872
873
874
875
876
877
878
879
using HH.WMS.Entitys.Common;
using HH.WMS.Entitys.Sys;
/*------------------------------------------------------------------
-- COPYRIGHT (C) 2011-2020  hanhe
-- ALL RIGHTS RESERVED.
-- han he
-- CREATE DATE: 2014/06/11
-- CREATE MAN:    姜新军
-- 常量类
-- MODIFY HISTORY:
-- MODIFY DATE:
-- MODIFY MAN:    
-- MODIFY DESC:
-- MODIFY DATE:
-- MODIFY MAN:    
-- MODIFY DESC:
---------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
 
namespace HH.WMS.Common
{
    /// <summary>
    /// 放置常数
    /// </summary>
    public static class Constants
    {
        public static SysConfigParamEntity SysConfig = new SysConfigParamEntity();
 
        public static List<IntfField> InfDataFormat;
 
        /// <summary>
        /// 是:Y 否:N
        /// </summary>
        public static readonly string Y = "Y";
 
        /// <summary>
        /// 是:Y 否:N
        /// </summary>
        public static readonly string N = "N";
 
        /// <summary>
        /// 重置初始密码
        /// </summary>
        public static readonly string INIT_PASSWORD = "123456";
 
        /// <summary>
        /// 设置当前系统应用ID
        /// </summary>
        public static readonly string appCode = "AutoWMS"; //Util.ToStutoring(System.Configuration.ConfigurationManager.AppSettings["appCode"]);
 
        /// <summary>
        /// 设置系统应用ID
        /// </summary>
        public static readonly string appOmsCode = "OMS";
 
        /// <summary>
        /// 当前所属系统
        /// </summary>
        //public static readonly string WmsApp = Util.ToString(System.Configuration.ConfigurationManager.AppSettings["WmsApp"]);
 
        /// <summary>
        /// 用户信息存储到redis Hash表中的实体名称
        /// </summary>
        public static readonly string user_HashId = "userEntity";
 
        /// <summary>
        /// 托盘
        /// </summary>
        public static readonly string Tray = "托盘";
 
        /// <summary>
        /// 周转箱
        /// </summary>
        public static readonly string TurnoverBox = "周转箱";
 
        #region 单据规则名称
        /// <summary>
        /// 工单号
        /// </summary>
        public static readonly string Rule_WorkOrder = "工单号";
        /// <summary>
        /// 
        /// </summary>
        public static readonly string Rule_TaskNo = "任务号";
        /// <summary>
        /// 入库订单号
        /// </summary>
        public static readonly string Rule_InOrder = "入库订单号";
        /// <summary>
        /// 到货单号
        /// </summary>
        public static readonly string Rule_Arrival = "到货单号";
        /// <summary>
        /// 入库单号
        /// </summary>
        public static readonly string Rule_In = "入库单号";
        /// <summary>
        /// 检验单号
        /// </summary>
        public static readonly string Rule_Inspect = "检验单号";
        /// <summary>
        /// 出库单号
        /// </summary>
        public static readonly string Rule_Out = "出库单号";
        /// <summary>
        /// 批次号
        /// </summary>
        public static readonly string BatchNo = "批次号";
 
        /// <summary>
        /// 盘点单号
        /// </summary>
        public static readonly string CheckCode = "盘点单号";
 
        /// <summary>
        /// 移库单号
        /// </summary>
        public static readonly string MoveCode = "移库单号";
 
        /// <summary>
        /// 移库单
        /// </summary>
        public static readonly string MoveOrder = "移库单";
 
        /// <summary>
        /// 还料单
        /// </summary>
        public static readonly string ItemBackNo = "还料单号";
        #endregion
 
        #region 货位状态
        /// <summary>
        /// 货位状态-正常
        /// </summary>
        public static readonly string Location_State_Normal = "正常";
        /// <summary>
        /// 货位状态-盘点锁定
        /// </summary>
        public static readonly string Location_Check_Lock = "盘点锁定";
        /// <summary>
        /// 货位状态-盘点锁定
        /// </summary>
        public static readonly string Location_Carry_Lock = "搬运锁定";
        /// <summary>
        /// 货位状态-预入库锁定
        /// </summary>
        public static readonly string Location_State_InLock = "预入库锁定";
 
        /// <summary>
        /// 货位状态-入库故障
        /// </summary>
        public static readonly string Location_State_InFault = "入库故障";
 
        /// <summary>
        /// 货位状态-预出库锁定
        /// </summary>
        public static readonly string Location_State_OutLock = "预出库锁定";
 
        /// <summary>
        /// 货位状态-出库故障
        /// </summary>
        public static readonly string Location_State_OutFault = "出库故障";
 
        /// <summary>
        /// 货位状态-全部故障
        /// </summary>
        public static readonly string Location_State_AllFault = "全部故障";
 
        /// <summary>
        /// 货位状态-ERP锁定
        /// </summary>
        public static readonly string Location_State_ERPLock = "ERP锁定";
        #endregion
 
        #region 贮存状态
        /// <summary>
        /// 贮存状态-空
        /// </summary>
        public static readonly string Use_State_Empty = "空";
 
        /// <summary>
        /// 贮存状态-不满
        /// </summary>
        public static readonly string Use_State_NoFull = "不满";
 
        /// <summary>
        /// 贮存状态-满
        /// </summary>
        public static readonly string Use_State_Full = "满";
        #endregion
 
        #region 检验单状态
        /// <summary>
        /// 检验单状态-待检验
        /// </summary>
        public static readonly string Inspect_State_Wait = "待检验";
 
        /// <summary>
        /// 检验单状态-已送检
        /// </summary>
        public static readonly string Inspect_State_Already = "已送检";
 
        /// <summary>
        /// 检验单状态-已检验
        /// </summary>
        public static readonly string Use_State_Tested = "已检验";
        #endregion
 
        #region 使用状态
        /// <summary>
        /// 未使用
        /// </summary>
        public static readonly string TrayState_NotUse = "未使用";
        /// <summary>
        /// 使用中
        /// </summary>
        public static readonly string TrayState_InUse = "使用中";
        #endregion
 
        /// <summary>
        /// 出库订单
        /// </summary>
        public static readonly string Rule_OutOrder = "出库订单";
        /// <summary>
        /// 出库单
        /// </summary>
        public static readonly string Rule_OutNo = "出库单";
        /// <summary>
        /// 分拣单
        /// </summary>
        public static readonly string Rule_SortingNo = "分拣单";
        /// <summary>
        /// 波次号
        /// </summary>
        public static readonly string Rule_WaveNo = "波次号";
        /// <summary>
        /// 分拣单组号
        /// </summary>
        public static readonly string SortingGroup = "分拣单组号";
        /// <summary>
        /// 分拣单号
        /// </summary>
        public static readonly string SortingNo = "分拣单号";
        /// <summary>
        /// 合单
        /// </summary>
        public static readonly string MergeSplit_Merge = "合单";
        /// <summary>
        /// 拆单
        /// </summary>
        public static readonly string MergeSplit_Split = "拆单";
        /// <summary>
        /// 一进一出
        /// </summary>
        public static readonly string Auto_InOut = "一进一出";
        /// <summary>
        /// 消耗出库
        /// </summary>
        //public static readonly string OutOpType_Consume = "消耗出库";
 
        /// <summary>
        /// 维修销售
        /// </summary>
        public static readonly string OutOpType_WxXs = "维修销售";
        /// <summary>
        /// 维修消耗
        /// </summary>
        public static readonly string OutOpType_WxXh = "维修消耗";
 
        /// <summary>
        /// 发运方式-物流
        /// </summary>
        public static readonly string Forwarding_Logistics = "物流";
        /// <summary>
        /// 装箱码
        /// </summary>
        public static readonly string PackCode = "装箱码";
        /// <summary>
        /// 出库
        /// </summary>
        public static readonly string Out = "出库";
        /// <summary>
        /// 入库
        /// </summary>
        public static readonly string In = "入库";
 
        #region 操作类型
        /// <summary>
        /// 提交
        /// </summary>
        public static readonly string Operate_Sumit = "提交";
        /// <summary>
        /// 审核
        /// </summary>
        public static readonly string Operate_Audit = "审核";
        /// <summary>
        /// 驳回
        /// </summary>
        public static readonly string Operate_Reject = "驳回";
        /// <summary>
        /// 反审
        /// </summary>
        public static readonly string Operate_ReAudit = "反审";
        /// <summary>
        /// 合单
        /// </summary>
        public static readonly string Operate_MergeOrder = "合单";
        #endregion
 
        #region 分拣单状态
 
        /// <summary>
        /// 待分拣
        /// </summary>
        public static readonly string Sorting_Stay = "待分拣";
        /// <summary>
        /// 分拣中
        /// </summary>
        public static readonly string Sorting_Being = "分拣中";
        /// <summary>
        /// 已分拣
        /// </summary>
        public static readonly string Sorting_Sorted = "已分拣";
 
        #endregion
 
        #region 波次状态
 
        /// <summary>
        /// 已分播
        /// </summary>
        public static readonly string Wave_Sowed = "已分播";
        /// <summary>
        /// 分播中
        /// </summary>
        public static readonly string Wave_Sowing = "分播中";
        #endregion
 
        #region 分拣模式
 
        /// <summary>
        /// 先拣后播
        /// </summary>
        public static readonly string SeedingMode_DAS = "先拣后播";
        /// <summary>
        /// 边拣边播
        /// </summary>
        public static readonly string SeedingMode_DPS = "边拣边播";
        #endregion
 
        #region 创建类型
 
        /// <summary>
        /// 手工
        /// </summary>
        public static readonly string CreateType_Manual = "手工";
        /// <summary>
        /// 自动
        /// </summary>
        public static readonly string CreateType_Auto = "自动";
        #endregion
 
        #region 策略
        /// <summary>
        /// 是否启用AMS
        /// </summary>
        public const string IsUseAms = "IsUseAms";
        /// <summary>
        /// 是否启用K3对接
        /// </summary>
        public const string IsUseK3 = "IsUseK3";
        /// <summary>
        /// 是否出库模式
        /// </summary>
        public static string CL_OutServiceMode = "OutServiceMode";
        /// <summary>
        ///盘点模式
        /// </summary>
        public static string CL_CheckMode = "Check";
 
        /// <summary>
        ///空闲模式
        /// </summary>
        public static string CL_FreekMode = "Free";
 
        /// <summary>
        /// 上班时间
        /// </summary>
        public static string Strategy_StartTime = "StartTime";
        /// <summary>
        /// 下班时间
        /// </summary>
        public static string Strategy_EndTime = "EndTime";
        /// <summary>
        /// 内销最多几单一波
        /// </summary>
        public static string Strategy_SeveralMaxCreateWave = "SeveralMaxCreateWave";
        /// <summary>
        /// 不足时几分钟一波
        /// </summary>
        public static string Strategy_LessMinute = "LessMinute";
        #endregion
 
        /// <summary>
        /// 默认货主
        /// </summary>
        public static string DefaultOwner = string.Empty;
        /// <summary>
        /// 默认货主
        /// </summary>
        public static string DefaultOpType = "快速入库";
        /// <summary>
        /// 默认物料状态
        /// </summary>
        public static string DefaultItemState = string.Empty;
 
        /// <summary>
        /// 检验部门-默认
        /// </summary>
        public static string InspectDept = "配件公司";
 
        /// <summary>
        /// 修改并提交
        /// </summary>
        public static string Operate_EditAndSubmit = "修改并提交";
        /// <summary>
        /// 初始化入库
        /// </summary>
        public static string OpSystemInit = "初始化入库";
        /// <summary>
        /// K3默认保管员编码
        /// </summary>
        public static string K3ManagerCode = "003";
        /// <summary>
        /// K3默认保管员名称
        /// </summary>
        public static string K3ManagerName = "王刚";
 
        /// <summary>
        /// 波次策略
        /// </summary>
        public static string WaveStrategy = "波次策略";
        /// <summary>
        /// 发票初始化编码
        /// </summary>
        public static readonly string PURCHASE_TICKET_NO = "发票初始化编码";
        #region 库区结构
        /// <summary>
        /// 立库
        /// </summary>
        public static readonly string Area_Struc_LiStock = "立库";
 
        /// <summary>
        /// 平库
        /// </summary>
        public static readonly string Area_Struc_PingStock = "平库";
 
        /// <summary>
        /// 流离式
        /// </summary>
        public static readonly string Area_Struc_LiuLiStock = "流离式";
        /// <summary>
        /// 堆叠式
        /// </summary>
        public static readonly string Area_Struc_DuiDieStock = "堆叠式";
 
        #endregion
 
        #region 任务状态
        /// <summary>
        /// 任务状态-未执行
        /// </summary>
        public static readonly string TaskState_NoExecuted = "未执行";
        /// <summary>
        /// 任务状态-执行中
        /// </summary>
        public static readonly string TaskState_Executing = "执行中";
        /// <summary>
        /// 任务状态-完成
        /// </summary>
        public static readonly string TaskState_Complete = "完成";
        /// <summary>
        /// 任务状态-取消
        /// </summary>
        public static readonly string TaskState_Cancel = "取消";
        #endregion
        #region 任务执行反馈结果
        /// <summary>
        /// 未执行
        /// </summary>
        public const int TaskExecState_NoExec = 0;
        /// <summary>
        /// 执行中
        /// </summary>
        public const int TaskExecState_Start = 1;
        /// <summary>
        /// 完成
        /// </summary>
        public const int TaskExecState_Complete = 2;
        /// <summary>
        /// 开始取货
        /// </summary>
        public const int TaskExecState_StartPick = 3;
        /// <summary>
        /// 取货完成
        /// </summary>
        public const int TaskExecState_PickSucc = 4;
        /// <summary>
        /// 开始卸货
        /// </summary>
        public const int TaskExecState_StartUnloading = 5;
        /// <summary>
        /// 卸货完成
        /// </summary>
        public const int TaskExecState_UnloadingSucc = 6;
        /// <summary>
        /// 取消
        /// </summary>
        public const int TaskExecState_Cancel = 7;
        /// <summary>
        /// 失败
        /// </summary>
        public const int TaskExecState_Error = 11;
        /// <summary>
        /// 空取
        /// </summary>
        public const int TaskExecState_NullPickup = 12;
        /// <summary>
        /// 任务状态集合
        /// </summary>
        public static Dictionary<int, string> TaskStateList = new Dictionary<int, string>() {
        { 0, "未执行" },{ 1, "执行中" }, { 2, "完成" },{ 3, "开始取货" }, { 4, "取货完成" },{ 5, "开始卸货" }, { 6, "卸货完成" },{ 7, "取消" }, { 11, "失败" },{ 12, "空取" },{ 1022, "强制完成" }  };
 
        #endregion
 
 
        #region 库区标志
        /// <summary>
        /// 发货区
        /// </summary>
        public static readonly string ShippingArea = "发货区";
        /// <summary>
        /// 暂存区
        /// </summary>
        public static readonly string TempStorageArea = "暂存区";
 
        /// <summary>
        /// 收货区
        /// </summary>
        public static readonly string ReceivingArea = "收货区";
 
        /// <summary>
        /// 托盘区
        /// </summary>
        public static readonly string TrayArea = "托盘区";
 
        /// <summary>
        /// 大件区
        /// </summary>
        public static readonly string BigArea = "大件区";
 
        /// <summary>
        /// 集散区
        /// </summary>
        public static readonly string JSArea = "集散区";
 
        /// <summary>
        /// 虚拟托盘
        /// </summary>
        public static readonly string VirtualTray = "虚拟托盘";
 
        /// <summary>
        /// 集散区-集散来源
        /// </summary>
        public static string FixedLogicArea_JS_FROM = "JSZHX";
 
        #endregion
 
        /// <summary>
        ///码盘时相同物料不通批次,是否允许混放 
        /// </summary>
        public static string CL_IsAllowMixing = "IsAllowMixing";
        /// <summary>
        ///托盘区物料混放上限 
        /// </summary>
        public static string TPGoodUpLine = "TPGoodUpLine";
 
        /// <summary>
        ///料箱物料混放上限 
        /// </summary>
        public static string LXGoodUpLine = "LXGoodUpLine";
        #region 物料状态
        /// <summary>
        /// 合格
        /// </summary>
        public static readonly string ItemState_Qualified = "合格";
        /// <summary>
        /// 待检
        /// </summary>
        public static readonly string ItemState_WaitCheck = "待检";
        /// <summary>
        /// 不合格
        /// </summary>
        public static readonly string ItemState_UnQualified = "不合格";
        /// <summary>
        /// 废品
        /// </summary>
        public static readonly string ItemState_Waste = "废品";
        #endregion
 
        #region 单据状态
        /// <summary>
        /// 新建
        /// </summary>
        public static readonly string State_New = "新建";
        /// <summary>
        /// 已驳回
        /// </summary>
        public static readonly string State_Reject = "已驳回";
        /// <summary>
        /// 已反审
        /// </summary>
        public static readonly string State_ReAudit = "已反审";
        /// <summary>
        /// 已提交
        /// </summary>
        public static readonly string State_Submit = "已提交";
        /// <summary>
        /// 已审核
        /// </summary>
        public static readonly string State_Audit = "已审核";
        /// <summary>
        /// 已完成
        /// </summary>
        //public static readonly string State_Complete = "已完成";
        /// <summary>
        /// 执行中
        /// </summary>
        public static readonly string State_Executing = "执行中";
        /// <summary>
        /// 取消
        /// </summary>
        public static readonly string State_Cancel = "已取消";
        /// <summary>
        /// 待出库
        /// </summary>
        public static readonly string State_WaitOut = "待出库";
        /// <summary>
        /// 缺货
        /// </summary>
        public static readonly string State_Shortage = "缺货";
        /// <summary>
        /// 拦截
        /// </summary>
        public static readonly string State_Intercept = "拦截";
        /// <summary>
        /// 已复验
        /// </summary>
        public static readonly string State_Rechecked = "已复验";
        /// <summary>
        /// 已完成
        /// </summary>
        public static readonly string State_Completed = "已完成";
        /// <summary>
        /// 已送检
        /// </summary>
        public static readonly string State_BeenTest = "已送检";
        /// <summary>
        /// 已码盘
        /// </summary>
        public static readonly string State_BeenOnTray = "已码盘";
        /// <summary>
        /// 已检验
        /// </summary>
        public static readonly string State_BeenCheck = "已检验";
        /// <summary>
        /// 预出库
        /// </summary>
        public static readonly string State_PreOut = "预出库";
 
 
 
        /// <summary>
        /// 新建
        /// </summary>
        public static readonly string State_HK_New = "新建";
 
        /// <summary>
        /// 执行中
        /// </summary>
        public static readonly string State_HK_Excuting = "执行中";
 
        /// <summary>
        /// 完成
        /// </summary>
        public static readonly string State_HK_Complete = "完成";
 
        /// <summary>
        /// 强制完成
        /// </summary>
        public static readonly string State_HK_QZComplete = "强制完成";
 
        #endregion
        #region 出库模式
 
        /// <summary>
        /// 出库模式
        /// </summary>
        public static string CurrentMode_Out = "Out";
        /// <summary>
        /// 入库模式
        /// </summary>
        public static string CurrentMode_In = "In";
        /// <summary>
        /// 预出库模式
        /// </summary>
        public static string CurrentMode_WaitOut = "WaitOut";
        /// <summary>
        /// 预入库模式
        /// </summary>
        public static string CurrentMode_WaitIn = "WaitIn";
 
        #endregion
        /// <summary>
        /// Out
        /// </summary>
        public static string Workflow_Out = "Out";
 
        /// <summary>
        /// In
        /// </summary>
        public static string Workflow_In = "In";
 
        #region 任务类型
        /// <summary>
        /// 分拣出
        /// </summary>
        public static readonly string TaskType_SortingOut = "分拣出";
        /// <summary>
        /// 分拣回
        /// </summary>
        public static readonly string TaskType_SortingIn = "分拣回";
        /// <summary>
        /// 搬运
        /// </summary>
        public static readonly string TaskType_Transport = "暂存搬运";
        /// <summary>
        /// 盘点出
        /// </summary>
        public static readonly string TaskType_CheckOut = "盘点出";
        /// <summary>
        /// 拆包呼叫
        /// </summary>
        public static readonly string TaskType_UnpackedCall = "拆包呼叫";
 
        #endregion
 
        /// <summary>
        /// U8同步默认货主
        /// </summary>
        public static string DefaultU8Owner = "三生成品库";
 
        /// <summary>
        /// 入库任务号
        /// </summary>
        public static string TaskNo_In = "入库任务号";
        /// <summary>
        /// 出库任务号
        /// </summary>
        public static string TaskNo_Out = "出库任务号";
        #region 销售形式
 
        /// <summary>
        /// 外销
        /// </summary>
        public static string SalesStyle_WX = "外销";
        /// <summary>
        /// 内销
        /// </summary>
        public static string SalesStyle_NX = "内销";
 
        #endregion
 
        #region 波次配置默认值
        /// <summary>
        /// 波次创建默认时间
        /// </summary>
        public static string WaveDefault_StartTime = "08:30";
        /// <summary>
        /// 波次创建默认时间
        /// </summary>
        public static string WaveDefault_EndTime = "17:30";
        /// <summary>
        /// 波次创建最大出库单数
        /// </summary>
        public static string WaveDefault_SeveralMaxCreateWave = "5";
        /// <summary>
        /// 波次创建多少时间
        /// </summary>
        public static string WaveDefault_LessMinute = "30";
        #endregion
 
        #region 出库类型
        /// <summary>
        /// 缺货出库
        /// </summary>
        public static string OutType_ShortageOut = "缺货出库";
        /// <summary>
        /// 大件出库
        /// </summary>
        public static string OutType_BigOut = "大件出库";
        #endregion
 
        /// <summary>
        /// 入库任务号
        /// </summary>
        public static readonly string Rule_InTaskNo = "入库任务号";
 
        /// <summary>
        /// 出库任务号
        /// </summary>
        public static readonly string Rule_OutTaskNo = "出库任务号";
        /// <summary>
        /// 转运任务号
        /// </summary>
        public static readonly string Rule_TransTaskNo = "转运任务号";
 
        #region 输送单元
        /// <summary>
        /// 托盘
        /// </summary>
        public static readonly string TU_Tray = "托盘";
        /// <summary>
        /// 分拣车
        /// </summary>
        public static readonly string TU_PickCar = "分拣车";
        /// <summary>
        /// 周转箱
        /// </summary>
        public static readonly string TU_UniPak = "周转箱";
        /// <summary>
        /// 物料
        /// </summary>
        public static readonly string TU_Item = "物料";
        #endregion
 
        #region 作业类型
        /// <summary>
        /// 上游入
        /// </summary>
        public static readonly string WorkType_UpperReachesIn = "URIN";
        /// <summary>
        /// 上游出
        /// </summary>
        public static readonly string WorkType_UpperReachesOut = "UROUT";
        /// <summary>
        /// 下游入
        /// </summary>
        public static readonly string WorkType_LowerReachesIn = "LRIN";
        /// <summary>
        /// 下游出
        /// </summary>
        public static readonly string WorkType_LowerReachesOut = "LROUT";
        #endregion
 
        #region 南通桑德
 
        public static readonly string Rule_CarPound = "大磅单号";
 
        public static readonly string Rule_ItemPound = "小磅单号";
 
        public static readonly string Rule_SerialNum = "流水号";
 
        public static readonly string Rule_StockOut_SerialNum = "领料流水";
 
        #endregion
    }
}