| | |
| | | |
| | | public Boolean showStartInfo ; |
| | | public Boolean enable ;//模块是否启动 |
| | | public Integer failTryTimes ;//升级失败后,重新偿试升级次数,0表示不重新偿试升级 |
| | | public Integer ugMaxRtuSameTime ;//同时升级RTU最大个数 |
| | | public Integer failTryTimes ;//升级失败后(针对的是在线进行了升级下发命令),重新偿试升级次数,0表示不重新偿试升级 |
| | | public Integer ugMaxRtuAtOnce;//为了缓解通信中间件的压力,同时支持升级的RTU台数 |
| | | public Integer rtuOffLineWaitDuration;//rtu离线,等待其升级的时长(毫秒),超过这个时间,设置其升级失败,且设置升级任务完成 |
| | | public Integer notifyStateInterval;//升级状态通知间隔(毫秒) |
| | | |
| | | public UpgradeUnitConfigVo(){ |
| | | this.enable = false ; |
| | | this.failTryTimes = 0 ; |
| | | this.failTryTimes = 1000000 ; |
| | | this.ugMaxRtuAtOnce = Integer.MAX_VALUE ; |
| | | this.rtuOffLineWaitDuration = 10 * 60 * 60 * 1000 ; |
| | | this.notifyStateInterval = 2000 ; |
| | | } |
| | | } |