From 8a68bae0bb02127cc62c07bf8727af4b88df0981 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 27 四月 2023 09:23:00 +0800 Subject: [PATCH] 修复redis数据写入时超时时间设置错误的问题 --- src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java index b413d88..539198f 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java @@ -50,11 +50,21 @@ private Boolean sipLog = Boolean.FALSE; private Boolean sendToPlatformsWhenIdLost = Boolean.FALSE; + private Boolean refuseChannelStatusChannelFormNotify = Boolean.FALSE; + + private Boolean deviceStatusNotify = Boolean.FALSE; + private String serverId = "000000"; + + private String recordPath = null; private String thirdPartyGBIdReg = "[\\s\\S]*"; private List<String> interfaceAuthenticationExcludes = new ArrayList<>(); + + private List<String> allowedOrigins = new ArrayList<>(); + + private int maxNotifyCountQueue = 10000; public Boolean getSavePositionHistory() { return savePositionHistory; @@ -220,6 +230,14 @@ this.sipLog = sipLog; } + public List<String> getAllowedOrigins() { + return allowedOrigins; + } + + public void setAllowedOrigins(List<String> allowedOrigins) { + this.allowedOrigins = allowedOrigins; + } + public Boolean getSendToPlatformsWhenIdLost() { return sendToPlatformsWhenIdLost; } @@ -227,4 +245,36 @@ public void setSendToPlatformsWhenIdLost(Boolean sendToPlatformsWhenIdLost) { this.sendToPlatformsWhenIdLost = sendToPlatformsWhenIdLost; } + + public Boolean getRefuseChannelStatusChannelFormNotify() { + return refuseChannelStatusChannelFormNotify; + } + + public void setRefuseChannelStatusChannelFormNotify(Boolean refuseChannelStatusChannelFormNotify) { + this.refuseChannelStatusChannelFormNotify = refuseChannelStatusChannelFormNotify; + } + + public String getRecordPath() { + return recordPath; + } + + public void setRecordPath(String recordPath) { + this.recordPath = recordPath; + } + + public int getMaxNotifyCountQueue() { + return maxNotifyCountQueue; + } + + public void setMaxNotifyCountQueue(int maxNotifyCountQueue) { + this.maxNotifyCountQueue = maxNotifyCountQueue; + } + + public Boolean getDeviceStatusNotify() { + return deviceStatusNotify; + } + + public void setDeviceStatusNotify(Boolean deviceStatusNotify) { + this.deviceStatusNotify = deviceStatusNotify; + } } -- Gitblit v1.8.0