From 5886bb3985ecdddb92526ac2a26cfd2716a4caf6 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 05 七月 2024 16:43:30 +0800
Subject: [PATCH] websocket添加分数据库捕获异常,添加小车位置

---
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/job/PlcSlicecage.java |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/job/PlcSlicecage.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/job/PlcSlicecage.java
index 4235a82..4b45a49 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/job/PlcSlicecage.java
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/job/PlcSlicecage.java
@@ -34,15 +34,12 @@
 
     private JSONObject jsonObject = new JSONObject();
     public void hangzhoumes() throws InterruptedException {
+        List<Double> carPostion=new ArrayList<>();
+        carPostion.add(0.25);
+        carPostion.add(0.5);
+        jsonObject.append("carPostion",carPostion);
         //鐣岄潰灞曠ず绗煎瓙淇℃伅
-        jsonObject.append("bigStorageCageInfo1", bigStorageCageService.querybigStorageCageDetail(1));
-        jsonObject.append("bigStorageCageInfo2", bigStorageCageService.querybigStorageCageDetail(2));
-        jsonObject.append("bigStorageCageInfo3", bigStorageCageService.querybigStorageCageDetail(3));
-        jsonObject.append("bigStorageCageInfo4", bigStorageCageService.querybigStorageCageDetail(4));
-        jsonObject.append("bigStorageCageInfo5", bigStorageCageService.querybigStorageCageDetail(5));
-        jsonObject.append("bigStorageCageInfo6", bigStorageCageService.querybigStorageCageDetail(6));
-        jsonObject.append("bigStorageCageInfo7", bigStorageCageService.querybigStorageCageDetail(7));
-        jsonObject.append("bigStorageCageInfo8", bigStorageCageService.querybigStorageCageDetail(8));
+        jsonObject.append("bigStorageCageInfos", bigStorageCageService.querybigStorageCageDetail());
 
         //杩涚墖浠诲姟鏁版嵁
         List<BigStorageCageDetails> bigStorageCageDetailsFeedTask=bigStorageCageDetailsService.selectTask(1);
@@ -57,10 +54,10 @@
         jsonObject.append("bigStorageCageUsage", bigStorageCageUsage);
 
         //鐞嗙墖绗艰〃鏍间俊鎭�
-        jsonObject.append("bigStorageCageInfo", bigStorageCageService.querybigStorageCageDetail(0));
+        jsonObject.append("bigStorageCageInfo", bigStorageCageService.querybigStorageCageDetailAll());
 
     }
-    
+
     public void salve_hangzhoumes_1() throws InterruptedException {
         //鍑虹墖闃熷垪
         List<TemperingGlassInfo> temperingGlassInfoList= temperingGlassInfoService.list();

--
Gitblit v1.8.0