HistHookEquipStatus
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookEquipStatus function is called every time a change is made in the equipment status during batch execution. When the function is called, it creates an entry in the EquipStatus table of the BatchHistory database.
Syntax
char* HistHookEquipStatus(char* szBatchServerName, H_EquipStatus* pEquipStatus)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains the name of the batch server configured in system parameters.
-
-
pEquipStatus
-
Type: H_EquipStatus*
-
Description: Points to the structure of H_EquipStatus that refers to the EquipStatus table of BatchHistory database.
-
Return Type: char*
This function returns an insert query for EquipStatus table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).