Infrastructure compatible with locks' group!
authorSeyed Amir Hossein Aqajari <saqajari@circinus-21.ics.uci.edu>
Thu, 30 Jan 2020 22:44:16 +0000 (14:44 -0800)
committerSeyed Amir Hossein Aqajari <saqajari@circinus-21.ics.uci.edu>
Thu, 30 Jan 2020 22:44:16 +0000 (14:44 -0800)
14 files changed:
eventSimulator/carbonDioxideEvent.groovy
eventSimulator/consumableStatusEvent.groovy
eventSimulator/lqiEvent.groovy
eventSimulator/nfcTouchEvent.groovy
eventSimulator/pHEvent.groovy
eventSimulator/pressureEvent.groovy
eventSimulator/rssiEvent.groovy
eventSimulator/shockEvent.groovy
eventSimulator/soundEvent.groovy
eventSimulator/soundPressureLevelEvent.groovy
eventSimulator/tamperEvent.groovy
eventSimulator/ultravioletIndexEvent.groovy
eventSimulator/voltageEvent.groovy
eventSimulator/windowShadeEvent.groovy

index 1b951e04a00c8e1bfc0c0577aeab60b4d9c4aeee..7483f2e71e465fe848a6681517b8f3f6ce40e97a 100644 (file)
@@ -1,2 +1,2 @@
-                       carbonDioxideMeasurementObject[0].setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
+                       carbonDioxideMeasurementObject.setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 6f470ed0ecdc98b71b83c05f469674fde7030606..8d57d89445255dbe52968c574af886b4f58eb5bf 100644 (file)
@@ -1,2 +1,2 @@
-                       consumableObject[0].setValue([name: "consumableStatus", value: "status", deviceId: "consumableID0", descriptionText: "",
+                       consumableObject.setValue([name: "consumableStatus", value: "status", deviceId: "consumableID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index aee891798f7cf5e9fbc38b05189a1c68de97131d..9dd3d20bb45caa972cc39dab0aff70a0ea9f7cba 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject[0].setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject.setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index b8eef4b60e68211580edb39491523a2e7529186d..1409566e8f54f08bb5285490e14187a4c5d4f4c4 100644 (file)
@@ -1,2 +1,2 @@
-                       touchSensorObject[0].setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
+                       touchSensorObject.setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 200cafe6bc56e100eb662177916aedded1840fe5..2efdb039499005b7389303c66f2c3d46a53a78ed 100644 (file)
@@ -1,2 +1,2 @@
-                       pHMeasurementObject[0].setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
+                       pHMeasurementObject.setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 95b897feaf9e915b6024189d670fce2f8bf775c3..8cc4aae84fe59253fe4df79041c119d3900ab23c 100644 (file)
@@ -1,2 +1,2 @@
-                       sensorObject[0].setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
+                       sensorObject.setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index a0d49e51457765b707608c1026721d69068d8bee..f45cdf68ba6c90dbd46a45c2076c7066f2aebac8 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject[0].setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject.setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index d700291e827e3a65c54c93a6096d2fc8a23b4ab4..4c5e8fc901886ca8d2cf389fb50ccc4359d068fd 100644 (file)
@@ -1,2 +1,2 @@
-                       shockSensorObject[0].setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
+                       shockSensorObject.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 418c796b8326888bbe7fe220cdcc7708c23cd81b..410608a03bcd1e30077ba8e77c4dc6654ee45b1f 100644 (file)
@@ -1,2 +1,2 @@
-                       soundSensorObject[0].setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
+                       soundSensorObject.setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 293302cda517e4f5bb03694b15dae5272d56e20f..98788aab1ed1b0d886cfb65e4466ab047375a955 100644 (file)
@@ -1,2 +1,2 @@
-                       soundPressureLevelObject[0].setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
+                       soundPressureLevelObject.setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 5422153ff0a541505c939eb6c5c9b29985f2abf1..b69daeed60232df11c5997f921a5a86aeacd7ebc 100644 (file)
@@ -1,2 +1,2 @@
-                       tamperAlertObject[0].setValue([name: "tamper", value: "tampered", deviceId: "tamperAlertID0", descriptionText: "",
+                       tamperAlertObject.setValue([name: "tamper", value: "tampered", deviceId: "tamperAlertID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 95e1420e8e2649fd5133db8f9c71ae29e94c4830..29994fd6a2265f704dd6351836be614e966b0f46 100644 (file)
@@ -1,2 +1,2 @@
-                       ultravioletIndexObject[0].setValue([name: "ultravioletIndex", value: "someValue", deviceId: "ultravioletIndexID0", descriptionText: "",
+                       ultravioletIndexObject.setValue([name: "ultravioletIndex", value: "someValue", deviceId: "ultravioletIndexID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 4ea23079c6bf375b54e2cc083368348978802c7f..07c36d651bcccb45c90a2de32e14d141817ad56f 100644 (file)
@@ -1,2 +1,2 @@
-                       voltageMeasurementObject[0].setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
+                       voltageMeasurementObject.setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 243753b0ff3bdb2147ad94599420aa0cabdca3ab..6f9d92db1f6469e8a99976151faa21ea1f0e7750 100644 (file)
@@ -1,2 +1,2 @@
-                       windowShadeObject[0].setValue([name: "windowShade", value: "someValue", deviceId: "windowShadeID0", descriptionText: "",
+                       windowShadeObject.setValue([name: "windowShade", value: "someValue", deviceId: "windowShadeID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])