From 559890c482f5973f06aafdfec9550fee5ba3c7f2 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 17:02:15 +0800
Subject: [PATCH] feat: CAN 模拟器 TCP 化 + 多设备并发调试 + 后台生命周期管理
---
HMI.UI/Controls/LightBall.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/HMI.UI/Controls/LightBall.cs b/HMI.UI/Controls/LightBall.cs
index d9ffd5c..3cb1c08 100644
--- a/HMI.UI/Controls/LightBall.cs
+++ b/HMI.UI/Controls/LightBall.cs
@@ -12,7 +12,7 @@
public static readonly DependencyProperty ValueProperty = DependencyProperty.Register(
"Value",
- typeof(bool),
+ typeof(bool?),
typeof(LightBall),
new FrameworkPropertyMetadata(false));
@@ -31,9 +31,9 @@
}
}
- public bool Value
+ public bool? Value
{
- get => (bool)GetValue(ValueProperty);
+ get => (bool?)GetValue(ValueProperty);
set
{
SetValue(ValueProperty, value);
--
Gitblit v1.9.1