From 557f02072fa311eefe3123aa44afebac22adc465 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期五, 24 四月 2026 17:24:43 +0800
Subject: [PATCH] 4-24
---
项目代码/WCS/WIDESEA_WCSServer/WIDESEA_WCS/WCSService.cs | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEA_WCSServer/WIDESEA_WCS/WCSService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEA_WCSServer/WIDESEA_WCS/WCSService.cs"
index e370159..d9be97e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEA_WCSServer/WIDESEA_WCS/WCSService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEA_WCSServer/WIDESEA_WCS/WCSService.cs"
@@ -1,6 +1,9 @@
锘縰sing HslCommunication;
using HslCommunication.WebSocket;
+using Microsoft.SqlServer.Server;
+using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Numeric;
+using OfficeOpenXml.FormulaParsing.Excel.Functions.Text;
using Quartz.Impl;
using System;
using System.Collections.Generic;
@@ -176,7 +179,7 @@
resultDic.Add("normal", "0");
- Thread.Sleep(300);
+ //Thread.Sleep(300);
modelResult1 = bool.Parse(client.ReadValue(CLineInfoDBName.R_System_Emery_Model.ToString(), "System").ToString());
if (modelResult1)
@@ -204,7 +207,7 @@
}
- Thread.Sleep(300);
+ //Thread.Sleep(300);
int val = int.Parse(client.ReadValue(CLineInfoDBName.R_System_Inline_Run_Model.ToString(), "System").ToString());
if (val == 1)
resultDic.Add("controlModel", "鎵嬪姩鎺у埗");
@@ -217,7 +220,7 @@
- Thread.Sleep(300);
+ //Thread.Sleep(300);
int modelResult = int.Parse(client.ReadValue(CLineInfoDBName.R_System_Inline_Run_Model.ToString(), "OutSystem").ToString());
if (modelResult == 1)
resultDic.Add("modelResult", "鎵嬪姩鎺у埗");
@@ -238,6 +241,7 @@
catch (Exception ex)
{
content.Error(ex.Message);
+ LogRecord.WriteLog(LogEnum.Errer, DateTime.Now.ToString()+"鍦℅etInboundLineCurrentModel鏂规硶鑾峰彇褰撳墠鍏ュ簱妯″紡鐨勬椂鍊欏彂鐢熶簡閿欒" + ex.Message+ "鏁版嵁"+ resultDic);
}
return content;
}
--
Gitblit v1.9.3