fix upload without enact
This commit is contained in:
parent
88ac01f58d
commit
3d16e874ad
|
@ -375,18 +375,17 @@ import info.nightscout.androidaps.Services.Intents;
|
||||||
|
|
||||||
public class DeviceStatus {
|
public class DeviceStatus {
|
||||||
private static Logger log = LoggerFactory.getLogger(DeviceStatus.class);
|
private static Logger log = LoggerFactory.getLogger(DeviceStatus.class);
|
||||||
public static DeviceStatus deviceStatus;
|
|
||||||
|
|
||||||
public static String device = null;
|
public String device = null;
|
||||||
public static JSONObject pump = null;
|
public JSONObject pump = null;
|
||||||
public static JSONObject enacted = null;
|
public JSONObject enacted = null;
|
||||||
public static JSONObject suggested = null;
|
public JSONObject suggested = null;
|
||||||
public static JSONObject iob = null;
|
public JSONObject iob = null;
|
||||||
public static String created_at = null;
|
public String created_at = null;
|
||||||
|
|
||||||
public static JSONObject lowsuspend = null;
|
public JSONObject lowsuspend = null;
|
||||||
|
|
||||||
public static JSONObject mongoRecord () {
|
public JSONObject mongoRecord () {
|
||||||
JSONObject record = new JSONObject();
|
JSONObject record = new JSONObject();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -277,7 +277,7 @@ public class LoopFragment extends Fragment implements View.OnClickListener, Plug
|
||||||
lastRun.request = result;
|
lastRun.request = result;
|
||||||
lastRun.constraintsProcessed = resultAfterConstraints;
|
lastRun.constraintsProcessed = resultAfterConstraints;
|
||||||
lastRun.setByPump = null;
|
lastRun.setByPump = null;
|
||||||
lastRun.source = null;
|
lastRun.source = ((PluginBase) usedAPS).getName();
|
||||||
lastRun.lastAPSRun = new Date();
|
lastRun.lastAPSRun = new Date();
|
||||||
}
|
}
|
||||||
updateGUI();
|
updateGUI();
|
||||||
|
|
Loading…
Reference in a new issue