|
@@ -1,5 +1,5 @@
|
|
|
server:
|
|
|
- port: 7011
|
|
|
+ port: 7012
|
|
|
servlet:
|
|
|
context-path: /
|
|
|
|
|
@@ -9,16 +9,16 @@ spring:
|
|
|
allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
|
|
|
#redis集群
|
|
|
redis:
|
|
|
- host: 10.83.68.151
|
|
|
+ host: 10.81.3.155
|
|
|
port: 6379
|
|
|
timeout: 100000
|
|
|
# 集群环境打开下面注释,单机不需要打开
|
|
|
- cluster:
|
|
|
- #集群信息
|
|
|
- nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
|
|
|
- #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
|
|
|
- maxRedirects: 3
|
|
|
- password: Dsjpt@2021
|
|
|
+ # cluster:
|
|
|
+ # #集群信息
|
|
|
+ # nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
|
|
|
+ # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
|
|
|
+ # maxRedirects: 3
|
|
|
+ password:
|
|
|
application:
|
|
|
name: test
|
|
|
jedis:
|
|
@@ -32,9 +32,8 @@ spring:
|
|
|
exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
|
|
|
datasource:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- driver-class-name: oracle.jdbc.OracleDriver
|
|
|
- #外网
|
|
|
- url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
|
|
|
+ driver-class-name: org.postgresql.Driver
|
|
|
+ url: jdbc:postgresql://10.81.3.151:5432/wisdom
|
|
|
username: gdprod
|
|
|
password: gd123
|
|
|
oracle-schema=:
|
|
@@ -84,21 +83,27 @@ logging:
|
|
|
com.example: debug
|
|
|
#db url
|
|
|
db:
|
|
|
- url: http://10.83.68.159:8011/ts
|
|
|
+ url: http://10.81.3.152:8011/ts
|
|
|
+td:
|
|
|
+ url: http://localhost:8011/ts
|
|
|
#参与计算的场站
|
|
|
-runWindpowerstation: CL_FDC,KB_FDC,DX_FDC,SY_FDC
|
|
|
+runWindpowerstation: YLZ_FDC
|
|
|
#计算状态用ai或者di
|
|
|
clauStatus:
|
|
|
- ai: CL_FDC,KB_FDC,DX_FDC,SY_FDC #配置期次
|
|
|
- di:
|
|
|
-
|
|
|
+ ai: GJY03_GC,YLZ01_GC,PTZ02_GC #配置期次
|
|
|
+ di: GJY01_GC,GJY02_GC,DJY01_GC,DJY02_GC,YF01_GC,YF02_GC,HSM01_GC,PTZ01_GC,ZK01_GC,NJL01_GC
|
|
|
#判断数据终端
|
|
|
-second: 90
|
|
|
+second: 1800
|
|
|
#判断降出力
|
|
|
-AI134: 17.4
|
|
|
-AI178: 17.4
|
|
|
+AI134: 17.4 #叶轮转速给定
|
|
|
+AI178: 17.4 #转矩给定
|
|
|
#AI443:容量
|
|
|
|
|
|
+#计算电量直接取,如果不是1就是相减算
|
|
|
+typeOfElectric:
|
|
|
+ #直接取
|
|
|
+ direct: GJY02_GC,YF01_GC,YF02_GC,HSM01_GC,PTZ01_GC,ZK01_GC
|
|
|
+
|
|
|
|
|
|
|
|
|
|