Embeded Benchmark
[iotcloud.git] / version2 / src / java / light_fan_embed_benchmark / DeviceStateLocation.java
diff --git a/version2/src/java/light_fan_embed_benchmark/DeviceStateLocation.java b/version2/src/java/light_fan_embed_benchmark/DeviceStateLocation.java
new file mode 100644 (file)
index 0000000..fc04980
--- /dev/null
@@ -0,0 +1,25 @@
+
+
+public class DeviceStateLocation {
+       byte[] location = new byte[16];
+       final String label;
+       final long updatedAt;
+
+       public DeviceStateLocation(byte[] _location, String _label, long _updatedAt) {
+               location = _location;
+               label = _label;
+               updatedAt = _updatedAt;
+       }
+
+       public byte[] getLocation() {
+               return location;
+       }
+
+       public String getLabel() {
+               return label;
+       }
+
+       public long getUpdatedAt() {
+               return updatedAt;
+       }
+}