Adding LifxLightBulb files and placeholders for benchmarks; preparing for porting
[iot2.git] / benchmarks / drivers / LifxLightBulb / DeviceStateGroup.java
diff --git a/benchmarks/drivers/LifxLightBulb/DeviceStateGroup.java b/benchmarks/drivers/LifxLightBulb/DeviceStateGroup.java
new file mode 100644 (file)
index 0000000..9ed6c91
--- /dev/null
@@ -0,0 +1,25 @@
+package iotcode.LifxLightBulb;
+
+public class DeviceStateGroup {
+       byte[] group = new byte[16];
+       final String label;
+       final long updatedAt;
+
+       public DeviceStateGroup(byte[] _location, String _label, long _updatedAt) {
+               group = _location;
+               label = _label;
+               updatedAt = _updatedAt;
+       }
+
+       public byte[] getGroup() {
+               return group;
+       }
+
+       public String getLabel() {
+               return label;
+       }
+
+       public long getUpdatedAt() {
+               return updatedAt;
+       }
+}