From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块

---
 HMI.StdControl/StdEnableMes.xaml.cs |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/HMI.StdControl/StdEnableMes.xaml.cs b/HMI.StdControl/StdEnableMes.xaml.cs
index 46a8cb2..2dce02b 100644
--- a/HMI.StdControl/StdEnableMes.xaml.cs
+++ b/HMI.StdControl/StdEnableMes.xaml.cs
@@ -2,6 +2,7 @@
 using System;
 using System.ComponentModel;
 using System.Runtime.CompilerServices;
+using System.Windows;
 using System.Windows.Controls;
 
 namespace HMI.StdControl
@@ -44,6 +45,21 @@
             }
         }
 
+        public static DependencyProperty CbEnabledProperty = DependencyProperty.Register(
+                            "CbEnabled",
+                            typeof(bool),
+                            typeof(StdEnableMes),
+                            new FrameworkPropertyMetadata(true));
+
+        public bool CbEnabled
+        {
+            get => (bool)GetValue(CbEnabledProperty);
+            set
+            {
+                SetValue(CbEnabledProperty, value);
+            }
+        }
+
         private bool enableMes;
         public bool EnableMes
         {

--
Gitblit v1.9.1