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 intcompareTo(@NonNull ErrorCheckStation station)protected longgetProcessingTime()Gets the processing duration of theStationfrom a corresponding generator.static voidresetId()Methods inherited from class com.assemblyrobot.simulator.system.components.Station
addToStationQueue, canPull, getQueueLength, isBusy, onTickAdvance, onTickReset, processMaterialMethods 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:StationGets the processing duration of theStationfrom a corresponding generator.- Specified by:
getProcessingTimein classStation- Returns:
Long
-
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<ErrorCheckStation>
-