| | |
| | | nginx: |
| | | webPort: 54321 |
| | | mw: |
| | | webPort: 8070 #通信中间件中应用,不能在web模块系统中应用 |
| | | actutorPort: 9070 #通信中间件中应用,不能在web模块系统中应用 |
| | | webPort: 8073 #通信中间件中应用,不能在web模块系统中应用 |
| | | actutorPort: 9073 #通信中间件中应用,不能在web模块系统中应用 |
| | | idSuffix: 0 |
| | | sso: |
| | | cacheMaximumSize: 10000 #登录用户缓存可缓存用户的最大值 |
| | |
| | | //说明刚建立网络连接,此数据应该是上线数据 |
| | | isOnLine = true ; |
| | | Object[] rtuAddrProtocolNameVersion = this.parseOnLine(session, upBuf) ; |
| | | if(rtuAddrProtocolNameVersion.length == 2){ |
| | | if(rtuAddrProtocolNameVersion.length == 3){ |
| | | //解析上线数据成功,并解析出RTU地址及通信协议名称 |
| | | rtuAddr = (String)rtuAddrProtocolNameVersion[0] ; |
| | | protocolName = (String)rtuAddrProtocolNameVersion[1] ; |
| | |
| | | datasource: #配置数据源 |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/pipIrr_ym?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull |
| | | url: jdbc:mysql://127.0.0.1:3306/pipIrr_sp?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull |
| | | username: root |
| | | password: dysql,;.abc!@# |
| | | druid: |
| | |
| | | sendDingDingAlarmMsInterval: 有报警发生时,向钉钉发送消息的间隔时长(分钟) |
| | | --> |
| | | <base |
| | | orgTag="ym" |
| | | orgTag="sp" |
| | | isLowPower="false" |
| | | onlyDealRtus="" |
| | | onlyOneProtocol="false" |
| | |
| | | idle: 发呆时长(秒) |
| | | --> |
| | | <tcp enable="true" |
| | | port="60000" |
| | | port="62000" |
| | | processors="3" |
| | | idle="10" |
| | | /> |