From a236d0878c1effdd328cf0abc45665097c9cfdc2 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 01 九月 2025 14:22:13 +0800
Subject: [PATCH] 1、小程序后端实现作物及昨日蒸散量查询; 2、小程序后端实现查询一个作物阶段时间内的蒸散量;
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/mqtt/Test.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/mqtt/Test.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/mqtt/Test.java
index 2611e24..560067f 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/mqtt/Test.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/mqtt/Test.java
@@ -34,7 +34,7 @@
public static void main(String[] args) {
try{
// 鍒濆鍖栬繛鎺ユ睜
- pool = new MqttClientPool("tcp://" + mqSvIp + ":" + mqSvPort, mqSvUserName, mqSvUserPassword, maxConnections);
+ pool = new MqttClientPool("tcp://" + mqSvIp + ":" + mqSvPort, mqSvUserName, mqSvUserPassword, maxConnections, true);
MqttClient clientSub = pool.popClient() ;
testSubscribe(clientSub, topic1);
testSubscribe(clientSub, topic2);
--
Gitblit v1.8.0