Class ErrorCheckStation
java.lang.Object
com.assemblyrobot.simulator.core.clock.TickAdvanceListener
com.assemblyrobot.simulator.system.components.Station
com.assemblyrobot.simulator.system.stations.ErrorCheckStation
- All Implemented Interfaces:
java.lang.Comparable<ErrorCheckStation>
public class ErrorCheckStation extends Station implements java.lang.Comparable<ErrorCheckStation>
Station
implementation for the ErrorCheckStage
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.assemblyrobot.simulator.system.components.Station
Station.Metrics
-
Constructor Summary
Constructors Constructor Description ErrorCheckStation(@NonNull ErrorCheckStage stage)
-
Method Summary
Modifier and Type Method Description int
compareTo(@NonNull ErrorCheckStation station)
protected long
getProcessingTime()
Gets the processing duration of theStation
from a corresponding generator.static void
resetId()
Methods inherited from class com.assemblyrobot.simulator.system.components.Station
addToStationQueue, canPull, getQueueLength, isBusy, onTickAdvance, onTickReset, processMaterial
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ErrorCheckStation
-
-
Method Details
-
resetId
public static void resetId() -
getProcessingTime
protected long getProcessingTime()Description copied from class:Station
Gets the processing duration of theStation
from a corresponding generator.- Specified by:
getProcessingTime
in classStation
- Returns:
Long
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<ErrorCheckStation>
-