public class ConveyorTransferTable<T extends Agent> extends ConveyorNode<T> implements com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T>
Constructor and Description |
---|
ConveyorTransferTable() |
ConveyorTransferTable(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
ConveyorTransferTable(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
boolean isObstacle,
double x,
double y,
double z,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T> descriptor,
PathEnd<ConveyorPath<?>>... pathEnds)
This method is internal and shouldn't be called by user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Agent agent)
Returns true is the given agent (material item) is on the transfer table, returns false otherwise.
|
void |
fail()
Initiates transfer table failure.
|
T |
getAgent(int index)
Returns the agent (material item) that is currently located on the transfer table
|
java.util.List<T> |
getAgents()
Returns the list of agents (material items) that are currently located on the transfer table.
|
com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T> |
getLibraryDescriptor() |
double |
getSpeed(SpeedUnits units)
Returns the speed of the transfer table in the specified speed units.
|
double |
getSwitchingDelay(TimeUnits units)
Returns the time (in the specified time units) required to turn the transfer table towards another conveyor.
|
double |
getTransferDistance(ConveyorPath<?> path1,
ConveyorPath<?> path2) |
ConveyorPath<T> |
getTransition(ConveyorPath<?> path) |
java.util.List<? extends ConveyorPath<T>> |
getTransitions() |
boolean |
isFailed()
Returns true if the transfer table failed (broke down) and is not operating, returns false otherwise.
|
boolean |
isObstacle()
Returns true if this transfer table is considered an obstacle by transporters moving in free space mode.
|
boolean |
isTakeSpeedOfConnectedConveyors() |
void |
onFailed() |
void |
onLeadingEdgeEnter(T agent)
This method is internal and shouldn't be called by user.
|
void |
onLeadingEdgeExit(T agent)
This method is internal and shouldn't be called by user.
|
void |
onRepaired() |
void |
onTrailingEdgeEnter(T agent)
This method is internal and shouldn't be called by user.
|
void |
onTrailingEdgeExit(T agent)
This method is internal and shouldn't be called by user.
|
void |
recalculatePriorities() |
boolean |
removeAgent(Agent agent)
Removes the given agent from the transfer table.
|
void |
repair()
Repairs the transfer table, makes it available again.
|
void |
setObstacle(boolean isObstacle)
Sets this transfer table as an obstacle for transporters moving in free space mode.
|
void |
setSpeed(double speed,
SpeedUnits units)
Sets the new speed of the transfer table in the specified speed units.
|
void |
setSwitchingDelay(double delay,
TimeUnits units)
Sets the time (in the specified time units) required to turn the transfer table towards another conveyor.
|
void |
setTakeSpeedOfConnectedConveyors(boolean takeSpeedOfConnectedConveyors) |
int |
size()
Returns the current number of agents (material items) on the transfer table.
|
addConnection, contains, getCompatibleAgentExtensionClass, getConnection, getConnections, getConnectionsCount, getFillColor, getFillTexture, getIncomingPaths, getLineColor, getLineTexture, getNearestPoint, getNetwork, getOutgoingPaths, getPosition, getTransferPositionByPercent, getX, getXYZ, getY, getZ, postInitialize, randomPointInside, setFillColor, setFillColor, setLineColor, setLineColor, setXYZ
getLevel, setNetwork
error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMarkup, setMarkup
getSpace, randomPointInside, randomPointInside, randomPointInside
getSpace
public ConveyorTransferTable()
@Deprecated public ConveyorTransferTable(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
owner
- drawMode
- isPublic
- @AnyLogicInternalCodegenAPI @SafeVarargs public ConveyorTransferTable(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, java.awt.Paint fillColor, java.awt.Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T> descriptor, PathEnd<ConveyorPath<?>>... pathEnds)
public boolean isTakeSpeedOfConnectedConveyors()
public void setTakeSpeedOfConnectedConveyors(boolean takeSpeedOfConnectedConveyors)
@AnyLogicInternalAPI public com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T> getLibraryDescriptor()
@AnyLogicInternalCodegenAPI public ConveyorPath<T> getTransition(ConveyorPath<?> path)
@AnyLogicInternalCodegenAPI public java.util.List<? extends ConveyorPath<T>> getTransitions()
public double getTransferDistance(ConveyorPath<?> path1, ConveyorPath<?> path2)
getTransferDistance
in interface INode<ConveyorNode<?>,ConveyorPath<?>>
public double getSpeed(SpeedUnits units)
public void setSpeed(double speed, SpeedUnits units)
public void setSwitchingDelay(double delay, TimeUnits units)
public double getSwitchingDelay(TimeUnits units)
public int size()
public T getAgent(int index)
public java.util.List<T> getAgents()
public boolean contains(Agent agent)
public boolean removeAgent(Agent agent)
public void onLeadingEdgeEnter(T agent)
com.anylogic.engine.markup.material_handling.IMaterialPointLocation
public void onTrailingEdgeEnter(T agent)
com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
public void onLeadingEdgeExit(T agent)
com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
public void onTrailingEdgeExit(T agent)
com.anylogic.engine.markup.material_handling.IMaterialPointLocation
public boolean isFailed()
isFailed
in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
public void fail()
fail
in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
public void repair()
repair
in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
public void onFailed()
onFailed
in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
public void onRepaired()
onRepaired
in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
public void recalculatePriorities()
public boolean isObstacle()
public void setObstacle(boolean isObstacle)
isObstacle
- if true, the transfer table is set as an obstacle. Otherwise, not.Copyright © AnyLogic North America, LLC. All Rights Reserved.