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; }
public override ExtendedEventArgs process() { ResponseUpdateTimeEventArgs args = new ResponseUpdateTimeEventArgs(); args.month = month; args.duration = duration; args.current = current; args.rate = rate; return(args); }