org.cip4.elk.impl.device.process.state
Interface DeviceStateContext

All Known Implementing Classes:
ConventionalPrintingSimulation

public interface DeviceStateContext


Method Summary
 void addNodeStatusEventListener(org.cip4.elk.device.process.NodeStatusEventListener listener)
           
 void fireNodeStatusEvent(org.cip4.elk.device.process.NodeStatusEvent event)
           
 void fireProcessStatusEvent(org.cip4.elk.device.process.ProcessStatusEvent event)
           
 void fireResourceEvent(org.cip4.elk.device.process.ResourceEvent event)
           
 org.cip4.elk.device.DeviceConfig getDeviceConfig()
           
 int getDeviceSpeed()
          Gets the speed of the device.
 org.cip4.jdflib.node.JDFNode getNode()
          Returns the JDF node currently being processed by the device.
 org.cip4.elk.device.process.JDFNodeSelector getNodeSelector()
           
 org.cip4.elk.device.process.Process getProcess()
           
 void setDeviceSpeed(int deviceSpeed)
          Sets the speed of the device.
 

Method Detail

getNode

org.cip4.jdflib.node.JDFNode getNode()
Returns the JDF node currently being processed by the device.

Returns:

getDeviceConfig

org.cip4.elk.device.DeviceConfig getDeviceConfig()

getProcess

org.cip4.elk.device.process.Process getProcess()

getNodeSelector

org.cip4.elk.device.process.JDFNodeSelector getNodeSelector()

getDeviceSpeed

int getDeviceSpeed()
Gets the speed of the device.

Returns:
the units per hour the device produces

setDeviceSpeed

void setDeviceSpeed(int deviceSpeed)
Sets the speed of the device.

Parameters:
unitsPerHour - the units per hour the device produces

fireProcessStatusEvent

void fireProcessStatusEvent(org.cip4.elk.device.process.ProcessStatusEvent event)

fireResourceEvent

void fireResourceEvent(org.cip4.elk.device.process.ResourceEvent event)

addNodeStatusEventListener

void addNodeStatusEventListener(org.cip4.elk.device.process.NodeStatusEventListener listener)

fireNodeStatusEvent

void fireNodeStatusEvent(org.cip4.elk.device.process.NodeStatusEvent event)


Copyright © 2004-2009 CIP4. All Rights Reserved.