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);
        }
Пример #2
0
        private void AggregateDatabase(LoadContainer database)
        {
            BandData bandData = database.ConsumedLoad.GetBandData(this.band);

            bandData.Database = database;
            this.bandData.Add(bandData);
        }
Пример #3
0
 private bool Equals(BandData other)
 {
     return(base.Equals(other) && object.Equals(this.Band, other.Band));
 }