org.universAAL.samples.lighting.server_regular.unit_impl
Class MyLighting

Package class diagram package MyLighting
java.lang.Object
  extended by 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

Constructor Summary
MyLighting()
           
 
Method Summary
 Integer[] getControlledLamps()
           
 Object[] getLampInfo(int lampID)
           
 String getLampLocation(int lampID)
           
 int getState(int lampID)
           
 void turnOff(int lampID)
           
 void turnOn(int lampID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLighting

public MyLighting()
Method Detail

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.