Exemplo n.º 1
0
        internal void SetFault(Types.VTM.HWFaultReason Fault)
        {
            labelFault.Content    = Fault.ToString();
            labelFault.Visibility = Visibility.Visible;

            IsRunning = false;
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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));
 }