|  |  | 
 |  |  |  | 
 |  |  | import org.springframework.boot.context.properties.ConfigurationProperties; | 
 |  |  | import org.springframework.stereotype.Component; | 
 |  |  | import org.springframework.util.ObjectUtils; | 
 |  |  |  | 
 |  |  | @Component | 
 |  |  | @ConfigurationProperties(prefix = "sip", ignoreInvalidFields = true) | 
 |  |  | 
 |  |  |    private String password; | 
 |  |  |     | 
 |  |  |    Integer ptzSpeed = 50; | 
 |  |  |  | 
 |  |  |    Integer keepaliveTimeOut = 255; | 
 |  |  |  | 
 |  |  |    Integer registerTimeInterval = 120; | 
 |  |  |  | 
 |  |  | 
 |  |  |       this.ptzSpeed = ptzSpeed; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void setKeepaliveTimeOut(Integer keepaliveTimeOut) { | 
 |  |  |       this.keepaliveTimeOut = keepaliveTimeOut; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void setRegisterTimeInterval(Integer registerTimeInterval) { | 
 |  |  |       this.registerTimeInterval = registerTimeInterval; | 
 |  |  | 
 |  |  |       return ptzSpeed; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public Integer getKeepaliveTimeOut() { | 
 |  |  |       return keepaliveTimeOut; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public Integer getRegisterTimeInterval() { | 
 |  |  |       return registerTimeInterval; | 
 |  |  |    } | 
 |  |  | 
 |  |  |    public void setAlarm(boolean alarm) { | 
 |  |  |       this.alarm = alarm; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    public void getLocalIp(String deviceLocalIp) { | 
 |  |  |       if (ObjectUtils.isEmpty(deviceLocalIp)) { | 
 |  |  |  | 
 |  |  |       } | 
 |  |  |    } | 
 |  |  | } |