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

            return(base.Equals(input));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ActivityZone" /> class.
 /// </summary>
 /// <param name="score">score.</param>
 /// <param name="distributionBuckets">distributionBuckets.</param>
 /// <param name="type">type.</param>
 /// <param name="sensorBased">sensorBased.</param>
 /// <param name="points">points.</param>
 /// <param name="customZones">customZones.</param>
 /// <param name="max">max.</param>
 public ActivityZone(int?score = default(int?), TimedZoneDistribution distributionBuckets = default(TimedZoneDistribution), TypeEnum?type = default(TypeEnum?), bool?sensorBased = default(bool?), int?points = default(int?), bool?customZones = default(bool?), int?max = default(int?))
 {
     this.Score = score;
     this.DistributionBuckets = distributionBuckets;
     this.Type        = type;
     this.SensorBased = sensorBased;
     this.Points      = points;
     this.CustomZones = customZones;
     this.Max         = max;
 }