X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=SmokeDetector%2FSmokeDetectors.groovy;h=2c09a20b43326b9a933dacf4634601733bd742f3;hp=1bcb95a62415b7dc1b737ab284d6e69795e5ff1b;hb=84ff0e56ddbcdad6ab216f25a9102e58e3f80a88;hpb=80926f3aabeeeebd4eaf401a1bdff8d51cdbbb9d;ds=sidebyside diff --git a/SmokeDetector/SmokeDetectors.groovy b/SmokeDetector/SmokeDetectors.groovy index 1bcb95a..2c09a20 100644 --- a/SmokeDetector/SmokeDetectors.groovy +++ b/SmokeDetector/SmokeDetectors.groovy @@ -54,7 +54,7 @@ public class SmokeDetectors { this.carbonMonoxideLatestValue = "tested" } }*/ - smokeDetectors.add(new SmokeDetector(id, label, displayName, this.currentSmokeValue, this.smokeLatestValue, this.carbonMonoxideValue, this.batteryValue)) + smokeDetectors.add(new SmokeDetector(id, label, displayName, this.currentSmokeValue, this.smokeLatestValue, this.carbonMonoxide, this.carbonMonoxideLatestValue, this.battery)) } //By Model Checker