Fixed compiler for Java code generation (not heavily tested yet, but fixes include...
[iot2.git] / benchmarks / interfaces / SprinklerSmart.java
1 package iotcode.interfaces;
2
3 import java.util.List;
4 import java.util.ArrayList;
5
6 public interface SprinklerSmart {
7
8         public boolean doesHaveZoneTimers();
9         public List<ZoneState> getZoneStates();
10         public void init();
11         public void setZone(int _zone, boolean _onOff, int _onDurationSeconds);
12         public int getNumberOfZones();
13 }