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)
 {
     Result = In.Connected ? In.GetValue <int>() : Result;
     context.Success();
 }