Description: Imports counter differences from the configured MIS historian table into Hour1 through Hour24 and recalculates affected records.
Calling convention: SU_GetCURData_from_Historian(ObjectName, StartTime, EndTime): Integer
Parameters:
ObjectName: configured target object.
StartTime: optional date string; YESTERDAY is accepted in the two-argument form.
EndTime: optional date string. Without dates, both default to today.
Returns: NULL in the current implementation, despite the registered Integer return type.
Availability: Default; SU site-specific and dependent on OEE_UpdateSchedulerINFO, MIS Light, and the expected historian schema.
Example:
SU_GetCURData_from_Historian("SU_Daily", "2026-08-19", "2026-08-19");