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/DeviceChannel.java | 162 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 146 insertions(+), 16 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java index 810feab..0d98674 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java @@ -2,10 +2,21 @@ public class DeviceChannel { + + /** + * 鏁版嵁搴撹嚜澧濱D + */ + private int id; + /** * 閫氶亾id */ private String channelId; + + /** + * 璁惧id + */ + private String deviceId; /** * 閫氶亾鍚� @@ -111,6 +122,16 @@ * 浜戝彴绫诲瀷鎻忚堪瀛楃涓� */ private String PTZTypeText; + + /** + * 鍒涘缓鏃堕棿 + */ + private String createTime; + + /** + * 鏇存柊鏃堕棿 + */ + private String updateTime; /** * 鍦ㄧ嚎/绂荤嚎 @@ -134,6 +155,26 @@ private double latitude; /** + * 缁忓害 GCJ02 + */ + private double longitudeGcj02; + + /** + * 绾害 GCJ02 + */ + private double latitudeGcj02; + + /** + * 缁忓害 WGS84 + */ + private double longitudeWgs84; + + /** + * 绾害 WGS84 + */ + private double latitudeWgs84; + + /** * 瀛愯澶囨暟 */ private int subCount; @@ -141,18 +182,43 @@ /** * 娴佸敮涓�缂栧彿锛屽瓨鍦ㄨ〃绀烘鍦ㄧ洿鎾� */ - private String ssrc; + private String streamId; /** * 鏄惁鍚湁闊抽 */ - private boolean hasAudio; + private boolean hasAudio; /** - * 鏄惁姝e湪鎾斁 + * 鏍囪閫氶亾鐨勭被鍨嬶紝0->鍥芥爣閫氶亾 1->鐩存挱娴侀�氶亾 2->涓氬姟鍒嗙粍/铏氭嫙缁勭粐/琛屾斂鍖哄垝 */ - private boolean play; + private int channelType; + /** + * 涓氬姟鍒嗙粍 + */ + private String businessGroupId; + + /** + * GPS鐨勬洿鏂版椂闂� + */ + private String gpsTime; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getDeviceId() { + return deviceId; + } + + public void setDeviceId(String deviceId) { + this.deviceId = deviceId; + } public void setPTZType(int PTZType) { this.PTZType = PTZType; @@ -371,20 +437,44 @@ this.latitude = latitude; } + public double getLongitudeGcj02() { + return longitudeGcj02; + } + + public void setLongitudeGcj02(double longitudeGcj02) { + this.longitudeGcj02 = longitudeGcj02; + } + + public double getLatitudeGcj02() { + return latitudeGcj02; + } + + public void setLatitudeGcj02(double latitudeGcj02) { + this.latitudeGcj02 = latitudeGcj02; + } + + public double getLongitudeWgs84() { + return longitudeWgs84; + } + + public void setLongitudeWgs84(double longitudeWgs84) { + this.longitudeWgs84 = longitudeWgs84; + } + + public double getLatitudeWgs84() { + return latitudeWgs84; + } + + public void setLatitudeWgs84(double latitudeWgs84) { + this.latitudeWgs84 = latitudeWgs84; + } + public int getSubCount() { return subCount; } public void setSubCount(int subCount) { this.subCount = subCount; - } - - public String getSsrc() { - return ssrc; - } - - public void setSsrc(String ssrc) { - this.ssrc = ssrc; } public boolean isHasAudio() { @@ -395,11 +485,51 @@ this.hasAudio = hasAudio; } - public boolean isPlay() { - return play; + public String getStreamId() { + return streamId; } - public void setPlay(boolean play) { - this.play = play; + public void setStreamId(String streamId) { + this.streamId = streamId; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public int getChannelType() { + return channelType; + } + + public void setChannelType(int channelType) { + this.channelType = channelType; + } + + public String getBusinessGroupId() { + return businessGroupId; + } + + public void setBusinessGroupId(String businessGroupId) { + this.businessGroupId = businessGroupId; + } + + public String getGpsTime() { + return gpsTime; + } + + public void setGpsTime(String gpsTime) { + this.gpsTime = gpsTime; } } -- Gitblit v1.8.0