org.universAAL.ri.gateway.support.home
Class MyLighting
java.lang.Object
org.universAAL.ri.gateway.support.home.MyLighting
public class MyLighting
- extends Object
- Author:
- mtazari
A simple model that is able to manage four virtual light sources
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyLighting
public MyLighting()
addListener
public void addListener(LampStateListener l)
getLampIDs
public int[] getLampIDs()
getLampLocation
public String getLampLocation(int lampID)
isOn
public boolean isOn(int lampID)
removeListener
public void removeListener(LampStateListener l)
turnOff
public void turnOff(int lampID)
turnOn
public void turnOn(int lampID)
Copyright © 2014 universAAL Consortium. All Rights Reserved.