UvodDoKomponent: ParkovisteOsgiSpecifikace |
from Wiki KIVu |
Stručná specifikace, jak může vypadat implementace parkoviště. Nemusí nutně odpovídat implementaci dostupné na ParkovisteOsgi.
Komponenty a export-import balíky
Vazby přes služby případně události
public int getNumberOfVehiclesEntering(); public int getNumberOfVehiclesLeaving();
public int getCountVehiclesPassed(); public double getVehiclesPerSecond();
public int getCountVehiclesArrived(); public int getCountVehiclesDeparted();
public boolean isFull(); public int getCapacity(); public int getNumFreePlaces(); public void decreaseFreePlaces(int amount); public void increaseFreePlaces(int amount); public void reset();
RoadSign? (může být implementováno též jako události)
public void switchOn(); public void switchOff(); public void showMessage(String msg);
VehicleFlow? (může být implementováno též jako události)
public void arrive(); public void leave();
public void consumeVehicle();