esi-ipc-event
esi-ipc-event This class describes an event type which is meant to represent In Proccess Control data. the content of this object includes the following fields:
Field | Description |
---|---|
timestamp |
the timestamp when the samples where taken. This shall be within start and end of the batch |
batchId |
the batch id of the related batch |
sampleId |
the sample id of the IPC |
materialType |
the target material of the related batch |
materialTypeCode |
the target material of the related batch |
erpOrder |
the erporder of the related batch |
mesOrderId |
order id of the mes |
mesId |
id of the mes |
source |
optional source of the event ( e.g. Generic Item ) |
streamPath |
optional path of the eventstream, which managed this event |
meta |
metadata of this IPC |
sections |
an array of IPCSection objects, which represent the sections of the IPC report |
version |
version of the object, including its representation and serialisation |
The IPCSection object istelf is an table of IPCProperty objects.
Format of the created Event:
Field | Description |
---|---|
Message |
always: "IPC Event for Batch %s, SampleId %s" |
@class |
always: "inmation.Event" |
@subclass |
always: "esi-ipc-event" |
@topic |
the batchId |
@batchid |
the batch id |
@sample |
the sampleId |
@erporder |
the erporder |
@mesorderid |
the mes order Id |
@mesid |
the mes id |
@materialtype |
the materialtype |
@materialtypecode |
the materialtypecode |
@mode |
always: "Production" |
@encoding |
always: "text/json" |
@payload |
the json serialisation of the object |
Dependencies
library | version | inmation core library |
---|---|---|
rapidjson |
5.3.0 |
yes |
esi-string |
1.0.0 |
yes |
esi-tool |
1.0.0 |
yes |
esi-class |
2.0.0 |
yes |
Available functions
All functions have to be called according to the ESI standard, using colons, e.g. lib:FUNCTIONNAME(params)