commonGBChannels);
@@ -432,7 +428,6 @@ public interface CommonGBChannelMapper {
", gb_download_speed=#{item.gbDownloadSpeed}" +
", gb_svc_space_support_mod=#{item.gbSvcSpaceSupportMod}" +
", gb_svc_time_support_mode=#{item.gbSvcTimeSupportMode}" +
- ", enable_ptz = #{enablePtz}" +
", enable_broadcast = #{enableBroadcast}" +
" WHERE id=#{item.gbId}" +
"" +
@@ -515,7 +510,6 @@ public interface CommonGBChannelMapper {
" wdc.create_time,\n" +
" wdc.update_time,\n" +
" wdc.record_plan_id,\n" +
- " wdc.enable_ptz,\n" +
" wdc.enable_broadcast,\n" +
" coalesce( wdc.gb_device_id, wdc.device_id) as gb_device_id,\n" +
" coalesce( wdc.gb_name, wdc.name) as gb_name,\n" +
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/provider/ChannelProvider.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/provider/ChannelProvider.java
index 657c7cb92..9c7c38588 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/provider/ChannelProvider.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/provider/ChannelProvider.java
@@ -18,7 +18,6 @@ public class ChannelProvider {
" update_time,\n" +
" stream_id,\n" +
" record_plan_id,\n" +
- " enable_ptz,\n" +
" enable_broadcast,\n" +
" coalesce(gb_device_id, device_id) as gb_device_id,\n" +
" coalesce(gb_name, name) as gb_name,\n" +
@@ -65,7 +64,6 @@ public class ChannelProvider {
" wdc.update_time,\n" +
" wdc.stream_id,\n" +
" wdc.record_plan_id,\n" +
- " wdc.enable_ptz,\n" +
" wdc.enable_broadcast,\n" +
" coalesce(wdc.gb_device_id, wdc.device_id) as gb_device_id,\n" +
" coalesce(wdc.gb_name, wdc.name) as gb_name,\n" +
@@ -111,7 +109,6 @@ public class ChannelProvider {
" wdc.data_device_id,\n" +
" wdc.create_time,\n" +
" wdc.update_time,\n" +
- " wdc.enable_ptz,\n" +
" wdc.enable_broadcast,\n" +
" coalesce(wpgc.custom_device_id, wdc.gb_device_id, wdc.device_id) as gb_device_id,\n" +
" coalesce(wpgc.custom_name, wdc.gb_name, wdc.name) as gb_name,\n" +
diff --git a/src/main/java/com/genersoft/iot/vmp/streamPush/bean/RedisPushStreamMessage.java b/src/main/java/com/genersoft/iot/vmp/streamPush/bean/RedisPushStreamMessage.java
index 2dbe0b3a9..eb405a9a8 100644
--- a/src/main/java/com/genersoft/iot/vmp/streamPush/bean/RedisPushStreamMessage.java
+++ b/src/main/java/com/genersoft/iot/vmp/streamPush/bean/RedisPushStreamMessage.java
@@ -14,6 +14,12 @@ public class RedisPushStreamMessage {
private String groupGbId;
// 终端所属的虚拟组织别名 可选,可作为地方同步组织结构到wvp时的关联关系
private String groupAlias;
+ // 生产商
+ private String manufacturer;
+ // 设备型号
+ private String model;
+ // 摄像机类型
+ private Integer ptzType;
public StreamPush buildstreamPush() {
StreamPush push = new StreamPush();
@@ -22,6 +28,9 @@ public class RedisPushStreamMessage {
push.setGbName(name);
push.setGbDeviceId(gbId);
push.setStartOfflinePush(true);
+ push.setGbManufacturer(manufacturer);
+ push.setGbModel(model);
+ push.setGbPtzType(ptzType);
push.setGbStatus(status?"ON":"OFF");
return push;
}
diff --git a/src/main/java/com/genersoft/iot/vmp/web/custom/ChannelController.java b/src/main/java/com/genersoft/iot/vmp/web/custom/ChannelController.java
new file mode 100644
index 000000000..b304a7dd7
--- /dev/null
+++ b/src/main/java/com/genersoft/iot/vmp/web/custom/ChannelController.java
@@ -0,0 +1,12 @@
+package com.genersoft.iot.vmp.web.custom;
+
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@Slf4j
+@RestController
+@RequestMapping(value = "/api/sy")
+public class ChannelController {
+
+}
diff --git a/web/src/views/common/CommonChannelEdit.vue b/web/src/views/common/CommonChannelEdit.vue
index 5b6c08710..8c9fd1c8b 100644
--- a/web/src/views/common/CommonChannelEdit.vue
+++ b/web/src/views/common/CommonChannelEdit.vue
@@ -204,7 +204,6 @@
- 云台控制(非标属性)
语音对讲(非标属性)
@@ -259,7 +258,6 @@ export default {
if (this.form.gbDownloadSpeedArray) {
this.form.gbDownloadSpeed = this.form.gbDownloadSpeedArray.join('/')
}
- this.form.enablePtz = this.form.enablePtzForBool ? 1 : 0
this.form.enableBroadcast = this.form.enableBroadcastForBool ? 1 : 0
if (this.form.gbId) {
this.$store.dispatch('commonChanel/update', this.form)
@@ -328,7 +326,6 @@ export default {
data.gbDownloadSpeedArray = data.gbDownloadSpeed.split('/')
}
this.form = data
- this.$set(this.form, 'enablePtzForBool', this.form.enablePtz === 1)
this.$set(this.form, 'enableBroadcastForBool', this.form.enableBroadcast === 1)
})
.finally(() => {
diff --git a/web/src/views/map/index.vue b/web/src/views/map/index.vue
index a8a8419de..24b28c360 100755
--- a/web/src/views/map/index.vue
+++ b/web/src/views/map/index.vue
@@ -4,7 +4,7 @@
-