Cleaning up benchmarks and drivers code.
[iot2.git] / benchmarks / drivers / Java / EspAlarm / EspAlarm.java
index a162ed93698527e8fb01f4cfd066d345f8d75297..484e71ea3563f3309940b745f9c08885da8ca587 100644 (file)
@@ -18,8 +18,6 @@ import iotruntime.slave.IoTDeviceAddress;
 import iotruntime.slave.IoTSet;
 import iotcode.interfaces.ZoneState;
 import iotcode.interfaces.Alarm;
-
-//import iotchecker.qual.*;
 import iotcode.annotation.*;
 
 /** Class EspAlarm for the ESP8266 plrg Alarm.
@@ -64,7 +62,8 @@ public class EspAlarm implements Alarm {
        // Will be filled with only 1 address.
        @config private IoTSet<IoTDeviceAddress> alm_Addresses;
 
-       /*public EspSprinkler(IoTUDP _udp) {
+       /* TODO: Use this constructor to test this driver manually
+       public EspSprinkler(IoTUDP _udp) {
                communicationSockect = _udp;
        }*/
 
@@ -271,7 +270,6 @@ public class EspAlarm implements Alarm {
                        boolean onOff = onOffInt != 0;
                        int duration = Integer.parseInt(splitSting[2].trim());
 
-                       //ZoneState zTmp = new ZoneState(zoneNum, onOff, duration);
                        ZoneState zTmp = new ZoneState();
                        zTmp.zoneNumber = zoneNum;
                        zTmp.onOffState = onOff;