Procházet zdrojové kódy

Keep ISF in suggestion.swift

Jon B.M před 4 roky
rodič
revize
ef441db46e
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      FreeAPS/Sources/Models/Suggestion.swift

+ 2 - 0
FreeAPS/Sources/Models/Suggestion.swift

@@ -16,6 +16,7 @@ struct Suggestion: JSON, Equatable {
     let temp: TempType?
     let bg: Decimal?
     let reservoir: Decimal?
+    let isf: Decimal?
     var timestamp: Date?
     var recieved: Bool?
 }
@@ -46,6 +47,7 @@ extension Suggestion {
         case reservoir
         case timestamp
         case recieved
+        case isf = "ISF"
     }
 }