示例#1
0
 //-----------------------------
 public void RemoveChamp(CLocalChampTypeAlarme champ)
 {
     if (champ != null)
     {
         m_listeChamps.Remove(champ);
     }
 }
示例#2
0
 //-----------------------------
 public bool AddChamp(CLocalChampTypeAlarme champ)
 {
     if (champ == null)
     {
         return(false);
     }
     if (m_listeChamps.FirstOrDefault(c => c.NomChamp.ToUpper() == champ.NomChamp) != null)
     {
         return(false);
     }
     m_listeChamps.Add(champ);
     return(true);
 }
示例#3
0
 //------------------------------------------------------
 public CDefinitionProprieteDynamiqueChampAlarme(CLocalChampTypeAlarme champ)
     : base(champ.NomChamp, champ.Id,
            new CTypeResultatExpression(CTypeChampBasique.GetTypeDotNet(champ.TypeDonnee), false),
            false, false)
 {
 }