| | |
| | | package com.genersoft.iot.vmp.conf; |
| | | |
| | | import org.springframework.core.annotation.Order; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.core.annotation.Order; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | |
| | | private Boolean logInDatebase = Boolean.TRUE; |
| | | |
| | | private Boolean usePushingAsStatus = Boolean.TRUE; |
| | | private Boolean usePushingAsStatus = Boolean.FALSE; |
| | | |
| | | private Boolean useSourceIpAsStreamIp = Boolean.FALSE; |
| | | |
| | |
| | | private Boolean streamOnDemand = Boolean.TRUE; |
| | | |
| | | private Boolean pushAuthority = Boolean.TRUE; |
| | | |
| | | private Boolean gbSendStreamStrict = Boolean.FALSE; |
| | | |
| | | private Boolean syncChannelOnDeviceOnline = Boolean.FALSE; |
| | | |
| | |
| | | private String recordPath = null; |
| | | |
| | | private String thirdPartyGBIdReg = "[\\s\\S]*"; |
| | | |
| | | private String broadcastForPlatform = "UDP"; |
| | | |
| | | private String civilCodeFile = "classpath:civilCode.csv"; |
| | | |
| | |
| | | this.pushAuthority = pushAuthority; |
| | | } |
| | | |
| | | public Boolean getGbSendStreamStrict() { |
| | | return gbSendStreamStrict; |
| | | } |
| | | |
| | | public void setGbSendStreamStrict(Boolean gbSendStreamStrict) { |
| | | this.gbSendStreamStrict = gbSendStreamStrict; |
| | | } |
| | | |
| | | public Boolean getSyncChannelOnDeviceOnline() { |
| | | return syncChannelOnDeviceOnline; |
| | | } |
| | |
| | | this.syncChannelOnDeviceOnline = syncChannelOnDeviceOnline; |
| | | } |
| | | |
| | | public String getBroadcastForPlatform() { |
| | | return broadcastForPlatform; |
| | | } |
| | | |
| | | public void setBroadcastForPlatform(String broadcastForPlatform) { |
| | | this.broadcastForPlatform = broadcastForPlatform; |
| | | } |
| | | |
| | | public Boolean getSipUseSourceIpAsRemoteAddress() { |
| | | return sipUseSourceIpAsRemoteAddress; |
| | | } |