public override void Calculate(ICalculateContext context) { int inValue = In.Connected ? In.GetValue <int>() : default(int); Out.SetValue(inValue + 1); context.Success(); }
public override void Calculate(ICalculateContext context) { Out.SetValue(Value); context.Success(); }