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

26 lines
869 B
Java
Raw Normal View History

2016-06-07 21:48:17 +02:00
package info.nightscout.androidaps;
2016-06-26 11:43:26 +02:00
import com.j256.ormlite.stmt.query.In;
2016-06-07 21:48:17 +02:00
/**
* Created by mike on 07.06.2016.
*/
public class Constants {
public static final String MGDL = "mg/dl"; // This is Nightscout representation
public static final String MMOL = "mmol";
public static final double MMOLL_TO_MGDL = 18; // 18.0182;
2016-06-07 21:48:17 +02:00
public static final double MGDL_TO_MMOLL = 1 / MMOLL_TO_MGDL;
public static final double basalAbsoluteOnlyForCheckLimit = 10101010d;
public static final Integer basalPercentOnlyForCheckLimit = 10101010;
2016-06-28 11:19:27 +02:00
public static final double bolusOnlyForCheckLimit = 10101010d;
public static final Integer carbsOnlyForCheckLimit = 10101010;
2016-06-26 11:43:26 +02:00
public static final Integer notificationID = 556677;
public static final int hoursToKeepInDatabase = 24;
2016-07-07 00:56:31 +02:00
public static final long keepAliveMsecs = 30 * 60 * 1000L;
2016-06-07 21:48:17 +02:00
}