From ccf5c6a4396e810b46676e545f7ad8970b3787f1 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期日, 15 十二月 2024 09:23:25 +0800
Subject: [PATCH] 更新项目依赖,修复代码注释,调整开发环境配置

---
 Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs |   54 ------------------------------------------------------
 1 files changed, 0 insertions(+), 54 deletions(-)

diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs
index f9ea672..0b756c1 100644
--- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs
+++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs
@@ -259,27 +259,6 @@
             string[] targetCodes = task.TargetAddress.Split("-");
             if (targetCodes.Length == 3)
             {
-                //if (task.Roadway.Contains("FR"))
-                //{
-                //    if(task.Roadway.EndsWith("03")|| task.Roadway.EndsWith("01"))
-                //    {
-
-                //        stackerCraneTaskCommand.EndRow = (short)(Convert.ToInt16(targetCodes[0]) % 2 == 0 ? 1 : 2);
-                //        stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]);
-                //        stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]);
-                //    }
-                //    else
-                //    {
-
-                //        stackerCraneTaskCommand.EndRow = (short)(Convert.ToInt16(targetCodes[0]) % 2 == 0 ? 2 : 1);
-                //        stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]);
-                //        stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]);
-                //    }
-                //}
-                //else
-                //{
-
-                //}
                 stackerCraneTaskCommand.EndRow = (short)(Convert.ToInt16(targetCodes[0]) % 2 == 0 ? 2 : 1);
                 stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]);
                 stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]);
@@ -293,38 +272,5 @@
 
             return stackerCraneTaskCommand;
         }
-
-
-        /// <summary>
-        /// 璁惧蹇冭烦
-        /// </summary>
-        /// <param name="commonStackerCrane"></param>
-        public async void EqptAlive(CommonStackerCrane commonStackerCrane)
-        {
-            if (commonStackerCrane.StackerOnline)
-            {
-                BasicDto dto = new BasicDto
-                {
-                    EmployeeNo = "T00001",
-                    EquipmentCode = commonStackerCrane.DeviceCode,
-                    RequestTime = DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss.fffZ"),
-                    SessionId = Guid.NewGuid().ToString(),
-                    Software = commonStackerCrane.DeviceName,
-                };
-                var respone = await HttpHelper.PostAsync("http://ts-momapp01:12020/api/MachineIntegration/EqptAlive", dto.ToJsonString());
-                if (respone != null)
-                {
-                    var result = JsonConvert.DeserializeObject<ResponseEqptAliveDto>(respone);
-                    if (result != null && result.Success)
-                    {
-                        if (result.KeyFlag == "99")
-                            commonStackerCrane.StackerOnline = true;
-                        else if (result.KeyFlag == "98")
-                            commonStackerCrane.StackerOnline = false;
-                    }
-                }
-            }
-        }
-
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3