From 770c89ab981b7659faabf8a812a25d99a11bdebf Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 16 四月 2026 08:40:43 +0800
Subject: [PATCH] 2026年04月16日08:40:19

---
 sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java |  109 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 105 insertions(+), 4 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 8486de0..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
@@ -54,9 +54,15 @@
      */
     private String access_mode;
     /**
-     * 鏄惁涓荤綉鍏� true false
+     * 鏄惁涓荤綉鍏� true false,鐢ㄤ簬link缃戦┍鍔�
      */
-    private String master;//绂荤綉閫嗗彉鍣ㄦ墠杩斿洖
+    private String master;
+
+
+    /**
+     * 鏄惁涓荤綉鍏� true false 鐢ㄤ簬鍏変紡椹卞姩
+     */
+    private boolean ogMaster;//绂荤綉閫嗗彉鍣ㄦ墠杩斿洖
     /**
      * 鏄惁鍔犲瘑
      */
@@ -82,7 +88,7 @@
     private String sid;
 
 
-    private String spk = "energy.hdl_inverter";
+    private String spk = "";
 
 
     private String systemStatusDesc;//浜戠-鐘舵��
@@ -107,14 +113,108 @@
     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;
+    }
+
+    public void setWorkStatusDesc(String workStatusDesc) {
+        this.workStatusDesc = 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;
+    }
+
     /**
      * 鎴块棿褰掑睘
      */
     private List<String> uids = new ArrayList<>();
 
+    public boolean isOgMaster() {
+        return ogMaster;
+    }
+
+    public void setOgMaster(boolean ogMaster) {
+        this.ogMaster = ogMaster;
+    }
+
     public List<String> getUids() {
         return uids;
     }
+
 
     public void setUids(List<String> uids) {
         this.uids = uids;
@@ -491,4 +591,5 @@
     public void setOutputActivePower(String outputActivePower) {
         this.outputActivePower = outputActivePower;
     }
-}
\ No newline at end of file
+}
+

--
Gitblit v1.8.0