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 1b951e0..7483f2e 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 6f470ed..8d57d89 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 aee8917..9dd3d20 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 b8eef4b..1409566 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 200cafe..2efdb03 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 95b897f..8cc4aae 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 a0d49e5..f45cdf6 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 d700291..4c5e8fc 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 418c796..410608a 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 293302c..98788aa 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 5422153..b69daee 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 95e1420..29994fd 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 4ea2307..07c36d6 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 243753b..6f9d92d 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"}'])