     case Always = "always"
     case Noise = "noise"
 }
+
+/*
+enum Device: String {
+    case dexcom = "dexcom"
+    case share2 = "share2"
+}
+*/
 
 struct Threshold {
     let bg_high: Int

    let alarmHigh: Bool
    let alarmLow: Bool
    let alarmTimeAgoUrgent: Bool
    let alarmTimeAgoUrgentMins: Int
    let alarmTimeAgoWarn: Bool
    let alarmTimeAgoWarnMins: Int
    let alarmUrgentHigh: Bool
    let alarmUrgentLow: Bool
}

                                            let aHigh = defaultsDictionary[ConfigurationPropertyKey.alarmHighKey] as! Bool
                                            let aLow = defaultsDictionary[ConfigurationPropertyKey.alarmLowKey] as! Bool
                                            let aTAU = defaultsDictionary[ConfigurationPropertyKey.alarmTimeAgoUrgentKey] as! Bool
                                            let aTAUMDouble = defaultsDictionary[ConfigurationPropertyKey.alarmTimeAgoUrgentMinsKey] as! Double
                                            let aTAUMin: NSTimeInterval = aTAUMDouble
                                            
                                            let aTAW = defaultsDictionary[ConfigurationPropertyKey.alarmTimeAgoWarnKey] as! Bool
                                            let aTAWMDouble = defaultsDictionary[ConfigurationPropertyKey.alarmTimeAgoWarnMinsKey] as! Double
                                            let aTAWMin: NSTimeInterval = aTAWMDouble
                                            let aTUH = defaultsDictionary[ConfigurationPropertyKey.alarmUrgentHighKey] as! Bool
                                            let aTUL = defaultsDictionary[ConfigurationPropertyKey.alarmUrgentLowKey] as! Bool
                                            
