From d983b88916d7489aa154984b67e1bcfb2f13f5d1 Mon Sep 17 00:00:00 2001
From: zc <zc@123>
Date: 星期二, 06 五月 2025 11:10:43 +0800
Subject: [PATCH] 解决待机位和提升机互锁问题
---
src/main/java/com/zy/core/thread/LedThread.java | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/LedThread.java b/src/main/java/com/zy/core/thread/LedThread.java
new file mode 100644
index 0000000..ffb06ab
--- /dev/null
+++ b/src/main/java/com/zy/core/thread/LedThread.java
@@ -0,0 +1,23 @@
+package com.zy.core.thread;
+
+
+import com.zy.core.ThreadHandler;
+import com.zy.core.model.command.LedCommand;
+
+import java.util.List;
+
+public interface LedThread extends ThreadHandler {
+
+ void write(List<LedCommand> commands);
+
+ void reset();
+
+ void error(String error);
+
+ void errorReset();
+
+ void setLedMk(boolean mk);
+
+ boolean isLedMk();
+
+}
--
Gitblit v1.9.1