Heureka API .NET Documentation
ApiCompartment Class Members
Properties  Methods 


The following tables list the members exposed by ApiCompartment.

Public Constructors
 NameDescription
Public ConstructorApiCompartment ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCurrentProjectionDate Date of last projection period (i.e. the date of the last target date used when calling GrowStand)  
Public PropertyGrowthCalculator Get or sets a GrowthCalculator  
Public PropertyId Stand id  
Public PropertyInitialState The initial state for the ApiCompartment  
Public PropertyProjectedStates Projected states for the ApiCompartment. The first element is the same as the InitialState.  
Public PropertySiteDataGets or set the Slu.Heureka.DomainLayer.Forest.SiteData for the compartment.  
Public PropertyTreatmentUnitObjectGets the Heureka object/>  
Top
Public Methods
 NameDescription
Public MethodAddTreeLayerOverloaded. Adds all the tree layers in an enumerable to the compartment.  
Public MethodAddTreeLayersFromSpeciesDataCreates tree layer data for the treatment unit by using similar type of species data that is normally used when importing a stand register to Heureka. In this case, you must not add tree layer data manually.  
Public MethodGetLayerOverloaded. Gets the layer with a given layer id (Guid).  
Public MethodGetLayersGets all layers with a given Slu.Heureka.DomainLayer.CommonForestModels.SpeciesCode.  
Public MethodGetPreviousState Get the state of the previous period, or the intiaistate if no growth projection has been applied.  
Public MethodGetSpecies  
Public MethodGetState Return an ApiState object for the selected date. Returns null if the date is not found.  
Public MethodGetTreeListOverloaded.  Get tree level data for a specific date  
Public MethodGrowOverloaded.  Grow A call to this method will initialize the compartment if it isn't already.  
Public MethodInitialize Initialize a treatment unit of 1 ha. The initial state will be calculated and stored as the first ProjectedState in this compartment  
Public MethodReset  
Top
See Also

Reference

ApiCompartment Class
Slu.Heureka.HeurekaAPI.Data Namespace

Send Feedback