Skip to main content

getParametersForHarvestCat

@svenvw/fdm-source


@svenvw/fdm-source / fdm-core/src / getParametersForHarvestCat

Function: getParametersForHarvestCat()

getParametersForHarvestCat(b_lu_harvestcat): HarvestParameters

Defined in: fdm-core/src/harvest.ts:922

Retrieves the required harvest parameters for a given harvest category.

This function returns an array of parameter names that are required for a specific harvest category (b_lu_harvestcat). Each category corresponds to a different type of crop or harvest measurement, and thus requires a different set of parameters.

Parameters

b_lu_harvestcat

any

The harvest category identifier from the cultivations catalogue.

Returns

HarvestParameters

An array of strings, where each string is a required parameter name for the given harvest class. Returns an empty array if the class is not recognized.