Beispiel #1
0
        public CEvenementAlarmMask(CMessageAlarmeNotification message)
            : base(message)
        {
            int nSeverity = (int)Message.EvenementMasquage;

            if (nSeverity / 2 != 0)   // Début de masquage
            {
                m_stNomL = (new CMaskedBy(EMaskedBy.Administrateur)).Libelle;
            }
            else
            {
                m_stNomL = (new CMaskedBy(EMaskedBy.Brigadier)).Libelle;
            }

            nSeverity = nSeverity % 2;

            if (m_stNomL == (new CMaskedBy(EMaskedBy.Administrateur)).Libelle)
            {
                nSeverity = 2 * nSeverity;
            }

            m_nNiveauMasquage = (EMasquage)nSeverity;
        }
 public CEvenementAlarmMasqueeParUneAutre(CMessageAlarmeNotification message)
     : base(message)
 {
 }
 public CEvenementAlarmAcknowledge(CMessageAlarmeNotification message)
     : base(message)
 {
 }
 public CEvenementAlarmStartStop(CMessageAlarmeNotification message)
     : base(message)
 {
 }
Beispiel #5
0
 public CEvenementAlarm(CMessageAlarmeNotification message)
 {
     m_Message = message;
 }