private void FireNotificationEvent(Types.VTM.HWProblemReason Problem, Types.VTM.HWWarningReason Warning, Types.VTM.HWFaultReason Fault, Types.VTM.HWDisableReason Disable) { SystemHost.Journal.AppendLog(ComplexParts.SL, LogMessageType.Warning, String.Format( "VTM device notification: problem {0}, warning {1}, fault {2}, disable {3}", Problem, Warning, Fault, Disable)); m_Communication.PostSLNotificationEvent(Problem, Warning, Fault, Disable); }
public void PostSLNotificationEvent(Types.VTM.HWProblemReason Problem, Types.VTM.HWWarningReason Warning, Types.VTM.HWFaultReason Fault, Types.VTM.HWDisableReason Disable) { EnumerateClients(Client => Client.SLNotificationHandler(Problem, Warning, Fault, Disable)); }