1 package SmartLightsController;
3 /** Class ColorTemperature to store the color and temperature data.
6 * @author Ali Younis <ayounis @ uci.edu>
10 public class ColorTemperature {
14 public double saturation;
15 public double brightness;
18 public int temperature;
22 public ColorTemperature() {
31 * @param _hue [double], Hue as a percentage.
32 * @param _saturation [double], Saturation as a percentage.
33 * @param _brightness [double], Brightness as a percentage.
34 * @param _temperature [double], Temperature as kelvin.
37 public ColorTemperature(double _hue, double _saturation, double _brightness, int _temperature) {
39 this.saturation = _saturation;
40 this.brightness = _brightness;
41 this.temperature = _temperature;