Browse Source

修改气体名称

JET-YDB\JET-YANGDB 3 weeks ago
parent
commit
a0791cdeab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      VirgoRT/Devices/IODevices/IoMfc1.cs

+ 2 - 2
VirgoRT/Devices/IODevices/IoMfc1.cs

@@ -501,7 +501,7 @@ namespace VirgoRT.Devices.IODevices
                     if (alarmChecker.Trig)
                     {
                         LOG.Write($"_recipeIgnoreTimer Elapse time : {_recipeIgnoreTimer.GetElapseTime()}ms , _recipeIgnoreTimeMS :{_recipeIgnoreTimeMS}ms");
-                        EV.PostAlarmLog(Module, $" flow={FeedBack}, setpoint={SetPoint}, out of tolerance({SetPoint - Math.Abs(alarmRange)},{SetPoint + Math.Abs(alarmRange)}) in {alarmTime:0} seconds");
+                        EV.PostAlarmLog(Module, $"{DisplayName} flow={FeedBack}, setpoint={SetPoint}, out of tolerance({SetPoint - Math.Abs(alarmRange)},{SetPoint + Math.Abs(alarmRange)}) in {alarmTime:0} seconds");
                         EV.Notify(GasFlowOutOfTolerance);
                     }
                 }
@@ -531,7 +531,7 @@ namespace VirgoRT.Devices.IODevices
                     warningChecker.Monitor(FeedBack, SetPoint - Math.Abs(warningRange), SetPoint + Math.Abs(warningRange), warningTime);
                     if (warningChecker.Trig)
                     {
-                        EV.PostWarningLog(Module, $" flow={FeedBack}, setpoint={SetPoint}, out of tolerance({SetPoint - Math.Abs(warningRange)},{SetPoint + Math.Abs(warningRange)}) in {warningTime:0} seconds");
+                        EV.PostWarningLog(Module, $"{DisplayName} flow={FeedBack}, setpoint={SetPoint}, out of tolerance({SetPoint - Math.Abs(warningRange)},{SetPoint + Math.Abs(warningRange)}) in {warningTime:0} seconds");
                     }
                 }
             }