private void FireNotificationEvent(HWProblemReason problem, HWWarningReason warning, HWFaultReason fault, HWDisableReason disable) { SystemHost.Journal.AppendLog(ComplexParts.TOU, LogMessageType.Warning, string.Format( "TOU device notification: problem None, warning {0}, fault {1}, disable {2}", warning, fault, disable)); _Communication.PostTOUNotificationEvent((ushort)problem, (ushort)warning, (ushort)fault, (ushort)disable); }
private void FireNotificationEvent(HWWarningReason Warning, HWProblemReason Problem, HWFaultReason Fault) { SystemHost.Journal.AppendLog(ComplexParts.Clamping, LogMessageType.Warning, string.Format("Clamping device notification: warning {0}, problem {1}, fault {2}", Warning, Problem, Fault)); m_Communication.PostClampingNotificationEvent(Warning, Problem, Fault); }