From ed1da6c8a6f697b00b0d44b4257c0b288ce293d3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 30 十二月 2020 14:31:49 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/MelsecCrnThread.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/MelsecCrnThread.java b/src/main/java/com/zy/core/thread/MelsecCrnThread.java
index 6fb1898..53f159b 100644
--- a/src/main/java/com/zy/core/thread/MelsecCrnThread.java
+++ b/src/main/java/com/zy/core/thread/MelsecCrnThread.java
@@ -137,7 +137,8 @@
         crnCommand.setDestinationPosY((short) cal.get(Calendar.HOUR_OF_DAY));     // 鏃讹細0锝�23
         crnCommand.setDestinationPosZ((short) cal.get(Calendar.MINUTE));     // 鍒嗭細0锝�59
         crnCommand.setDestinationPosX((short) cal.get(Calendar.SECOND));     // 绉掞細0锝�59
-        crnCommand.setTaskNo((short) (cal.get(Calendar.DAY_OF_WEEK) - 1));     // 鏄熸湡锛�0(鏃�)锝�6(鍏�)
+//        crnCommand.setTaskNo((short) (cal.get(Calendar.DAY_OF_WEEK) - 1));     // 鏄熸湡锛�0(鏃�)锝�6(鍏�)
+        crnCommand.setTaskNo((short) 0);     // 鏄熸湡锛�0(鏃�)锝�6(鍏�)
         crnCommand.setTaskSend((short) 1);
         crnCommand.setAckFinish((short) 0);
         if (write(crnCommand)) {

--
Gitblit v1.9.1