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