Description: Sums eventDuration values from the selected dryer's hourly object for a product using the implementation's configured time predicates.
Calling convention: WES_SI_getAmountOfHoursInDefTime(TrocknerSelectListEntryID: Integer, StartTime: Double, EndTime: Double, ProductID: Integer): Float
Parameters:
TrocknerSelectListEntryID: SelectListEntries ID used to resolve the dryer number.
StartTime: lower bound compared with eventStartDateTime.
EndTime: lower bound currently compared with eventEndDateTime.
ProductID: product to select.
Returns: Summed duration, 0 when no rows match, or NULL when an argument is NULL.
Availability: Default; Wesseling Silica-specific and dependent on Trockner_N_Hourly.
Example:
Hours := WES_SI_getAmountOfHoursInDefTime(DryerChoice, StartTime, EndTime, ProductID);