From 54df5df0313f251b8d84b77bbc64e4a8bfe86393 Mon Sep 17 00:00:00 2001 From: 朱俊杰 <502612493@qq.com> Date: 星期一, 14 二月 2022 10:18:00 +0800 Subject: [PATCH] mapper改用注释方式 --- src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java index 2d30792..6fa802d 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java @@ -27,7 +27,9 @@ Integer keepaliveTimeOut = 255; - Integer registerTimeInterval = 60; + Integer registerTimeInterval = 120; + + private boolean alarm = false; public void setIp(String ip) { this.ip = ip; @@ -104,4 +106,12 @@ public Integer getRegisterTimeInterval() { return registerTimeInterval; } + + public boolean isAlarm() { + return alarm; + } + + public void setAlarm(boolean alarm) { + this.alarm = alarm; + } } -- Gitblit v1.8.0