Heureka API .NET Documentation
TreatmentUnit Class Methods


For a list of all members of this type, see TreatmentUnit members.

Public Methods
 NameDescription
Public MethodAddGrowthAdjuster Adds a growth adjuster that will start adjusting growth from this period and onwards.  
Public MethodAddTreatmentProposal Adds a TreatmentProposal from a give source to this treatment unit  
Public MethodAdjustGrowth Adjusts growth if necessary.  
Public MethodBack Backs growth of treatment period to an earlier period  
Public MethodClearMergedPredictionUnits Clear the merged prediction unit. The original prediction units will be used instead.  
Public MethodClearResults Removes all results from this treatment unit  
Public MethodClone Creates a deep copy of the treatment unit.  
Public MethodCloneNoPredictionUnits Creates a deep copy of the treatment unit except for prediction units which are excluded in the copy  
Public MethodCompareTo Compares this treatment unit to another treatment unit by description  
Public MethodCopyResults Gets a deep copy of all results for all periods up to current period. If _before is null, results are created for currentPeriod before copying  
Public MethodFillSingleTreatmentUnit Forces the treatment unit to load its data from the database, but does not fill other treatment units in the same area.  
Public MethodFillTreatmentUnit Forces the treatment unit to load its data from the database, and also fills all other treatment units in the same area  
Public MethodFindPeriod Finds the period for the given year  
Public MethodFirstEstablishedForestPeriod Returns the period this unit became established tree within the specified periods, if any; otherwise, returns -1.  
Public MethodGetAfter Values after treatment for a given period  
Public MethodGetBefore Values before treatment for a given period  
Public MethodGetGrowthAdjusters Gets the growth adjusters for a specific period. Will return an empty list if no growth adjusters were found  
Public MethodGetLandUseCode Get the land use code for the supplied period. If period 0 and no Land use code is specified, look in ExternalData table. If no land use code can be found plot is assumed to be productive.  
Public MethodGetPeriodForYear  
Public MethodGetPeriodForYearOffset  
Public MethodGetPeriodLength Gets the period length of the given period, i.e. length in years from previous period. 5 if current period is 0.  
Public MethodGetPlotTypesOverloaded.  Gets plot types before treatment for current period.  
Public MethodGetPlotTypesAfter Gets plot types after treatment for given period.  
Public MethodGetProductionModelControlTable  
Public MethodGetResult Result for a given period  
Public MethodGetResults All results produced so far  
Public MethodGetTreatmentControlCategory Treatment control category for a given period  
Public MethodGetTreatmentModelControlTable  
Public MethodGetYear Gets the year for the given period.  
Public MethodGrow Grows the treatment unit for one period  
Public MethodIncreaseMaxPeriod Increases MaxPeriod on treatmentunit and all underlying objects  
Public MethodInitializePredictionUnitsOverloaded.  Initializes the treatment unit with a new collection of prediction units.  
Public MethodIsFilled Gets a value indicating if the treatment unit has been filled with data or not  
Public MethodIsProductive Check if this treatment unit's current LandUseCode is ForestProductive  
Public MethodIsReservedForIntensiveFertilization Validates if treatmentunit is reserved for intensive fertilization and that fertilization has not yet been started  
Public MethodLoadPredictionUnitsIfRequired Preloads all prediction units  
Public MethodMergePredictionUnits Merge all prediction units into one prediction unit for increased performance  
Public MethodReassignWeights Reassigns weights to all prediction units  
Public MethodRemoveReservationsForIntensiveFertilization Removes reservations made on treatment unit for intensive fertilization. All reservations for given period and there after are removed.  
Public MethodRemoveRetainedStatusOnTrees Removes the retained tree status on all trees in the treatment unit and also removes any RetainedTreeRemover growth adjuster  
Public MethodReservedForIntensiveFertilizationAtPeriod Checks if reservation was added at given period  
Public MethodReserveForIntensiveFertilization Reserves treatmentunit for intensive fertilization. Reservation is made at current period.  
Public MethodReset Resets treatment unit to initial period  
Public MethodSetBeforeToAfter Sets result before to same result as result after ("hides" any actions that has been done on the treatment unit).  
Public MethodToStringReturns a string that represents the current object.  
Public MethodUpdateAfter Updates the values in the treatment unit after treatment (each prediction unit must be updated first)  
Public MethodUpdateBefore Updates the values in the treatment unit before treatment (each prediction unit must be updated first)  
Public MethodUpdateBeforeInterpolated Updates the values in the treatment unit before treatment (each prediction unit must be updated first)  
Public MethodUpdateInterpolated Updates with interpolated values.  
Top
See Also

Reference

TreatmentUnit Class
Slu.Heureka.DomainLayer.Forest Namespace

Send Feedback