优化国标树型展示

This commit is contained in:
648540858
2022-07-03 07:40:54 +08:00
parent 0da452293f
commit f5fcc79a2c
29 changed files with 1341 additions and 537 deletions

View File

@@ -0,0 +1,23 @@
package com.genersoft.iot.vmp.gb28181.bean;
/**
* 国标类型编码,国标编码中11-13位为类型编码
* 详见 附 录 D 编码规则 A
* @author lin
*/
public class ChannelIdType {
/**
* 中心信令控制服务器编码
*/
public final static String CENTRAL_SIGNALING_CONTROL_SERVER = "200";
/**
* 业务分组编码
*/
public final static String BUSINESS_GROUP = "215";
/**
* 虚拟组织编码
*/
public final static String VIRTUAL_ORGANIZATION = "216";
}

View File

@@ -138,6 +138,11 @@ public class Device {
*/
private String geoCoordSys;
/**
* 树类型 国标规定了两种树的展现方式 行政区划CivilCode 和业务分组:BusinessGroup
*/
private String treeType;
public String getDeviceId() {
return deviceId;
@@ -338,4 +343,12 @@ public class Device {
public void setGeoCoordSys(String geoCoordSys) {
this.geoCoordSys = geoCoordSys;
}
public String getTreeType() {
return treeType;
}
public void setTreeType(String treeType) {
this.treeType = treeType;
}
}

View File

@@ -194,6 +194,11 @@ public class DeviceChannel {
*/
private int channelType;
/**
* 业务分组
*/
private String businessGroupId;
public int getId() {
return id;
}
@@ -506,4 +511,12 @@ public class DeviceChannel {
public void setChannelType(int channelType) {
this.channelType = channelType;
}
public String getBusinessGroupId() {
return businessGroupId;
}
public void setBusinessGroupId(String businessGroupId) {
this.businessGroupId = businessGroupId;
}
}