| | |
| | | /** |
| | | * 设备国标编号 |
| | | */ |
| | | @Schema(description = "11111") |
| | | @Schema(description = "设备国标编号") |
| | | private String deviceGBId; |
| | | |
| | | /** |
| | |
| | | * 设备端口 |
| | | */ |
| | | @Schema(description = "设备端口") |
| | | private String devicePort; |
| | | private int devicePort; |
| | | |
| | | /** |
| | | * SIP认证用户名(默认使用设备国标编号) |
| | |
| | | |
| | | /** |
| | | * RTCP流保活 |
| | | * TODO 预留, 暂不实现 |
| | | */ |
| | | @Schema(description = "RTCP流保活") |
| | | private boolean rtcp; |
| | |
| | | @Schema(description = "树类型 国标规定了两种树的展现方式 行政区划 CivilCode 和业务分组:BusinessGrou") |
| | | private String treeType; |
| | | |
| | | @Schema(description = "是否作为消息通道") |
| | | private boolean asMessageChannel; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | |
| | | this.deviceIp = deviceIp; |
| | | } |
| | | |
| | | public String getDevicePort() { |
| | | public int getDevicePort() { |
| | | return devicePort; |
| | | } |
| | | |
| | | public void setDevicePort(String devicePort) { |
| | | public void setDevicePort(int devicePort) { |
| | | this.devicePort = devicePort; |
| | | } |
| | | |
| | |
| | | public void setTreeType(String treeType) { |
| | | this.treeType = treeType; |
| | | } |
| | | |
| | | public boolean isAsMessageChannel() { |
| | | return asMessageChannel; |
| | | } |
| | | |
| | | public void setAsMessageChannel(boolean asMessageChannel) { |
| | | this.asMessageChannel = asMessageChannel; |
| | | } |
| | | } |