예제 #1
0
        /// <summary>
        /// Returns true if ZoneRanges instances are equal
        /// </summary>
        /// <param name="input">Instance of ZoneRanges to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ZoneRanges input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HeartRateZoneRanges" /> class.
 /// </summary>
 /// <param name="customZones">Whether the athlete has set their own custom heart rate zones.</param>
 /// <param name="zones">zones.</param>
 public HeartRateZoneRanges(bool?customZones = default(bool?), ZoneRanges zones = default(ZoneRanges))
 {
     this.CustomZones = customZones;
     this.Zones       = zones;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PowerZoneRanges" /> class.
 /// </summary>
 /// <param name="zones">zones.</param>
 public PowerZoneRanges(ZoneRanges zones = default(ZoneRanges))
 {
     this.Zones = zones;
 }