Package com.anylogic.engine.markup
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.ConveyorStation
- Methods inherited from class com.anylogic.engine.markup.ConveyorPathPart
- Methods inherited from class com.anylogic.engine.markup.ConveyorMarkupElement
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Constructor Detail
- Method Detail
- getLineColor
- getLineTexture
- setLineColor
- getFillColor
- getFillTexture
- setFillColor
- getLibraryDescriptor
- getCapacity
- setCapacity
- getQuantity
- setQuantity
- getState
- getLoadingMode
- setLoadingMode
- getProcessingMode
- setProcessingMode
- getDelayType
- setDelayType
- stopProcess
- stopProcess
- isProcessing
- isProcessing
- processTime
- onProcessStarted
- onProcessFinished
- size
- getAgent
- getAgents
- contains
- removeAgent
- onLeadingEdgeEnter
- onTrailingEdgeEnter
- onLeadingEdgeExit
- onTrailingEdgeExit
- isFailed
- fail
- repair
- onFailed
- onRepaired
- isUseResources
- setUseResources
- isSeizeFromOnePool
- setSeizeFromOnePool
- resourceSets
- resourcePool
- resourceQuantity
- sendResources
- getResourceDestinationType
- setResourceDestinationType
- resourceDestinationNode
- resourceDestinationAttractor
- resourceDestinationX
- resourceDestinationY
- resourceDestinationZ
- movingGoHome
- isCustomizeResourceChoice
- getResourceChoiceCondition
- getStatisticsStartTime
- resetStats
- totalStateTime
- meanStateTime
- priority
- getTaskMayPreemptOtherTasks
- setTaskMayPreemptOtherTasks
- taskPreemptionPolicy
- onTaskSuspended
- onTaskResumed
- onTaskTerminated
- java.lang.Object
-
- com.anylogic.engine.markup.AbstractMarkup
-
- com.anylogic.engine.markup.MarkupShape
-
- com.anylogic.engine.markup.ConveyorMarkupElement<T>
-
- com.anylogic.engine.markup.ConveyorPathPart<T>
-
- com.anylogic.engine.markup.ConveyorStation<T>
-
- com.anylogic.engine.markup.ConveyorSimpleStation<T>
- All Implemented Interfaces:
AggregatableAnimationElement
,HasLevel
,IMarkupLibraryDescriptor
,INetworkMarkupElement
,com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T>
,com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T>
,com.anylogic.engine.markup.material_handling.IMaterialFallible
,com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
,com.anylogic.engine.markup.material_handling.IMaterialPointLocation<T>
,SVGElement
,java.io.Serializable
public class ConveyorSimpleStation<T extends Agent> extends ConveyorStation<T> implements com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T>
Use the Station space markup element to draw a simple processing station on a conveyor.
The station can process more than 1 material item at a time. The number of items to process is defined in the Capacity parameter. If two or more material items must be processed simultaneously, the station will wait until the required number of agents arrives.
The time required to process the specified number of material items is defined by the Delay parameter.
- See Also:
- Serialized Form
ConveyorSimpleStation(ConveyorPath<? extends T> conveyor) |
|
ConveyorSimpleStation(ConveyorPath<? extends T> conveyor,
ShapeDrawMode drawMode,
boolean isPublic,
double offset,
double lengthInMeters) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
ConveyorSimpleStation(ConveyorPath<? extends T> conveyor,
ShapeDrawMode drawMode,
boolean isPublic,
double offsetInPixels,
double lengthInMeters,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> descriptor) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
Constructor | Description |
---|
boolean |
contains(Agent agent) |
Returns true if the given agent (material item) is inside the station, returns false otherwise.
|
void |
fail() |
Initiates station failure.
|
T |
getAgent(int index) |
Returns the agent (material item) that is currently located in the station
|
java.util.List<T> |
getAgents() |
Returns the list of agents (material items) that are currently located in the station, returns null if none.
|
int |
getCapacity() |
Returns the number of agents (material items) that may be processed by the station.
|
ConveyorSimpleStationDelayType |
getDelayType() |
|
java.awt.Color |
getFillColor() |
Returns fill color of this element
|
Texture |
getFillTexture() |
Returns fill texture of this element
|
com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> |
getLibraryDescriptor() |
|
java.awt.Color |
getLineColor() |
Returns line color of this element
|
Texture |
getLineTexture() |
Returns line texture of this element
|
ConveyorSimpleStationLoadingMode |
getLoadingMode() |
|
ConveyorSimpleStationProcessingMode |
getProcessingMode() |
|
int |
getQuantity() |
Deprecated.
the method may be removed in next release, use
getCapacity() instead |
boolean |
getResourceChoiceCondition(T agent,
java.util.List<T> allAgents,
Agent unit,
java.lang.Object pool) |
|
java.lang.Object |
getResourceDestinationType() |
Returns the type of destination the resources are sent to.
|
ConveyorSimpleStationState |
getState() |
|
double |
getStatisticsStartTime() |
|
boolean |
getTaskMayPreemptOtherTasks() |
|
boolean |
isCustomizeResourceChoice() |
|
boolean |
isFailed() |
Returns true if the station failed (broke down) and is not operating, returns false otherwise.
|
boolean |
isProcessing() |
Returns true if the station is processing agents (material items), returns false otherwise.
|
boolean |
isProcessing(Agent agent) |
Returns true if the station is processing the agent (material item), returns false otherwise.
|
boolean |
isSeizeFromOnePool() |
Returns true if the station will be using resource units of the same pool, returns false otherwise.
|
boolean |
isUseResources() |
Returns true if the station is using resource units, returns false otherwise.
|
double |
meanStateTime(ConveyorSimpleStationState state,
TimeUnits units) |
|
boolean |
movingGoHome(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
void |
onFailed() |
|
void |
onLeadingEdgeEnter(T agent) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
void |
onLeadingEdgeExit(T agent) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
void |
onProcessFinished(T agent,
java.util.List<T> allAgents) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
void |
onProcessStarted(T agent,
java.util.List<T> allAgents) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
void |
onRepaired() |
|
void |
onTaskResumed(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
void |
onTaskSuspended(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
void |
onTaskTerminated(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
void |
onTrailingEdgeEnter(T agent) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
void |
onTrailingEdgeExit(T agent) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Callback action. |
double |
priority(T agent,
java.util.List<T> allAgents) |
|
double |
processTime(T agent,
java.util.List<T> allAgents,
TimeUnits units) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons. Returns delay for the given agent(s) |
boolean |
removeAgent(Agent agent) |
Removes the given agent from the station.
|
void |
repair() |
Repairs station, makes it available again.
|
void |
resetStats() |
|
Attractor |
resourceDestinationAttractor(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
INode<?,?> |
resourceDestinationNode(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
double |
resourceDestinationX(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
double |
resourceDestinationY(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
double |
resourceDestinationZ(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
java.lang.Object |
resourcePool(T agent,
java.util.List<T> allAgents) |
|
int |
resourceQuantity(T agent,
java.util.List<T> allAgents) |
|
java.lang.Object[][] |
resourceSets(T agent,
java.util.List<T> allAgents) |
|
boolean |
sendResources(T agent,
java.util.List<T> allAgents,
Agent unit) |
|
void |
setCapacity(int capacity) |
Sets the number of agents (material items) that may be processed by the station.
|
void |
setDelayType(ConveyorSimpleStationDelayType type) |
|
void |
setFillColor(java.awt.Paint fillColor) |
Sets the fill color of this element
|
void |
setLineColor(java.awt.Paint lineColor) |
Sets the line color of this element
|
void |
setLoadingMode(ConveyorSimpleStationLoadingMode mode) |
|
void |
setProcessingMode(ConveyorSimpleStationProcessingMode mode) |
Cannot be changed in runtime
|
void |
setQuantity(int quantity) |
Deprecated.
the method may be removed in next release, use
#setCapacity() instead |
void |
setResourceDestinationType(java.lang.Object resourceDestinationType) |
|
void |
setSeizeFromOnePool(boolean seizeFromOnePool) |
|
void |
setTaskMayPreemptOtherTasks(boolean value) |
|
void |
setUseResources(boolean useResources) |
|
int |
size() |
Returns the current number of agents (material items) inside the station
|
void |
stopProcess() |
Stops the station when called.
|
void |
stopProcess(Agent agent) |
Stops processing of specified agent.
|
TaskPreemptionPolicy |
taskPreemptionPolicy(T agent,
java.util.List<T> allAgents) |
|
double |
totalStateTime(ConveyorSimpleStationState state,
TimeUnits units) |
|
Modifier and Type | Method | Description |
---|
contains, getLength, getNearestPoint, randomPointInside, setLength, setNetwork
getConveyor, getOffset, getOffset, setConveyor, setOffset, setOffset
getLevel, getNetwork
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
postInitialize
Methods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
getMarkup, setMarkup
getSpace, randomPointInside, randomPointInside, randomPointInside
public ConveyorSimpleStation(ConveyorPath<? extends T> conveyor)
@Deprecated public ConveyorSimpleStation(ConveyorPath<? extends T> conveyor, ShapeDrawMode drawMode, boolean isPublic, double offset, double lengthInMeters)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
conveyor
-drawMode
-isPublic
-offset
-lengthInMeters
-
@AnyLogicInternalAPI @Deprecated public ConveyorSimpleStation(ConveyorPath<? extends T> conveyor, ShapeDrawMode drawMode, boolean isPublic, double offsetInPixels, double lengthInMeters, java.awt.Paint fillColor, java.awt.Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> descriptor)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
Constructor
- Parameters:
conveyor
- the conveyordrawMode
-isPublic
-offsetInPixels
- offset measured from the beginning of conveyor to the end of this station, in pixels.lengthInMeters
- the length of this station in meters.descriptor
-
public java.awt.Color getLineColor()
Returns line color of this element
- Returns:
- line color of this element
public Texture getLineTexture()
Returns line texture of this element
- Returns:
- line texture of this element
public void setLineColor(java.awt.Paint lineColor)
Sets the line color of this element
- Parameters:
lineColor
- color
public java.awt.Color getFillColor()
Returns fill color of this element
- Returns:
- fill color of this element
public Texture getFillTexture()
Returns fill texture of this element
- Returns:
- fill texture of this element
public void setFillColor(java.awt.Paint fillColor)
Sets the fill color of this element
- Parameters:
fillColor
- color
@AnyLogicInternalAPI public com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> getLibraryDescriptor()
public int getCapacity()
Returns the number of agents (material items) that may be processed by the station.
- Specified by:
getCapacity
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
- the number of agents (material items) that may be processed by the station.
public void setCapacity(int capacity)
Sets the number of agents (material items) that may be processed by the station.
- Specified by:
setCapacity
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Parameters:
capacity
- - the number of agents (material items) that may be processed by the station.
@Deprecated public int getQuantity()
Deprecated.
the method may be removed in next release, use
getCapacity()
insteadReturns the number of agents (material items) required to start the processing.
- Returns:
- the number of agents (material items) required to start the processing.
@Deprecated public void setQuantity(int quantity)
Deprecated.
the method may be removed in next release, use
#setCapacity()
insteadSets the number of agents (material items) that must be processed simultaneously.
- Parameters:
quantity
- - the number of agents (material items).
public ConveyorSimpleStationState getState()
- Specified by:
getState
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public ConveyorSimpleStationLoadingMode getLoadingMode()
- Specified by:
getLoadingMode
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void setLoadingMode(ConveyorSimpleStationLoadingMode mode)
- Specified by:
setLoadingMode
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public ConveyorSimpleStationProcessingMode getProcessingMode()
- Specified by:
getProcessingMode
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void setProcessingMode(ConveyorSimpleStationProcessingMode mode)
Cannot be changed in runtime
- Specified by:
setProcessingMode
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public ConveyorSimpleStationDelayType getDelayType()
- Specified by:
getDelayType
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void setDelayType(ConveyorSimpleStationDelayType type)
- Specified by:
setDelayType
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void stopProcess()
Stops the station when called.
- Specified by:
stopProcess
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void stopProcess(Agent agent)
Stops processing of specified agent.
Note, this method can only be called when the station is in the
Note, this method can only be called when the station is in the
SIMPLE_STATION_PROCESSING_WHEN_AGENT_ENTERS
mode.
If the station is in the other processing mode, use stopProcess()
instead.- Specified by:
stopProcess
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Parameters:
agent
- an agent that is currently processing by station
public boolean isProcessing()
Returns true if the station is processing agents (material items), returns false otherwise.
- Specified by:
isProcessing
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
- true if the station is processing agents (material items), returns false otherwise.
public boolean isProcessing(Agent agent)
Returns true if the station is processing the agent (material item), returns false otherwise.
- Specified by:
isProcessing
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
- true if the station is processing the agent (material item), returns false otherwise.
@AnyLogicInternalCodegenAPI public double processTime(T agent, java.util.List<T> allAgents, TimeUnits units)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Returns delay for the given agent(s)
it may be removed/renamed in future. It is public due to technical reasons.
Returns delay for the given agent(s)
- Specified by:
processTime
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Parameters:
agent
- the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.allAgents
- list of agents in this station, sorted: 0th element is the nearest to the exit.units
- requested units of the delay value- Returns:
- delay timeout in the given units
@AnyLogicInternalCodegenAPI public void onProcessStarted(T agent, java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onProcessStarted
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Parameters:
agent
- the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.allAgents
- list of agents in this station, sorted: 0th element is the nearest to the exit.
@AnyLogicInternalCodegenAPI public void onProcessFinished(T agent, java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onProcessFinished
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Parameters:
agent
- the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.allAgents
- list of agents in this station, sorted: 0th element is the nearest to the exit.
public int size()
Returns the current number of agents (material items) inside the station
- Specified by:
size
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Returns:
- the current number of agents (material items) inside the station
public T getAgent(int index)
Returns the agent (material item) that is currently located in the station
- Specified by:
getAgent
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Parameters:
index
- - the index- Returns:
- the agent (material item) that is currently located in the station
public java.util.List<T> getAgents()
Returns the list of agents (material items) that are currently located in the station, returns null if none.
- Specified by:
getAgents
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Returns:
- the list of agents
public boolean contains(Agent agent)
Returns true if the given agent (material item) is inside the station, returns false otherwise.
- Specified by:
contains
in interfacecom.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
- Returns:
- true if the given agent (material item) is inside the station, returns false otherwise.
public boolean removeAgent(Agent agent)
Removes the given agent from the station. The agent will be removed only if it is currently located inside the station.
- Specified by:
removeAgent
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Parameters:
agent
- - the agent (material item) to be removed from the station.If
- the agent was removed successfully, returns true, otherwise returns false.
public void onLeadingEdgeEnter(T agent)
Description copied from interface:
com.anylogic.engine.markup.material_handling.IMaterialPointLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onLeadingEdgeEnter
in interfacecom.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
- Parameters:
agent
- the agent.
public void onTrailingEdgeEnter(T agent)
Description copied from interface:
com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onTrailingEdgeEnter
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Parameters:
agent
- the agent.
public void onLeadingEdgeExit(T agent)
Description copied from interface:
com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onLeadingEdgeExit
in interfacecom.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
- Parameters:
agent
- the agent.
public void onTrailingEdgeExit(T agent)
Description copied from interface:
com.anylogic.engine.markup.material_handling.IMaterialPointLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
it may be removed/renamed in future. It is public due to technical reasons.
Callback action.
- Specified by:
onTrailingEdgeExit
in interfacecom.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
- Parameters:
agent
- the agent.
public boolean isFailed()
Returns true if the station failed (broke down) and is not operating, returns false otherwise.
- Specified by:
isFailed
in interfacecom.anylogic.engine.markup.material_handling.IMaterialFallible
- Returns:
- true if the station failed (broke down) and is not operating, returns false otherwise.
public void fail()
Initiates station failure. The station stops processing.
- Specified by:
fail
in interfacecom.anylogic.engine.markup.material_handling.IMaterialFallible
public void repair()
Repairs station, makes it available again. Resumes station processing.
- Specified by:
repair
in interfacecom.anylogic.engine.markup.material_handling.IMaterialFallible
public void onFailed()
- Specified by:
onFailed
in interfacecom.anylogic.engine.markup.material_handling.IMaterialFallible
public void onRepaired()
- Specified by:
onRepaired
in interfacecom.anylogic.engine.markup.material_handling.IMaterialFallible
public boolean isUseResources()
Returns true if the station is using resource units, returns false otherwise.
- Specified by:
isUseResources
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
- true if the station is using resource units, returns false otherwise.
public void setUseResources(boolean useResources)
- Specified by:
setUseResources
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean isSeizeFromOnePool()
Returns true if the station will be using resource units of the same pool, returns false otherwise.
- Specified by:
isSeizeFromOnePool
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
- true if the station will be using resource units of the same pool, returns false otherwise.
public void setSeizeFromOnePool(boolean seizeFromOnePool)
- Specified by:
setSeizeFromOnePool
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public java.lang.Object[][] resourceSets(T agent, java.util.List<T> allAgents)
- Specified by:
resourceSets
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public java.lang.Object resourcePool(T agent, java.util.List<T> allAgents)
- Specified by:
resourcePool
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public int resourceQuantity(T agent, java.util.List<T> allAgents)
- Specified by:
resourceQuantity
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean sendResources(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
sendResources
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public java.lang.Object getResourceDestinationType()
Returns the type of destination the resources are sent to.
Valid values:
- Seize.DestinationType.DEST_NODE - the node the resources will be sent to.
- Seize.DestinationType.DEST_ATTRACTOR - the attractor the resources will be sent to.
- Seize.DestinationType.DEST_XYZ - the coordinates the resources will be sent to.
- Specified by:
getResourceDestinationType
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
- Returns:
public void setResourceDestinationType(java.lang.Object resourceDestinationType)
- Specified by:
setResourceDestinationType
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public INode<?,?> resourceDestinationNode(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
resourceDestinationNode
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public Attractor resourceDestinationAttractor(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
resourceDestinationAttractor
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double resourceDestinationX(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
resourceDestinationX
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double resourceDestinationY(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
resourceDestinationY
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double resourceDestinationZ(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
resourceDestinationZ
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean movingGoHome(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
movingGoHome
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean isCustomizeResourceChoice()
- Specified by:
isCustomizeResourceChoice
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean getResourceChoiceCondition(T agent, java.util.List<T> allAgents, Agent unit, java.lang.Object pool)
- Specified by:
getResourceChoiceCondition
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
@AnyLogicInternalAPI public double getStatisticsStartTime()
- Specified by:
getStatisticsStartTime
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void resetStats()
- Specified by:
resetStats
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double totalStateTime(ConveyorSimpleStationState state, TimeUnits units)
- Specified by:
totalStateTime
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double meanStateTime(ConveyorSimpleStationState state, TimeUnits units)
- Specified by:
meanStateTime
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public double priority(T agent, java.util.List<T> allAgents)
- Specified by:
priority
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public boolean getTaskMayPreemptOtherTasks()
- Specified by:
getTaskMayPreemptOtherTasks
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void setTaskMayPreemptOtherTasks(boolean value)
- Specified by:
setTaskMayPreemptOtherTasks
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public TaskPreemptionPolicy taskPreemptionPolicy(T agent, java.util.List<T> allAgents)
- Specified by:
taskPreemptionPolicy
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void onTaskSuspended(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
onTaskSuspended
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void onTaskResumed(T agent, java.util.List<T> allAgents, Agent unit)
- Specified by:
onTaskResumed
in interfacecom.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
public void onTaskTerminated(T agent, java.util.List<T> allAgents, Agent unit)
-
How can we improve this article?
-