InformationBarEntryData.swift 377 B

12345678910111213141516
  1. import Foundation
  2. public struct InformationBarEntryData: Identifiable, Hashable {
  3. public init(id: UUID = UUID(), label: String, type: APSDataTypes, value: Double) {
  4. self.id = id
  5. self.label = label
  6. self.value = value
  7. self.type = type
  8. }
  9. public var id = UUID()
  10. let label: String
  11. let value: Double
  12. let type: APSDataTypes
  13. }