Exemple #1
0
 /// <summary>
 /// Add a condition to a sensor
 /// </summary>
 /// <param name="sensor"></param>
 /// <param name="sensorToAdd"></param>
 public void AddCondition(ISensor sensor, ICondition conditionToAdd)
 {
     conditionToAdd.Identity = GetNextConditionNum();
     sensor.AddChild(conditionToAdd);
 }