esi-batch-data
Batch data document
Dependencies
library | version | inmation core library |
---|---|---|
dkjson |
5.3.0 |
yes |
esi-string |
1.0.0 |
yes |
esi-tool |
1.0.0 |
yes |
esi-subtype |
1.0.0 |
yes |
debug |
5.3.0 |
yes |
Available functions
All functions have to be called according to the ESI standard, using colons, e.g. lib:FUNCTIONNAME(params)
Documentation
SET_BATCH_ACTIVE(active,reason)
SET_BATCH_ACTIVE set the active state of a batch
modifies self.batch
SET_BATCH_EQUIPMENT_STATE(state,time)
SET_BATCH_ACTIVE set the active state of a batch
modifies self.batch modifies self.batch.equipment.state, extends self.batch.equipment.state.transitions
ADD_TREND_CURRENT_OPERATION(trendCfg)
ADD_TREND_CURRENT_OPERATION add one trend config to the current operation
ADD_TREND_CURRENT_EQ_PHASE(trendCfg)
ADD_TREND_CURRENT_EQ_PHASE add one trend config to the current eq. phase
ADD_TREND_CURRENT_EQ_STEP(trendCfg)
ADD_TREND_CURRENT_EQ_STEP add one trend config to the current eq. step
ADD_TREND_RECENT_OPERATION(trendCfg)
ADD_TREND_RECENT_OPERATION add one trend config to the recent closed operation
ADD_TREND_RECENT_EQ_PHASE(trendCfg)
ADD_TREND_RECENT_EQ_PHASE add one trend config to the recent closed eq. phase
ADD_TREND_RECENT_EQ_STEP(trendCfg)
ADD_TREND_RECENT_EQ_PHASE add one trend config to the recent closed eq. step
ADD_EVENT_CURRENT_OPERATION(eventCfg)
ADD_EVENT_CURRENT_OPERATION add one event config to the current operation
ADD_EVENTS_CURRENT_EQ_PHASE(eventCfg)
ADD_EVENTS_CURRENT_EQ_PHASE add one event config to the current eq. phase
ADD_EVENTS_CURRENT_EQ_STEP(eventCfg)
ADD_EVENTS_CURRENT_EQ_STEP add one event config to the current eq. step
ADD_EVENTS_RECENT_OPERATION(eventCfg)
ADD_EVENTS_RECENT_OPERATION add one event config to the recent closed operation
ADD_EVENTS_RECENT_EQ_PHASE(eventCfg)
ADD_EVENTS_RECENT_EQ_PHASE add one event config to the recent closed eq. phase
ADD_EVENTS_RECENT_EQ_STEP(eventCfg)
ADD_EVENTS_RECENT_EQ_STEP add one event config to the recent closed eq. step
CREATE_NEW_OPERATION(time,curopdata,reason,trendsCfgs,eventsCfgs)
CREATE_NEW_OPERATION creates a new operation
CREATE_NEW_EQ_PHASE(time,epdata,reason,trendsCfgs,eventsCfgs)
CREATE_NEW_EQ_PHASE creates a new eq. phase
CREATE_NEW_EQ_STEP(time,esdata,reason,trendsCfgs,eventsCfgs)
CREATE_NEW_EQ_STEP creates a new eq. step
CLOSE_BATCH_RECORD(time)
CLOSE_BATCH_RECORD closes a batch (data management-wise)
Modifies: self.batch.equipment.state
END_CURRENT_EQ_PHASE(time,opdata,reason)
END_CURRENT_EQ_PHASE ends the currently running eq. phase
END_CURRENT_PHASE(time,opdata,reason)
END_CURRENT_PHASE ends the currently running eq. phase
END_CURRENT_EQ_STEP(time,opdata,epdata,reason)
END_CURRENT_EQ_STEP ends the currently running eq. step
WRITE_TO_TARGET(time,data,batch,operation,phase,step,target)
WRITE_TO_TARGET write data to target
WRITE_TO_CURRENT_OPERATION(time,data,def)
WRITE_TO_CURRENT_OPERATION write data to the current operation
WRITE_TO_CURRENT_EQ_PHASE(time,data,def)
WRITE_TO_CURRENT_EQ_PHASE write data to the current eq. phase
WRITE_TO_RECENT_OPERATION(time,data,def)
WRITE_TO_RECENT_OPERATION write data to the recent closed operation
WRITE_TO_RECENT_EQ_PHASE(time,data,def)
WRITE_TO_RECENT_EQ_PHASE write data to the recent closed eq. phase
WRITE_TO_RECENT_EQ_STEP(time,data,def)
WRITE_TO_RECENT_EQ_STEP write data to the recent closed eq. step