Class AssemblyStation
java.lang.Object
com.assemblyrobot.simulator.core.clock.TickAdvanceListener
com.assemblyrobot.simulator.system.components.Station
com.assemblyrobot.simulator.system.stations.AssemblyStation
- All Implemented Interfaces:
java.lang.Comparable<AssemblyStation>
public class AssemblyStation extends Station implements java.lang.Comparable<AssemblyStation>
Station implementation for the AssemblyStage.-
Nested Class Summary
Nested classes/interfaces inherited from class com.assemblyrobot.simulator.system.components.Station
Station.Metrics -
Constructor Summary
Constructors Constructor Description AssemblyStation(@NonNull AssemblyStage stage) -
Method Summary
Modifier and Type Method Description intcompareTo(@NonNull AssemblyStation 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
-
AssemblyStation
-
-
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<AssemblyStation>
-