From 8b66be08179b026cb0e601733dacd43de97e5b01 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 21 十二月 2021 10:20:34 +0800
Subject: [PATCH] 完善下网关上网重连功能及广播设备基本数据

---
 HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/bean/request/AuthenticateRequest.java |  157 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 154 insertions(+), 3 deletions(-)

diff --git a/HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/bean/request/AuthenticateRequest.java b/HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/bean/request/AuthenticateRequest.java
index 1314671..5dbec51 100644
--- a/HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/bean/request/AuthenticateRequest.java
+++ b/HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/bean/request/AuthenticateRequest.java
@@ -97,46 +97,197 @@
         private String ip_gateway;
         private String dns1 = "114.114.114.114";
         private String dns2 = "8.8.8.8";
-        private VersionBean[] versions;
+        private String gateway_type;
+        private String hw_version;
+        private String fw_version;
 
         public String getOID() { return oid; }
+
+        /**
+         * 璁惧Oid
+         * @param value
+         */
         public void setOID(String value) { this.oid = value; }
 
         public String getDeviceMAC() { return device_mac; }
+
+        /**
+         * 璁惧Mac
+         * @param value
+         */
         public void setDeviceMAC(String value) { this.device_mac = value; }
 
+        /**
+         * 璁惧鍚�
+         * @return
+         */
         public String getDeviceName() { return device_name; }
+
+        /**
+         * 璁惧鍚�
+         * @param value
+         */
         public void setDeviceName(String value) { this.device_name = value; }
 
+        /**
+         * 璁惧鍨嬪彿
+         * @return
+         */
         public String getDeviceModel() { return device_model; }
+
+        /**
+         * 璁惧鍨嬪彿
+         * @param value
+         */
         public void setDeviceModel(String value) { this.device_model = value; }
 
+        /**
+         * 杩炴帴绫诲瀷锛屾湁绾胯繕鏄棤绾�
+         * @return
+         */
         public String getAccessMode() { return access_mode; }
+
+        /**
+         * 杩炴帴绫诲瀷锛屾湁绾胯繕鏄棤绾�
+         * @param value
+         */
         public void setAccessMode(String value) { this.access_mode = value; }
 
+        /**
+         * 璁惧sid
+         * @return
+         */
         public String getSid() { return sid; }
+
+        /**
+         * 璁惧sid
+         * @param value
+         */
         public void setSid(String value) { this.sid = value; }
 
+        /**
+         * 璁惧IPMAC
+         * @return
+         */
         public String getIPMAC() { return ip_mac; }
+
+        /**
+         * 璁惧IPMAC
+         * @param value
+         */
         public void setIPMAC(String value) { this.ip_mac = value; }
 
+        /**
+         * 璁惧IP鍦板潃
+         * @return
+         */
         public String getIPAddress() { return ip_address; }
+
+        /**
+         * 璁惧IP鍦板潃
+         * @param value
+         */
         public void setIPAddress(String value) { this.ip_address = value; }
 
+        /**
+         * 瀛愮綉鎺╃爜
+         * @return
+         */
         public String getNetmask() { return netmask; }
+
+        /**
+         * 瀛愮綉鎺╃爜
+         * @param value
+         */
         public void setNetmask(String value) { this.netmask = value; }
 
+        /**
+         * 缃戝叧IP
+         * @return
+         */
         public String getIPGateway() { return ip_gateway; }
+
+        /**
+         * 缃戝叧IP
+         * @param value
+         */
         public void setIPGateway(String value) { this.ip_gateway = value; }
 
+        /**
+         * DNS1
+         * @return
+         */
         public String getDns1() { return dns1; }
+
+        /**
+         * DNS1
+         * @param value
+         */
         public void setDns1(String value) { this.dns1 = value; }
 
+        /**
+         * DNS2
+         * @return
+         */
         public String getDns2() { return dns2; }
+
+        /**
+         * DNS2
+         * @param value
+         */
         public void setDns2(String value) { this.dns2 = value; }
 
-        public VersionBean[] getVersions() { return versions; }
-        public void setVersions(VersionBean[] value) { this.versions = value; }
+        public VersionBean[] getVersions() {return null;  }
+        public void setVersions(VersionBean[] value) {  }
+
+        /**
+         * 缃戝叧绫诲瀷
+         * @return
+         */
+        public String getGateway_type() {
+            return gateway_type;
+        }
+
+        /**
+         * 缃戝叧绫诲瀷
+         * @param gateway_type
+         */
+        public void setGateway_type(String gateway_type) {
+            this.gateway_type = gateway_type;
+        }
+
+        /**
+         * 纭欢鐗堟湰
+         * @return
+         */
+        public String getHw_version() {
+            return hw_version;
+        }
+
+        /**
+         *纭欢鐗堟湰
+         * @param
+         */
+        public void setHw_version(String hw_version) {
+            this.hw_version = hw_version;
+        }
+
+
+        /**
+         * 鍥轰欢鐗堟湰
+         * @return
+         */
+        public String getFw_version() {
+            return fw_version;
+        }
+
+        /**
+         * 鍥轰欢鐗堟湰
+         * @param fw_version
+         */
+        public void setFw_version(String fw_version) {
+            this.fw_version = fw_version;
+        }
     }
 
     public static class VersionBean implements Serializable{

--
Gitblit v1.8.0