From 0d5321b4a070862fc9862af9ca17251b1f441c4b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 15 十月 2024 14:01:58 +0800
Subject: [PATCH] #
---
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java
index b98d2ab..1371a0a 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java
@@ -166,6 +166,30 @@
detail.setSensorSts((long) mesBody.getSensorStatusFlags());
+ int tempQua = 0;
+ if (mesBody.isTempLoc1()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc2()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc3()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc4()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc5()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc6()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc7()) {
+ tempQua ++;
+ }
+ detail.setTempQua(tempQua);
+
}
// 鏃犵爜瀹炴椂鏁版嵁鍖�
@@ -194,6 +218,30 @@
detail.setSensorSts((long) mesBody.getSensorStatusFlags());
+ int tempQua = 0;
+ if (mesBody.isTempLoc1()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc2()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc3()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc4()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc5()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc6()) {
+ tempQua ++;
+ }
+ if (mesBody.isTempLoc7()) {
+ tempQua ++;
+ }
+ detail.setTempQua(tempQua);
+
}
// 蹇冭烦鍖�
--
Gitblit v1.9.1