From 0b275760ee275562439c91e473e731a82c836b57 Mon Sep 17 00:00:00 2001
From: z8018 <1282578289@qq.com>
Date: 星期二, 26 八月 2025 11:41:22 +0800
Subject: [PATCH] 新增无仓储层版本WCS

---
 WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs b/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
index 67bdf60..829e2f1 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
@@ -59,6 +59,11 @@
                 CommonConveyorLine conveyorLine = (CommonConveyorLine)context.JobDetail.JobDataMap.Get("JobParams");
                 if (conveyorLine != null)
                 {
+                    short[] values = conveyorLine.Communicator.Read<short>("DB2.0", 20);
+                    conveyorLine.Communicator.Write("DB2.0", new short[] { 1, 2, 3, 4 });
+
+                    conveyorLine.DeviceProDTOs.FirstOrDefault(x => x.DeviceProParamName == "");
+
                     List<string> childDeviceCodes = _routerService.QueryAllPositions(conveyorLine.DeviceCode);
                     List<Task> tasks = new List<Task>();
                     foreach (string childDeviceCode in childDeviceCodes)

--
Gitblit v1.9.3