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 {
|
||||
private static Logger log = LoggerFactory.getLogger(DeviceStatus.class);
|
||||
public static DeviceStatus deviceStatus;
|
||||
|
||||
public static String device = null;
|
||||
public static JSONObject pump = null;
|
||||
public static JSONObject enacted = null;
|
||||
public static JSONObject suggested = null;
|
||||
public static JSONObject iob = null;
|
||||
public static String created_at = null;
|
||||
public String device = null;
|
||||
public JSONObject pump = null;
|
||||
public JSONObject enacted = null;
|
||||
public JSONObject suggested = null;
|
||||
public JSONObject iob = 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();
|
||||
|
||||
try {
|
||||
|
|
|
@ -277,7 +277,7 @@ public class LoopFragment extends Fragment implements View.OnClickListener, Plug
|
|||
lastRun.request = result;
|
||||
lastRun.constraintsProcessed = resultAfterConstraints;
|
||||
lastRun.setByPump = null;
|
||||
lastRun.source = null;
|
||||
lastRun.source = ((PluginBase) usedAPS).getName();
|
||||
lastRun.lastAPSRun = new Date();
|
||||
}
|
||||
updateGUI();
|
||||
|
|
Loading…
Reference in a new issue