From db38a36244caaddd417456065ac8954f56886395 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 02 12月 2024 16:24:18 +0800 Subject: [PATCH] 11 --- CC/iWareCC_ASRS/ThreadService/00_269工位/DataProcess_269.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git "a/CC/iWareCC_ASRS/ThreadService/00_269\345\267\245\344\275\215/DataProcess_269.cs" "b/CC/iWareCC_ASRS/ThreadService/00_269\345\267\245\344\275\215/DataProcess_269.cs" index 5eb3170..3bb1907 100644 --- "a/CC/iWareCC_ASRS/ThreadService/00_269\345\267\245\344\275\215/DataProcess_269.cs" +++ "b/CC/iWareCC_ASRS/ThreadService/00_269\345\267\245\344\275\215/DataProcess_269.cs" @@ -30,11 +30,12 @@ LogType logType = LogType.DataProcess_269; while (true) { - Thread.Sleep(2000);//浼戠湢2绉掞紝灏嗕紤鐪犲啓鍒板墠闈紝鏄负浜嗕笅闈㈢殑continue鏂规硶鎵ц鍚庝笉鏄剧ず閿欒淇℃伅鐨勬彁绀猴紒锛侊紒銆怑ditBy shaocx,2022-05-24銆� + Thread.Sleep(1000);//浼戠湢2绉掞紝灏嗕紤鐪犲啓鍒板墠闈紝鏄负浜嗕笅闈㈢殑continue鏂规硶鎵ц鍚庝笉鏄剧ず閿欒淇℃伅鐨勬彁绀猴紒锛侊紒銆怑ditBy shaocx,2022-05-24銆� SystemWarningMsg._lbl_alert_DataProcess_269 = string.Empty; try { - if (SystemValue.isAllowRuning_DataProcess_269 && SystemValue.isStartedModel) + //if (SystemValue.isAllowRuning_DataProcess_269 && SystemValue.isStartedModel) + if (SystemValue.isStartedModel) { var rgvLocation = StationLocationEnum.棣栨鎵爜宸ヤ綅.ToString(); /* @@ -60,7 +61,7 @@ continue; } - upiObj.AreaCode = (int)AreaCodeEnum.缂撳瓨鍒嗘嫞鍖�; + upiObj.AreaCode = (int)AreaCodeEnum.寰呯紦瀛樺垎鎷e尯; wmsDB.SaveChanges(); } @@ -75,5 +76,6 @@ } } + } } -- Gitblit v1.9.3