From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化

---
 Plugin.DODriverControl/SingleControl.xaml.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Plugin.DODriverControl/SingleControl.xaml.cs b/Plugin.DODriverControl/SingleControl.xaml.cs
index 2cea7ba..d63d0ce 100644
--- a/Plugin.DODriverControl/SingleControl.xaml.cs
+++ b/Plugin.DODriverControl/SingleControl.xaml.cs
@@ -505,6 +505,7 @@
                         switch (data.ControlType)
                         {
                             case ControlType.BOOL:
+                            case ControlType.PULSE:
                                 if (data.Dio == DIOType.DI)
                                 {
                                     ((LightBall)ui).Value = value == data.PressDownValue;

--
Gitblit v1.9.1