Package org.cip4.jdflib.util
Class MultiModuleStatusCounter
- java.lang.Object
-
- org.cip4.jdflib.util.MultiModuleStatusCounter
-
public class MultiModuleStatusCounter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MultiModuleStatusCounter()MultiModuleStatusCounter(StatusCounter deviceCounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModule(StatusCounter sc)add a statuscounter representing a set of modules or jobphases to this device status counterStatusCountergetDeviceCounter()JDFAutoDeviceInfo.EnumDeviceStatusgetDeviceStatus()StringArraygetJobIDS()StatusCountergetMaxModule()JDFDocgetStatusResponse()return the jmf root of the status jmf that contains all modules, null if no modules are activevoidremoveModule(StatusCounter sc)remove a statuscounter representing a set of modules to this device status counterintsize()java.lang.StringtoString()
-
-
-
Constructor Detail
-
MultiModuleStatusCounter
public MultiModuleStatusCounter()
-
MultiModuleStatusCounter
public MultiModuleStatusCounter(StatusCounter deviceCounter)
-
-
Method Detail
-
addModule
public void addModule(StatusCounter sc)
add a statuscounter representing a set of modules or jobphases to this device status counter- Parameters:
sc- the statuscounter to add
-
removeModule
public void removeModule(StatusCounter sc)
remove a statuscounter representing a set of modules to this device status counter- Parameters:
sc- the statuscounter to add
-
getStatusResponse
public JDFDoc getStatusResponse()
return the jmf root of the status jmf that contains all modules, null if no modules are active- Returns:
-
size
public int size()
-
getDeviceStatus
public JDFAutoDeviceInfo.EnumDeviceStatus getDeviceStatus()
- Returns:
- the amalgamated device status
-
getMaxModule
public StatusCounter getMaxModule()
- Returns:
- the amalgamated device status
-
getDeviceCounter
public StatusCounter getDeviceCounter()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getJobIDS
public StringArray getJobIDS()
-
-