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驱动/模拟器 + 仪器仪表注册/硬件调试模块
---
Plugin.TestResult/Util/DpUtil.cs | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/Plugin.TestResult/Util/DpUtil.cs b/Plugin.TestResult/Util/DpUtil.cs
index cc3c52c..e164f1f 100644
--- a/Plugin.TestResult/Util/DpUtil.cs
+++ b/Plugin.TestResult/Util/DpUtil.cs
@@ -30,17 +30,6 @@
public static readonly DependencyProperty BorderSpaceProperty =
DependencyProperty.RegisterAttached("BorderSpace", typeof(int), typeof(Grid), new PropertyMetadata(0, OnShowBorderChanged));
- public static string GetInnerBorderIgnore(DependencyObject obj)
- {
- return (string)obj.GetValue(InnerBorderIgnoreProperty);
- }
- public static void SetInnerBorderIgnore(DependencyObject obj, string value)
- {
- obj.SetValue(InnerBorderIgnoreProperty, value);
- }
- public static readonly DependencyProperty InnerBorderIgnoreProperty =
- DependencyProperty.RegisterAttached("InnerBorderIgnore", typeof(string),
- typeof(Grid), new PropertyMetadata("None", OnShowBorderChanged));
private static void OnShowBorderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
@@ -74,7 +63,7 @@
int width = 1;
- string baseData = GetInnerBorderIgnore(grid);
+ string baseData = "None";
HashSet<string> data = new HashSet<string>(baseData.Split(','));
bool ignoreTop = data.Contains("All") || data.Contains("Top"),
ignoreBottom = data.Contains("All") || data.Contains("Bottom"),
@@ -195,7 +184,7 @@
int col = i % columnCount;
var child = grid.Children[i];
- string baseData = GetInnerBorderIgnore(grid);
+ string baseData = "None";
HashSet<string> data = new HashSet<string>(baseData.Split(','));
bool ignoreTop = data.Contains("All") || data.Contains("Top"),
ignoreBottom = data.Contains("All") || data.Contains("Bottom"),
--
Gitblit v1.9.1