public override void Calculate(ICalculateContext context)
        {
            int inValue = In.Connected ? In.GetValue <int>() : default(int);

            Out.SetValue(inValue + 1);
            context.Success();
        }
Example #2
0
 public override void Calculate(ICalculateContext context)
 {
     Out.SetValue(Value);
     context.Success();
 }