Admin
2026-04-01 9ce6687843bd5079b7a87925df0bc7e3ddf2d36a
ÏîÄ¿´úÂë/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WMSTaskService.cs
@@ -336,6 +336,7 @@
                taskInfo1.taskType = taskType;
                taskInfo1.invType = invType;
                taskInfo1.psd = "akjfapjfpadaoif";
                commandResult = HttpHelper.Post<CommandResult>(urlWMStaskreturn, taskInfo1, "任务状态回调");
                WriteLog.Write_Log("同步给上游反馈任务完成", "任务信息", $"任务号:{taskId}", $"调取参数:{taskInfo1.ToJsonString()},返回参数:{commandResult.ToJsonString()}");
@@ -343,8 +344,10 @@
            }
            catch (Exception ex)
            {
                Console.WriteLine("调取上游接口错误:原因:"+ex.Message);
                commandResult.status = "error";
                commandResult.result = $"WCS接口错误,原因:{ex.Message}";
                string resujos = $"WCS接口错误,原因:{ex.Message}";
                commandResult.result = resujos.ToJsonString();
                WriteLog.Write_Log("同步给上游反馈任务完成", "任务信息", $"任务号:{taskId}", $"需要上传WMS信息内容:{commandResult.ToJsonString()},WCS接口错误,原因:{ex.Message}");
                return commandResult;
@@ -384,7 +387,9 @@
            catch (Exception ex)
            {
                commandResult.status = "error";
                commandResult.result = $"WCS接口错误,原因:{ex.Message}";
                string resujos = $"WCS接口错误,原因:{ex.Message}";
                commandResult.result = resujos.ToJsonString();
                WriteLog.Write_Log("同步给上游设备故障信息", "设备故障信息", $"设备id:{devuuid},失败", $"WCS接口错误,原因:{ex.Message}");
                return commandResult;
@@ -412,7 +417,9 @@
            catch (Exception ex)
            {
                commandResult.status = "error";
                commandResult.result = $"WCS接口错误,原因:{ex.Message}";
                string resujos = $"WCS接口错误,原因:{ex.Message}";
                commandResult.result = resujos.ToJsonString();
                WriteLog.Write_Log("同步给上游提升到位信息", "信息内容", $"错误信息", $"WCS接口错误,原因:{ex.Message}");
                return commandResult;
            }