PumpSupportedIncrements.swift 566 B

12345678910111213141516171819
  1. //
  2. // PumpSupportedIncrements.swift
  3. // LoopKitUI
  4. //
  5. // Created by Rick Pasetto on 7/16/20.
  6. // Copyright © 2020 LoopKit Authors. All rights reserved.
  7. //
  8. public struct PumpSupportedIncrements {
  9. let basalRates: [Double]
  10. let bolusVolumes: [Double]
  11. let maximumBasalScheduleEntryCount: Int
  12. public init(basalRates: [Double], bolusVolumes: [Double], maximumBasalScheduleEntryCount: Int) {
  13. self.basalRates = basalRates
  14. self.bolusVolumes = bolusVolumes
  15. self.maximumBasalScheduleEntryCount = maximumBasalScheduleEntryCount
  16. }
  17. }