Adding more directory structure to generated files by compiler, also script to copy...
[iot2.git] / others / tutorial / benchmarks / drivers / SmartLightBulb / DeviceStateWifiFirmware.java
diff --git a/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateWifiFirmware.java b/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateWifiFirmware.java
new file mode 100644 (file)
index 0000000..50bafe9
--- /dev/null
@@ -0,0 +1,21 @@
+package iotcode.LifxLightBulb;
+
+public class DeviceStateWifiFirmware {
+       // time of build in nanosecond accuracy
+       // after some tests
+       final long build;
+       final long version;                                                                                                                                                                                                                                                                                                                                             // firmware version
+
+       public DeviceStateWifiFirmware(long _build, long _version) {
+               build = _build;
+               version = _version;
+       }
+
+       public long getBuild() {
+               return build;
+       }
+
+       public long getVersion() {
+               return version;
+       }
+}