From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 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