Adding more directory structure to generated files by compiler, also script to copy...
[iot2.git] / others / tutorial / benchmarks / drivers / SmartLightBulb / DeviceStateGroup.java
diff --git a/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateGroup.java b/others/tutorial/benchmarks/drivers/SmartLightBulb/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;
+       }
+}