Adding more directory structure to generated files by compiler, also script to copy...
[iot2.git] / others / tutorial / benchmarks / drivers / SmartLightBulb / DeviceStateVersion.java
diff --git a/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateVersion.java b/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateVersion.java
new file mode 100644 (file)
index 0000000..f2f0200
--- /dev/null
@@ -0,0 +1,25 @@
+package iotcode.LifxLightBulb;
+
+public class DeviceStateVersion {
+       final long vender;
+       final long product;
+       final long version;
+
+       public DeviceStateVersion(long _vender, long _product, long _version) {
+               vender = _vender;
+               product = _product;
+               version = _version;
+       }
+
+       public long getVender() {
+               return vender;
+       }
+
+       public long getProduct() {
+               return product;
+       }
+
+       public long getVersion() {
+               return version;
+       }
+}