Adding more directory structure to generated files by compiler, also script to copy...
[iot2.git] / others / tutorial / benchmarks / drivers / SmartLightBulb / DeviceStateHostInfo.java
diff --git a/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateHostInfo.java b/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateHostInfo.java
new file mode 100644 (file)
index 0000000..a10213d
--- /dev/null
@@ -0,0 +1,25 @@
+package iotcode.LifxLightBulb;
+
+public class DeviceStateHostInfo {
+       final long signal;
+       final long tx;
+       final long rx;
+
+       public DeviceStateHostInfo(long _signal, long _tx, long _rx) {
+               signal = _signal;
+               tx = _tx;
+               rx = _rx;
+       }
+
+       public long getSignal() {
+               return signal;
+       }
+
+       public long getTx() {
+               return tx;
+       }
+
+       public long getRx() {
+               return rx;
+       }
+}