UtilLog Class Members
- Last UpdatedNov 06, 2025
- 4 minute read
The following tables list the members exposed by UtilLog.
| Name | Description | |
|---|---|---|
![]() ![]() | AddUtil | The AddUtil() method is maintained for compatibility with MES versions prior to 6.0. For new projects, this method should not be used. Instead, use the Add() and AddEvent() methods in the UtilHistory class. The AddUtil() method updates an existing record in the Util_History table if one exists with the same eventTime and entId as those passed in the method call. If such a record does not exist, the method adds a new utilization event to the Util_History table. |
![]() ![]() | AdjustDuration | Beginning with MES version 6.0, the AdjustDuration() method is obsolete (the MES middleware does nothing when this method is called). Instead, use the UpdateEvent() method in the UtilHistory class. |
![]() ![]() | Delete | The Delete() method is maintained for compatibility with MES versions prior to 6.0. For new projects, this method should not be used. Instead, use the Delete() method in the UtilHistory class. The Delete() method deletes the specified utilization event. The previous event is extended until the end time of the event being deleted. |
![]() ![]() | GetAll | The GetAll() method is maintained for compatibility with MES versions prior to 6.0. For new projects, this method should not be used. Instead, use the GetAll() method in the UtilHistory class. The GetAll() method retrieves one or more utilization history records from the Util_Log view, as specified by the filter parameters. Passing no filter parameters will retrieve all utilization history records from the table. |
![]() ![]() | GetByKey | The GetByKey() method is maintained for compatibility with MES versions prior to 6.0. For new projects, this method should not be used. Instead, use the GetByKey() method in the UtilHistory class. The GetByKey() method retrieves the specified utilization history record from the Util_History table. |
![]() ![]() | GetCountsAndDuration | The GetCountsAndDuration() method returns a DataSet containing one row for each utilization state, reason group, or reason for the specified entity. It has columns for the ID, description, count or duration, color (valid only for utilization states and reasons), and an active flag that is set true for the current utilization state, reason group, or reason. This method also includes OEE status, utilization state ID, and reason group ID filters. |
![]() ![]() | GetEditData | The GetEditData() method retrieves utilization data for the specified event history entry, and for the entries immediately before and after the specified entry. |
![]() ![]() | GetUtilByTimePeriod | The GetUtilByTimePeriod() method retrieves one or more utilization history records from the Util_History table, as specified by the time period filter parameters. |
![]() ![]() | UpdateSpecific | The UpdateSpecific() method is maintained for compatibility with MES versions prior to 6.0. For new projects, this method should not be used. Instead, use the UpdateSpecific() method in the UtilHistory class. The UpdateSpecific() method updates selected columns for the specified utilization history event in the Util_History table. |

