xushili преди 9 месеца
родител
ревизия
f87a43aff7
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      NEIntelligentControl2/Service/AGC/AGCManager.cs
  2. 1 1
      NEIntelligentControl2/Views/AGC/AGCCard2.xaml.cs

+ 1 - 1
NEIntelligentControl2/Service/AGC/AGCManager.cs

@@ -122,7 +122,7 @@ namespace NEIntelligentControl2.Service.AGC
         {
             _HistoryTagInfos.Add(ai.Status);
 
-            var vs = ai.AiPoints.Where(p => (p.Type == TagType.PowerSet || p.Type == TagType.ActualPower) && !string.IsNullOrWhiteSpace(p.Tag));
+            var vs = ai.AiPoints.Where(p => (p.Type == TagType.PowerSet || p.Type == TagType.ActualPower || p.Type == TagType.IdeaPower) && !string.IsNullOrWhiteSpace(p.Tag));
             foreach (var v in vs)
             {
                 _HistoryTagInfos.Add(v);

+ 1 - 1
NEIntelligentControl2/Views/AGC/AGCCard2.xaml.cs

@@ -83,7 +83,7 @@ namespace NEIntelligentControl2.Views.AGC
                 AGCTag at = new AGCTag() { Info = v, IsDiPoint = true };
                 _UGDiPoint.Children.Add(at);
             }
-            var vs = info.AiPoints.Where(ap => ap.Type == TagType.PowerSet || ap.Type == TagType.ActualPower);
+            var vs = info.AiPoints.Where(ap => ap.Type == TagType.PowerSet || ap.Type == TagType.ActualPower || ap.Type == TagType.IdeaPower);
             //_PowerTags = vs;
             foreach (var v in vs)
             {