Exemple #1
0
        public Alarm(Variable variable, Func<object, bool> condition)
        {
            this.variable = variable;
            this.condition = condition;

            this.variable.NewValue += this.NewValue;
        }
Exemple #2
0
 public MinimumAlarm(Variable variable, object value)
     : base(variable, val => ((IComparable)val).CompareTo(value) < 0)
 {
 }