Ejemplo n.º 1
0
 /// <summary>
 /// Remove an existing SsnSensor from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemovePertenecenA(SsnSensor oldSsnSensor)
 {
     if (oldSsnSensor == null)
     {
         return;
     }
     if (this.pertenecenA != null)
     {
         if (this.pertenecenA.Contains(oldSsnSensor))
         {
             this.pertenecenA.Remove(oldSsnSensor);
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new SsnSensor in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddPertenecenA(SsnSensor newSsnSensor)
 {
     if (newSsnSensor == null)
     {
         return;
     }
     if (this.pertenecenA == null)
     {
         this.pertenecenA = new System.Collections.Generic.List <SsnSensor>();
     }
     if (!this.pertenecenA.Contains(newSsnSensor))
     {
         this.pertenecenA.Add(newSsnSensor);
     }
 }