public GreaterThen(SignalHandler signal, double compareValue, AlgerbraOperator nextOperator) : base(signal, nextOperator) { this._compareValue = compareValue; this._triggerInputs = TriggerInput.OnlyValue; base.SignalHandlersUsedByTrigger.Add(signal); }
public GreaterThen(SignalHandler signal, double compareValue, AlgerbraOperator nextOperator) : base(signal, nextOperator) { this._compareValue = compareValue; this._triggerInputs = TriggerInput.OnlyValue; base.SignalHandlersUsedByTrigger.Add(signal); }
public GreaterThen(SignalHandler signal, SignalHandler compareSignal, AlgerbraOperator nextOperator) : base(signal, nextOperator) { this._compareSignal = compareSignal; this._triggerInputs = TriggerInput.OnlySignal; base.SignalHandlersUsedByTrigger.Add(signal); base.SignalHandlersUsedByTrigger.Add(compareSignal); }
public GreaterThen(SignalHandler signal, SignalHandler compareSignal, AlgerbraOperator nextOperator) : base(signal, nextOperator) { this._compareSignal = compareSignal; this._triggerInputs = TriggerInput.OnlySignal; base.SignalHandlersUsedByTrigger.Add(signal); base.SignalHandlersUsedByTrigger.Add(compareSignal); }
public Custom(List <Statement> TriggerList, AlgerbraOperator nextOperator) : base(TriggerList[0].SignalHandler, nextOperator) { this._name = "Name not set"; this._triggerList = TriggerList; //Virker tungvint, kanskje bedre løsning? Fant bedre løsning bruk UNION, tydeligvis tregt. Dict foreach (Statement trigger in _triggerList) { base.SignalHandlersUsedByTrigger = base.SignalHandlersUsedByTrigger.Union(trigger.SignalHandlersUsedByTrigger).ToList(); } }
public Custom(List<Statement> TriggerList, AlgerbraOperator nextOperator) : base(TriggerList[0].SignalHandler, nextOperator) { this._name = "Name not set"; this._triggerList = TriggerList; //Virker tungvint, kanskje bedre løsning? Fant bedre løsning bruk UNION, tydeligvis tregt. Dict foreach (Statement trigger in _triggerList) { base.SignalHandlersUsedByTrigger = base.SignalHandlersUsedByTrigger.Union(trigger.SignalHandlersUsedByTrigger).ToList(); } }