C# Класс Landis.Extension.BaseHarvest.ManagementArea

Management area is a collection of stands to which specific harvesting prescriptions are applied.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Stand stand ) : void

Adds a stand to the management area.

ApplyPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, Edu.Wisc.Forest.Flel.Util.Percentage percentStandsToHarvest, int startTime, int endTime ) : void

Adds a prescription to be applied to the management area.

ApplyPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, int startTime, int endTime ) : void

Adds a prescription to be applied to the management area.

FinishInitialization ( ) : void

Finish initializing the management area after reading the stand map.

This phase of initialization includes computing the total area for the management area, and finishing the initialization of its applied prescriptions.

GetEnumerator ( ) : IEnumerator
HarvestStands ( ) : void

Harvest the area's stands according to its prescriptions.

IsApplied ( string prescriptionName, int beginTime, int endTime ) : bool

Has a particular prescription been applied to the managment area?

ManagementArea ( ushort mapCode ) : Edu.Wisc.Forest.Flel.Util

Описание методов

Add() публичный Метод

Adds a stand to the management area.
public Add ( Stand stand ) : void
stand Stand
Результат void

ApplyPrescription() публичный Метод

Adds a prescription to be applied to the management area.
public ApplyPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, Edu.Wisc.Forest.Flel.Util.Percentage percentStandsToHarvest, int startTime, int endTime ) : void
prescription Prescription
percentageToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
percentStandsToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
startTime int
endTime int
Результат void

ApplyPrescription() публичный Метод

Adds a prescription to be applied to the management area.
public ApplyPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, int startTime, int endTime ) : void
prescription Prescription
percentageToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
startTime int
endTime int
Результат void

FinishInitialization() публичный Метод

Finish initializing the management area after reading the stand map.
This phase of initialization includes computing the total area for the management area, and finishing the initialization of its applied prescriptions.
public FinishInitialization ( ) : void
Результат void

GetEnumerator() публичный Метод

public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

HarvestStands() публичный Метод

Harvest the area's stands according to its prescriptions.
public HarvestStands ( ) : void
Результат void

IsApplied() публичный Метод

Has a particular prescription been applied to the managment area?
public IsApplied ( string prescriptionName, int beginTime, int endTime ) : bool
prescriptionName string
beginTime int
endTime int
Результат bool

ManagementArea() публичный Метод

public ManagementArea ( ushort mapCode ) : Edu.Wisc.Forest.Flel.Util
mapCode ushort
Результат Edu.Wisc.Forest.Flel.Util