Description: Processes staged Wesseling dryer measurements, detects operating and product states, creates or closes dryer and hourly events, updates loss reports, and recalculates affected records.
Calling convention: WES_SI_DetectState(TrocknerNumber: Integer)
Parameters:
TrocknerNumber: configured dryer number used to resolve Trockner_N, Trockner_N_Hourly, setup, staging and loss-report objects.
Returns: NULL; the routine performs extensive database changes and does not assign a success value.
Availability: Default; Wesseling Silica-specific and dependent on the complete dryer setup, staging, product and loss-report schema.
Example:
WES_SI_DetectState(17);