From 2e889843b4c171f2d6ad8e0d53084040703d11f6 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 13:18:21 +0800
Subject: [PATCH] docs: CAN 总线级应答器 + 硬件调试页多标签多会话 设计规格
---
Plugin.CurrentSensorControl/BurnInCell.xaml.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Plugin.CurrentSensorControl/BurnInCell.xaml.cs b/Plugin.CurrentSensorControl/BurnInCell.xaml.cs
index 4d54296..2d9c3cc 100644
--- a/Plugin.CurrentSensorControl/BurnInCell.xaml.cs
+++ b/Plugin.CurrentSensorControl/BurnInCell.xaml.cs
@@ -1,5 +1,6 @@
锘縰sing CommunityToolkit.Mvvm.ComponentModel;
using HslCommunication.Profinet.Siemens;
+using PLCHelper;
using Plugin.CurrentSensorControl.Entity;
using System.Windows.Controls;
@@ -117,6 +118,9 @@
}
}
+ [ObservableProperty]
+ private string current;
+
[ObservableProperty]
@@ -169,6 +173,12 @@
ngLightOn = (bool)val;
OnPropertyChanged("NgLightOn");
}
+
+ name = $"Oven{ovenIndex + 1}_Cell{cellIndex + 1}_Current";
+ if (S7Context.GetData(api, name, out val))
+ {
+ Current = val.ToString();
+ }
}
catch (Exception ex)
{
--
Gitblit v1.9.1