Commit f053cb3119a3347a3721e42bbe69f5f740d7955e

Authored by 房远帅
Committed by 朱园亮
1 parent 247b181a

凯盛数据推送能源管理-测试

... ... @@ -38,7 +38,7 @@ public class KSDeviceReportService {
38 38 @Value("${ks.third.selectSql1:SELECT * FROM ts_kv_dictionary;}")
39 39 private String selectSql1;
40 40
41   - @Value("${ks.third.broker:10.9.0.114:1884}")
  41 + @Value("${ks.third.broker:192.168.0.249:1884}")
42 42 private String broker;
43 43 @Value("${ks.third.username:yunpower}")
44 44 private String username;
... ...
... ... @@ -18,7 +18,7 @@ public class KaiShengZoneScheduler extends AbstractZoneScheduler {
18 18 return "KaiSheng (凯盛)";
19 19 }
20 20
21   - @Scheduled(cron = "${scheduler.ks.push:0 0/5 * * * ?}")
  21 + @Scheduled(cron = "${scheduler.ks.push:0 0/2 * * * ?}")
22 22 public void pushKsDevicesToThirdParty() {
23 23 String taskName = "ks Push Devices (IoT -> 3rd Party)";
24 24 logStart(taskName);
... ...
... ... @@ -25,8 +25,8 @@ scheduler:
25 25 pull: "0 0/5 * * * ?"
26 26 push: "0 0/10 * * * ?"
27 27 ks:
28   - pull: "0 0/5 * * * ?"
29   - push: "0 0/5 * * * ?"
  28 + pull: "0 0/2 * * * ?"
  29 + push: "0 0/2 * * * ?"
30 30 ks:
31 31 third:
32 32 jdbcUrl: "jdbc:postgresql://192.168.0.249:5432/iot"
... ...