X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Location%2FLocationVar.groovy;h=d006c4e70cdce141529b8038f1c1e838134f2346;hb=6da0a8cedec52b542e0d5046632ae1c166e260cf;hp=ca20cff63e615262e02dbc1eed6704091554911b;hpb=9ac27982aa19afa3bd3256ff9afea26ba1abc3ac;p=smartthings-infrastructure.git diff --git a/Location/LocationVar.groovy b/Location/LocationVar.groovy index ca20cff..d006c4e 100644 --- a/Location/LocationVar.groovy +++ b/Location/LocationVar.groovy @@ -10,8 +10,9 @@ class LocationVar { private String name private List contacts private List phoneNumbers + private String temperatureScale def sendEvent - + private Phrase helloHome LocationVar(Closure sendEvent) { @@ -25,6 +26,7 @@ class LocationVar { this.sendEvent = sendEvent this.timeZone = TimeZone.getTimeZone("America/New_York") this.name = "hub0" + this.temperatureScale = "F" } //By Model Checker