From 3137fbc2fdc70ada7ba2f2602e73ddd7f2baea33 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 22 十一月 2024 09:59:28 +0800 Subject: [PATCH] 升级演示程序逻辑修改 --- pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/rtuUpgrage/RtuUpgradeStateReceiverCtrl.java | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/rtuUpgrage/RtuUpgradeStateReceiverCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/rtuUpgrage/RtuUpgradeStateReceiverCtrl.java index 1add08d..63aaf1e 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/rtuUpgrage/RtuUpgradeStateReceiverCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/rtuUpgrage/RtuUpgradeStateReceiverCtrl.java @@ -227,21 +227,7 @@ return ; } int n = Integer.parseInt(new CreateRandom().create(2)) ; - if(n == 4 - || n == 14 - || n == 24 - || n == 34 - || n == 44 - || n == 54 - || n == 64 - || n == 74 - || n == 84 - || n == 95 - || n == 45 - || n == 46 - || n == 47 - || n == 48 - || n == 49){ + if(n == 54){ if(rtu.currentPackage == 1){ //1鍖呮 rtu.state = UpgradeRtu.STATE_FAILONE ; -- Gitblit v1.8.0