schangxiang@126.com
2025-03-02 7049a601220246aeaae33da5bdb83c167c2dbb45
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
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
 
namespace iWareCommon
{
    /// <summary>
    /// 系统变量
    /// </summary>
    public class SystemValue
    {
        /// <summary>
        /// 移库名称
        /// </summary>
        public static string YIKUNAME = "移库";
 
        /// <summary>
        /// 系统启动的GUID
        /// </summary>
        public static string SystemStartGuid = string.Empty;
 
        /// <summary>
        /// 模式是否启动
        /// </summary>
        public static bool isStartedModel = false;
 
        /// <summary>
        /// 延迟线程执行的时间(毫秒)
        /// </summary>
        public static int DelayExcuteNumber = 2000;
 
        /// <summary>
        /// SAP的名
        /// </summary>
        public static string SAP_USERNAME = "SAP";
 
        /// <summary>
        /// SAP的工厂代码
        /// </summary>
        public static string SAP_FACTORYCODE = "SAP_FACTORYCODE";
 
        /// <summary>
        /// SAP 是否启用传输
        /// </summary>
        public static string SAP_ISENABLE_TRANSFER = "SAP_ISENABLE_TRANSFER";
 
        /// <summary>
        ///上一次拉取PO单的时间(yyyy-MM-dd)
        /// </summary>
        public static string SAP_PO_LASTGETDATE = "SAP_PO_LASTGETDATE";
 
        /// <summary>
        /// 定时获取po单(小时)
        /// </summary>
        public static string SAP_GET_PO = "SAP_GET_PO";
 
 
        /// <summary>
        ///上一次拉取撤销收货单的时间(yyyy-MM-dd)
        /// </summary>
        public static string SAP_CANCEL_RECEIVING_LASTGETDATE = "SAP_CANCEL_RECEIVING_LASTGETDATE";
 
        /// <summary>
        /// 定时撤销确认收货(小时)
        /// </summary>
        public static string SAP_POST_CANCELR_RECEIVING = "SAP_POST_CANCELR_RECEIVING";
 
        /// <summary>
        ///上一次拉取收货单的时间(yyyy-MM-dd)
        /// </summary>
        public static string SAP_RECEIVING_LASTGETDATE = "SAP_RECEIVING_LASTGETDATE";
 
        /// <summary>
        /// 定时确认收货(小时)
        /// </summary>
        public static string SAP_POST_RECEIVING = "SAP_POST_RECEIVING";
 
        /// <summary>
        /// 是否允许执行 处理下发中的出库计划任务
        /// </summary>
        public static bool isAllowRuning_HandlerIssuingTask = false;
 
        /// <summary>
        /// 是否允许执行 处理1、2巷道的任务下发
        /// </summary>
        public static bool isAllowRuning_OutTaskIssueTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 处理3巷道的任务下发
        /// </summary>
        public static bool isAllowRuning_OutTaskIssueTaskHandler3 = false;
 
        /// <summary>
        /// 是否允许执行 任务分解线程
        /// </summary>
        public static bool isAllowRuning_MainTaskDecompose = false;
 
        /// <summary>
        /// 是否允许执行 任务分解线程-组盘入库
        /// </summary>
        public static bool isAllowRuning_MainTaskDecompose_ZPRK = false;
 
        /// <summary>
        /// 是否允许执行 堆垛机入口扫码检测线程
        /// </summary>
        public static bool isAllowRuning_LineInScan = false;
 
 
 
        /// <summary>
        /// 是否允许执行 清理数据线程
        /// </summary>
        public static bool isAllowRuning_DeleteData = false;
 
 
        /// <summary>
        /// 是否允许执行 立体库任务完成
        /// </summary>
        public static bool isAllowRuning_SrmTaskFinish = false;
 
        /// <summary>
        /// 是否允许执行 平库任务完成
        /// </summary>
        public static bool isAllowRuning_PingKuTaskFinish = false;
 
        /// <summary>
        /// 是否允许执行 打印
        /// </summary>
        public static bool isAllowRuning_Print = false;
 
 
 
        /// <summary>
        /// 是否允许执行 sap物料主数据
        /// </summary>
        public static bool isAllowRuning_Sap_MaterialMaterTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 sap采购订单数据
        /// </summary>
        public static bool isAllowRuning_Sap_PurchaseOrderTaskHandler = false;
 
 
        /// <summary>
        /// 是否允许执行 sap确认收货数据
        /// </summary>                  
        public static bool isAllowRuning_Sap_ReceivingRegistrationTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 sap领用单物料出库
        /// </summary>                  
        public static bool isAllowRuning_Sap_DeliverRecordTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 sap撤销收货确认数据
        /// </summary>                  
        public static bool isAllowRuning_Sap_CancelReceivingTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 sap获取DO单数据
        /// </summary>
        public static bool isAllowRuning_Sap_GetDeliverOrderTaskHandler = false;
 
 
        /// <summary>
        /// 是否允许执行 sap DO单发货
        /// </summary>
        public static bool isAllowRuning_Sap_DODeliverRecordTaskHandler = false;
 
        /// <summary>
        /// 是否允许执行 sap DO单物料领取
        /// </summary>
 
        public static bool isAllowRuning_Sap_MaterialMaterDeliverRecordTaskHandler = false;
 
 
        #region 工作模式
 
 
        /// <summary>
        /// 是否选中了 手动模式
        /// </summary>
        public static bool rbHand_Checked = false;
 
        /// <summary>
        /// 是否选中了 自动模式
        /// </summary>
        public static bool rBNormal_Checked = false;
 
        /// <summary>
        /// 是否选中了 调试模式
        /// </summary>
        public static bool rBDebug_Checked = false;
 
        /// <summary>
        /// 是否选中了 入库模式
        /// </summary>
        public static bool rBOnlyIn_Checked = false;
 
        #endregion
 
 
        /// <summary>
        /// 是否选中了 ckBRgv上料任务
        /// </summary>
        public static bool ckBRgv上料任务 = false;
 
        /// <summary>
        /// 是否选中了 ckBRgv提前配板任务
        /// </summary>
        public static bool ckBRgv提前配板任务 = false;
 
 
 
    }
}