From 77e5ac1248dd93a4f796e52c32e9ccbd66f1ed0a Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 22 五月 2024 14:16:50 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
index e8fb31b..de5891e 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -2082,7 +2082,7 @@
&& basDevp.getWrkNo() == 0 && basDevp.getCanining().equals("Y")){
// 鏇存柊绔欑偣淇℃伅 涓� 涓嬪彂plc鍛戒护
staProtocol.setWorkNo((short) 9997);
- staProtocol.setStaNo(basDevp.getDevNo().shortValue());
+ staProtocol.setStaNo((short) (basDevp.getDevNo()==1004?1003:1013));
// staProtocol.setStaNo((short) 1013);
devpThread.setPakMk(staProtocol.getSiteId(), false);
boolean result = MessageQueue.offer(SlaveType.Devp, devpThread.getSlave().getId(), new Task(2, staProtocol));
@@ -2588,7 +2588,7 @@
type = 1;
}
if(inStn.getSourceStaNo() == 2102){
- weight = staProtocol.getWeight().doubleValue();
+ weight = staProtocol.getWeight().doubleValue()/10;
}
work1 = true;
@@ -2652,7 +2652,7 @@
}
if(inStn.getSourceStaNo() == 2102){
- weight2 = staProtocol.getWeight().doubleValue();
+ weight2 = staProtocol.getWeight().doubleValue()/10;
}
work2 = true;
--
Gitblit v1.9.1