wenxiangchao
2026-11-02 9d1660270272180cd71147d6ddd53d1382643d2e
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);