Plugin.CurrentSensorControl/BurnInCell.xaml.cs
@@ -1,5 +1,6 @@ using 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) {