|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cz.zcu.fav.kiv.jsimcasestudies.watersystem.application.StationState
An encapsulation of the water station consistent state. This source code needn`t to be changed when passing it to the production version.
Field Summary | |
int |
cntPumpsOn
|
int |
cntPumpsReady
|
boolean |
levelHigh
|
boolean |
levelLow
|
int |
outputFlow
|
Constructor Summary | |
protected |
StationState()
Contructor of the class StationState |
Method Summary | |
protected static int |
boolToInt(boolean b)
A method that converts boolean to int |
protected void |
displayState()
A methods that displays the state of the station (only for debugging purpose) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean levelLow
public boolean levelHigh
public int cntPumpsOn
public int cntPumpsReady
public int outputFlow
Constructor Detail |
protected StationState()
Method Detail |
protected static int boolToInt(boolean b)
protected void displayState()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |