|
@@ -1689,5 +1689,30 @@ namespace MECF.Framework.RT.ModuleLibrary.SystemModules
|
|
|
{
|
|
|
return IsAutoMode;
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 告警日志
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="message"></param>
|
|
|
+ public void WriteWarningLog(string message)
|
|
|
+ {
|
|
|
+ LOG.Warning($"EAP {message}");
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// 错误日志
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="message"></param>
|
|
|
+ public void WriteErrorLog(string message)
|
|
|
+ {
|
|
|
+ LOG.Error($"EAP {message}");
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// 正常日志
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="message"></param>
|
|
|
+ public void WriteInfoLog(string message)
|
|
|
+ {
|
|
|
+ LOG.Write($"EAP {message}" );
|
|
|
+ }
|
|
|
}
|
|
|
}
|