Example #1
0
    public void ResponseUpdateTime(ExtendedEventArgs eventArgs)
    {
        ResponseUpdateTimeEventArgs args = eventArgs as ResponseUpdateTimeEventArgs;

        Constants.MONTH_DURATION = args.duration;
        currentTime = (args.month - 1) * Constants.MONTH_DURATION;
        scale       = args.rate;
    }
    public override ExtendedEventArgs process()
    {
        ResponseUpdateTimeEventArgs args = new ResponseUpdateTimeEventArgs();
        args.month = month;
        args.duration = duration;
        args.current = current;
        args.rate = rate;

        return args;
    }
Example #3
0
    public override ExtendedEventArgs process()
    {
        ResponseUpdateTimeEventArgs args = new ResponseUpdateTimeEventArgs();

        args.month    = month;
        args.duration = duration;
        args.current  = current;
        args.rate     = rate;

        return(args);
    }