FitFieldUnit
@propertyWrapper
final public class FitFieldUnit<U> : FieldWrapper where U : Unit
FitFieldUnit
Properpty Wrapper for Standard FIT Fields wrapped in a Measurement<Unit>
-
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: FitFieldUnit<U> { get }
-
Undocumented
Declaration
Swift
public init(base: BaseTypeData, fieldNumber: UInt8, unit: U)