From 8dd292cfbf013f4ebc444582d508f18825f321d2 Mon Sep 17 00:00:00 2001
From: Administrator <1051256694@qq.com>
Date: 星期六, 14 三月 2026 13:18:53 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/impl/ZySiemensCrnThread.java | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/impl/ZySiemensCrnThread.java b/src/main/java/com/zy/core/thread/impl/ZySiemensCrnThread.java
index f3bbd8a..5e7f2b7 100644
--- a/src/main/java/com/zy/core/thread/impl/ZySiemensCrnThread.java
+++ b/src/main/java/com/zy/core/thread/impl/ZySiemensCrnThread.java
@@ -82,16 +82,14 @@
if (task != null) {
step = task.getStep();
}
+
if (step == 2) {
sendCommand((CrnCommand) task.getData());
- }
- if (step == 3) {
+ }else if (step == 3) {
sendCommand1((CrnCommand) task.getData());
- }
- if (step == 4) {
+ }else if (step == 4) {
sendCommand2((CrnCommand) task.getData());
- }
- if (step == 5) {
+ }else if (step == 5) {
sendCommand3((CrnCommand) task.getData());
}
--
Gitblit v1.9.1