예제 #1
0
 public SiteHarvester(int harvestType, SiteRemovalMask someRemovalMask, HarvestReport someReport, int someDuration)
 {
     itsHarvestType = harvestType;
     itsRemovalMask = someRemovalMask;
     itsReport      = someReport;
     itsDuration    = someDuration;
 }
예제 #2
0
 public HarvestRegime()
 {
     itsManagementAreaId = 0;
     itsRotationAge      = 0;
     itsRemovalMask      = new SiteRemovalMask();
     itsRankAlgorithm    = null;
     itsDuration         = 0;
     itsReport           = new HarvestReport();
 }
예제 #3
0
        public void addReport(HarvestReport someReport)
        {
            count += someReport.count;

            for (int i = 1; i <= sumBySpecies.number(); i++)
            {
                sumBySpecies[i] += someReport.sumBySpecies[i];
            }
        }