FitFieldDimension

@propertyWrapper
final public class FitFieldDimension<U> : FieldWrapper where U : Dimension

FitFieldUnit

Properpty Wrapper for Standard FIT Fields wrapped in a Measurement<Dimension>

  • Undocumented

    Declaration

    Swift

    public typealias Value = Measurement<U>
  • Base Type

    Declaration

    Swift

    private(set) public var base: BaseTypeData { get }
  • Field Number

    Declaration

    Swift

    private(set) public var fieldNumber: UInt8 { get }
  • Unit Type

    Declaration

    Swift

    private(set) public var unitType: U { get }
  • Wrapped Value

    Declaration

    Swift

    public var wrappedValue: Value? { get set }
  • Projected Value

    Declaration

    Swift

    public var projectedValue: FitFieldDimension<U> { get }
  • Undocumented

    Declaration

    Swift

    public init(base: BaseTypeData, fieldNumber: UInt8, unit: U)