Exemplo n.º 1
0
 public Result(Goal goal, IActivity activity, IValueRangeSeries<DateTime> pause,
     double domainStart, double domainEnd,
     double timeStart, double timeEnd, double meterStart, double meterEnd, double elevationStart,
     double elevationEnd, DateTime firstDate, DateTime endDate)
 {
     this.Goal = goal;
     this.DomainDiff = domainEnd - domainStart;
     this.Activity = activity;
     this.pause = pause;
     //this.TimeStart = timeStart;
     //this.TimeEnd = timeEnd;
     this.Seconds = timeEnd - timeStart;
     //this.MeterStart = meterStart;
     //this.MeterEnd = meterEnd;
     this.Meters = meterEnd - meterStart;
     //this.ElevationStart = elevationStart;
     //this.ElevationEnd = elevationEnd;
     this.Elevations = elevationEnd - elevationStart;
     this.DateStart = firstDate;
     this.DateEnd = endDate;
 }
Exemplo n.º 2
0
 public bool ZoneOk(Goal goal) { return (goal.Image == GoalParameter.SpeedZone) || (aPulse != null && aPulse.Length > 0); }