| | |
| | | } |
| | | |
| | | int n = Integer.parseInt(new CreateRandom().create(3)) ; |
| | | if(n == 540 || n == 541 || n == 542 || n == 543 || n == 544 || n == 545){ |
| | | if(n == 540 || n == 541 || n == 542 || n == 543 || n == 544 || n == 545 || n == 546 || n == 547 || n == 548 || n == 549 ){ |
| | | if(rtu.currentPackage == 1){ |
| | | //1包死 |
| | | rtu.state = UpgradeRtu.STATE_FAILONE ; |
| | |
| | | if(!hasRunning){ |
| | | cache.ugOverallState.allOver = true ; |
| | | } |
| | | if(cache.ugOverallState.allOver){ |
| | | if(cache.ugRtuStateList != null && cache.ugRtuStateList.size() > 0){ |
| | | for(UpgradeRtu rtu : cache.ugRtuStateList){ |
| | | rtu.isOver = true ; |
| | | } |
| | | } |
| | | } |
| | | return hasRunning ; |
| | | } |
| | | } |