From 97c75a868e9fca03598dfa862bdd7ad94fd5fdcb Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期四, 09 十一月 2023 00:54:08 +0800
Subject: [PATCH] 调整MQTT

---
 src/main/java/com/fzzy/gateway/hx2023/ScConstant.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/fzzy/gateway/hx2023/ScConstant.java b/src/main/java/com/fzzy/gateway/hx2023/ScConstant.java
index 2786342..03b0885 100644
--- a/src/main/java/com/fzzy/gateway/hx2023/ScConstant.java
+++ b/src/main/java/com/fzzy/gateway/hx2023/ScConstant.java
@@ -12,6 +12,13 @@
 
     public static String MESSAGE_TYPE_REPORT_PROPERTY = "REPORT_PROPERTY";
 
+    public static String MESSAGE_TYPE_INVOKE_FUNCTION = "INVOKE_FUNCTION";
+
+    /**
+     * 绮儏閲囨寚浠�
+     */
+    public static String FUNCTION_getTAndRHInfo = "getTAndRHInfo";
+
 
     public static String getMessageId() {
         return System.currentTimeMillis() + RandomUtils.nextInt(1000) + "";
@@ -19,4 +26,10 @@
 
 
     public static int CODE_200 = 200;
+
+    /**
+     * 涓嬪彂鎸囦护鍥炲鎶ユ枃topic
+     */
+    public static String TOPIC_REPORT = "/${productId}/${deviceId}/properties/report";
+
 }

--
Gitblit v1.9.3