private double GetBandDelta(double weightAverage, double deviation, BandData band) { LoadContainer database = band.Database; double num = Math.Round(weightAverage * (double)database.RelativeLoadWeight * (1.0 + deviation)); return((double)band.TotalWeight - num); }
private void AggregateDatabase(LoadContainer database) { BandData bandData = database.ConsumedLoad.GetBandData(this.band); bandData.Database = database; this.bandData.Add(bandData); }
private bool Equals(BandData other) { return(base.Equals(other) && object.Equals(this.Band, other.Band)); }