PumpStatus.swift 190 B

123456789101112
  1. struct PumpStatus: JSON {
  2. let status: StatusType
  3. let bolusing: Bool
  4. let suspended: Bool
  5. }
  6. enum StatusType: String, JSON {
  7. case normal
  8. case suspended
  9. case bolusing
  10. }