Example #1
0
        public static ObservableCollection <CarrierRevenue> GenerateCarrierRevenue()
        {
            ObservableCollection <CarrierRevenue> revenue = new ObservableCollection <CarrierRevenue>();

            CarrierThroughput = new AllVesselThroughputVolume();


            Parallel.ForEach(lineOperatorsToShow, (line) =>
            {
                revenue.Add(new CarrierRevenue(line));
            }
                             );

            revenue.Add(new CarrierRevenue("OTHER"));

            return(revenue);
        }
 private void RetrieveData()
 {
     ThroughputVolume = new AllVesselThroughputVolume();
     throughput_Viewer1.DataSource = ThroughputVolume.AllVesselThroughputVolumeDatabase.AllVesselThroughputVolumeData;
 }