Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        private void AggregateDatabase(LoadContainer database)
        {
            BandData bandData = database.ConsumedLoad.GetBandData(this.band);

            bandData.Database = database;
            this.bandData.Add(bandData);
        }
Ejemplo n.º 3
0
 private bool Equals(BandData other)
 {
     return(base.Equals(other) && object.Equals(this.Band, other.Band));
 }