|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.core.manufacture.ManufactureProcess
public class ManufactureProcess
A manufacturing process.
| Constructor Summary | |
|---|---|
ManufactureProcess(ManufactureProcessInfo info,
Manufacture workshop)
Constructor |
|
| Method Summary | |
|---|---|
void |
addProcessTime(double processTime)
Adds process time to the process. |
void |
addWorkTime(double workTime)
Adds work time to the process. |
void |
destroy()
Prepare object for garbage collection. |
ManufactureProcessInfo |
getInfo()
Gets the information about the process. |
double |
getProcessTimeRemaining()
Gets the remaining process time. |
Manufacture |
getWorkshop()
Gets the manufacture building function. |
double |
getWorkTimeRemaining()
Gets the remaining work time. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManufactureProcess(ManufactureProcessInfo info,
Manufacture workshop)
info - information about the process.workshop - the manufacturing workshop where the process is taking place.| Method Detail |
|---|
public ManufactureProcessInfo getInfo()
public double getWorkTimeRemaining()
public void addWorkTime(double workTime)
workTime - work time (millisols)public double getProcessTimeRemaining()
public void addProcessTime(double processTime)
processTime - process time (millisols)public String toString()
toString in class Objectpublic Manufacture getWorkshop()
public void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||