|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 设备国标编号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "11111") | 
|---|
|  |  |  | @Schema(description = "设备国标编号") | 
|---|
|  |  |  | private String deviceGBId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * 注册周期 (秒) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "注册周期 (秒)") | 
|---|
|  |  |  | private String expires; | 
|---|
|  |  |  | private int expires; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 心跳周期(秒) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "心跳周期(秒)") | 
|---|
|  |  |  | private String keepTimeout; | 
|---|
|  |  |  | private int keepTimeout; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 传输协议 | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 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.password = password; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getExpires() { | 
|---|
|  |  |  | public int getExpires() { | 
|---|
|  |  |  | return expires; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setExpires(String expires) { | 
|---|
|  |  |  | public void setExpires(int expires) { | 
|---|
|  |  |  | this.expires = expires; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getKeepTimeout() { | 
|---|
|  |  |  | public int getKeepTimeout() { | 
|---|
|  |  |  | return keepTimeout; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setKeepTimeout(String keepTimeout) { | 
|---|
|  |  |  | public void setKeepTimeout(int keepTimeout) { | 
|---|
|  |  |  | this.keepTimeout = keepTimeout; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | public void setTreeType(String treeType) { | 
|---|
|  |  |  | this.treeType = treeType; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public boolean isAsMessageChannel() { | 
|---|
|  |  |  | return asMessageChannel; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setAsMessageChannel(boolean asMessageChannel) { | 
|---|
|  |  |  | this.asMessageChannel = asMessageChannel; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|