AndroidAPS/app/src/main/java/info/nightscout/androidaps/Config.java

25 lines
860 B
Java
Raw Normal View History

package info.nightscout.androidaps;
2016-06-07 21:48:17 +02:00
/**
* Created by mike on 07.06.2016.
*/
public class Config {
2017-12-01 22:51:25 +01:00
public static int SUPPORTEDNSVERSION = 1002; // 0.10.00
2018-08-07 21:45:35 +02:00
public static final boolean APS = BuildConfig.FLAVOR.equals("full");
2018-08-07 21:45:35 +02:00
public static final boolean NSCLIENT = BuildConfig.FLAVOR.equals("nsclient") || BuildConfig.FLAVOR.equals("nsclient2");
public static final boolean PUMPCONTROL = BuildConfig.FLAVOR.equals("pumpcontrol");
2016-07-13 15:56:27 +02:00
2018-08-07 21:45:35 +02:00
public static final boolean PUMPDRIVERS = BuildConfig.FLAVOR.equals("full") || BuildConfig.FLAVOR.equals("pumpcontrol");
2017-02-23 20:00:33 +01:00
2018-08-07 21:45:35 +02:00
public static final boolean ACTION = !NSCLIENT;
public static final boolean MDI = !NSCLIENT;
public static final boolean OTHERPROFILES = !NSCLIENT;
public static final boolean SAFETY = !NSCLIENT;
public static final boolean SMSCOMMUNICATORENABLED = !NSCLIENT;
2017-02-23 20:00:33 +01:00
2016-06-07 21:48:17 +02:00
}