2019-07-28 14:16:27 +02:00
|
|
|
/// constants typically for master mode
|
|
|
|
enum ConstantsMaster {
|
|
|
|
|
|
|
|
/// maximum age in seconds, of reading in alert flow. If age of latest reading is more than this number, then no alert check will be done
|
2019-10-19 11:58:52 +02:00
|
|
|
static let maximumBgReadingAgeForAlertsInSeconds = 240.0
|
2023-01-08 10:42:11 +01:00
|
|
|
|
2023-02-07 19:39:16 +01:00
|
|
|
// minimum sensor warm-up time required for all transmitters/sensors before allowing the app to process a BG reading
|
|
|
|
// this will only be relevant for active sensors that hold a sensorAge value
|
|
|
|
|
|
|
|
/// warm-up time considered for all sensors/transmitters after starting (enforced globally by the app)
|
2023-01-08 10:42:11 +01:00
|
|
|
static let minimumSensorWarmUpRequiredInMinutes = 45.0
|
|
|
|
|
2023-02-07 19:39:16 +01:00
|
|
|
/// warm-up time enfoced by the Dexcom G6 transmitter. In this case, this will actually only be used for the UI to show when the sensor is reading.
|
|
|
|
static let minimumSensorWarmUpRequiredInMinutesDexcomG5G6 = 120.0
|
|
|
|
|
2019-07-28 14:16:27 +02:00
|
|
|
}
|