| 12345678910111213141516171819202122 |
- //
- // AutomaticDoseRecommendation.swift
- // LoopKit
- //
- // Created by Pete Schwamb on 1/16/21.
- // Copyright © 2021 LoopKit Authors. All rights reserved.
- //
- import Foundation
- public struct AutomaticDoseRecommendation: Equatable {
- public let basalAdjustment: TempBasalRecommendation?
- public let bolusUnits: Double?
-
- public init(basalAdjustment: TempBasalRecommendation?, bolusUnits: Double? = nil) {
- self.basalAdjustment = basalAdjustment
- self.bolusUnits = bolusUnits
- }
- }
- extension AutomaticDoseRecommendation: Codable {}
|