org.universAAL.samples.lighting.server_regular.unit_impl
Class MyLighting
java.lang.Object
org.universAAL.samples.lighting.server_regular.unit_impl.MyLighting
public class MyLighting
- extends Object
A simple model that is able to manage four virtual light sources
- Author:
- mtazari, mpsiuk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyLighting
public MyLighting()
getLampLocation
public String getLampLocation(int lampID)
getState
public int getState(int lampID)
getControlledLamps
public Integer[] getControlledLamps()
getLampInfo
public Object[] getLampInfo(int lampID)
turnOff
public void turnOff(int lampID)
turnOn
public void turnOn(int lampID)
Copyright © 2014 universAAL Consortium. All Rights Reserved.