dcb
2025-06-25 024c9f73fce8ab5f94c3af0c237bcf102a547766
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.se.nsl.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@ConfigurationProperties(prefix = "realtime-simulate-config")
public class RealTimeSimulationConfig {
 
    private String url;
    private String token;
    private int realTimeInterval;
    private int requestOffsetMinutes; //雨量计请求间隔的时间,为了便于获取一个范围内雨量数据
    private double offsetDays;
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public String getToken() {
        return token;
    }
 
    public void setToken(String token) {
        this.token = token;
    }
 
    public int getRealTimeInterval() {
        return realTimeInterval;
    }
 
    public void setRealTimeInterval(int realTimeInterval) {
        this.realTimeInterval = realTimeInterval;
    }
 
    public int getRequestOffsetMinutes() {
        return requestOffsetMinutes;
    }
 
    public void setRequestOffsetMinutes(int requestOffsetMinutes) {
        this.requestOffsetMinutes = requestOffsetMinutes;
    }
 
    public double getOffsetDays() {
        return offsetDays;
    }
 
    public void setOffsetDays(double offsetDays) {
        this.offsetDays = offsetDays;
    }
}