Description: Copies reason losses from a loss-report record to fully enclosed hourly dryer events, scaling each reason duration by the hourly event duration.
Calling convention: WES_SI_distributeRLLossesInHourlyEvents(TrocknerNumber: Integer, LossReportDataID: Integer, LossStartTime: Double, LossEndTime: Double)
Parameters:
TrocknerNumber: dryer number used to resolve Trockner_N_Hourly.
LossReportDataID: Verlustereignisse record containing source reasons.
LossStartTime: loss interval start.
LossEndTime: loss interval end.
Returns: NULL; the routine replaces matching hourly OEELeistung reasons and does not assign a success value.
Availability: Default; Wesseling Silica-specific. LossEndTime must differ from LossStartTime.
Example:
WES_SI_distributeRLLossesInHourlyEvents(17, LossDataID, LossStart, LossEnd);