This commit is contained in:
Milos Kozak 2016-06-24 18:33:34 +02:00
parent 7322078c0a
commit 88ac01f58d

View file

@ -919,7 +919,7 @@ public class ConfigBuilderFragment extends Fragment implements PluginBase, PumpI
deviceStatus.enacted = lastRun.request.json(); deviceStatus.enacted = lastRun.request.json();
deviceStatus.enacted.put("rate", lastRun.setByPump.json().get("rate")); deviceStatus.enacted.put("rate", lastRun.setByPump.json().get("rate"));
deviceStatus.enacted.put("duration", lastRun.setByPump.json().get("duration")); deviceStatus.enacted.put("duration", lastRun.setByPump.json().get("duration"));
deviceStatus.enacted.put("received", true); deviceStatus.enacted.put("recieved", true);
JSONObject requested = new JSONObject(); JSONObject requested = new JSONObject();
requested.put("duration", lastRun.request.duration); requested.put("duration", lastRun.request.duration);
requested.put("rate", lastRun.request.rate); requested.put("rate", lastRun.request.rate);