From 28b5cc39d0a2d9939f70b4c980a31d9b27fc1e4c Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 19 七月 2022 14:27:30 +0800 Subject: [PATCH] 修复更新推流状态sql错误 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java | 193 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 188 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java index d6a97cf..6dcf0df 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java @@ -3,6 +3,11 @@ public class ParentPlatform { /** + * id + */ + private Integer id; + + /** * 鏄惁鍚敤 */ private boolean enable; @@ -81,13 +86,86 @@ /** * 鍏佽浜戝彴鎺у埗 */ - private boolean PTZEnable; + private boolean ptz; /** * RTCP娴佷繚娲� + * TODO 棰勭暀, 鏆備笉瀹炵幇 */ private boolean rtcp; + /** + * 鍦ㄧ嚎鐘舵�� + */ + private boolean status; + + /** + * 鍦ㄧ嚎鐘舵�� + */ + private int channelCount; + + /** + * 鍏变韩鎵�鏈夌殑鐩存挱娴� + */ + private boolean shareAllLiveStream; + + /** + * 榛樿鐩綍Id,鑷姩娣诲姞鐨勯�氶亾澶氭斁鍦ㄨ繖涓洰褰曚笅 + */ + private String catalogId; + + /** + * 宸茶璁㈤槄鐩綍淇℃伅 + */ + private boolean catalogSubscribe; + + /** + * 宸茶璁㈤槄鎶ヨ淇℃伅 + */ + private boolean alarmSubscribe; + + /** + * 宸茶璁㈤槄绉诲姩浣嶇疆淇℃伅 + */ + private boolean mobilePositionSubscribe; + + /** + * 鐐规挱鏈帹娴佺殑璁惧鏃舵槸鍚︿娇鐢╮edis閫氱煡鎷夎捣 + */ + private boolean startOfflinePush; + + /** + * 鐩綍鍒嗙粍-姣忔鍚戜笂绾у彂閫侀�氶亾淇℃伅鏃跺崟涓寘鎼哄甫鐨勯�氶亾鏁伴噺锛屽彇鍊�1,2,4,8 + */ + private int catalogGroup; + + /** + * 琛屾斂鍖哄垝 + */ + private String administrativeDivision; + + /** + * 鏇存柊鏃堕棿 + */ + private String updateTime; + + /** + * 鍒涘缓鏃堕棿 + */ + private String createTime; + + /** + * 鏍戠被鍨� 鍥芥爣瑙勫畾浜嗕袱绉嶆爲鐨勫睍鐜版柟寮� 琛屾斂鍖哄垝 CivilCode 鍜屼笟鍔″垎缁�:BusinessGroup + */ + private String treeType; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } public boolean isEnable() { return enable; @@ -209,12 +287,12 @@ this.characterSet = characterSet; } - public boolean isPTZEnable() { - return PTZEnable; + public boolean isPtz() { + return ptz; } - public void setPTZEnable(boolean PTZEnable) { - this.PTZEnable = PTZEnable; + public void setPtz(boolean ptz) { + this.ptz = ptz; } public boolean isRtcp() { @@ -224,4 +302,109 @@ public void setRtcp(boolean rtcp) { this.rtcp = rtcp; } + + public boolean isStatus() { + return status; + } + + public void setStatus(boolean status) { + this.status = status; + } + + public int getChannelCount() { + return channelCount; + } + + public void setChannelCount(int channelCount) { + this.channelCount = channelCount; + } + + + public boolean isShareAllLiveStream() { + return shareAllLiveStream; + } + + public void setShareAllLiveStream(boolean shareAllLiveStream) { + this.shareAllLiveStream = shareAllLiveStream; + } + + public String getCatalogId() { + return catalogId; + } + + public void setCatalogId(String catalogId) { + this.catalogId = catalogId; + } + + public boolean isCatalogSubscribe() { + return catalogSubscribe; + } + + public void setCatalogSubscribe(boolean catalogSubscribe) { + this.catalogSubscribe = catalogSubscribe; + } + + public boolean isAlarmSubscribe() { + return alarmSubscribe; + } + + public void setAlarmSubscribe(boolean alarmSubscribe) { + this.alarmSubscribe = alarmSubscribe; + } + + public boolean isMobilePositionSubscribe() { + return mobilePositionSubscribe; + } + + public void setMobilePositionSubscribe(boolean mobilePositionSubscribe) { + this.mobilePositionSubscribe = mobilePositionSubscribe; + } + + public boolean isStartOfflinePush() { + return startOfflinePush; + } + + public void setStartOfflinePush(boolean startOfflinePush) { + this.startOfflinePush = startOfflinePush; + } + + public int getCatalogGroup() { + return catalogGroup; + } + + public void setCatalogGroup(int catalogGroup) { + this.catalogGroup = catalogGroup; + } + + public String getAdministrativeDivision() { + return administrativeDivision; + } + + public void setAdministrativeDivision(String administrativeDivision) { + this.administrativeDivision = administrativeDivision; + } + + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getTreeType() { + return treeType; + } + + public void setTreeType(String treeType) { + this.treeType = treeType; + } } -- Gitblit v1.8.0