Esempio n. 1
0
        private void FireNotificationEvent(HWWarningReason Warning, HWFaultReason Fault, HWDisableReason Disable)
        {
            SystemHost.Journal.AppendLog(ComplexParts.DvDt, LogMessageType.Warning,
                                         string.Format(
                                             "dVdt device notification: problem None, warning {0}, fault {1}, disable {2}",
                                             Warning, Fault, Disable));

            m_Communication.PostdVdtNotificationEvent(Warning, Fault, Disable);
        }
Esempio n. 2
0
        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);
        }