system.kanoa.quality.schedule.assetChangeEvent(stateInfo)
This function can be called by a tag change event to check if any checksheets should become active. It should only be called whenever the mode or product changes on an asset
Parameters
stateInfo Dictionary
| - assetId | Integer | |
| - changeType | String | i.e 'Mode Change', 'Timed Interval', 'Product Change' |
| - itemId | Integer | |
| - modeCode | Integer | |
| - shiftNameId | Integer | |
| - toolingId | Integer |
Returns
None
Example
stateInfo = {
'changeType': 'Mode Change',
'assetId': 123,
'modeCode': 'xyz',
'shiftNameId': 1,
'itemId': 456,
'toolingId': 789
}
system.kanoa.quality.schedule.assetChangeEvent(stateInfo)