Lightbulb benchmark
[iotcloud.git] / version2 / src / java / light_fan_benchmark / LightState.java
diff --git a/version2/src/java/light_fan_benchmark/LightState.java b/version2/src/java/light_fan_benchmark/LightState.java
new file mode 100644 (file)
index 0000000..80bc77c
--- /dev/null
@@ -0,0 +1,25 @@
+
+
+public class LightState {
+       private final BulbColor color;
+       private final int power;
+       private final String label;
+
+       public LightState(BulbColor _color, int _power, String _label) {
+               color = _color;
+               power = _power;
+               label = _label;
+       }
+
+       public BulbColor getColor() {
+               return color;
+       }
+
+       public int getPower() {
+               return power;
+       }
+
+       public String getLabel() {
+               return label;
+       }
+}