private static ActualNmeaValueType Value2ActualType(NmeaValueType t) { switch (t) { case NmeaValueType.Double: return(ActualNmeaValueType.Double); case NmeaValueType.Time: return(ActualNmeaValueType.Time); case NmeaValueType.Integer: return(ActualNmeaValueType.Integer); case NmeaValueType.GeoDegrees: return(ActualNmeaValueType.Double); case NmeaValueType.Enum: return(ActualNmeaValueType.Char); case NmeaValueType.Speed: return(ActualNmeaValueType.Double); case NmeaValueType.Degrees: return(ActualNmeaValueType.Double); case NmeaValueType.Date: return(ActualNmeaValueType.Date); } return(ActualNmeaValueType.Other); }
public NmeaField(NmeaValueType nmeaValueType) { _nmeaValueType = nmeaValueType; }
private static ActualNmeaValueType Value2ActualType(NmeaValueType t) { switch (t) { case NmeaValueType.Double: return ActualNmeaValueType.Double; case NmeaValueType.Time: return ActualNmeaValueType.Time; case NmeaValueType.Integer: return ActualNmeaValueType.Integer; case NmeaValueType.GeoDegrees: return ActualNmeaValueType.Double; case NmeaValueType.Enum: return ActualNmeaValueType.Char; case NmeaValueType.Speed: return ActualNmeaValueType.Double; case NmeaValueType.Degrees: return ActualNmeaValueType.Double; case NmeaValueType.Date: return ActualNmeaValueType.Date; } return ActualNmeaValueType.Other; }