Sepasoft MES Module Suite
Description
Remove a state associated with a line, cell group or cell. Note, depending on the downtime detection method that the line or cell group is set to, this may cause unexpected results for the line or cell group downtime events.
Syntax
system.mes.oee.removeEquipmentStateValue(String equipmentPath, Date dateTime)
- Parameters
String equipmentPath - The equipment path for the line or if managing downtime events for a cell group, the equipment path for the cell group.
Date dateTime - The starting date for the range from with you wish to remove downtime events.
- Returns
Nothing
- Scope
All
Code Examples
Code Snippet
Code |
# Removing an event at 7:15:53 today equipment_path = 'Enterprise\Site\Area\Line 2' date_time = system.date.setTime(system.date.now(), 7, 15, 53) system.mes.oee.removeEquipmentStateValue(equipment_path, date_time) |
Sepasoft MES Module Suite