Adjusting the compiler to generate stubs and skeletons with the correct package and...
[iot2.git] / localconfig / iotpolicy / EspAlarm / espalarm.pol
diff --git a/localconfig/iotpolicy/EspAlarm/espalarm.pol b/localconfig/iotpolicy/EspAlarm/espalarm.pol
deleted file mode 100644 (file)
index ce7742f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-public interface Alarm {
-
-       public void init();
-       public void setZone(int _zone, boolean _onOff, int _onDurationSeconds);
-       public List<ZoneState> getZoneStates();
-       public int getNumberOfZones();
-       public boolean doesHaveZoneTimers();
-
-       capability Initialize {
-               description = "Initialize object";
-               method = "init()";
-       }
-
-       capability Zone {
-               description = "Manage zones";
-               method = "setZone(int _zone, boolean _onOff, int _onDurationSeconds)";
-               method = "getZoneStates()";
-               method = "getNumberOfZones()";
-               method = "doesHaveZoneTimers()";
-       }
-
-       struct ZoneState {
-               int zoneNumber;
-               boolean onOffState;
-               int duration;
-       }
-}
-
-