From 16a87d7747756b5d5148e715806cb760e3997a85 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 15 四月 2026 10:54:20 +0800
Subject: [PATCH] 2026年04月15日10:54:03
---
sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java | 83 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 80 insertions(+), 3 deletions(-)
diff --git a/sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java b/sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java
index 665ba99..a79e450 100644
--- a/sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java
+++ b/sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java
@@ -113,15 +113,90 @@
private String deviceType;
private String outputActivePower;//閫嗗彉鍣ㄨ緭鍑烘湁鍔熷姛鐜�
+
+ private boolean activate;//鏄惁婵�娲昏澶�(true锛氭縺娲伙紱false锛氭湭婵�娲�)
+
+
+ private String workStatusDesc;//宸ヤ綔鐘舵�侊紙璐熻浇涓績璁惧锛�
+
+ private boolean popUpgrade;//鏀硅澶囨槸鍚︽湁寮圭獥鍗囩骇
+ private boolean subPopUpgrade;//涓嬫寕璁惧鏄惁鏈夊脊绐楀崌绾�
+
+
+ public boolean isActivate() {
+ return activate;
+ }
+
+ private String deviceOidId;//璁惧浜戠oid锛坆ms璁惧锛夋墠鏈�
+ private List<FwVersionBean> fwVersion = new ArrayList<>();//鍥轰欢鐗堟湰锛孊MS璁惧鎵嶆湁
+ private String bmsSource;//閫嗗彉鍣ㄧ殑BMS绫诲瀷 鍐呴儴鐨勮繕鏄閮ㄧ殑 ;鐩墠绂荤綉閫嗗彉鍣ㄦ墠鏈� 鍐呴儴锛欼NTERNAL 澶栭儴锛欵XTERNAL 濡傛灉娌℃湁鍊煎綋鍐呴儴鐨勫鐞�
+
+ public String getBmsSource() {
+ return bmsSource == null ? "" : bmsSource;
+ }
+
+ public void setBmsSource(String bmsSource) {
+ this.bmsSource = bmsSource;
+ }
+ private boolean isSupportLocalSendCommands = true;//榛樿閮芥敮鎸佷袱绉嶆ā寮忥紙杩滅▼鍜屾湰鍦帮級锛孊MS璁惧鏀寔杩滅▼鍙戦�侊紝纭欢璇村悗闈篃浼氭敮鎸佹湰鍦板彂閫�
+
+ /**
+ * 鏄惁鏀寔鏈湴锛圱cp锛夊懡浠ゅ彂閫�(BMS璁惧鏀寔杩滅▼鍙戦��)
+ *
+ * @return true锛氶兘鏀寔涓ょ妯″紡锛堣繙绋嬪拰鏈湴锛�,false:鏀寔杩滅▼鍛戒护鍙戦�侊紝
+ */
+ public boolean isSupportLocalSendCommands() {
+ return isSupportLocalSendCommands;
+ }
+
+ public void setSupportLocalSendCommands(boolean isSupportLocal) {
+ isSupportLocalSendCommands = isSupportLocal;
+ }
+
+ public List<FwVersionBean> getFwVersion() {
+ return fwVersion;
+ }
+
+ public void setFwVersion(List<FwVersionBean> fwVersion) {
+ this.fwVersion = fwVersion;
+ }
+
+ public String getDeviceOidId() {
+ return deviceOidId == null ? "" : deviceOidId;
+ }
+
+ public void setDeviceOidId(String deviceOidId) {
+ this.deviceOidId = deviceOidId;
+ }
+
+
+ public void setActivate(boolean activate) {
+ this.activate = activate;
+ }
+
public String getWorkStatusDesc() {
- return workStatusDesc==null?"":this.workStatusDesc;
+ return workStatusDesc == null ? "" : this.workStatusDesc;
}
public void setWorkStatusDesc(String workStatusDesc) {
this.workStatusDesc = workStatusDesc;
}
- private String workStatusDesc;//宸ヤ綔鐘舵�侊紙璐熻浇涓績璁惧锛�
+ public boolean isSubPopUpgrade() {
+ return subPopUpgrade;
+ }
+
+ public void setSubPopUpgrade(boolean subPopUpgrade) {
+ this.subPopUpgrade = subPopUpgrade;
+ }
+
+ public boolean isPopUpgrade() {
+ return popUpgrade;
+ }
+
+ public void setPopUpgrade(boolean popUpgrade) {
+ this.popUpgrade = popUpgrade;
+ }
/**
* 鎴块棿褰掑睘
@@ -135,6 +210,7 @@
public void setOgMaster(boolean ogMaster) {
this.ogMaster = ogMaster;
}
+
public List<String> getUids() {
return uids;
}
@@ -515,4 +591,5 @@
public void setOutputActivePower(String outputActivePower) {
this.outputActivePower = outputActivePower;
}
-}
\ No newline at end of file
+}
+
--
Gitblit v1.8.0