Proc
- SimProcesses as processed Entitypublic class ProcessStationResAbstrAnimation<Proc extends EntityBasicAnimation> extends ModelComponent
Constructor and Description |
---|
ProcessStationResAbstrAnimation(ModelAnimation owner,
java.lang.String name,
Comment comment,
java.lang.String resName,
int resTotal,
Position pos,
FormExt form,
boolean showInAnimation)
Build a ProcessStation.
|
ProcessStationResAbstrAnimation(ModelAnimation owner,
java.lang.String name,
Comment comment,
java.lang.String resName,
int resTotal,
Position pos,
FormExt form,
ListInterface list,
boolean showInAnimation)
Build a ProcessStation.
|
ProcessStationResAbstrAnimation(ModelAnimation owner,
java.lang.String name,
java.lang.String resName,
int resTotal,
Position pos,
FormExt form,
boolean showInAnimation)
Build a ProcessStation.
|
ProcessStationResAbstrAnimation(ModelAnimation owner,
java.lang.String name,
java.lang.String resName,
int resTotal,
Position pos,
FormExt form,
ListInterface list,
boolean showInAnimation)
Build a ProcessStation.
|
ProcessStationResAbstrAnimation(ModelAnimation owner,
java.lang.String name,
java.lang.String resName,
int resTotal,
Position pos,
FormExt form,
java.lang.String listId,
boolean showInAnimation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getProcNames(int i)
Gives names of Proc entities in entry i.
|
int |
getResAvailable()
Gives the number of available Resources
|
java.util.List<java.lang.String> |
getResourceNames(int i)
Gives names of Res entities in entry i.
|
double |
getResUtilization()
Give the actual Resource Utilization
|
boolean |
insert(java.util.List<Proc> procEntities,
int needAnzRes)
Create a new process entry with process entities.
|
int |
length()
Gives nr of entries in station.
|
EntryAnimation<Proc,EntityBasicAnimation> |
remove(Proc e)
Remove the process entry which contains the process entity e.
|
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public ProcessStationResAbstrAnimation(ModelAnimation owner, java.lang.String name, java.lang.String resName, int resTotal, Position pos, FormExt form, boolean showInAnimation)
owner
- name
- resName
- resTotal
- pos
- form
- showInAnimation
- public ProcessStationResAbstrAnimation(ModelAnimation owner, java.lang.String name, Comment comment, java.lang.String resName, int resTotal, Position pos, FormExt form, boolean showInAnimation)
owner
- name
- comment
- resName
- resTotal
- pos
- form
- showInAnimation
- @Deprecated public ProcessStationResAbstrAnimation(ModelAnimation owner, java.lang.String name, java.lang.String resName, int resTotal, Position pos, FormExt form, java.lang.String listId, boolean showInAnimation)
owner
- name
- resName
- resTotal
- pos
- form
- listId
- not usedshowInAnimation
- public ProcessStationResAbstrAnimation(ModelAnimation owner, java.lang.String name, java.lang.String resName, int resTotal, Position pos, FormExt form, ListInterface list, boolean showInAnimation)
owner
- used modelname
- name of process-stationresName
- name of resource (for information only)resTotal
- total nr of available resourcespos
- middle point of animation objectform
- form of animation objectlist
- queue from where process-entities are coming, maybe nullshowInAnimation
- switch animation on or offpublic ProcessStationResAbstrAnimation(ModelAnimation owner, java.lang.String name, Comment comment, java.lang.String resName, int resTotal, Position pos, FormExt form, ListInterface list, boolean showInAnimation)
owner
- used modelname
- name of process-stationcomment
- resName
- name of resource (for information only)resTotal
- total nr of available resourcespos
- middle point of animation objectform
- form of animation objectlist
- queue from where process-entities are coming, maybe nullcommentStyle
- commentSize
- commentColor
- commentSizeExt
- showInAnimation
- switch animation on or offpublic boolean insert(java.util.List<Proc> procEntities, int needAnzRes)
procEntities
- Array of process entitiesneedAnzRes
- No of resources, that this entry needs.public EntryAnimation<Proc,EntityBasicAnimation> remove(Proc e)
e
- public int getResAvailable()
public double getResUtilization()
public int length()
public java.util.List<java.lang.String> getProcNames(int i)
i
- public java.util.List<java.lang.String> getResourceNames(int i)
i
-