From 1af77ab5f7c11a4b3d59c1989b51b9fca29679ce Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 18 十月 2022 22:18:49 +0800
Subject: [PATCH] Merge pull request #645 from IKangXu/wvp-28181-2.0

---
 src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java |  151 +++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 136 insertions(+), 15 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
index bfbf547..8af042c 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
@@ -1,37 +1,50 @@
 package com.genersoft.iot.vmp.gb28181.bean;
 
 
+import io.swagger.v3.oas.annotations.media.Schema;
+
+/**
+ * 鍥芥爣璁惧/骞冲彴
+ * @author lin
+ */
+@Schema(description = "鍥芥爣璁惧/骞冲彴")
 public class Device {
 
 	/**
-	 * 璁惧Id
+	 * 璁惧鍥芥爣缂栧彿
 	 */
+	@Schema(description = "璁惧鍥芥爣缂栧彿")
 	private String deviceId;
 
 	/**
 	 * 璁惧鍚�
 	 */
+	@Schema(description = "鍚嶇О")
 	private String name;
 	
 	/**
 	 * 鐢熶骇鍘傚晢
 	 */
+	@Schema(description = "鐢熶骇鍘傚晢")
 	private String manufacturer;
 	
 	/**
 	 * 鍨嬪彿
 	 */
+	@Schema(description = "鍨嬪彿")
 	private String model;
 	
 	/**
 	 * 鍥轰欢鐗堟湰
 	 */
+	@Schema(description = "鍥轰欢鐗堟湰")
 	private String firmware;
 
 	/**
 	 * 浼犺緭鍗忚
 	 * UDP/TCP
 	 */
+	@Schema(description = "浼犺緭鍗忚锛圲DP/TCP锛�")
 	private String transport;
 
 	/**
@@ -40,75 +53,127 @@
 	 * TCP-ACTIVE锛歵cp涓诲姩妯″紡
 	 * TCP-PASSIVE锛歵cp琚姩妯″紡
 	 */
+	@Schema(description = "鏁版嵁娴佷紶杈撴ā寮�")
 	private String streamMode;
 
 	/**
 	 * wan鍦板潃_ip
 	 */
+	@Schema(description = "IP")
 	private String  ip;
 
 	/**
 	 * wan鍦板潃_port
 	 */
+	@Schema(description = "绔彛")
 	private int port;
 
 	/**
 	 * wan鍦板潃
 	 */
+	@Schema(description = "wan鍦板潃")
 	private String  hostAddress;
 	
 	/**
 	 * 鍦ㄧ嚎
 	 */
+	@Schema(description = "鏄惁鍦ㄧ嚎锛�1涓哄湪绾匡紝0涓虹绾�")
 	private int online;
 
 
 	/**
 	 * 娉ㄥ唽鏃堕棿
 	 */
+	@Schema(description = "娉ㄥ唽鏃堕棿")
 	private String registerTime;
 
 
 	/**
 	 * 蹇冭烦鏃堕棿
 	 */
+	@Schema(description = "蹇冭烦鏃堕棿")
 	private String keepaliveTime;
 
 	/**
 	 * 閫氶亾涓暟
 	 */
+	@Schema(description = "閫氶亾涓暟")
 	private int channelCount;
 
 	/**
 	 * 娉ㄥ唽鏈夋晥鏈�
 	 */
+	@Schema(description = "娉ㄥ唽鏈夋晥鏈�")
 	private int expires;
 
 	/**
 	 * 鍒涘缓鏃堕棿
 	 */
+	@Schema(description = "鍒涘缓鏃堕棿")
 	private String createTime;
 
 	/**
 	 * 鏇存柊鏃堕棿
 	 */
+	@Schema(description = "鏇存柊鏃堕棿")
 	private String updateTime;
 
 	/**
 	 * 璁惧浣跨敤鐨勫獟浣搃d, 榛樿涓簄ull
 	 */
+	@Schema(description = "璁惧浣跨敤鐨勫獟浣搃d, 榛樿涓簄ull")
 	private String mediaServerId;
 
 	/**
-	 * 棣栨娉ㄥ唽
+	 * 瀛楃闆�, 鏀寔 UTF-8 涓� GB2312
 	 */
-	private boolean firsRegister;
-
-	/**
-	 * 瀛楃闆�, 鏀寔 utf-8 涓� gb2312
-	 */
+	@Schema(description = "绗﹂泦, 鏀寔 UTF-8 涓� GB2312")
 	private String charset ;
 
+	/**
+	 * 鐩綍璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄
+	 */
+	@Schema(description = "鐩綍璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄")
+	private int subscribeCycleForCatalog;
+
+	/**
+	 * 绉诲姩璁惧浣嶇疆璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄
+	 */
+	@Schema(description = "绉诲姩璁惧浣嶇疆璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄")
+	private int subscribeCycleForMobilePosition;
+
+	/**
+	 * 绉诲姩璁惧浣嶇疆淇℃伅涓婃姤鏃堕棿闂撮殧,鍗曚綅:绉�,榛樿鍊�5
+	 */
+	@Schema(description = "绉诲姩璁惧浣嶇疆淇℃伅涓婃姤鏃堕棿闂撮殧,鍗曚綅:绉�,榛樿鍊�5")
+	private int mobilePositionSubmissionInterval = 5;
+
+	/**
+	 * 鎶ヨ璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄
+	 */
+	@Schema(description = "鎶ヨ蹇冭烦鏃堕棿璁㈤槄鍛ㄦ湡锛�0涓轰笉璁㈤槄")
+	private int subscribeCycleForAlarm;
+
+	/**
+	 * 鏄惁寮�鍚痵src鏍¢獙锛岄粯璁ゅ叧闂紝寮�鍚彲浠ラ槻姝覆娴�
+	 */
+	@Schema(description = "鏄惁寮�鍚痵src鏍¢獙锛岄粯璁ゅ叧闂紝寮�鍚彲浠ラ槻姝覆娴�")
+	private boolean ssrcCheck = true;
+
+	/**
+	 * 鍦扮悊鍧愭爣绯伙紝 鐩墠鏀寔 WGS84,GCJ02
+	 */
+	@Schema(description = "鍦扮悊鍧愭爣绯伙紝 鐩墠鏀寔 WGS84,GCJ02")
+	private String geoCoordSys;
+
+	/**
+	 * 鏍戠被鍨� 鍥芥爣瑙勫畾浜嗕袱绉嶆爲鐨勫睍鐜版柟寮� 琛屾斂鍖哄垝锛欳ivilCode 鍜屼笟鍔″垎缁�:BusinessGroup
+	 */
+	@Schema(description = "鏍戠被鍨� 鍥芥爣瑙勫畾浜嗕袱绉嶆爲鐨勫睍鐜版柟寮� 琛屾斂鍖哄垝锛欳ivilCode 鍜屼笟鍔″垎缁�:BusinessGroup")
+	private String treeType;
+
+	@Schema(description = "瀵嗙爜")
+	private String password;
 
 
 	public String getDeviceId() {
@@ -255,14 +320,6 @@
 		this.mediaServerId = mediaServerId;
 	}
 
-	public boolean isFirsRegister() {
-		return firsRegister;
-	}
-
-	public void setFirsRegister(boolean firsRegister) {
-		this.firsRegister = firsRegister;
-	}
-
 	public String getCharset() {
 		return charset;
 	}
@@ -270,4 +327,68 @@
 	public void setCharset(String charset) {
 		this.charset = charset;
 	}
+
+	public int getSubscribeCycleForCatalog() {
+		return subscribeCycleForCatalog;
+	}
+
+	public void setSubscribeCycleForCatalog(int subscribeCycleForCatalog) {
+		this.subscribeCycleForCatalog = subscribeCycleForCatalog;
+	}
+
+	public int getSubscribeCycleForMobilePosition() {
+		return subscribeCycleForMobilePosition;
+	}
+
+	public void setSubscribeCycleForMobilePosition(int subscribeCycleForMobilePosition) {
+		this.subscribeCycleForMobilePosition = subscribeCycleForMobilePosition;
+	}
+
+	public int getMobilePositionSubmissionInterval() {
+		return mobilePositionSubmissionInterval;
+	}
+
+	public void setMobilePositionSubmissionInterval(int mobilePositionSubmissionInterval) {
+		this.mobilePositionSubmissionInterval = mobilePositionSubmissionInterval;
+	}
+
+	public int getSubscribeCycleForAlarm() {
+		return subscribeCycleForAlarm;
+	}
+
+	public void setSubscribeCycleForAlarm(int subscribeCycleForAlarm) {
+		this.subscribeCycleForAlarm = subscribeCycleForAlarm;
+	}
+
+	public boolean isSsrcCheck() {
+		return ssrcCheck;
+	}
+
+	public void setSsrcCheck(boolean ssrcCheck) {
+		this.ssrcCheck = ssrcCheck;
+	}
+
+	public String getGeoCoordSys() {
+		return geoCoordSys;
+	}
+
+	public void setGeoCoordSys(String geoCoordSys) {
+		this.geoCoordSys = geoCoordSys;
+	}
+
+	public String getTreeType() {
+		return treeType;
+	}
+
+	public void setTreeType(String treeType) {
+		this.treeType = treeType;
+	}
+
+	public String getPassword() {
+		return password;
+	}
+
+	public void setPassword(String password) {
+		this.password = password;
+	}
 }

--
Gitblit v1.8.0