From cc775722a5e22390bbae832e070fc2ec1ce760ce Mon Sep 17 00:00:00 2001
From: dubin <dubin>
Date: 星期三, 20 八月 2025 14:14:16 +0800
Subject: [PATCH] 联调
---
src/main/java/com/zy/core/model/protocol/StaProtocol.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/core/model/protocol/StaProtocol.java b/src/main/java/com/zy/core/model/protocol/StaProtocol.java
index 8430c47..090619e 100644
--- a/src/main/java/com/zy/core/model/protocol/StaProtocol.java
+++ b/src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -50,7 +50,7 @@
private boolean pakMk = true;
//鎵樼洏閲嶉噺
- private Double weight = 0.0;
+ private Integer weight = 0;
// 鍏ュ簱鏆傚瓨鏁�
private Short inQty;
@@ -121,7 +121,7 @@
basDevp.setLocType2((short) 0); // 瀹界獎绫诲瀷{0:鏈煡,1:绐勫簱浣�,2:瀹藉簱浣峿
basDevp.setLocType3((short) 0); // 杞婚噸绫诲瀷{0:鏈煡,1:杞诲簱浣�,2:閲嶅簱浣峿
basDevp.setLocType1(high != low && low ? (short) 1 : (short) 2);
- basDevp.setInQty(inQty !=null ?(int)inQty : 0);
+ basDevp.setMaxWt((double) (weight !=null ?(int)weight : 0));
return basDevp;
}
--
Gitblit v1.9.1