f569163d19
* origin/dev2: (26 commits) add getPreferenceId to food plugin preferences update use DateUtil#agoString use DateUtil#untilString timeframe strings Show remaining time of TT NSTreatments NPE fix Cleanup. Revert "Debug: wider thread column in log to improve readability." Disable event logging by default. Log summary after 10s, then every 60s. Log receivers of event. Log source of event. Debug: wider thread column in log to improve readability. Better log messages for events. Group events in type hierarchy related to the LoopPlugin. Remove dead NSPingAck class. Let event classes extend Event(UpdageGui) classes. Add base event class. Log posted events. ...
45 lines
1.8 KiB
Java
45 lines
1.8 KiB
Java
package info.nightscout.androidaps;
|
|
|
|
/**
|
|
* Created by mike on 07.06.2016.
|
|
*/
|
|
public class Config {
|
|
public static int SUPPORTEDNSVERSION = 1000; // 0.10.00
|
|
|
|
// MAIN FUCTIONALITY
|
|
public static final boolean APS = BuildConfig.APS;
|
|
// PLUGINS
|
|
public static final boolean NSCLIENT = BuildConfig.NSCLIENTOLNY;
|
|
|
|
public static final boolean COMBO = true && BuildConfig.PUMPDRIVERS;
|
|
public static final boolean DANAR = true && BuildConfig.PUMPDRIVERS;
|
|
|
|
public static final boolean ACTION = !BuildConfig.NSCLIENTOLNY;
|
|
public static final boolean VIRTUALPUMP = !BuildConfig.NSCLIENTOLNY;
|
|
public static final boolean MDI = !BuildConfig.NSCLIENTOLNY;
|
|
public static final boolean OTHERPROFILES = !BuildConfig.NSCLIENTOLNY;
|
|
public static final boolean SAFETY = !BuildConfig.NSCLIENTOLNY;
|
|
|
|
public static final boolean SMSCOMMUNICATORENABLED = !BuildConfig.NSCLIENTOLNY;
|
|
|
|
|
|
public static final boolean detailedLog = true;
|
|
public static final boolean logFunctionCalls = true;
|
|
public static final boolean logIncommingData = true;
|
|
public static final boolean logAPSResult = true;
|
|
public static final boolean logPumpComm = true;
|
|
public static final boolean logPrefsChange = true;
|
|
public static final boolean logConfigBuilder = true;
|
|
public static final boolean logConstraintsChanges = true;
|
|
public static final boolean logNSUpload = true;
|
|
public static final boolean logPumpActions = true;
|
|
public static final boolean logCongigBuilderActions = true;
|
|
public static final boolean logAutosensData = false;
|
|
public static final boolean logEvents = false;
|
|
|
|
// DanaR specific
|
|
public static final boolean logDanaBTComm = true;
|
|
public static boolean logDanaMessageDetail = true;
|
|
public static final boolean logDanaSerialEngine = true;
|
|
}
|