From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 Plugin.DODriverControl/Api/IDIOController.cs |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/Plugin.DODriverControl/Api/IDIOController.cs b/Plugin.DODriverControl/Api/IDIOController.cs
new file mode 100644
index 0000000..fa50a41
--- /dev/null
+++ b/Plugin.DODriverControl/Api/IDIOController.cs
@@ -0,0 +1,16 @@
+锘縩amespace Plugin.DODriverControl.Api
+{
+    public interface IDIOController : IDisposable
+    {
+        bool Start(out string msg);
+
+        bool ReadDIBool(string address, out bool res, out string msg);
+        bool ReadDIDouble(string address, out double? res, out string msg);
+
+        bool ReadDOBool(string address, out bool res, out string msg);
+
+        bool WriteBool(string address, bool value, out string msg);
+
+        bool Close();
+    }
+}

--
Gitblit v1.9.1