public class MachineCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
lotSize |
private boolean |
start |
private boolean |
stop |
| Constructor and Description |
|---|
MachineCommand() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLotSize()
The lot size to produce with.
|
boolean |
isStart()
Returns whether the machine shall be started.
|
boolean |
isStop()
Returns whether the machine shall be stopped.
|
void |
setLotSize(int lotSize)
Defines the lot size to produce with.
|
void |
setStart(boolean start)
Sets whether the machine shall be started.
|
void |
setStop(boolean stop)
Sets whether the machine shall be stopped.
|
public void setStart(boolean start)
start - whether the machine shall be startedpublic void setStop(boolean stop)
stop - whether the machine shall be stoppedpublic void setLotSize(int lotSize)
lotSize - the lot sizepublic boolean isStart()
true shall be startedpublic boolean isStop()
true shall be stopedpublic int getLotSize()
Copyright © 2022. All rights reserved.