From 1c8e32b4a45c1865e2a422e9949c1e996df861a6 Mon Sep 17 00:00:00 2001
From: 张世豪 <979909237@qq.com>
Date: 星期四, 25 十二月 2025 16:01:17 +0800
Subject: [PATCH] 新增了凸形有障碍物地块路径规划未完成
---
src/Mqttmessage/Entity/ResponseData.java | 84 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 81 insertions(+), 3 deletions(-)
diff --git a/src/Mqttmessage/Entity/ResponseData.java b/src/Mqttmessage/Entity/ResponseData.java
index 358bb82..f6195d5 100644
--- a/src/Mqttmessage/Entity/ResponseData.java
+++ b/src/Mqttmessage/Entity/ResponseData.java
@@ -2,14 +2,14 @@
import com.fasterxml.jackson.annotation.JsonProperty;
-import lombok.Data;
+
import java.util.Map;
/**
* 璁惧鍝嶅簲娑堟伅瀹炰綋绫�
*/
-@Data
+
public class ResponseData {
@JsonProperty("msg_id")
@@ -37,10 +37,50 @@
this.response = response;
}
+ public String getMsgId() {
+ return msgId;
+ }
+
+ public void setMsgId(String msgId) {
+ this.msgId = msgId;
+ }
+
+ public long getTimestamp() {
+ return timestamp;
+ }
+
+ public void setTimestamp(long timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public String getDeviceId() {
+ return deviceId;
+ }
+
+ public void setDeviceId(String deviceId) {
+ this.deviceId = deviceId;
+ }
+
+ public String getOriginalMsgId() {
+ return originalMsgId;
+ }
+
+ public void setOriginalMsgId(String originalMsgId) {
+ this.originalMsgId = originalMsgId;
+ }
+
+ public ResponseInfo getResponse() {
+ return response;
+ }
+
+ public void setResponse(ResponseInfo response) {
+ this.response = response;
+ }
+
/**
* 鍝嶅簲淇℃伅鍐呴儴绫�
*/
- @Data
+
public static class ResponseInfo {
private String status;
private String command;
@@ -66,6 +106,44 @@
this.additionalInfo = additionalInfo;
}
+ public String getStatus() {
+ return status;
+ }
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public String getCommand() {
+ return command;
+ }
+
+ public void setCommand(String command) {
+ this.command = command;
+ }
+
+ public int getErrorCode() {
+ return errorCode;
+ }
+
+ public void setErrorCode(int errorCode) {
+ this.errorCode = errorCode;
+ }
+
+ public String getErrorMessage() {
+ return errorMessage;
+ }
+
+ public void setErrorMessage(String errorMessage) {
+ this.errorMessage = errorMessage;
+ }
+
+ public Map<String, Object> getAdditionalInfo() {
+ return additionalInfo;
+ }
+
+ public void setAdditionalInfo(Map<String, Object> additionalInfo) {
+ this.additionalInfo = additionalInfo;
+ }
}
}
\ No newline at end of file
--
Gitblit v1.10.0