application-hf.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. server:
  2. port: 7011
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. #redis集群
  9. redis:
  10. host: 127.0.0.1
  11. #host: 192.168.11.250
  12. port: 6379
  13. timeout: 100000
  14. # 集群环境打开下面注释,单机不需要打开
  15. # cluster:
  16. # #集群信息
  17. # 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
  18. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  19. # maxRedirects: 3
  20. password:
  21. application:
  22. name: test
  23. jedis:
  24. pool:
  25. max-active: 8
  26. min-idle: 0
  27. max-idle: 8
  28. max-wait: -1
  29. database: 9
  30. autoconfigure:
  31. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  32. datasource:
  33. type: com.alibaba.druid.pool.DruidDataSource
  34. driver-class-name: org.postgresql.Driver
  35. # url: jdbc:postgresql://10.0.118.76:5432/IMS_NEM?rewriteBatchedStatements=true
  36. url: jdbc:postgresql://localhost:5432/IMS_NEM
  37. username: postgres
  38. password: gd123
  39. # url: jdbc:postgresql://124.70.75.91:5432/jn_test?rewriteBatchedStatements=true
  40. # username: postgres
  41. # password: gd123
  42. oracle-schema=:
  43. # type: com.alibaba.druid.pool.DruidDataSource
  44. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  45. # username: root
  46. # password: root
  47. # driver-class-name: com.mysql.jdbc.Driver
  48. druid:
  49. max-active: 20
  50. initial-size: 1
  51. min-idle: 3
  52. max-wait: 60000
  53. time-between-eviction-runs-millis: 60000
  54. min-evictable-idle-time-millis: 300000
  55. test-while-idle: true
  56. test-on-borrow: false
  57. test-on-return: false
  58. servlet:
  59. multipart:
  60. # 开启 multipart 上传功能
  61. enabled: true
  62. # 文件写入磁盘的阈值
  63. file-size-threshold: 2KB
  64. # 最大文件大小
  65. max-file-size: 200MB
  66. # 最大请求大小
  67. max-request-size: 215MB
  68. mybatis-plus:
  69. configuration:
  70. map-underscore-to-camel-case: true
  71. auto-mapping-behavior: full
  72. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  73. mapper-locations: classpath*:mapper/**/*Mapper.xml
  74. global-config:
  75. # 逻辑删除配置
  76. db-config:
  77. id-type: auto
  78. # 删除前
  79. logic-not-delete-value: 1
  80. # 删除后
  81. logic-delete-value: 0
  82. logging:
  83. level:
  84. root: info
  85. com.example: debug
  86. #db url
  87. db:
  88. #url: http://127.0.0.1:8011/ts
  89. url: http://192.168.11.250:8011/ts
  90. #url: http://124.70.75.91:8011/ts
  91. #参与计算的场站
  92. #runWindpowerstation: SD_GDDL_WHWD_FDC_STA,SD_GDDL_WHXQ_FDC_STA,SD_GDDL_RZLX_FDC_STA,SD_GDDL_QDJN_FDC_STA,SD_SXNY_FXFC_FDC_STA,SD_SXNY_LXLN_FDC_STA,SD_SXNY_LQJS_FDC_STA,SD_SXNY_ZYFS_FDC_STA,SD_LYDL_BH2_FDC_STA,SD_GDDL_RZWL_FDC_STA,SD_SXNY_PLHS_FDC_STA,SD_SXNY_ZYXD_FDC_STA,SD_GDDL_DZXJ_FDC_STA,SD_GDDL_XTTA_FDC_STA,SD_GDDL_WFZC_FDC_STA,SD_SXNY_JNSS_FDC_STA,SD_SXNY_WFBH_FDC_STA,SD_LYDL_CG_FDC_STA,SD_LYDL_FJ_FDC_STA,SD_LYDL_YS_FDC_STA,SD_SXNY_JNCQ_FDC_STA,SD_LYDL_BH1_FDC_STA,SD_GHTZ_HZJ_GDC_STA
  93. runWindpowerstation: LN_GDDL_XC_FDC_STA,LN_GDDL_LH_FDC_STA,LN_GDDL_FS_FDC_STA,LN_GDDL_BZ_FDC_STA,LN_GDDL_XBQ_FDC_STA,LN_GDDL_DBS_FDC_STA,LN_GDDL_TZS_FDC_STA,LN_GDDL_TF_FDC_STA,HLJ_GDDL_JQ_FDC_STA,HLJ_GDDL_BS_FDC_STA,HLJ_GDDL_QL_FDC_STA,JL_GDDL_WF_FDC_STA,JL_GDDL_YM_FDC_STA,MD_GDDL_TY_FDC_STA,MD_GDDL_AL_FDC_STA
  94. #计算状态用ai或者di
  95. clauStatus:
  96. ai: GJY03_GC,YLZ01_GC,PTZ02_GC #配置期次
  97. di: GJY01_GC,GJY02_GC,DJY01_GC,DJY02_GC,YF01_GC,YF02_GC,HSM01_GC,PTZ01_GC,ZK01_GC,NJL01_GC,YTY01_GC,PDL01_GC
  98. #判断数据终端
  99. second: 1800
  100. #判断降出力
  101. AI110: 17.4 #叶轮转速给定
  102. AI178: 17.4 #转矩给定
  103. #AI443:容量
  104. #功率曲线拟合
  105. curvefitting:
  106. #维度
  107. dimension: 20
  108. #尺度
  109. scale: 0.01
  110. initialcode: INITIAL
  111. ##调用区间间隔时长,需要与XXLJOB调度时长结合,保证查询区间时长大于调度时长,单位分钟
  112. frequency:
  113. #停机
  114. shutdown: 6
  115. #限电
  116. powerrationing: 6
  117. #切入切出
  118. cutinandout: 6