Пример #1
0
 public TimePeriodDeltaResult DeltaAddWReference(
     long fromTime,
     long reference,
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext context)
 {
     return new TimePeriodDeltaResult(
         TimePeriodUtil.DeltaAddWReference(fromTime, reference, timeDelta),
         reference);
 }
 public TimePeriodDeltaResult DeltaAddWReference(
     long current,
     long reference,
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext context)
 {
     var timeDelta = Evaluate(eventsPerStream, isNewData, context);
     return new TimePeriodDeltaResult(
         TimePeriodUtil.DeltaAddWReference(current, reference, timeDelta),
         reference);
 }