コード例 #1
0
ファイル: IOdVdt.cs プロジェクト: lardc/mme_software
        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);
        }
コード例 #2
0
ファイル: IOTOU.cs プロジェクト: lardc/mme_software
        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);
        }