From 309ed0561c1123e0d8df7c8b26de60b6107b08fd Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 11 九月 2024 09:32:47 +0800
Subject: [PATCH] #fs

---
 src/main/java/com/zy/asrs/controller/RgvController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/RgvController.java b/src/main/java/com/zy/asrs/controller/RgvController.java
index b4c4559..07d6cb9 100644
--- a/src/main/java/com/zy/asrs/controller/RgvController.java
+++ b/src/main/java/com/zy/asrs/controller/RgvController.java
@@ -345,7 +345,7 @@
     public R ringThroughRgv(){
         List<RingThroughParam> result = new ArrayList<>();
 //        for (RgvSlave rgv : slaveProperties.getRgv()) {
-        for (int i = 1;i<10;i++) {
+        for (int i = 1;i<100;i++) {
 //            // 鑾峰彇RGV淇℃伅
 //            RgvThread rgvThread = (RgvThread) SlaveConnection.get(SlaveType.Rgv, rgv.getId());
 //            if (rgvThread == null) {
@@ -359,7 +359,7 @@
 
 //            ringThroughParam.setIndex(rgv.getId());
             ringThroughParam.setIndex(i);
-            double[] doubles = Utils.RingThroughXY(183.0, 100.0*i);
+            double[] doubles = Utils.RingThroughXY2(183.0, 100.0*i);
             ringThroughParam.setValueX(doubles[0]);
             ringThroughParam.setValueY(doubles[1]);
             result.add(ringThroughParam);
@@ -386,7 +386,7 @@
 
 //            ringThroughParam.setIndex(rgv.getId());
             ringThroughParam.setIndex(i);
-            double[] doubles = Utils.RingThroughXY(183.0, 103.0*i);
+            double[] doubles = Utils.RingThroughXY2(183.0, 100.0*i);
             ringThroughParam.setValueX(doubles[0]);
             ringThroughParam.setValueY(doubles[1]);
             result.add(ringThroughParam);

--
Gitblit v1.9.1