|  |  | 
 |  |  |     * 在线 | 
 |  |  |     */ | 
 |  |  |    @Schema(description = "是否在线,true为在线,false为离线") | 
 |  |  |    private boolean online; | 
 |  |  |    private boolean onLine; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  | 
 |  |  |     * 是否开启ssrc校验,默认关闭,开启可以防止串流 | 
 |  |  |     */ | 
 |  |  |    @Schema(description = "是否开启ssrc校验,默认关闭,开启可以防止串流") | 
 |  |  |    private boolean ssrcCheck = true; | 
 |  |  |    private boolean ssrcCheck = false; | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 地理坐标系, 目前支持 WGS84,GCJ02 | 
 |  |  |     */ | 
 |  |  |    @Schema(description = "地理坐标系, 目前支持 WGS84,GCJ02") | 
 |  |  |    private String geoCoordSys; | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup | 
 |  |  |     */ | 
 |  |  |    @Schema(description = "树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup") | 
 |  |  |    private String treeType; | 
 |  |  |  | 
 |  |  |    @Schema(description = "密码") | 
 |  |  |    private String password; | 
 |  |  | 
 |  |  |  | 
 |  |  |    @Schema(description = "设备注册的事务信息") | 
 |  |  |    private SipTransactionInfo sipTransactionInfo; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    public String getDeviceId() { | 
 |  |  | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public Integer getStreamModeForParam() { | 
 |  |  |       if (streamMode == null) { | 
 |  |  |          return 0; | 
 |  |  |       } | 
 |  |  |       if (streamMode.equalsIgnoreCase("UDP")) { | 
 |  |  |          return 0; | 
 |  |  |       }else if (streamMode.equalsIgnoreCase("TCP-PASSIVE")) { | 
 |  |  | 
 |  |  |       this.hostAddress = hostAddress; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public boolean isOnline() { | 
 |  |  |       return online; | 
 |  |  |    public boolean isOnLine() { | 
 |  |  |       return onLine; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void setOnline(boolean online) { | 
 |  |  |       this.online = online; | 
 |  |  |    public void setOnLine(boolean onLine) { | 
 |  |  |       this.onLine = onLine; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public int getChannelCount() { | 
 |  |  | 
 |  |  |       this.geoCoordSys = geoCoordSys; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public String getTreeType() { | 
 |  |  |       return treeType; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void setTreeType(String treeType) { | 
 |  |  |       this.treeType = treeType; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public String getPassword() { | 
 |  |  |       return password; | 
 |  |  |    } | 
 |  |  | 
 |  |  |    public void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) { | 
 |  |  |       this.sipTransactionInfo = sipTransactionInfo; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    /*======================设备主子码流逻辑START=========================*/ | 
 |  |  |    @Schema(description = "开启主子码流切换的开关(false-不开启,true-开启)") | 
 |  |  |    private boolean switchPrimarySubStream; | 
 |  |  |  | 
 |  |  |    public boolean isSwitchPrimarySubStream() { | 
 |  |  |       return switchPrimarySubStream; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void setSwitchPrimarySubStream(boolean switchPrimarySubStream) { | 
 |  |  |       this.switchPrimarySubStream = switchPrimarySubStream; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    /*======================设备主子码流逻辑END=========================*/ | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |