Documentation
¶
Overview ¶
Package pgn converts NMEA 2000 messages to strongly typed Go data. It provides PGN structs, payload encode/decode methods, and field metadata.
Index ¶
- Variables
- func DebugDumpPGN(p any) string
- func EncodeMessage(msg Message) ([]byte, error)
- func GetProprietaryInfo(data []uint8) (ManufacturerCodeConst, IndustryCodeConst, error)
- func IsProprietaryPGN(pgn uint32) bool
- func PhysicalValue(msg PGN, fieldOrder int) (float64, string, bool, error)
- func Priority(v uint8) *uint8
- func SearchUnseenList(pgn uint32) bool
- func Target(v uint8) *uint8
- type AcInputStatus
- type AcInputStatusRepeating1
- func (m *AcInputStatusRepeating1) BreakerSizeValue() (float64, bool)
- func (m *AcInputStatusRepeating1) CurrentValue() (float64, bool)
- func (m *AcInputStatusRepeating1) FrequencyValue() (float64, bool)
- func (m *AcInputStatusRepeating1) PowerFactorValue() (float64, bool)
- func (m *AcInputStatusRepeating1) ReactivePowerValue() (float64, bool)
- func (m *AcInputStatusRepeating1) RealPowerValue() (float64, bool)
- func (m *AcInputStatusRepeating1) SetBreakerSizeValue(v float64)
- func (m *AcInputStatusRepeating1) SetCurrentValue(v float64)
- func (m *AcInputStatusRepeating1) SetFrequencyValue(v float64)
- func (m *AcInputStatusRepeating1) SetPowerFactorValue(v float64)
- func (m *AcInputStatusRepeating1) SetReactivePowerValue(v float64)
- func (m *AcInputStatusRepeating1) SetRealPowerValue(v float64)
- func (m *AcInputStatusRepeating1) SetVoltageValue(v float64)
- func (m *AcInputStatusRepeating1) VoltageValue() (float64, bool)
- type AcOutputStatus
- type AcOutputStatusRepeating1
- func (m *AcOutputStatusRepeating1) BreakerSizeValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) CurrentValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) FrequencyValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) PowerFactorValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) ReactivePowerValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) RealPowerValue() (float64, bool)
- func (m *AcOutputStatusRepeating1) SetBreakerSizeValue(v float64)
- func (m *AcOutputStatusRepeating1) SetCurrentValue(v float64)
- func (m *AcOutputStatusRepeating1) SetFrequencyValue(v float64)
- func (m *AcOutputStatusRepeating1) SetPowerFactorValue(v float64)
- func (m *AcOutputStatusRepeating1) SetReactivePowerValue(v float64)
- func (m *AcOutputStatusRepeating1) SetRealPowerValue(v float64)
- func (m *AcOutputStatusRepeating1) SetVoltageValue(v float64)
- func (m *AcOutputStatusRepeating1) VoltageValue() (float64, bool)
- type AcPowerCurrentPhaseA
- func (m *AcPowerCurrentPhaseA) AcRmsCurrentValue() (float64, bool)
- func (m *AcPowerCurrentPhaseA) DecodePayload(payload []uint8) error
- func (m *AcPowerCurrentPhaseA) EncodePayload() ([]uint8, error)
- func (m *AcPowerCurrentPhaseA) MessageInfo() MessageInfo
- func (m *AcPowerCurrentPhaseA) PGNNumber() uint32
- func (m *AcPowerCurrentPhaseA) PowerValue() (float64, bool)
- func (m *AcPowerCurrentPhaseA) SetAcRmsCurrentValue(v float64)
- func (m *AcPowerCurrentPhaseA) SetMessageInfo(info MessageInfo)
- func (m *AcPowerCurrentPhaseA) SetPowerValue(v float64)
- type AcPowerCurrentPhaseB
- func (m *AcPowerCurrentPhaseB) AcRmsCurrentValue() (float64, bool)
- func (m *AcPowerCurrentPhaseB) DecodePayload(payload []uint8) error
- func (m *AcPowerCurrentPhaseB) EncodePayload() ([]uint8, error)
- func (m *AcPowerCurrentPhaseB) MessageInfo() MessageInfo
- func (m *AcPowerCurrentPhaseB) PGNNumber() uint32
- func (m *AcPowerCurrentPhaseB) PowerValue() (float64, bool)
- func (m *AcPowerCurrentPhaseB) SetAcRmsCurrentValue(v float64)
- func (m *AcPowerCurrentPhaseB) SetMessageInfo(info MessageInfo)
- func (m *AcPowerCurrentPhaseB) SetPowerValue(v float64)
- type AcPowerCurrentPhaseC
- func (m *AcPowerCurrentPhaseC) AcRmsCurrentValue() (float64, bool)
- func (m *AcPowerCurrentPhaseC) DecodePayload(payload []uint8) error
- func (m *AcPowerCurrentPhaseC) EncodePayload() ([]uint8, error)
- func (m *AcPowerCurrentPhaseC) MessageInfo() MessageInfo
- func (m *AcPowerCurrentPhaseC) PGNNumber() uint32
- func (m *AcPowerCurrentPhaseC) PowerValue() (float64, bool)
- func (m *AcPowerCurrentPhaseC) SetAcRmsCurrentValue(v float64)
- func (m *AcPowerCurrentPhaseC) SetMessageInfo(info MessageInfo)
- func (m *AcPowerCurrentPhaseC) SetPowerValue(v float64)
- type AcVoltageFrequencyPhaseA
- func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToLineValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToNeutralValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseA) DecodePayload(payload []uint8) error
- func (m *AcVoltageFrequencyPhaseA) EncodePayload() ([]uint8, error)
- func (m *AcVoltageFrequencyPhaseA) FrequencyValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseA) MessageInfo() MessageInfo
- func (m *AcVoltageFrequencyPhaseA) PGNNumber() uint32
- func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToLineValue(v float64)
- func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToNeutralValue(v float64)
- func (m *AcVoltageFrequencyPhaseA) SetFrequencyValue(v float64)
- func (m *AcVoltageFrequencyPhaseA) SetMessageInfo(info MessageInfo)
- type AcVoltageFrequencyPhaseB
- func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToLineValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToNeutralValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseB) DecodePayload(payload []uint8) error
- func (m *AcVoltageFrequencyPhaseB) EncodePayload() ([]uint8, error)
- func (m *AcVoltageFrequencyPhaseB) FrequencyValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseB) MessageInfo() MessageInfo
- func (m *AcVoltageFrequencyPhaseB) PGNNumber() uint32
- func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToLineValue(v float64)
- func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToNeutralValue(v float64)
- func (m *AcVoltageFrequencyPhaseB) SetFrequencyValue(v float64)
- func (m *AcVoltageFrequencyPhaseB) SetMessageInfo(info MessageInfo)
- type AcVoltageFrequencyPhaseC
- func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToLineValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToNeutralValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseC) DecodePayload(payload []uint8) error
- func (m *AcVoltageFrequencyPhaseC) EncodePayload() ([]uint8, error)
- func (m *AcVoltageFrequencyPhaseC) FrequencyValue() (float64, bool)
- func (m *AcVoltageFrequencyPhaseC) MessageInfo() MessageInfo
- func (m *AcVoltageFrequencyPhaseC) PGNNumber() uint32
- func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToLineValue(v float64)
- func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToNeutralValue(v float64)
- func (m *AcVoltageFrequencyPhaseC) SetFrequencyValue(v float64)
- func (m *AcVoltageFrequencyPhaseC) SetMessageInfo(info MessageInfo)
- type AcceptabilityConst
- type AccessLevelConst
- type ActualPressure
- func (m *ActualPressure) DecodePayload(payload []uint8) error
- func (m *ActualPressure) EncodePayload() ([]uint8, error)
- func (m *ActualPressure) MessageInfo() MessageInfo
- func (m *ActualPressure) PGNNumber() uint32
- func (m *ActualPressure) PressureValue() (float64, bool)
- func (m *ActualPressure) SetMessageInfo(info MessageInfo)
- func (m *ActualPressure) SetPressureValue(v float64)
- type AgsConfigurationStatus
- func (m *AgsConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *AgsConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *AgsConfigurationStatus) MessageInfo() MessageInfo
- func (m *AgsConfigurationStatus) PGNNumber() uint32
- func (m *AgsConfigurationStatus) SetMessageInfo(info MessageInfo)
- type AgsStatus
- type AirmarAccessLevel
- type AirmarAdditionalWeatherData
- func (m *AirmarAdditionalWeatherData) ApparentWindchillTemperatureValue() (float64, bool)
- func (m *AirmarAdditionalWeatherData) DecodePayload(payload []uint8) error
- func (m *AirmarAdditionalWeatherData) DewpointValue() (float64, bool)
- func (m *AirmarAdditionalWeatherData) EncodePayload() ([]uint8, error)
- func (m *AirmarAdditionalWeatherData) MessageInfo() MessageInfo
- func (m *AirmarAdditionalWeatherData) PGNNumber() uint32
- func (m *AirmarAdditionalWeatherData) SetApparentWindchillTemperatureValue(v float64)
- func (m *AirmarAdditionalWeatherData) SetDewpointValue(v float64)
- func (m *AirmarAdditionalWeatherData) SetMessageInfo(info MessageInfo)
- func (m *AirmarAdditionalWeatherData) SetTrueWindchillTemperatureValue(v float64)
- func (m *AirmarAdditionalWeatherData) TrueWindchillTemperatureValue() (float64, bool)
- type AirmarAddressableMultiFrame
- func (m *AirmarAddressableMultiFrame) DecodePayload(payload []uint8) error
- func (m *AirmarAddressableMultiFrame) EncodePayload() ([]uint8, error)
- func (m *AirmarAddressableMultiFrame) MessageInfo() MessageInfo
- func (m *AirmarAddressableMultiFrame) PGNNumber() uint32
- func (m *AirmarAddressableMultiFrame) SetMessageInfo(info MessageInfo)
- type AirmarAttitudeOffset
- func (m *AirmarAttitudeOffset) AzimuthOffsetValue() (float64, bool)
- func (m *AirmarAttitudeOffset) DecodePayload(payload []uint8) error
- func (m *AirmarAttitudeOffset) EncodePayload() ([]uint8, error)
- func (m *AirmarAttitudeOffset) MessageInfo() MessageInfo
- func (m *AirmarAttitudeOffset) PGNNumber() uint32
- func (m *AirmarAttitudeOffset) PitchOffsetValue() (float64, bool)
- func (m *AirmarAttitudeOffset) RollOffsetValue() (float64, bool)
- func (m *AirmarAttitudeOffset) SetAzimuthOffsetValue(v float64)
- func (m *AirmarAttitudeOffset) SetMessageInfo(info MessageInfo)
- func (m *AirmarAttitudeOffset) SetPitchOffsetValue(v float64)
- func (m *AirmarAttitudeOffset) SetRollOffsetValue(v float64)
- type AirmarBootStateAcknowledgment
- func (m *AirmarBootStateAcknowledgment) DecodePayload(payload []uint8) error
- func (m *AirmarBootStateAcknowledgment) EncodePayload() ([]uint8, error)
- func (m *AirmarBootStateAcknowledgment) MessageInfo() MessageInfo
- func (m *AirmarBootStateAcknowledgment) PGNNumber() uint32
- func (m *AirmarBootStateAcknowledgment) SetMessageInfo(info MessageInfo)
- type AirmarBootStateRequest
- func (m *AirmarBootStateRequest) DecodePayload(payload []uint8) error
- func (m *AirmarBootStateRequest) EncodePayload() ([]uint8, error)
- func (m *AirmarBootStateRequest) MessageInfo() MessageInfo
- func (m *AirmarBootStateRequest) PGNNumber() uint32
- func (m *AirmarBootStateRequest) SetMessageInfo(info MessageInfo)
- type AirmarCalibrateCompass
- func (m *AirmarCalibrateCompass) CompassRateGyroDampingValue() (float64, bool)
- func (m *AirmarCalibrateCompass) DecodePayload(payload []uint8) error
- func (m *AirmarCalibrateCompass) EncodePayload() ([]uint8, error)
- func (m *AirmarCalibrateCompass) MessageInfo() MessageInfo
- func (m *AirmarCalibrateCompass) PGNNumber() uint32
- func (m *AirmarCalibrateCompass) PitchAndRollDampingValue() (float64, bool)
- func (m *AirmarCalibrateCompass) SetCompassRateGyroDampingValue(v float64)
- func (m *AirmarCalibrateCompass) SetMessageInfo(info MessageInfo)
- func (m *AirmarCalibrateCompass) SetPitchAndRollDampingValue(v float64)
- func (m *AirmarCalibrateCompass) SetXAxisAngularOffsetValue(v float64)
- func (m *AirmarCalibrateCompass) SetXAxisGainValueValue(v float64)
- func (m *AirmarCalibrateCompass) SetXAxisLinearOffsetValue(v float64)
- func (m *AirmarCalibrateCompass) SetYAxisGainValueValue(v float64)
- func (m *AirmarCalibrateCompass) SetYAxisLinearOffsetValue(v float64)
- func (m *AirmarCalibrateCompass) SetZAxisGainValueValue(v float64)
- func (m *AirmarCalibrateCompass) SetZAxisLinearOffsetValue(v float64)
- func (m *AirmarCalibrateCompass) XAxisAngularOffsetValue() (float64, bool)
- func (m *AirmarCalibrateCompass) XAxisGainValueValue() (float64, bool)
- func (m *AirmarCalibrateCompass) XAxisLinearOffsetValue() (float64, bool)
- func (m *AirmarCalibrateCompass) YAxisGainValueValue() (float64, bool)
- func (m *AirmarCalibrateCompass) YAxisLinearOffsetValue() (float64, bool)
- func (m *AirmarCalibrateCompass) ZAxisGainValueValue() (float64, bool)
- func (m *AirmarCalibrateCompass) ZAxisLinearOffsetValue() (float64, bool)
- type AirmarCalibrateDepth
- func (m *AirmarCalibrateDepth) DecodePayload(payload []uint8) error
- func (m *AirmarCalibrateDepth) EncodePayload() ([]uint8, error)
- func (m *AirmarCalibrateDepth) MessageInfo() MessageInfo
- func (m *AirmarCalibrateDepth) PGNNumber() uint32
- func (m *AirmarCalibrateDepth) SetMessageInfo(info MessageInfo)
- func (m *AirmarCalibrateDepth) SetSpeedOfSoundModeValue(v float64)
- func (m *AirmarCalibrateDepth) SpeedOfSoundModeValue() (float64, bool)
- type AirmarCalibrateFunctionConst
- type AirmarCalibrateSpeed
- func (m *AirmarCalibrateSpeed) DecodePayload(payload []uint8) error
- func (m *AirmarCalibrateSpeed) EncodePayload() ([]uint8, error)
- func (m *AirmarCalibrateSpeed) MessageInfo() MessageInfo
- func (m *AirmarCalibrateSpeed) PGNNumber() uint32
- func (m *AirmarCalibrateSpeed) SetMessageInfo(info MessageInfo)
- type AirmarCalibrateSpeedRepeating1
- func (m *AirmarCalibrateSpeedRepeating1) InputFrequencyValue() (float64, bool)
- func (m *AirmarCalibrateSpeedRepeating1) OutputSpeedValue() (float64, bool)
- func (m *AirmarCalibrateSpeedRepeating1) SetInputFrequencyValue(v float64)
- func (m *AirmarCalibrateSpeedRepeating1) SetOutputSpeedValue(v float64)
- type AirmarCalibrateStatusConst
- type AirmarCalibrateTemperature
- func (m *AirmarCalibrateTemperature) DecodePayload(payload []uint8) error
- func (m *AirmarCalibrateTemperature) EncodePayload() ([]uint8, error)
- func (m *AirmarCalibrateTemperature) MessageInfo() MessageInfo
- func (m *AirmarCalibrateTemperature) PGNNumber() uint32
- func (m *AirmarCalibrateTemperature) SetMessageInfo(info MessageInfo)
- func (m *AirmarCalibrateTemperature) SetTemperatureOffsetValue(v float64)
- func (m *AirmarCalibrateTemperature) TemperatureOffsetValue() (float64, bool)
- type AirmarCommandConst
- type AirmarDepthQualityFactor
- func (m *AirmarDepthQualityFactor) DecodePayload(payload []uint8) error
- func (m *AirmarDepthQualityFactor) EncodePayload() ([]uint8, error)
- func (m *AirmarDepthQualityFactor) MessageInfo() MessageInfo
- func (m *AirmarDepthQualityFactor) PGNNumber() uint32
- func (m *AirmarDepthQualityFactor) SetMessageInfo(info MessageInfo)
- type AirmarDepthQualityFactorConst
- type AirmarDeviceInformation
- func (m *AirmarDeviceInformation) DecodePayload(payload []uint8) error
- func (m *AirmarDeviceInformation) EncodePayload() ([]uint8, error)
- func (m *AirmarDeviceInformation) InternalDeviceTemperatureValue() (float64, bool)
- func (m *AirmarDeviceInformation) MessageInfo() MessageInfo
- func (m *AirmarDeviceInformation) PGNNumber() uint32
- func (m *AirmarDeviceInformation) SetInternalDeviceTemperatureValue(v float64)
- func (m *AirmarDeviceInformation) SetMessageInfo(info MessageInfo)
- func (m *AirmarDeviceInformation) SetSupplyVoltageValue(v float64)
- func (m *AirmarDeviceInformation) SupplyVoltageValue() (float64, bool)
- type AirmarFilterConst
- type AirmarHeaterControl
- func (m *AirmarHeaterControl) AirTemperatureValue() (float64, bool)
- func (m *AirmarHeaterControl) DecodePayload(payload []uint8) error
- func (m *AirmarHeaterControl) DewpointValue() (float64, bool)
- func (m *AirmarHeaterControl) EncodePayload() ([]uint8, error)
- func (m *AirmarHeaterControl) MessageInfo() MessageInfo
- func (m *AirmarHeaterControl) PGNNumber() uint32
- func (m *AirmarHeaterControl) PlateTemperatureValue() (float64, bool)
- func (m *AirmarHeaterControl) SetAirTemperatureValue(v float64)
- func (m *AirmarHeaterControl) SetDewpointValue(v float64)
- func (m *AirmarHeaterControl) SetMessageInfo(info MessageInfo)
- func (m *AirmarHeaterControl) SetPlateTemperatureValue(v float64)
- type AirmarNmea2000Options
- func (m *AirmarNmea2000Options) DecodePayload(payload []uint8) error
- func (m *AirmarNmea2000Options) EncodePayload() ([]uint8, error)
- func (m *AirmarNmea2000Options) MessageInfo() MessageInfo
- func (m *AirmarNmea2000Options) PGNNumber() uint32
- func (m *AirmarNmea2000Options) SetMessageInfo(info MessageInfo)
- type AirmarPost
- type AirmarPostControlConst
- type AirmarPostIdConst
- type AirmarSimulateMode
- type AirmarSpeedFilterIir
- func (m *AirmarSpeedFilterIir) DecodePayload(payload []uint8) error
- func (m *AirmarSpeedFilterIir) EncodePayload() ([]uint8, error)
- func (m *AirmarSpeedFilterIir) FilterDurationValue() (float64, bool)
- func (m *AirmarSpeedFilterIir) MessageInfo() MessageInfo
- func (m *AirmarSpeedFilterIir) PGNNumber() uint32
- func (m *AirmarSpeedFilterIir) SampleIntervalValue() (float64, bool)
- func (m *AirmarSpeedFilterIir) SetFilterDurationValue(v float64)
- func (m *AirmarSpeedFilterIir) SetMessageInfo(info MessageInfo)
- func (m *AirmarSpeedFilterIir) SetSampleIntervalValue(v float64)
- type AirmarSpeedFilterNone
- func (m *AirmarSpeedFilterNone) DecodePayload(payload []uint8) error
- func (m *AirmarSpeedFilterNone) EncodePayload() ([]uint8, error)
- func (m *AirmarSpeedFilterNone) MessageInfo() MessageInfo
- func (m *AirmarSpeedFilterNone) PGNNumber() uint32
- func (m *AirmarSpeedFilterNone) SampleIntervalValue() (float64, bool)
- func (m *AirmarSpeedFilterNone) SetMessageInfo(info MessageInfo)
- func (m *AirmarSpeedFilterNone) SetSampleIntervalValue(v float64)
- type AirmarSpeedPulseCount
- func (m *AirmarSpeedPulseCount) DecodePayload(payload []uint8) error
- func (m *AirmarSpeedPulseCount) DurationOfIntervalValue() (float64, bool)
- func (m *AirmarSpeedPulseCount) EncodePayload() ([]uint8, error)
- func (m *AirmarSpeedPulseCount) MessageInfo() MessageInfo
- func (m *AirmarSpeedPulseCount) PGNNumber() uint32
- func (m *AirmarSpeedPulseCount) SetDurationOfIntervalValue(v float64)
- func (m *AirmarSpeedPulseCount) SetMessageInfo(info MessageInfo)
- type AirmarTemperatureFilterIir
- func (m *AirmarTemperatureFilterIir) DecodePayload(payload []uint8) error
- func (m *AirmarTemperatureFilterIir) EncodePayload() ([]uint8, error)
- func (m *AirmarTemperatureFilterIir) FilterDurationValue() (float64, bool)
- func (m *AirmarTemperatureFilterIir) MessageInfo() MessageInfo
- func (m *AirmarTemperatureFilterIir) PGNNumber() uint32
- func (m *AirmarTemperatureFilterIir) SampleIntervalValue() (float64, bool)
- func (m *AirmarTemperatureFilterIir) SetFilterDurationValue(v float64)
- func (m *AirmarTemperatureFilterIir) SetMessageInfo(info MessageInfo)
- func (m *AirmarTemperatureFilterIir) SetSampleIntervalValue(v float64)
- type AirmarTemperatureFilterNone
- func (m *AirmarTemperatureFilterNone) DecodePayload(payload []uint8) error
- func (m *AirmarTemperatureFilterNone) EncodePayload() ([]uint8, error)
- func (m *AirmarTemperatureFilterNone) MessageInfo() MessageInfo
- func (m *AirmarTemperatureFilterNone) PGNNumber() uint32
- func (m *AirmarTemperatureFilterNone) SampleIntervalValue() (float64, bool)
- func (m *AirmarTemperatureFilterNone) SetMessageInfo(info MessageInfo)
- func (m *AirmarTemperatureFilterNone) SetSampleIntervalValue(v float64)
- type AirmarTemperatureInstanceConst
- type AirmarTransmissionIntervalConst
- type AirmarTrueWindOptions
- func (m *AirmarTrueWindOptions) DecodePayload(payload []uint8) error
- func (m *AirmarTrueWindOptions) EncodePayload() ([]uint8, error)
- func (m *AirmarTrueWindOptions) MessageInfo() MessageInfo
- func (m *AirmarTrueWindOptions) PGNNumber() uint32
- func (m *AirmarTrueWindOptions) SetMessageInfo(info MessageInfo)
- type AisAcknowledge
- type AisAcknowledgeBinary
- func (m *AisAcknowledgeBinary) DecodePayload(payload []uint8) error
- func (m *AisAcknowledgeBinary) EncodePayload() ([]uint8, error)
- func (m *AisAcknowledgeBinary) MessageInfo() MessageInfo
- func (m *AisAcknowledgeBinary) PGNNumber() uint32
- func (m *AisAcknowledgeBinary) SetMessageInfo(info MessageInfo)
- type AisAcknowledgeBinaryRepeating1
- type AisAcknowledgeRepeating1
- type AisAddressedBinaryMessage
- func (m *AisAddressedBinaryMessage) DecodePayload(payload []uint8) error
- func (m *AisAddressedBinaryMessage) EncodePayload() ([]uint8, error)
- func (m *AisAddressedBinaryMessage) MessageInfo() MessageInfo
- func (m *AisAddressedBinaryMessage) PGNNumber() uint32
- func (m *AisAddressedBinaryMessage) SetMessageInfo(info MessageInfo)
- type AisAddressedSafetyRelatedMessage
- func (m *AisAddressedSafetyRelatedMessage) DecodePayload(payload []uint8) error
- func (m *AisAddressedSafetyRelatedMessage) EncodePayload() ([]uint8, error)
- func (m *AisAddressedSafetyRelatedMessage) MessageInfo() MessageInfo
- func (m *AisAddressedSafetyRelatedMessage) PGNNumber() uint32
- func (m *AisAddressedSafetyRelatedMessage) SetMessageInfo(info MessageInfo)
- type AisAidsToNavigationAtonReport
- func (m *AisAidsToNavigationAtonReport) BeamDiameterValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) DecodePayload(payload []uint8) error
- func (m *AisAidsToNavigationAtonReport) EncodePayload() ([]uint8, error)
- func (m *AisAidsToNavigationAtonReport) LatitudeValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) LengthDiameterValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) LongitudeValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) MessageInfo() MessageInfo
- func (m *AisAidsToNavigationAtonReport) PGNNumber() uint32
- func (m *AisAidsToNavigationAtonReport) PositionReferenceFromStarboardEdgeValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) PositionReferenceFromTrueNorthFacingEdgeValue() (float64, bool)
- func (m *AisAidsToNavigationAtonReport) SetBeamDiameterValue(v float64)
- func (m *AisAidsToNavigationAtonReport) SetLatitudeValue(v float64)
- func (m *AisAidsToNavigationAtonReport) SetLengthDiameterValue(v float64)
- func (m *AisAidsToNavigationAtonReport) SetLongitudeValue(v float64)
- func (m *AisAidsToNavigationAtonReport) SetMessageInfo(info MessageInfo)
- func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromStarboardEdgeValue(v float64)
- func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromTrueNorthFacingEdgeValue(v float64)
- type AisAssignedModeConst
- type AisAssignmentModeCommand
- func (m *AisAssignmentModeCommand) DecodePayload(payload []uint8) error
- func (m *AisAssignmentModeCommand) EncodePayload() ([]uint8, error)
- func (m *AisAssignmentModeCommand) MessageInfo() MessageInfo
- func (m *AisAssignmentModeCommand) PGNNumber() uint32
- func (m *AisAssignmentModeCommand) SetMessageInfo(info MessageInfo)
- type AisBandConst
- type AisBinaryBroadcastMessage
- func (m *AisBinaryBroadcastMessage) DecodePayload(payload []uint8) error
- func (m *AisBinaryBroadcastMessage) EncodePayload() ([]uint8, error)
- func (m *AisBinaryBroadcastMessage) MessageInfo() MessageInfo
- func (m *AisBinaryBroadcastMessage) PGNNumber() uint32
- func (m *AisBinaryBroadcastMessage) SetMessageInfo(info MessageInfo)
- type AisChannelManagement
- func (m *AisChannelManagement) DecodePayload(payload []uint8) error
- func (m *AisChannelManagement) EncodePayload() ([]uint8, error)
- func (m *AisChannelManagement) MessageInfo() MessageInfo
- func (m *AisChannelManagement) NorthEastLatitudeCorner1Value() (float64, bool)
- func (m *AisChannelManagement) NorthEastLongitudeCorner1Value() (float64, bool)
- func (m *AisChannelManagement) PGNNumber() uint32
- func (m *AisChannelManagement) SetMessageInfo(info MessageInfo)
- func (m *AisChannelManagement) SetNorthEastLatitudeCorner1Value(v float64)
- func (m *AisChannelManagement) SetNorthEastLongitudeCorner1Value(v float64)
- func (m *AisChannelManagement) SetSouthWestLatitudeCorner2Value(v float64)
- func (m *AisChannelManagement) SetSouthWestLongitudeCorner2Value(v float64)
- func (m *AisChannelManagement) SouthWestLatitudeCorner2Value() (float64, bool)
- func (m *AisChannelManagement) SouthWestLongitudeCorner2Value() (float64, bool)
- type AisClassAPositionReport
- func (m *AisClassAPositionReport) CogValue() (float64, bool)
- func (m *AisClassAPositionReport) DecodePayload(payload []uint8) error
- func (m *AisClassAPositionReport) EncodePayload() ([]uint8, error)
- func (m *AisClassAPositionReport) HeadingValue() (float64, bool)
- func (m *AisClassAPositionReport) LatitudeValue() (float64, bool)
- func (m *AisClassAPositionReport) LongitudeValue() (float64, bool)
- func (m *AisClassAPositionReport) MessageInfo() MessageInfo
- func (m *AisClassAPositionReport) PGNNumber() uint32
- func (m *AisClassAPositionReport) RateOfTurnValue() (float64, bool)
- func (m *AisClassAPositionReport) SetCogValue(v float64)
- func (m *AisClassAPositionReport) SetHeadingValue(v float64)
- func (m *AisClassAPositionReport) SetLatitudeValue(v float64)
- func (m *AisClassAPositionReport) SetLongitudeValue(v float64)
- func (m *AisClassAPositionReport) SetMessageInfo(info MessageInfo)
- func (m *AisClassAPositionReport) SetRateOfTurnValue(v float64)
- func (m *AisClassAPositionReport) SetSogValue(v float64)
- func (m *AisClassAPositionReport) SogValue() (float64, bool)
- type AisClassAStaticAndVoyageRelatedData
- func (m *AisClassAStaticAndVoyageRelatedData) BeamValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) DecodePayload(payload []uint8) error
- func (m *AisClassAStaticAndVoyageRelatedData) DraftValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) EncodePayload() ([]uint8, error)
- func (m *AisClassAStaticAndVoyageRelatedData) EtaDateValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) EtaTimeValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) LengthValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) MessageInfo() MessageInfo
- func (m *AisClassAStaticAndVoyageRelatedData) PGNNumber() uint32
- func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromBowValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromStarboardValue() (float64, bool)
- func (m *AisClassAStaticAndVoyageRelatedData) SetBeamValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetDraftValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetEtaDateValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetEtaTimeValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetLengthValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetMessageInfo(info MessageInfo)
- func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromBowValue(v float64)
- func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromStarboardValue(v float64)
- type AisClassBExtendedPositionReport
- func (m *AisClassBExtendedPositionReport) BeamValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) CogValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) DecodePayload(payload []uint8) error
- func (m *AisClassBExtendedPositionReport) EncodePayload() ([]uint8, error)
- func (m *AisClassBExtendedPositionReport) LatitudeValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) LengthValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) LongitudeValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) MessageInfo() MessageInfo
- func (m *AisClassBExtendedPositionReport) PGNNumber() uint32
- func (m *AisClassBExtendedPositionReport) PositionReferenceFromBowValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) PositionReferenceFromStarboardValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) SetBeamValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetCogValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetLatitudeValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetLengthValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetLongitudeValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetMessageInfo(info MessageInfo)
- func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromBowValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromStarboardValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetSogValue(v float64)
- func (m *AisClassBExtendedPositionReport) SetTrueHeadingValue(v float64)
- func (m *AisClassBExtendedPositionReport) SogValue() (float64, bool)
- func (m *AisClassBExtendedPositionReport) TrueHeadingValue() (float64, bool)
- type AisClassBGroupAssignment
- func (m *AisClassBGroupAssignment) DecodePayload(payload []uint8) error
- func (m *AisClassBGroupAssignment) EncodePayload() ([]uint8, error)
- func (m *AisClassBGroupAssignment) MessageInfo() MessageInfo
- func (m *AisClassBGroupAssignment) NorthEastLatitudeCorner1Value() (float64, bool)
- func (m *AisClassBGroupAssignment) NorthEastLongitudeCorner1Value() (float64, bool)
- func (m *AisClassBGroupAssignment) PGNNumber() uint32
- func (m *AisClassBGroupAssignment) QuietTimeValue() (float64, bool)
- func (m *AisClassBGroupAssignment) SetMessageInfo(info MessageInfo)
- func (m *AisClassBGroupAssignment) SetNorthEastLatitudeCorner1Value(v float64)
- func (m *AisClassBGroupAssignment) SetNorthEastLongitudeCorner1Value(v float64)
- func (m *AisClassBGroupAssignment) SetQuietTimeValue(v float64)
- func (m *AisClassBGroupAssignment) SetSouthWestLatitudeCorner2Value(v float64)
- func (m *AisClassBGroupAssignment) SetSouthWestLongitudeCorner2Value(v float64)
- func (m *AisClassBGroupAssignment) SouthWestLatitudeCorner2Value() (float64, bool)
- func (m *AisClassBGroupAssignment) SouthWestLongitudeCorner2Value() (float64, bool)
- type AisClassBPositionReport
- func (m *AisClassBPositionReport) CogValue() (float64, bool)
- func (m *AisClassBPositionReport) DecodePayload(payload []uint8) error
- func (m *AisClassBPositionReport) EncodePayload() ([]uint8, error)
- func (m *AisClassBPositionReport) HeadingValue() (float64, bool)
- func (m *AisClassBPositionReport) LatitudeValue() (float64, bool)
- func (m *AisClassBPositionReport) LongitudeValue() (float64, bool)
- func (m *AisClassBPositionReport) MessageInfo() MessageInfo
- func (m *AisClassBPositionReport) PGNNumber() uint32
- func (m *AisClassBPositionReport) SetCogValue(v float64)
- func (m *AisClassBPositionReport) SetHeadingValue(v float64)
- func (m *AisClassBPositionReport) SetLatitudeValue(v float64)
- func (m *AisClassBPositionReport) SetLongitudeValue(v float64)
- func (m *AisClassBPositionReport) SetMessageInfo(info MessageInfo)
- func (m *AisClassBPositionReport) SetSogValue(v float64)
- func (m *AisClassBPositionReport) SogValue() (float64, bool)
- type AisClassBStaticDataMsg24PartA
- func (m *AisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error
- func (m *AisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)
- func (m *AisClassBStaticDataMsg24PartA) MessageInfo() MessageInfo
- func (m *AisClassBStaticDataMsg24PartA) PGNNumber() uint32
- func (m *AisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)
- type AisClassBStaticDataMsg24PartB
- func (m *AisClassBStaticDataMsg24PartB) BeamValue() (float64, bool)
- func (m *AisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error
- func (m *AisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)
- func (m *AisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)
- func (m *AisClassBStaticDataMsg24PartB) MessageInfo() MessageInfo
- func (m *AisClassBStaticDataMsg24PartB) PGNNumber() uint32
- func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)
- func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)
- func (m *AisClassBStaticDataMsg24PartB) SetBeamValue(v float64)
- func (m *AisClassBStaticDataMsg24PartB) SetLengthValue(v float64)
- func (m *AisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)
- func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)
- func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)
- type AisCommunicationStateConst
- type AisDataLinkManagementMessage
- func (m *AisDataLinkManagementMessage) DecodePayload(payload []uint8) error
- func (m *AisDataLinkManagementMessage) EncodePayload() ([]uint8, error)
- func (m *AisDataLinkManagementMessage) MessageInfo() MessageInfo
- func (m *AisDataLinkManagementMessage) PGNNumber() uint32
- func (m *AisDataLinkManagementMessage) SetMessageInfo(info MessageInfo)
- type AisDataLinkManagementMessageRepeating1
- type AisDgnssBroadcastBinaryMessage
- func (m *AisDgnssBroadcastBinaryMessage) DecodePayload(payload []uint8) error
- func (m *AisDgnssBroadcastBinaryMessage) EncodePayload() ([]uint8, error)
- func (m *AisDgnssBroadcastBinaryMessage) LatitudeValue() (float64, bool)
- func (m *AisDgnssBroadcastBinaryMessage) LongitudeValue() (float64, bool)
- func (m *AisDgnssBroadcastBinaryMessage) MessageInfo() MessageInfo
- func (m *AisDgnssBroadcastBinaryMessage) PGNNumber() uint32
- func (m *AisDgnssBroadcastBinaryMessage) SetLatitudeValue(v float64)
- func (m *AisDgnssBroadcastBinaryMessage) SetLongitudeValue(v float64)
- func (m *AisDgnssBroadcastBinaryMessage) SetMessageInfo(info MessageInfo)
- type AisInterrogation
- type AisLongRangeBroadcastMessage
- func (m *AisLongRangeBroadcastMessage) CogValue() (float64, bool)
- func (m *AisLongRangeBroadcastMessage) DecodePayload(payload []uint8) error
- func (m *AisLongRangeBroadcastMessage) EncodePayload() ([]uint8, error)
- func (m *AisLongRangeBroadcastMessage) LatitudeValue() (float64, bool)
- func (m *AisLongRangeBroadcastMessage) LongitudeValue() (float64, bool)
- func (m *AisLongRangeBroadcastMessage) MessageInfo() MessageInfo
- func (m *AisLongRangeBroadcastMessage) PGNNumber() uint32
- func (m *AisLongRangeBroadcastMessage) SetCogValue(v float64)
- func (m *AisLongRangeBroadcastMessage) SetLatitudeValue(v float64)
- func (m *AisLongRangeBroadcastMessage) SetLongitudeValue(v float64)
- func (m *AisLongRangeBroadcastMessage) SetMessageInfo(info MessageInfo)
- func (m *AisLongRangeBroadcastMessage) SetSogValue(v float64)
- func (m *AisLongRangeBroadcastMessage) SogValue() (float64, bool)
- type AisMessageIdConst
- type AisModeConst
- type AisMultiSlotBinaryMessage
- func (m *AisMultiSlotBinaryMessage) DecodePayload(payload []uint8) error
- func (m *AisMultiSlotBinaryMessage) EncodePayload() ([]uint8, error)
- func (m *AisMultiSlotBinaryMessage) MessageInfo() MessageInfo
- func (m *AisMultiSlotBinaryMessage) PGNNumber() uint32
- func (m *AisMultiSlotBinaryMessage) SetMessageInfo(info MessageInfo)
- type AisMultiSlotBinaryMessageDeprecated
- func (m *AisMultiSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error
- func (m *AisMultiSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)
- func (m *AisMultiSlotBinaryMessageDeprecated) MessageInfo() MessageInfo
- func (m *AisMultiSlotBinaryMessageDeprecated) PGNNumber() uint32
- func (m *AisMultiSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)
- type AisMultiSlotBinaryMessageDeprecatedRepeating1
- type AisSafetyRelatedBroadcastMessage
- func (m *AisSafetyRelatedBroadcastMessage) DecodePayload(payload []uint8) error
- func (m *AisSafetyRelatedBroadcastMessage) EncodePayload() ([]uint8, error)
- func (m *AisSafetyRelatedBroadcastMessage) MessageInfo() MessageInfo
- func (m *AisSafetyRelatedBroadcastMessage) PGNNumber() uint32
- func (m *AisSafetyRelatedBroadcastMessage) SetMessageInfo(info MessageInfo)
- type AisSarAircraftPositionReport
- func (m *AisSarAircraftPositionReport) AltitudeValue() (float64, bool)
- func (m *AisSarAircraftPositionReport) CogValue() (float64, bool)
- func (m *AisSarAircraftPositionReport) DecodePayload(payload []uint8) error
- func (m *AisSarAircraftPositionReport) EncodePayload() ([]uint8, error)
- func (m *AisSarAircraftPositionReport) LatitudeValue() (float64, bool)
- func (m *AisSarAircraftPositionReport) LongitudeValue() (float64, bool)
- func (m *AisSarAircraftPositionReport) MessageInfo() MessageInfo
- func (m *AisSarAircraftPositionReport) PGNNumber() uint32
- func (m *AisSarAircraftPositionReport) SetAltitudeValue(v float64)
- func (m *AisSarAircraftPositionReport) SetCogValue(v float64)
- func (m *AisSarAircraftPositionReport) SetLatitudeValue(v float64)
- func (m *AisSarAircraftPositionReport) SetLongitudeValue(v float64)
- func (m *AisSarAircraftPositionReport) SetMessageInfo(info MessageInfo)
- func (m *AisSarAircraftPositionReport) SetSogValue(v float64)
- func (m *AisSarAircraftPositionReport) SogValue() (float64, bool)
- type AisSingleSlotBinaryMessage
- func (m *AisSingleSlotBinaryMessage) DecodePayload(payload []uint8) error
- func (m *AisSingleSlotBinaryMessage) EncodePayload() ([]uint8, error)
- func (m *AisSingleSlotBinaryMessage) MessageInfo() MessageInfo
- func (m *AisSingleSlotBinaryMessage) PGNNumber() uint32
- func (m *AisSingleSlotBinaryMessage) SetMessageInfo(info MessageInfo)
- type AisSingleSlotBinaryMessageDeprecated
- func (m *AisSingleSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error
- func (m *AisSingleSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)
- func (m *AisSingleSlotBinaryMessageDeprecated) MessageInfo() MessageInfo
- func (m *AisSingleSlotBinaryMessageDeprecated) PGNNumber() uint32
- func (m *AisSingleSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)
- type AisSpecialManeuverConst
- type AisTransceiverConst
- type AisTypeConst
- type AisUtcAndDateReport
- func (m *AisUtcAndDateReport) DecodePayload(payload []uint8) error
- func (m *AisUtcAndDateReport) EncodePayload() ([]uint8, error)
- func (m *AisUtcAndDateReport) LatitudeValue() (float64, bool)
- func (m *AisUtcAndDateReport) LongitudeValue() (float64, bool)
- func (m *AisUtcAndDateReport) MessageInfo() MessageInfo
- func (m *AisUtcAndDateReport) PGNNumber() uint32
- func (m *AisUtcAndDateReport) PositionDateValue() (float64, bool)
- func (m *AisUtcAndDateReport) PositionTimeValue() (float64, bool)
- func (m *AisUtcAndDateReport) SetLatitudeValue(v float64)
- func (m *AisUtcAndDateReport) SetLongitudeValue(v float64)
- func (m *AisUtcAndDateReport) SetMessageInfo(info MessageInfo)
- func (m *AisUtcAndDateReport) SetPositionDateValue(v float64)
- func (m *AisUtcAndDateReport) SetPositionTimeValue(v float64)
- type AisUtcDateInquiry
- type AisVersionConst
- type Alert
- type AlertCategoryConst
- type AlertConfiguration
- type AlertLanguageIdConst
- type AlertResponse
- type AlertResponseCommandConst
- type AlertStateConst
- type AlertText
- type AlertThreshold
- type AlertThresholdRepeating1
- type AlertThresholdStatusConst
- type AlertTriggerConditionConst
- type AlertTypeConst
- type AlertValue
- type AlertValueRepeating1
- type AltitudeDeltaRapidUpdate
- func (m *AltitudeDeltaRapidUpdate) AltitudeDeltaValue() (float64, bool)
- func (m *AltitudeDeltaRapidUpdate) CogValue() (float64, bool)
- func (m *AltitudeDeltaRapidUpdate) DecodePayload(payload []uint8) error
- func (m *AltitudeDeltaRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *AltitudeDeltaRapidUpdate) MessageInfo() MessageInfo
- func (m *AltitudeDeltaRapidUpdate) PGNNumber() uint32
- func (m *AltitudeDeltaRapidUpdate) SetAltitudeDeltaValue(v float64)
- func (m *AltitudeDeltaRapidUpdate) SetCogValue(v float64)
- func (m *AltitudeDeltaRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *AltitudeDeltaRapidUpdate) SetTimeDeltaValue(v float64)
- func (m *AltitudeDeltaRapidUpdate) TimeDeltaValue() (float64, bool)
- type AnchorWindlassMonitoringStatus
- func (m *AnchorWindlassMonitoringStatus) ControllerVoltageValue() (float64, bool)
- func (m *AnchorWindlassMonitoringStatus) DecodePayload(payload []uint8) error
- func (m *AnchorWindlassMonitoringStatus) EncodePayload() ([]uint8, error)
- func (m *AnchorWindlassMonitoringStatus) MessageInfo() MessageInfo
- func (m *AnchorWindlassMonitoringStatus) MotorCurrentValue() (float64, bool)
- func (m *AnchorWindlassMonitoringStatus) PGNNumber() uint32
- func (m *AnchorWindlassMonitoringStatus) SetControllerVoltageValue(v float64)
- func (m *AnchorWindlassMonitoringStatus) SetMessageInfo(info MessageInfo)
- func (m *AnchorWindlassMonitoringStatus) SetMotorCurrentValue(v float64)
- func (m *AnchorWindlassMonitoringStatus) SetTotalMotorTimeValue(v float64)
- func (m *AnchorWindlassMonitoringStatus) TotalMotorTimeValue() (float64, bool)
- type AnchorWindlassOperatingStatus
- func (m *AnchorWindlassOperatingStatus) DecodePayload(payload []uint8) error
- func (m *AnchorWindlassOperatingStatus) EncodePayload() ([]uint8, error)
- func (m *AnchorWindlassOperatingStatus) MessageInfo() MessageInfo
- func (m *AnchorWindlassOperatingStatus) PGNNumber() uint32
- func (m *AnchorWindlassOperatingStatus) RodeCounterValueValue() (float64, bool)
- func (m *AnchorWindlassOperatingStatus) SetMessageInfo(info MessageInfo)
- func (m *AnchorWindlassOperatingStatus) SetRodeCounterValueValue(v float64)
- func (m *AnchorWindlassOperatingStatus) SetWindlassLineSpeedValue(v float64)
- func (m *AnchorWindlassOperatingStatus) WindlassLineSpeedValue() (float64, bool)
- type AtonTypeConst
- type Attitude
- func (m *Attitude) DecodePayload(payload []uint8) error
- func (m *Attitude) EncodePayload() ([]uint8, error)
- func (m *Attitude) MessageInfo() MessageInfo
- func (m *Attitude) PGNNumber() uint32
- func (m *Attitude) PitchValue() (float64, bool)
- func (m *Attitude) RollValue() (float64, bool)
- func (m *Attitude) SetMessageInfo(info MessageInfo)
- func (m *Attitude) SetPitchValue(v float64)
- func (m *Attitude) SetRollValue(v float64)
- func (m *Attitude) SetYawValue(v float64)
- func (m *Attitude) YawValue() (float64, bool)
- type AvailableAudioEqPresets
- func (m *AvailableAudioEqPresets) DecodePayload(payload []uint8) error
- func (m *AvailableAudioEqPresets) EncodePayload() ([]uint8, error)
- func (m *AvailableAudioEqPresets) MessageInfo() MessageInfo
- func (m *AvailableAudioEqPresets) PGNNumber() uint32
- func (m *AvailableAudioEqPresets) SetMessageInfo(info MessageInfo)
- type AvailableAudioEqPresetsRepeating1
- type AvailableBluetoothAddresses
- func (m *AvailableBluetoothAddresses) DecodePayload(payload []uint8) error
- func (m *AvailableBluetoothAddresses) EncodePayload() ([]uint8, error)
- func (m *AvailableBluetoothAddresses) MessageInfo() MessageInfo
- func (m *AvailableBluetoothAddresses) PGNNumber() uint32
- func (m *AvailableBluetoothAddresses) SetMessageInfo(info MessageInfo)
- type AvailableBluetoothAddressesRepeating1
- type AvailableConst
- type BGKeyValueData
- type BGKeyValueDataRepeating1
- type BGProprietary
- type BGUserAndRemoteRename
- func (m *BGUserAndRemoteRename) DecodePayload(payload []uint8) error
- func (m *BGUserAndRemoteRename) EncodePayload() ([]uint8, error)
- func (m *BGUserAndRemoteRename) MessageInfo() MessageInfo
- func (m *BGUserAndRemoteRename) PGNNumber() uint32
- func (m *BGUserAndRemoteRename) SetMessageInfo(info MessageInfo)
- type BandgDecimalsConst
- type BandgKeyValueConst
- type BatteryChemistryConst
- type BatteryConfigurationStatus
- func (m *BatteryConfigurationStatus) CapacityValue() (float64, bool)
- func (m *BatteryConfigurationStatus) ChargeEfficiencyFactorValue() (float64, bool)
- func (m *BatteryConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *BatteryConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *BatteryConfigurationStatus) MessageInfo() MessageInfo
- func (m *BatteryConfigurationStatus) PGNNumber() uint32
- func (m *BatteryConfigurationStatus) PeukertExponentValue() (float64, bool)
- func (m *BatteryConfigurationStatus) SetCapacityValue(v float64)
- func (m *BatteryConfigurationStatus) SetChargeEfficiencyFactorValue(v float64)
- func (m *BatteryConfigurationStatus) SetMessageInfo(info MessageInfo)
- func (m *BatteryConfigurationStatus) SetPeukertExponentValue(v float64)
- func (m *BatteryConfigurationStatus) SetTemperatureCoefficientValue(v float64)
- func (m *BatteryConfigurationStatus) TemperatureCoefficientValue() (float64, bool)
- type BatteryStatus
- func (m *BatteryStatus) CurrentValue() (float64, bool)
- func (m *BatteryStatus) DecodePayload(payload []uint8) error
- func (m *BatteryStatus) EncodePayload() ([]uint8, error)
- func (m *BatteryStatus) MessageInfo() MessageInfo
- func (m *BatteryStatus) PGNNumber() uint32
- func (m *BatteryStatus) SetCurrentValue(v float64)
- func (m *BatteryStatus) SetMessageInfo(info MessageInfo)
- func (m *BatteryStatus) SetTemperatureValue(v float64)
- func (m *BatteryStatus) SetVoltageValue(v float64)
- func (m *BatteryStatus) TemperatureValue() (float64, bool)
- func (m *BatteryStatus) VoltageValue() (float64, bool)
- type BatteryTypeConst
- type BatteryVoltageConst
- type BearingAndDistanceBetweenTwoMarks
- func (m *BearingAndDistanceBetweenTwoMarks) BearingOriginToDestinationValue() (float64, bool)
- func (m *BearingAndDistanceBetweenTwoMarks) DecodePayload(payload []uint8) error
- func (m *BearingAndDistanceBetweenTwoMarks) DistanceValue() (float64, bool)
- func (m *BearingAndDistanceBetweenTwoMarks) EncodePayload() ([]uint8, error)
- func (m *BearingAndDistanceBetweenTwoMarks) MessageInfo() MessageInfo
- func (m *BearingAndDistanceBetweenTwoMarks) PGNNumber() uint32
- func (m *BearingAndDistanceBetweenTwoMarks) SetBearingOriginToDestinationValue(v float64)
- func (m *BearingAndDistanceBetweenTwoMarks) SetDistanceValue(v float64)
- func (m *BearingAndDistanceBetweenTwoMarks) SetMessageInfo(info MessageInfo)
- type BearingModeConst
- type BepMarineCzone65301
- type BepMarineCzone130819
- func (m *BepMarineCzone130819) DecodePayload(payload []uint8) error
- func (m *BepMarineCzone130819) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzone130819) MessageInfo() MessageInfo
- func (m *BepMarineCzone130819) PGNNumber() uint32
- func (m *BepMarineCzone130819) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneAlarm
- type BepMarineCzoneAlarmEvent
- func (m *BepMarineCzoneAlarmEvent) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneAlarmEvent) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneAlarmEvent) MessageInfo() MessageInfo
- func (m *BepMarineCzoneAlarmEvent) PGNNumber() uint32
- func (m *BepMarineCzoneAlarmEvent) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneAlarmStringRequest
- func (m *BepMarineCzoneAlarmStringRequest) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneAlarmStringRequest) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneAlarmStringRequest) MessageInfo() MessageInfo
- func (m *BepMarineCzoneAlarmStringRequest) PGNNumber() uint32
- func (m *BepMarineCzoneAlarmStringRequest) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneAlarmStringResponse
- func (m *BepMarineCzoneAlarmStringResponse) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneAlarmStringResponse) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneAlarmStringResponse) MessageInfo() MessageInfo
- func (m *BepMarineCzoneAlarmStringResponse) PGNNumber() uint32
- func (m *BepMarineCzoneAlarmStringResponse) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneChannelState
- func (m *BepMarineCzoneChannelState) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneChannelState) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneChannelState) MessageInfo() MessageInfo
- func (m *BepMarineCzoneChannelState) PGNNumber() uint32
- func (m *BepMarineCzoneChannelState) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneCircuitControl
- func (m *BepMarineCzoneCircuitControl) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneCircuitControl) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneCircuitControl) MessageInfo() MessageInfo
- func (m *BepMarineCzoneCircuitControl) PGNNumber() uint32
- func (m *BepMarineCzoneCircuitControl) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneCircuitStatus
- func (m *BepMarineCzoneCircuitStatus) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneCircuitStatus) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneCircuitStatus) MessageInfo() MessageInfo
- func (m *BepMarineCzoneCircuitStatus) PGNNumber() uint32
- func (m *BepMarineCzoneCircuitStatus) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneModuleAnnounce
- func (m *BepMarineCzoneModuleAnnounce) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneModuleAnnounce) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneModuleAnnounce) MessageInfo() MessageInfo
- func (m *BepMarineCzoneModuleAnnounce) PGNNumber() uint32
- func (m *BepMarineCzoneModuleAnnounce) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneStatusExtended
- func (m *BepMarineCzoneStatusExtended) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneStatusExtended) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneStatusExtended) MessageInfo() MessageInfo
- func (m *BepMarineCzoneStatusExtended) PGNNumber() uint32
- func (m *BepMarineCzoneStatusExtended) SetMessageInfo(info MessageInfo)
- type BepMarineCzoneZcfBusDistribution
- func (m *BepMarineCzoneZcfBusDistribution) DecodePayload(payload []uint8) error
- func (m *BepMarineCzoneZcfBusDistribution) EncodePayload() ([]uint8, error)
- func (m *BepMarineCzoneZcfBusDistribution) MessageInfo() MessageInfo
- func (m *BepMarineCzoneZcfBusDistribution) PGNNumber() uint32
- func (m *BepMarineCzoneZcfBusDistribution) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65281
- func (m *BepMarineProprietaryPgn65281) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65281) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65281) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65281) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65281) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65294
- func (m *BepMarineProprietaryPgn65294) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65294) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65294) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65294) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65294) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65296
- func (m *BepMarineProprietaryPgn65296) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65296) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65296) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65296) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65296) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65297
- func (m *BepMarineProprietaryPgn65297) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65297) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65297) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65297) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65297) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65300
- func (m *BepMarineProprietaryPgn65300) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65300) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65300) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65300) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65300) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65304
- func (m *BepMarineProprietaryPgn65304) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65304) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65304) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65304) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65304) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65306
- func (m *BepMarineProprietaryPgn65306) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65306) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65306) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65306) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65306) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65308
- func (m *BepMarineProprietaryPgn65308) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65308) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65308) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65308) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65308) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65310
- func (m *BepMarineProprietaryPgn65310) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65310) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65310) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65310) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65310) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65311
- func (m *BepMarineProprietaryPgn65311) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65311) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65311) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65311) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65311) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65314
- func (m *BepMarineProprietaryPgn65314) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65314) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65314) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65314) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65314) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65316
- func (m *BepMarineProprietaryPgn65316) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65316) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65316) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65316) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65316) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn65325
- func (m *BepMarineProprietaryPgn65325) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn65325) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn65325) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn65325) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn65325) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn130818
- func (m *BepMarineProprietaryPgn130818) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn130818) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn130818) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn130818) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn130818) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn130821
- func (m *BepMarineProprietaryPgn130821) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn130821) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn130821) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn130821) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn130821) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn130822
- func (m *BepMarineProprietaryPgn130822) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn130822) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn130822) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn130822) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn130822) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn130825
- func (m *BepMarineProprietaryPgn130825) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn130825) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn130825) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn130825) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn130825) SetMessageInfo(info MessageInfo)
- type BepMarineProprietaryPgn130826
- func (m *BepMarineProprietaryPgn130826) DecodePayload(payload []uint8) error
- func (m *BepMarineProprietaryPgn130826) EncodePayload() ([]uint8, error)
- func (m *BepMarineProprietaryPgn130826) MessageInfo() MessageInfo
- func (m *BepMarineProprietaryPgn130826) PGNNumber() uint32
- func (m *BepMarineProprietaryPgn130826) SetMessageInfo(info MessageInfo)
- type BinarySwitchBankStatus
- func (m *BinarySwitchBankStatus) DecodePayload(payload []uint8) error
- func (m *BinarySwitchBankStatus) EncodePayload() ([]uint8, error)
- func (m *BinarySwitchBankStatus) MessageInfo() MessageInfo
- func (m *BinarySwitchBankStatus) PGNNumber() uint32
- func (m *BinarySwitchBankStatus) SetMessageInfo(info MessageInfo)
- type BluetoothSourceStatus
- func (m *BluetoothSourceStatus) DecodePayload(payload []uint8) error
- func (m *BluetoothSourceStatus) EncodePayload() ([]uint8, error)
- func (m *BluetoothSourceStatus) MessageInfo() MessageInfo
- func (m *BluetoothSourceStatus) PGNNumber() uint32
- func (m *BluetoothSourceStatus) SetMessageInfo(info MessageInfo)
- type BluetoothSourceStatusConst
- type BluetoothStatusConst
- type BootStateConst
- type Bus1AverageBasicAcQuantities
- func (m *Bus1AverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *Bus1AverageBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *Bus1AverageBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *Bus1AverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *Bus1AverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *Bus1AverageBasicAcQuantities) MessageInfo() MessageInfo
- func (m *Bus1AverageBasicAcQuantities) PGNNumber() uint32
- func (m *Bus1AverageBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *Bus1AverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *Bus1AverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *Bus1AverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type Bus1PhaseABasicAcQuantities
- func (m *Bus1PhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *Bus1PhaseABasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *Bus1PhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *Bus1PhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseABasicAcQuantities) MessageInfo() MessageInfo
- func (m *Bus1PhaseABasicAcQuantities) PGNNumber() uint32
- func (m *Bus1PhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *Bus1PhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
- type Bus1PhaseBBasicAcQuantities
- func (m *Bus1PhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *Bus1PhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *Bus1PhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *Bus1PhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseBBasicAcQuantities) MessageInfo() MessageInfo
- func (m *Bus1PhaseBBasicAcQuantities) PGNNumber() uint32
- func (m *Bus1PhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *Bus1PhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type Bus1PhaseCBasicAcQuantities
- func (m *Bus1PhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *Bus1PhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *Bus1PhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *Bus1PhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *Bus1PhaseCBasicAcQuantities) MessageInfo() MessageInfo
- func (m *Bus1PhaseCBasicAcQuantities) PGNNumber() uint32
- func (m *Bus1PhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *Bus1PhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *Bus1PhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type CarlingBreakerCommand
- func (m *CarlingBreakerCommand) DecodePayload(payload []uint8) error
- func (m *CarlingBreakerCommand) EncodePayload() ([]uint8, error)
- func (m *CarlingBreakerCommand) MessageInfo() MessageInfo
- func (m *CarlingBreakerCommand) PGNNumber() uint32
- func (m *CarlingBreakerCommand) SetMessageInfo(info MessageInfo)
- type CarlingBreakerStatusAndConfiguration
- func (m *CarlingBreakerStatusAndConfiguration) DecodePayload(payload []uint8) error
- func (m *CarlingBreakerStatusAndConfiguration) EncodePayload() ([]uint8, error)
- func (m *CarlingBreakerStatusAndConfiguration) MessageInfo() MessageInfo
- func (m *CarlingBreakerStatusAndConfiguration) PGNNumber() uint32
- func (m *CarlingBreakerStatusAndConfiguration) SetMessageInfo(info MessageInfo)
- type CarlingDcConfigurationCommand
- func (m *CarlingDcConfigurationCommand) DecodePayload(payload []uint8) error
- func (m *CarlingDcConfigurationCommand) EncodePayload() ([]uint8, error)
- func (m *CarlingDcConfigurationCommand) MessageInfo() MessageInfo
- func (m *CarlingDcConfigurationCommand) PGNNumber() uint32
- func (m *CarlingDcConfigurationCommand) SetMessageInfo(info MessageInfo)
- type CarlingProprietary
- type CarlingSwitchboardStatus
- func (m *CarlingSwitchboardStatus) DecodePayload(payload []uint8) error
- func (m *CarlingSwitchboardStatus) EncodePayload() ([]uint8, error)
- func (m *CarlingSwitchboardStatus) MessageInfo() MessageInfo
- func (m *CarlingSwitchboardStatus) PGNNumber() uint32
- func (m *CarlingSwitchboardStatus) SetMessageInfo(info MessageInfo)
- type ChannelSourceConfiguration
- func (m *ChannelSourceConfiguration) DecodePayload(payload []uint8) error
- func (m *ChannelSourceConfiguration) EncodePayload() ([]uint8, error)
- func (m *ChannelSourceConfiguration) MessageInfo() MessageInfo
- func (m *ChannelSourceConfiguration) PGNNumber() uint32
- func (m *ChannelSourceConfiguration) SetMessageInfo(info MessageInfo)
- type ChargerConfigurationStatus
- func (m *ChargerConfigurationStatus) ChargeCurrentLimitValue() (float64, bool)
- func (m *ChargerConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *ChargerConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *ChargerConfigurationStatus) EqualizeTimeValue() (float64, bool)
- func (m *ChargerConfigurationStatus) MessageInfo() MessageInfo
- func (m *ChargerConfigurationStatus) PGNNumber() uint32
- func (m *ChargerConfigurationStatus) SetChargeCurrentLimitValue(v float64)
- func (m *ChargerConfigurationStatus) SetEqualizeTimeValue(v float64)
- func (m *ChargerConfigurationStatus) SetMessageInfo(info MessageInfo)
- type ChargerModeConst
- type ChargerStateConst
- type ChargerStatus
- func (m *ChargerStatus) DecodePayload(payload []uint8) error
- func (m *ChargerStatus) EncodePayload() ([]uint8, error)
- func (m *ChargerStatus) EqualizationTimeRemainingValue() (float64, bool)
- func (m *ChargerStatus) MessageInfo() MessageInfo
- func (m *ChargerStatus) PGNNumber() uint32
- func (m *ChargerStatus) SetEqualizationTimeRemainingValue(v float64)
- func (m *ChargerStatus) SetMessageInfo(info MessageInfo)
- type ChargingAlgorithmConst
- type ChetcoDimmer
- type CogSogRapidUpdate
- func (m *CogSogRapidUpdate) CogValue() (float64, bool)
- func (m *CogSogRapidUpdate) DecodePayload(payload []uint8) error
- func (m *CogSogRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *CogSogRapidUpdate) MessageInfo() MessageInfo
- func (m *CogSogRapidUpdate) PGNNumber() uint32
- func (m *CogSogRapidUpdate) SetCogValue(v float64)
- func (m *CogSogRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *CogSogRapidUpdate) SetSogValue(v float64)
- func (m *CogSogRapidUpdate) SogValue() (float64, bool)
- type ConfigurationInformation
- func (m *ConfigurationInformation) DecodePayload(payload []uint8) error
- func (m *ConfigurationInformation) EncodePayload() ([]uint8, error)
- func (m *ConfigurationInformation) MessageInfo() MessageInfo
- func (m *ConfigurationInformation) PGNNumber() uint32
- func (m *ConfigurationInformation) SetMessageInfo(info MessageInfo)
- type ControllerStateConst
- type ConverterStateConst
- type ConverterStatus
- type CrossTrackError
- func (m *CrossTrackError) DecodePayload(payload []uint8) error
- func (m *CrossTrackError) EncodePayload() ([]uint8, error)
- func (m *CrossTrackError) MessageInfo() MessageInfo
- func (m *CrossTrackError) PGNNumber() uint32
- func (m *CrossTrackError) SetMessageInfo(info MessageInfo)
- func (m *CrossTrackError) SetXteValue(v float64)
- func (m *CrossTrackError) XteValue() (float64, bool)
- type CurrentStationData
- func (m *CurrentStationData) CurrentFlowDirectionValue() (float64, bool)
- func (m *CurrentStationData) CurrentSpeedValue() (float64, bool)
- func (m *CurrentStationData) DecodePayload(payload []uint8) error
- func (m *CurrentStationData) EncodePayload() ([]uint8, error)
- func (m *CurrentStationData) MeasurementDateValue() (float64, bool)
- func (m *CurrentStationData) MeasurementDepthValue() (float64, bool)
- func (m *CurrentStationData) MeasurementTimeValue() (float64, bool)
- func (m *CurrentStationData) MessageInfo() MessageInfo
- func (m *CurrentStationData) PGNNumber() uint32
- func (m *CurrentStationData) SetCurrentFlowDirectionValue(v float64)
- func (m *CurrentStationData) SetCurrentSpeedValue(v float64)
- func (m *CurrentStationData) SetMeasurementDateValue(v float64)
- func (m *CurrentStationData) SetMeasurementDepthValue(v float64)
- func (m *CurrentStationData) SetMeasurementTimeValue(v float64)
- func (m *CurrentStationData) SetMessageInfo(info MessageInfo)
- func (m *CurrentStationData) SetStationLatitudeValue(v float64)
- func (m *CurrentStationData) SetStationLongitudeValue(v float64)
- func (m *CurrentStationData) SetWaterTemperatureValue(v float64)
- func (m *CurrentStationData) StationLatitudeValue() (float64, bool)
- func (m *CurrentStationData) StationLongitudeValue() (float64, bool)
- func (m *CurrentStationData) WaterTemperatureValue() (float64, bool)
- type CurrentStatusAndFile
- func (m *CurrentStatusAndFile) DecodePayload(payload []uint8) error
- func (m *CurrentStatusAndFile) ElapsedTrackTimeValue() (float64, bool)
- func (m *CurrentStatusAndFile) EncodePayload() ([]uint8, error)
- func (m *CurrentStatusAndFile) MessageInfo() MessageInfo
- func (m *CurrentStatusAndFile) PGNNumber() uint32
- func (m *CurrentStatusAndFile) RadioFrequencyValue() (float64, bool)
- func (m *CurrentStatusAndFile) SetElapsedTrackTimeValue(v float64)
- func (m *CurrentStatusAndFile) SetMessageInfo(info MessageInfo)
- func (m *CurrentStatusAndFile) SetRadioFrequencyValue(v float64)
- func (m *CurrentStatusAndFile) SetSignalStrengthValue(v float64)
- func (m *CurrentStatusAndFile) SetTrackTimeValue(v float64)
- func (m *CurrentStatusAndFile) SignalStrengthValue() (float64, bool)
- func (m *CurrentStatusAndFile) TrackTimeValue() (float64, bool)
- type Datum
- func (m *Datum) DecodePayload(payload []uint8) error
- func (m *Datum) DeltaAltitudeValue() (float64, bool)
- func (m *Datum) DeltaLatitudeValue() (float64, bool)
- func (m *Datum) DeltaLongitudeValue() (float64, bool)
- func (m *Datum) EncodePayload() ([]uint8, error)
- func (m *Datum) MessageInfo() MessageInfo
- func (m *Datum) PGNNumber() uint32
- func (m *Datum) SetDeltaAltitudeValue(v float64)
- func (m *Datum) SetDeltaLatitudeValue(v float64)
- func (m *Datum) SetDeltaLongitudeValue(v float64)
- func (m *Datum) SetMessageInfo(info MessageInfo)
- type DcDetailedStatus
- func (m *DcDetailedStatus) DecodePayload(payload []uint8) error
- func (m *DcDetailedStatus) EncodePayload() ([]uint8, error)
- func (m *DcDetailedStatus) MessageInfo() MessageInfo
- func (m *DcDetailedStatus) PGNNumber() uint32
- func (m *DcDetailedStatus) RemainingCapacityValue() (float64, bool)
- func (m *DcDetailedStatus) RippleVoltageValue() (float64, bool)
- func (m *DcDetailedStatus) SetMessageInfo(info MessageInfo)
- func (m *DcDetailedStatus) SetRemainingCapacityValue(v float64)
- func (m *DcDetailedStatus) SetRippleVoltageValue(v float64)
- func (m *DcDetailedStatus) SetStateOfChargeValue(v float64)
- func (m *DcDetailedStatus) SetStateOfHealthValue(v float64)
- func (m *DcDetailedStatus) SetTimeRemainingValue(v float64)
- func (m *DcDetailedStatus) StateOfChargeValue() (float64, bool)
- func (m *DcDetailedStatus) StateOfHealthValue() (float64, bool)
- func (m *DcDetailedStatus) TimeRemainingValue() (float64, bool)
- type DcSourceConst
- type DcVoltageCurrent
- func (m *DcVoltageCurrent) DcCurrentValue() (float64, bool)
- func (m *DcVoltageCurrent) DcVoltageValue() (float64, bool)
- func (m *DcVoltageCurrent) DecodePayload(payload []uint8) error
- func (m *DcVoltageCurrent) EncodePayload() ([]uint8, error)
- func (m *DcVoltageCurrent) MessageInfo() MessageInfo
- func (m *DcVoltageCurrent) PGNNumber() uint32
- func (m *DcVoltageCurrent) SetDcCurrentValue(v float64)
- func (m *DcVoltageCurrent) SetDcVoltageValue(v float64)
- func (m *DcVoltageCurrent) SetMessageInfo(info MessageInfo)
- type DeviceClassConst
- type DeviceFunctionConst
- type DeviceTempStateConst
- type DgnssCorrections
- func (m *DgnssCorrections) DecodePayload(payload []uint8) error
- func (m *DgnssCorrections) EncodePayload() ([]uint8, error)
- func (m *DgnssCorrections) MessageInfo() MessageInfo
- func (m *DgnssCorrections) PGNNumber() uint32
- func (m *DgnssCorrections) PrcValue() (float64, bool)
- func (m *DgnssCorrections) RrcValue() (float64, bool)
- func (m *DgnssCorrections) SetMessageInfo(info MessageInfo)
- func (m *DgnssCorrections) SetPrcValue(v float64)
- func (m *DgnssCorrections) SetRrcValue(v float64)
- func (m *DgnssCorrections) SetTimeOfCorrectionsValue(v float64)
- func (m *DgnssCorrections) SetUdreValue(v float64)
- func (m *DgnssCorrections) TimeOfCorrectionsValue() (float64, bool)
- func (m *DgnssCorrections) UdreValue() (float64, bool)
- type DgnssModeConst
- type DirectionConst
- type DirectionData
- func (m *DirectionData) CogValue() (float64, bool)
- func (m *DirectionData) DecodePayload(payload []uint8) error
- func (m *DirectionData) DriftValue() (float64, bool)
- func (m *DirectionData) EncodePayload() ([]uint8, error)
- func (m *DirectionData) HeadingValue() (float64, bool)
- func (m *DirectionData) MessageInfo() MessageInfo
- func (m *DirectionData) PGNNumber() uint32
- func (m *DirectionData) SetCogValue(v float64)
- func (m *DirectionData) SetDriftValue(v float64)
- func (m *DirectionData) SetHeadingValue(v float64)
- func (m *DirectionData) SetMessageInfo(info MessageInfo)
- func (m *DirectionData) SetSetValue(v float64)
- func (m *DirectionData) SetSogValue(v float64)
- func (m *DirectionData) SetSpeedThroughWaterValue(v float64)
- func (m *DirectionData) SetValue() (float64, bool)
- func (m *DirectionData) SogValue() (float64, bool)
- func (m *DirectionData) SpeedThroughWaterValue() (float64, bool)
- type DirectionReferenceConst
- type DirectionRudderConst
- type DistanceLog
- func (m *DistanceLog) DateValue() (float64, bool)
- func (m *DistanceLog) DecodePayload(payload []uint8) error
- func (m *DistanceLog) EncodePayload() ([]uint8, error)
- func (m *DistanceLog) LogValue() (float64, bool)
- func (m *DistanceLog) MessageInfo() MessageInfo
- func (m *DistanceLog) PGNNumber() uint32
- func (m *DistanceLog) SetDateValue(v float64)
- func (m *DistanceLog) SetLogValue(v float64)
- func (m *DistanceLog) SetMessageInfo(info MessageInfo)
- func (m *DistanceLog) SetTimeValue(v float64)
- func (m *DistanceLog) SetTripLogValue(v float64)
- func (m *DistanceLog) TimeValue() (float64, bool)
- func (m *DistanceLog) TripLogValue() (float64, bool)
- type DiverseYachtServicesLoadCell
- func (m *DiverseYachtServicesLoadCell) DecodePayload(payload []uint8) error
- func (m *DiverseYachtServicesLoadCell) EncodePayload() ([]uint8, error)
- func (m *DiverseYachtServicesLoadCell) MessageInfo() MessageInfo
- func (m *DiverseYachtServicesLoadCell) PGNNumber() uint32
- func (m *DiverseYachtServicesLoadCell) SetMessageInfo(info MessageInfo)
- type DockingStatusConst
- type DscCallInformation
- func (m *DscCallInformation) DateOfReceiptValue() (float64, bool)
- func (m *DscCallInformation) DecodePayload(payload []uint8) error
- func (m *DscCallInformation) EncodePayload() ([]uint8, error)
- func (m *DscCallInformation) LatitudeOfVesselReportedValue() (float64, bool)
- func (m *DscCallInformation) LongitudeOfVesselReportedValue() (float64, bool)
- func (m *DscCallInformation) MessageInfo() MessageInfo
- func (m *DscCallInformation) PGNNumber() uint32
- func (m *DscCallInformation) SetDateOfReceiptValue(v float64)
- func (m *DscCallInformation) SetLatitudeOfVesselReportedValue(v float64)
- func (m *DscCallInformation) SetLongitudeOfVesselReportedValue(v float64)
- func (m *DscCallInformation) SetMessageInfo(info MessageInfo)
- func (m *DscCallInformation) SetTimeOfPositionValue(v float64)
- func (m *DscCallInformation) SetTimeOfReceiptValue(v float64)
- func (m *DscCallInformation) TimeOfPositionValue() (float64, bool)
- func (m *DscCallInformation) TimeOfReceiptValue() (float64, bool)
- type DscCallInformationRepeating1
- type DscCategoryConst
- type DscDistressCallInformation
- func (m *DscDistressCallInformation) DateOfReceiptValue() (float64, bool)
- func (m *DscDistressCallInformation) DecodePayload(payload []uint8) error
- func (m *DscDistressCallInformation) EncodePayload() ([]uint8, error)
- func (m *DscDistressCallInformation) LatitudeOfVesselReportedValue() (float64, bool)
- func (m *DscDistressCallInformation) LongitudeOfVesselReportedValue() (float64, bool)
- func (m *DscDistressCallInformation) MessageInfo() MessageInfo
- func (m *DscDistressCallInformation) PGNNumber() uint32
- func (m *DscDistressCallInformation) SetDateOfReceiptValue(v float64)
- func (m *DscDistressCallInformation) SetLatitudeOfVesselReportedValue(v float64)
- func (m *DscDistressCallInformation) SetLongitudeOfVesselReportedValue(v float64)
- func (m *DscDistressCallInformation) SetMessageInfo(info MessageInfo)
- func (m *DscDistressCallInformation) SetTimeOfPositionValue(v float64)
- func (m *DscDistressCallInformation) SetTimeOfReceiptValue(v float64)
- func (m *DscDistressCallInformation) TimeOfPositionValue() (float64, bool)
- func (m *DscDistressCallInformation) TimeOfReceiptValue() (float64, bool)
- type DscDistressCallInformationRepeating1
- type DscExpansionDataConst
- type DscFirstTelecommandConst
- type DscFormatConst
- type DscNatureConst
- type DscSecondTelecommandConst
- type ElectricDriveInformation
- func (m *ElectricDriveInformation) DecodePayload(payload []uint8) error
- func (m *ElectricDriveInformation) DriveMotorHoursValue() (float64, bool)
- func (m *ElectricDriveInformation) EncodePayload() ([]uint8, error)
- func (m *ElectricDriveInformation) MaximumBoostMotorPowerValue() (float64, bool)
- func (m *ElectricDriveInformation) MaximumContinuousMotorPowerValue() (float64, bool)
- func (m *ElectricDriveInformation) MaximumControllerTemperatureRatingValue() (float64, bool)
- func (m *ElectricDriveInformation) MaximumMotorTemperatureRatingValue() (float64, bool)
- func (m *ElectricDriveInformation) MessageInfo() MessageInfo
- func (m *ElectricDriveInformation) MotorDcVoltageCutOffThresholdValue() (float64, bool)
- func (m *ElectricDriveInformation) MotorDcVoltageDeratingThresholdValue() (float64, bool)
- func (m *ElectricDriveInformation) MotorVoltageRatingValue() (float64, bool)
- func (m *ElectricDriveInformation) PGNNumber() uint32
- func (m *ElectricDriveInformation) RatedMotorSpeedValue() (float64, bool)
- func (m *ElectricDriveInformation) SetDriveMotorHoursValue(v float64)
- func (m *ElectricDriveInformation) SetMaximumBoostMotorPowerValue(v float64)
- func (m *ElectricDriveInformation) SetMaximumContinuousMotorPowerValue(v float64)
- func (m *ElectricDriveInformation) SetMaximumControllerTemperatureRatingValue(v float64)
- func (m *ElectricDriveInformation) SetMaximumMotorTemperatureRatingValue(v float64)
- func (m *ElectricDriveInformation) SetMessageInfo(info MessageInfo)
- func (m *ElectricDriveInformation) SetMotorDcVoltageCutOffThresholdValue(v float64)
- func (m *ElectricDriveInformation) SetMotorDcVoltageDeratingThresholdValue(v float64)
- func (m *ElectricDriveInformation) SetMotorVoltageRatingValue(v float64)
- func (m *ElectricDriveInformation) SetRatedMotorSpeedValue(v float64)
- type ElectricDriveStatusDynamic
- func (m *ElectricDriveStatusDynamic) CoolantTemperatureValue() (float64, bool)
- func (m *ElectricDriveStatusDynamic) DecodePayload(payload []uint8) error
- func (m *ElectricDriveStatusDynamic) EncodePayload() ([]uint8, error)
- func (m *ElectricDriveStatusDynamic) GearTemperatureValue() (float64, bool)
- func (m *ElectricDriveStatusDynamic) InverterTemperatureValue() (float64, bool)
- func (m *ElectricDriveStatusDynamic) MessageInfo() MessageInfo
- func (m *ElectricDriveStatusDynamic) MotorTemperatureValue() (float64, bool)
- func (m *ElectricDriveStatusDynamic) PGNNumber() uint32
- func (m *ElectricDriveStatusDynamic) SetCoolantTemperatureValue(v float64)
- func (m *ElectricDriveStatusDynamic) SetGearTemperatureValue(v float64)
- func (m *ElectricDriveStatusDynamic) SetInverterTemperatureValue(v float64)
- func (m *ElectricDriveStatusDynamic) SetMessageInfo(info MessageInfo)
- func (m *ElectricDriveStatusDynamic) SetMotorTemperatureValue(v float64)
- type ElectricDriveStatusRapidUpdate
- func (m *ElectricDriveStatusRapidUpdate) DecodePayload(payload []uint8) error
- func (m *ElectricDriveStatusRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *ElectricDriveStatusRapidUpdate) MessageInfo() MessageInfo
- func (m *ElectricDriveStatusRapidUpdate) MotorDcCurrentValue() (float64, bool)
- func (m *ElectricDriveStatusRapidUpdate) MotorDcVoltageValue() (float64, bool)
- func (m *ElectricDriveStatusRapidUpdate) PGNNumber() uint32
- func (m *ElectricDriveStatusRapidUpdate) RotationalShaftSpeedValue() (float64, bool)
- func (m *ElectricDriveStatusRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *ElectricDriveStatusRapidUpdate) SetMotorDcCurrentValue(v float64)
- func (m *ElectricDriveStatusRapidUpdate) SetMotorDcVoltageValue(v float64)
- func (m *ElectricDriveStatusRapidUpdate) SetRotationalShaftSpeedValue(v float64)
- type ElectricEnergyStorageInformation
- func (m *ElectricEnergyStorageInformation) DecodePayload(payload []uint8) error
- func (m *ElectricEnergyStorageInformation) EncodePayload() ([]uint8, error)
- func (m *ElectricEnergyStorageInformation) MaximumTemperatureDeratingValue() (float64, bool)
- func (m *ElectricEnergyStorageInformation) MaximumTemperatureShutOffValue() (float64, bool)
- func (m *ElectricEnergyStorageInformation) MessageInfo() MessageInfo
- func (m *ElectricEnergyStorageInformation) MinimumTemperatureDeratingValue() (float64, bool)
- func (m *ElectricEnergyStorageInformation) MinimumTemperatureShutOffValue() (float64, bool)
- func (m *ElectricEnergyStorageInformation) PGNNumber() uint32
- func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureDeratingValue(v float64)
- func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureShutOffValue(v float64)
- func (m *ElectricEnergyStorageInformation) SetMessageInfo(info MessageInfo)
- func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureDeratingValue(v float64)
- func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureShutOffValue(v float64)
- func (m *ElectricEnergyStorageInformation) SetUsableBatteryEnergyValue(v float64)
- func (m *ElectricEnergyStorageInformation) UsableBatteryEnergyValue() (float64, bool)
- type ElectricEnergyStorageStatusDynamic
- func (m *ElectricEnergyStorageStatusDynamic) AverageCellTemperatureValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) DecodePayload(payload []uint8) error
- func (m *ElectricEnergyStorageStatusDynamic) EncodePayload() ([]uint8, error)
- func (m *ElectricEnergyStorageStatusDynamic) HighestCellTemperatureValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) LowestCellTemperatureValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) MaxChargeCurrentValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) MaxDischargeCurrentValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) MessageInfo() MessageInfo
- func (m *ElectricEnergyStorageStatusDynamic) PGNNumber() uint32
- func (m *ElectricEnergyStorageStatusDynamic) SetAverageCellTemperatureValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetHighestCellTemperatureValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetLowestCellTemperatureValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetMaxChargeCurrentValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetMaxDischargeCurrentValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetMessageInfo(info MessageInfo)
- func (m *ElectricEnergyStorageStatusDynamic) SetStateOfChargeValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) SetTimeRemainingValue(v float64)
- func (m *ElectricEnergyStorageStatusDynamic) StateOfChargeValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusDynamic) TimeRemainingValue() (float64, bool)
- type ElectricEnergyStorageStatusRapidUpdate
- func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryCurrentValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryVoltageValue() (float64, bool)
- func (m *ElectricEnergyStorageStatusRapidUpdate) DecodePayload(payload []uint8) error
- func (m *ElectricEnergyStorageStatusRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *ElectricEnergyStorageStatusRapidUpdate) MessageInfo() MessageInfo
- func (m *ElectricEnergyStorageStatusRapidUpdate) PGNNumber() uint32
- func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryCurrentValue(v float64)
- func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryVoltageValue(v float64)
- func (m *ElectricEnergyStorageStatusRapidUpdate) SetMessageInfo(info MessageInfo)
- type ElevatorCarStatus
- func (m *ElevatorCarStatus) DecodePayload(payload []uint8) error
- func (m *ElevatorCarStatus) EncodePayload() ([]uint8, error)
- func (m *ElevatorCarStatus) MessageInfo() MessageInfo
- func (m *ElevatorCarStatus) PGNNumber() uint32
- func (m *ElevatorCarStatus) SetMessageInfo(info MessageInfo)
- func (m *ElevatorCarStatus) SetSpeedOfElevatorCarValue(v float64)
- func (m *ElevatorCarStatus) SpeedOfElevatorCarValue() (float64, bool)
- type ElevatorDeckPushButton
- func (m *ElevatorDeckPushButton) DecodePayload(payload []uint8) error
- func (m *ElevatorDeckPushButton) EncodePayload() ([]uint8, error)
- func (m *ElevatorDeckPushButton) MessageInfo() MessageInfo
- func (m *ElevatorDeckPushButton) PGNNumber() uint32
- func (m *ElevatorDeckPushButton) SetMessageInfo(info MessageInfo)
- type ElevatorMotorControl
- func (m *ElevatorMotorControl) DecodePayload(payload []uint8) error
- func (m *ElevatorMotorControl) EncodePayload() ([]uint8, error)
- func (m *ElevatorMotorControl) MessageInfo() MessageInfo
- func (m *ElevatorMotorControl) PGNNumber() uint32
- func (m *ElevatorMotorControl) SetMessageInfo(info MessageInfo)
- type EngineInstanceConst
- type EngineParametersDynamic
- func (m *EngineParametersDynamic) AlternatorPotentialValue() (float64, bool)
- func (m *EngineParametersDynamic) CoolantPressureValue() (float64, bool)
- func (m *EngineParametersDynamic) DecodePayload(payload []uint8) error
- func (m *EngineParametersDynamic) EncodePayload() ([]uint8, error)
- func (m *EngineParametersDynamic) EngineLoadValue() (float64, bool)
- func (m *EngineParametersDynamic) EngineTorqueValue() (float64, bool)
- func (m *EngineParametersDynamic) FuelPressureValue() (float64, bool)
- func (m *EngineParametersDynamic) FuelRateValue() (float64, bool)
- func (m *EngineParametersDynamic) MessageInfo() MessageInfo
- func (m *EngineParametersDynamic) OilPressureValue() (float64, bool)
- func (m *EngineParametersDynamic) OilTemperatureValue() (float64, bool)
- func (m *EngineParametersDynamic) PGNNumber() uint32
- func (m *EngineParametersDynamic) SetAlternatorPotentialValue(v float64)
- func (m *EngineParametersDynamic) SetCoolantPressureValue(v float64)
- func (m *EngineParametersDynamic) SetEngineLoadValue(v float64)
- func (m *EngineParametersDynamic) SetEngineTorqueValue(v float64)
- func (m *EngineParametersDynamic) SetFuelPressureValue(v float64)
- func (m *EngineParametersDynamic) SetFuelRateValue(v float64)
- func (m *EngineParametersDynamic) SetMessageInfo(info MessageInfo)
- func (m *EngineParametersDynamic) SetOilPressureValue(v float64)
- func (m *EngineParametersDynamic) SetOilTemperatureValue(v float64)
- func (m *EngineParametersDynamic) SetTemperatureValue(v float64)
- func (m *EngineParametersDynamic) SetTotalEngineHoursValue(v float64)
- func (m *EngineParametersDynamic) TemperatureValue() (float64, bool)
- func (m *EngineParametersDynamic) TotalEngineHoursValue() (float64, bool)
- type EngineParametersRapidUpdate
- func (m *EngineParametersRapidUpdate) BoostPressureValue() (float64, bool)
- func (m *EngineParametersRapidUpdate) DecodePayload(payload []uint8) error
- func (m *EngineParametersRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *EngineParametersRapidUpdate) MessageInfo() MessageInfo
- func (m *EngineParametersRapidUpdate) PGNNumber() uint32
- func (m *EngineParametersRapidUpdate) SetBoostPressureValue(v float64)
- func (m *EngineParametersRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *EngineParametersRapidUpdate) SetSpeedValue(v float64)
- func (m *EngineParametersRapidUpdate) SetTiltTrimValue(v float64)
- func (m *EngineParametersRapidUpdate) SpeedValue() (float64, bool)
- func (m *EngineParametersRapidUpdate) TiltTrimValue() (float64, bool)
- type EngineParametersStatic
- func (m *EngineParametersStatic) DecodePayload(payload []uint8) error
- func (m *EngineParametersStatic) EncodePayload() ([]uint8, error)
- func (m *EngineParametersStatic) MessageInfo() MessageInfo
- func (m *EngineParametersStatic) PGNNumber() uint32
- func (m *EngineParametersStatic) RatedEngineSpeedValue() (float64, bool)
- func (m *EngineParametersStatic) SetMessageInfo(info MessageInfo)
- func (m *EngineParametersStatic) SetRatedEngineSpeedValue(v float64)
- type EngineStatus1Const
- type EngineStatus2Const
- type EntertainmentChannelConst
- type EntertainmentDefaultSettingsConst
- type EntertainmentDiagnosticStatus
- func (m *EntertainmentDiagnosticStatus) DecodePayload(payload []uint8) error
- func (m *EntertainmentDiagnosticStatus) EncodePayload() ([]uint8, error)
- func (m *EntertainmentDiagnosticStatus) MessageInfo() MessageInfo
- func (m *EntertainmentDiagnosticStatus) PGNNumber() uint32
- func (m *EntertainmentDiagnosticStatus) SetMessageInfo(info MessageInfo)
- type EntertainmentEqConst
- type EntertainmentFilterConst
- type EntertainmentGroupBitfieldConst
- type EntertainmentGroupConst
- type EntertainmentIdTypeConst
- type EntertainmentLikeStatusConst
- type EntertainmentParentalControlStatus
- func (m *EntertainmentParentalControlStatus) DecodePayload(payload []uint8) error
- func (m *EntertainmentParentalControlStatus) EncodePayload() ([]uint8, error)
- func (m *EntertainmentParentalControlStatus) MessageInfo() MessageInfo
- func (m *EntertainmentParentalControlStatus) PGNNumber() uint32
- func (m *EntertainmentParentalControlStatus) SetMessageInfo(info MessageInfo)
- type EntertainmentPlayStatusBitfieldConst
- type EntertainmentPlayStatusConst
- type EntertainmentRegionsConst
- type EntertainmentRepeatBitfieldConst
- type EntertainmentRepeatStatusConst
- type EntertainmentShuffleBitfieldConst
- type EntertainmentShuffleStatusConst
- type EntertainmentSourceConst
- type EntertainmentTypeConst
- type EntertainmentVolumeControlConst
- type EntertainmentZoneConst
- type EnvironmentalParameters
- func (m *EnvironmentalParameters) AtmosphericPressureValue() (float64, bool)
- func (m *EnvironmentalParameters) DecodePayload(payload []uint8) error
- func (m *EnvironmentalParameters) EncodePayload() ([]uint8, error)
- func (m *EnvironmentalParameters) HumidityValue() (float64, bool)
- func (m *EnvironmentalParameters) MessageInfo() MessageInfo
- func (m *EnvironmentalParameters) PGNNumber() uint32
- func (m *EnvironmentalParameters) SetAtmosphericPressureValue(v float64)
- func (m *EnvironmentalParameters) SetHumidityValue(v float64)
- func (m *EnvironmentalParameters) SetMessageInfo(info MessageInfo)
- func (m *EnvironmentalParameters) SetTemperatureValue(v float64)
- func (m *EnvironmentalParameters) TemperatureValue() (float64, bool)
- type EnvironmentalParametersObsolete
- func (m *EnvironmentalParametersObsolete) AtmosphericPressureValue() (float64, bool)
- func (m *EnvironmentalParametersObsolete) DecodePayload(payload []uint8) error
- func (m *EnvironmentalParametersObsolete) EncodePayload() ([]uint8, error)
- func (m *EnvironmentalParametersObsolete) MessageInfo() MessageInfo
- func (m *EnvironmentalParametersObsolete) OutsideAmbientAirTemperatureValue() (float64, bool)
- func (m *EnvironmentalParametersObsolete) PGNNumber() uint32
- func (m *EnvironmentalParametersObsolete) SetAtmosphericPressureValue(v float64)
- func (m *EnvironmentalParametersObsolete) SetMessageInfo(info MessageInfo)
- func (m *EnvironmentalParametersObsolete) SetOutsideAmbientAirTemperatureValue(v float64)
- func (m *EnvironmentalParametersObsolete) SetWaterTemperatureValue(v float64)
- func (m *EnvironmentalParametersObsolete) WaterTemperatureValue() (float64, bool)
- type EquipmentStatusConst
- type FieldDescriptor
- type FluidLevel
- func (m *FluidLevel) CapacityValue() (float64, bool)
- func (m *FluidLevel) DecodePayload(payload []uint8) error
- func (m *FluidLevel) EncodePayload() ([]uint8, error)
- func (m *FluidLevel) LevelValue() (float64, bool)
- func (m *FluidLevel) MessageInfo() MessageInfo
- func (m *FluidLevel) PGNNumber() uint32
- func (m *FluidLevel) SetCapacityValue(v float64)
- func (m *FluidLevel) SetLevelValue(v float64)
- func (m *FluidLevel) SetMessageInfo(info MessageInfo)
- type FurunoDeadReckoningConfiguration
- func (m *FurunoDeadReckoningConfiguration) DecodePayload(payload []uint8) error
- func (m *FurunoDeadReckoningConfiguration) EncodePayload() ([]uint8, error)
- func (m *FurunoDeadReckoningConfiguration) MessageInfo() MessageInfo
- func (m *FurunoDeadReckoningConfiguration) PGNNumber() uint32
- func (m *FurunoDeadReckoningConfiguration) SetMessageInfo(info MessageInfo)
- type FurunoHeave
- func (m *FurunoHeave) DecodePayload(payload []uint8) error
- func (m *FurunoHeave) EncodePayload() ([]uint8, error)
- func (m *FurunoHeave) HeaveValue() (float64, bool)
- func (m *FurunoHeave) MessageInfo() MessageInfo
- func (m *FurunoHeave) PGNNumber() uint32
- func (m *FurunoHeave) SetHeaveValue(v float64)
- func (m *FurunoHeave) SetMessageInfo(info MessageInfo)
- type FurunoHeelAngleRollInformation
- func (m *FurunoHeelAngleRollInformation) DecodePayload(payload []uint8) error
- func (m *FurunoHeelAngleRollInformation) EncodePayload() ([]uint8, error)
- func (m *FurunoHeelAngleRollInformation) Field4Value() (float64, bool)
- func (m *FurunoHeelAngleRollInformation) Field6Value() (float64, bool)
- func (m *FurunoHeelAngleRollInformation) Field8Value() (float64, bool)
- func (m *FurunoHeelAngleRollInformation) HeelValue() (float64, bool)
- func (m *FurunoHeelAngleRollInformation) MessageInfo() MessageInfo
- func (m *FurunoHeelAngleRollInformation) PGNNumber() uint32
- func (m *FurunoHeelAngleRollInformation) SetField4Value(v float64)
- func (m *FurunoHeelAngleRollInformation) SetField6Value(v float64)
- func (m *FurunoHeelAngleRollInformation) SetField8Value(v float64)
- func (m *FurunoHeelAngleRollInformation) SetHeelValue(v float64)
- func (m *FurunoHeelAngleRollInformation) SetMessageInfo(info MessageInfo)
- type FurunoMotionSensorStatusExtended
- func (m *FurunoMotionSensorStatusExtended) DecodePayload(payload []uint8) error
- func (m *FurunoMotionSensorStatusExtended) EncodePayload() ([]uint8, error)
- func (m *FurunoMotionSensorStatusExtended) MessageInfo() MessageInfo
- func (m *FurunoMotionSensorStatusExtended) PGNNumber() uint32
- func (m *FurunoMotionSensorStatusExtended) SetMessageInfo(info MessageInfo)
- type FurunoMultiSatsInViewExtended
- func (m *FurunoMultiSatsInViewExtended) DecodePayload(payload []uint8) error
- func (m *FurunoMultiSatsInViewExtended) EncodePayload() ([]uint8, error)
- func (m *FurunoMultiSatsInViewExtended) MessageInfo() MessageInfo
- func (m *FurunoMultiSatsInViewExtended) PGNNumber() uint32
- func (m *FurunoMultiSatsInViewExtended) SetMessageInfo(info MessageInfo)
- type FurunoMultiSatsInViewExtendedRepeating1
- func (m *FurunoMultiSatsInViewExtendedRepeating1) AzimuthValue() (float64, bool)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) ElevationValue() (float64, bool)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) RangeResidualValue() (float64, bool)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) SetAzimuthValue(v float64)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) SetElevationValue(v float64)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) SetRangeResidualValue(v float64)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) SetSnrValue(v float64)
- func (m *FurunoMultiSatsInViewExtendedRepeating1) SnrValue() (float64, bool)
- type FurunoNavpilotStatus
- func (m *FurunoNavpilotStatus) CommandedCourseValue() (float64, bool)
- func (m *FurunoNavpilotStatus) DecodePayload(payload []uint8) error
- func (m *FurunoNavpilotStatus) EncodePayload() ([]uint8, error)
- func (m *FurunoNavpilotStatus) MessageInfo() MessageInfo
- func (m *FurunoNavpilotStatus) PGNNumber() uint32
- func (m *FurunoNavpilotStatus) RudderAngleValue() (float64, bool)
- func (m *FurunoNavpilotStatus) SetCommandedCourseValue(v float64)
- func (m *FurunoNavpilotStatus) SetMessageInfo(info MessageInfo)
- func (m *FurunoNavpilotStatus) SetRudderAngleValue(v float64)
- type FurunoSensorSetup
- func (m *FurunoSensorSetup) AirPressureOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) AirTemperatureOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) DecodePayload(payload []uint8) error
- func (m *FurunoSensorSetup) EncodePayload() ([]uint8, error)
- func (m *FurunoSensorSetup) HeadingOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) MessageInfo() MessageInfo
- func (m *FurunoSensorSetup) PGNNumber() uint32
- func (m *FurunoSensorSetup) Pgn3AxisOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) Pgn3AxisSpeedSmoothingValue() (float64, bool)
- func (m *FurunoSensorSetup) PitchOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) RollOffsetValue() (float64, bool)
- func (m *FurunoSensorSetup) RotationSmoothingValue() (float64, bool)
- func (m *FurunoSensorSetup) SetAirPressureOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetAirTemperatureOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetHeadingOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetMessageInfo(info MessageInfo)
- func (m *FurunoSensorSetup) SetPgn3AxisOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetPgn3AxisSpeedSmoothingValue(v float64)
- func (m *FurunoSensorSetup) SetPitchOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetRollOffsetValue(v float64)
- func (m *FurunoSensorSetup) SetRotationSmoothingValue(v float64)
- func (m *FurunoSensorSetup) SetSogAndCogSmoothingValue(v float64)
- func (m *FurunoSensorSetup) SogAndCogSmoothingValue() (float64, bool)
- type FurunoShipParametersAndAntennaPosition
- func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionXValue() (float64, bool)
- func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionYValue() (float64, bool)
- func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionZValue() (float64, bool)
- func (m *FurunoShipParametersAndAntennaPosition) DecodePayload(payload []uint8) error
- func (m *FurunoShipParametersAndAntennaPosition) EncodePayload() ([]uint8, error)
- func (m *FurunoShipParametersAndAntennaPosition) MessageInfo() MessageInfo
- func (m *FurunoShipParametersAndAntennaPosition) PGNNumber() uint32
- func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionXValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionYValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionZValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) SetMessageInfo(info MessageInfo)
- func (m *FurunoShipParametersAndAntennaPosition) SetShipSHeightValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) SetShipSLengthValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) SetShipSWidthValue(v float64)
- func (m *FurunoShipParametersAndAntennaPosition) ShipSHeightValue() (float64, bool)
- func (m *FurunoShipParametersAndAntennaPosition) ShipSLengthValue() (float64, bool)
- func (m *FurunoShipParametersAndAntennaPosition) ShipSWidthValue() (float64, bool)
- type FurunoSixDegreesOfFreedomMovement
- func (m *FurunoSixDegreesOfFreedomMovement) DecodePayload(payload []uint8) error
- func (m *FurunoSixDegreesOfFreedomMovement) EncodePayload() ([]uint8, error)
- func (m *FurunoSixDegreesOfFreedomMovement) MessageInfo() MessageInfo
- func (m *FurunoSixDegreesOfFreedomMovement) PGNNumber() uint32
- func (m *FurunoSixDegreesOfFreedomMovement) SetMessageInfo(info MessageInfo)
- type FurunoSpeedCalculationPosition
- func (m *FurunoSpeedCalculationPosition) DecodePayload(payload []uint8) error
- func (m *FurunoSpeedCalculationPosition) EncodePayload() ([]uint8, error)
- func (m *FurunoSpeedCalculationPosition) MessageInfo() MessageInfo
- func (m *FurunoSpeedCalculationPosition) PGNNumber() uint32
- func (m *FurunoSpeedCalculationPosition) PositionYValue() (float64, bool)
- func (m *FurunoSpeedCalculationPosition) PositionZValue() (float64, bool)
- func (m *FurunoSpeedCalculationPosition) SetMessageInfo(info MessageInfo)
- func (m *FurunoSpeedCalculationPosition) SetPositionYValue(v float64)
- func (m *FurunoSpeedCalculationPosition) SetPositionZValue(v float64)
- type FurunoStatusAndVersionReport
- func (m *FurunoStatusAndVersionReport) DecodePayload(payload []uint8) error
- func (m *FurunoStatusAndVersionReport) EncodePayload() ([]uint8, error)
- func (m *FurunoStatusAndVersionReport) MessageInfo() MessageInfo
- func (m *FurunoStatusAndVersionReport) PGNNumber() uint32
- func (m *FurunoStatusAndVersionReport) SetMessageInfo(info MessageInfo)
- type FurunoSvControl
- type FurunoUnknown130820
- type FurunoUnknown130821
- type FusionAlbumName
- type FusionArtistName
- type FusionAuxGain
- type FusionBalance
- type FusionCapabilities
- type FusionCommandConst
- type FusionDeviceName
- type FusionEq
- type FusionIgnitionSwitchState
- func (m *FusionIgnitionSwitchState) DecodePayload(payload []uint8) error
- func (m *FusionIgnitionSwitchState) EncodePayload() ([]uint8, error)
- func (m *FusionIgnitionSwitchState) MessageInfo() MessageInfo
- func (m *FusionIgnitionSwitchState) PGNNumber() uint32
- func (m *FusionIgnitionSwitchState) SetMessageInfo(info MessageInfo)
- type FusionLineLevelControl
- func (m *FusionLineLevelControl) DecodePayload(payload []uint8) error
- func (m *FusionLineLevelControl) EncodePayload() ([]uint8, error)
- func (m *FusionLineLevelControl) MessageInfo() MessageInfo
- func (m *FusionLineLevelControl) PGNNumber() uint32
- func (m *FusionLineLevelControl) SetMessageInfo(info MessageInfo)
- type FusionLowPassFilter
- type FusionMarineScanMode
- func (m *FusionMarineScanMode) DecodePayload(payload []uint8) error
- func (m *FusionMarineScanMode) EncodePayload() ([]uint8, error)
- func (m *FusionMarineScanMode) MessageInfo() MessageInfo
- func (m *FusionMarineScanMode) PGNNumber() uint32
- func (m *FusionMarineScanMode) SetMessageInfo(info MessageInfo)
- type FusionMarineSquelch
- type FusionMarineTuner
- type FusionMedia
- func (m *FusionMedia) DecodePayload(payload []uint8) error
- func (m *FusionMedia) EncodePayload() ([]uint8, error)
- func (m *FusionMedia) LengthValue() (float64, bool)
- func (m *FusionMedia) MessageInfo() MessageInfo
- func (m *FusionMedia) PGNNumber() uint32
- func (m *FusionMedia) PositionInTrackValue() (float64, bool)
- func (m *FusionMedia) SetLengthValue(v float64)
- func (m *FusionMedia) SetMessageInfo(info MessageInfo)
- func (m *FusionMedia) SetPositionInTrackValue(v float64)
- type FusionMediaControl
- type FusionMenuItem
- type FusionMenuLockId
- type FusionMessageIdConst
- type FusionMono
- type FusionMultiroom
- type FusionMultiroomStatus
- func (m *FusionMultiroomStatus) DecodePayload(payload []uint8) error
- func (m *FusionMultiroomStatus) EncodePayload() ([]uint8, error)
- func (m *FusionMultiroomStatus) MessageInfo() MessageInfo
- func (m *FusionMultiroomStatus) PGNNumber() uint32
- func (m *FusionMultiroomStatus) SetMessageInfo(info MessageInfo)
- type FusionMute
- type FusionMuteCommandConst
- type FusionPowerState
- type FusionPowerStateConst
- type FusionProcessingBypass
- func (m *FusionProcessingBypass) DecodePayload(payload []uint8) error
- func (m *FusionProcessingBypass) EncodePayload() ([]uint8, error)
- func (m *FusionProcessingBypass) MessageInfo() MessageInfo
- func (m *FusionProcessingBypass) PGNNumber() uint32
- func (m *FusionProcessingBypass) SetMessageInfo(info MessageInfo)
- type FusionRadioSourceConst
- type FusionRdsData
- type FusionReplayModeConst
- type FusionReplayStatusConst
- type FusionRequestStatus
- type FusionSetAllVolumes
- type FusionSetMute
- type FusionSetPower
- type FusionSetSource
- type FusionSetZoneVolume
- type FusionSetting
- type FusionSettings
- type FusionSettingsRepeating1
- type FusionSiriusCommandConst
- type FusionSiriusControl
- type FusionSiriusxm
- type FusionSiriusxmArtist
- func (m *FusionSiriusxmArtist) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmArtist) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmArtist) MessageInfo() MessageInfo
- func (m *FusionSiriusxmArtist) PGNNumber() uint32
- func (m *FusionSiriusxmArtist) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmCategory
- func (m *FusionSiriusxmCategory) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmCategory) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmCategory) MessageInfo() MessageInfo
- func (m *FusionSiriusxmCategory) PGNNumber() uint32
- func (m *FusionSiriusxmCategory) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmChannel
- func (m *FusionSiriusxmChannel) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmChannel) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmChannel) MessageInfo() MessageInfo
- func (m *FusionSiriusxmChannel) PGNNumber() uint32
- func (m *FusionSiriusxmChannel) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmContentInfo
- func (m *FusionSiriusxmContentInfo) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmContentInfo) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmContentInfo) MessageInfo() MessageInfo
- func (m *FusionSiriusxmContentInfo) PGNNumber() uint32
- func (m *FusionSiriusxmContentInfo) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmPresets
- func (m *FusionSiriusxmPresets) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmPresets) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmPresets) MessageInfo() MessageInfo
- func (m *FusionSiriusxmPresets) PGNNumber() uint32
- func (m *FusionSiriusxmPresets) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmSignal
- func (m *FusionSiriusxmSignal) DecodePayload(payload []uint8) error
- func (m *FusionSiriusxmSignal) EncodePayload() ([]uint8, error)
- func (m *FusionSiriusxmSignal) MessageInfo() MessageInfo
- func (m *FusionSiriusxmSignal) PGNNumber() uint32
- func (m *FusionSiriusxmSignal) SetMessageInfo(info MessageInfo)
- type FusionSiriusxmTitle
- type FusionSource
- type FusionSourceCount
- type FusionSpeedVolumeCurrentSpeed
- func (m *FusionSpeedVolumeCurrentSpeed) DecodePayload(payload []uint8) error
- func (m *FusionSpeedVolumeCurrentSpeed) EncodePayload() ([]uint8, error)
- func (m *FusionSpeedVolumeCurrentSpeed) MessageInfo() MessageInfo
- func (m *FusionSpeedVolumeCurrentSpeed) PGNNumber() uint32
- func (m *FusionSpeedVolumeCurrentSpeed) SetMessageInfo(info MessageInfo)
- type FusionSublevels
- type FusionTrackName
- type FusionTrackPosition
- func (m *FusionTrackPosition) DecodePayload(payload []uint8) error
- func (m *FusionTrackPosition) EncodePayload() ([]uint8, error)
- func (m *FusionTrackPosition) MessageInfo() MessageInfo
- func (m *FusionTrackPosition) PGNNumber() uint32
- func (m *FusionTrackPosition) ProgressValue() (float64, bool)
- func (m *FusionTrackPosition) SetMessageInfo(info MessageInfo)
- func (m *FusionTrackPosition) SetProgressValue(v float64)
- type FusionTuner
- func (m *FusionTuner) DecodePayload(payload []uint8) error
- func (m *FusionTuner) EncodePayload() ([]uint8, error)
- func (m *FusionTuner) FrequencyValue() (float64, bool)
- func (m *FusionTuner) MessageInfo() MessageInfo
- func (m *FusionTuner) PGNNumber() uint32
- func (m *FusionTuner) SetFrequencyValue(v float64)
- func (m *FusionTuner) SetMessageInfo(info MessageInfo)
- type FusionUsbRepeatStatus
- func (m *FusionUsbRepeatStatus) DecodePayload(payload []uint8) error
- func (m *FusionUsbRepeatStatus) EncodePayload() ([]uint8, error)
- func (m *FusionUsbRepeatStatus) MessageInfo() MessageInfo
- func (m *FusionUsbRepeatStatus) PGNNumber() uint32
- func (m *FusionUsbRepeatStatus) SetMessageInfo(info MessageInfo)
- type FusionVersions
- type FusionVolumeLimits
- type FusionVolumes
- type FusionZoneName
- type GarminAhrsAttCogSourceValidFlag
- func (m *GarminAhrsAttCogSourceValidFlag) DecodePayload(payload []uint8) error
- func (m *GarminAhrsAttCogSourceValidFlag) EncodePayload() ([]uint8, error)
- func (m *GarminAhrsAttCogSourceValidFlag) MessageInfo() MessageInfo
- func (m *GarminAhrsAttCogSourceValidFlag) PGNNumber() uint32
- func (m *GarminAhrsAttCogSourceValidFlag) SetMessageInfo(info MessageInfo)
- type GarminAhrsAttDeviceFlags
- func (m *GarminAhrsAttDeviceFlags) DecodePayload(payload []uint8) error
- func (m *GarminAhrsAttDeviceFlags) EncodePayload() ([]uint8, error)
- func (m *GarminAhrsAttDeviceFlags) MessageInfo() MessageInfo
- func (m *GarminAhrsAttDeviceFlags) PGNNumber() uint32
- func (m *GarminAhrsAttDeviceFlags) SetMessageInfo(info MessageInfo)
- type GarminAhrsAttNonDefaultCalibrationMatrixPresent
- func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) DecodePayload(payload []uint8) error
- func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) EncodePayload() ([]uint8, error)
- func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) MessageInfo() MessageInfo
- func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) PGNNumber() uint32
- func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) SetMessageInfo(info MessageInfo)
- type GarminAhrsAttSetNorthState
- func (m *GarminAhrsAttSetNorthState) DecodePayload(payload []uint8) error
- func (m *GarminAhrsAttSetNorthState) EncodePayload() ([]uint8, error)
- func (m *GarminAhrsAttSetNorthState) MessageInfo() MessageInfo
- func (m *GarminAhrsAttSetNorthState) PGNNumber() uint32
- func (m *GarminAhrsAttSetNorthState) SetMessageInfo(info MessageInfo)
- type GarminAutopilotEngineRpmA
- func (m *GarminAutopilotEngineRpmA) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotEngineRpmA) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotEngineRpmA) EngineSpeedValue() (float64, bool)
- func (m *GarminAutopilotEngineRpmA) MessageInfo() MessageInfo
- func (m *GarminAutopilotEngineRpmA) PGNNumber() uint32
- func (m *GarminAutopilotEngineRpmA) SetEngineSpeedValue(v float64)
- func (m *GarminAutopilotEngineRpmA) SetMessageInfo(info MessageInfo)
- type GarminAutopilotEngineRpmB
- func (m *GarminAutopilotEngineRpmB) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotEngineRpmB) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotEngineRpmB) EngineSpeedValue() (float64, bool)
- func (m *GarminAutopilotEngineRpmB) MessageInfo() MessageInfo
- func (m *GarminAutopilotEngineRpmB) PGNNumber() uint32
- func (m *GarminAutopilotEngineRpmB) SetEngineSpeedValue(v float64)
- func (m *GarminAutopilotEngineRpmB) SetMessageInfo(info MessageInfo)
- type GarminAutopilotHeadingToSteer
- func (m *GarminAutopilotHeadingToSteer) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotHeadingToSteer) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotHeadingToSteer) MessageInfo() MessageInfo
- func (m *GarminAutopilotHeadingToSteer) PGNNumber() uint32
- func (m *GarminAutopilotHeadingToSteer) SetMessageInfo(info MessageInfo)
- type GarminAutopilotHeartbeat
- func (m *GarminAutopilotHeartbeat) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotHeartbeat) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotHeartbeat) MessageInfo() MessageInfo
- func (m *GarminAutopilotHeartbeat) PGNNumber() uint32
- func (m *GarminAutopilotHeartbeat) SetMessageInfo(info MessageInfo)
- type GarminAutopilotManeuver
- func (m *GarminAutopilotManeuver) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotManeuver) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotManeuver) MessageInfo() MessageInfo
- func (m *GarminAutopilotManeuver) PGNNumber() uint32
- func (m *GarminAutopilotManeuver) SetMessageInfo(info MessageInfo)
- type GarminAutopilotModeState
- func (m *GarminAutopilotModeState) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotModeState) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotModeState) MessageInfo() MessageInfo
- func (m *GarminAutopilotModeState) PGNNumber() uint32
- func (m *GarminAutopilotModeState) SetMessageInfo(info MessageInfo)
- type GarminAutopilotRateOfTurn
- func (m *GarminAutopilotRateOfTurn) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotRateOfTurn) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotRateOfTurn) MessageInfo() MessageInfo
- func (m *GarminAutopilotRateOfTurn) PGNNumber() uint32
- func (m *GarminAutopilotRateOfTurn) SetMessageInfo(info MessageInfo)
- type GarminAutopilotRateOfTurnOrder
- func (m *GarminAutopilotRateOfTurnOrder) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotRateOfTurnOrder) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotRateOfTurnOrder) MessageInfo() MessageInfo
- func (m *GarminAutopilotRateOfTurnOrder) PGNNumber() uint32
- func (m *GarminAutopilotRateOfTurnOrder) SetMessageInfo(info MessageInfo)
- type GarminAutopilotResponseSetting
- func (m *GarminAutopilotResponseSetting) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotResponseSetting) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotResponseSetting) MessageInfo() MessageInfo
- func (m *GarminAutopilotResponseSetting) PGNNumber() uint32
- func (m *GarminAutopilotResponseSetting) SetMessageInfo(info MessageInfo)
- type GarminAutopilotSpeed
- func (m *GarminAutopilotSpeed) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotSpeed) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotSpeed) MessageInfo() MessageInfo
- func (m *GarminAutopilotSpeed) PGNNumber() uint32
- func (m *GarminAutopilotSpeed) SetMessageInfo(info MessageInfo)
- type GarminAutopilotSystemVoltage
- func (m *GarminAutopilotSystemVoltage) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotSystemVoltage) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotSystemVoltage) MessageInfo() MessageInfo
- func (m *GarminAutopilotSystemVoltage) PGNNumber() uint32
- func (m *GarminAutopilotSystemVoltage) SetMessageInfo(info MessageInfo)
- func (m *GarminAutopilotSystemVoltage) SetSystemVoltageValue(v float64)
- func (m *GarminAutopilotSystemVoltage) SystemVoltageValue() (float64, bool)
- type GarminAutopilotTurnAngleMeasured
- func (m *GarminAutopilotTurnAngleMeasured) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotTurnAngleMeasured) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotTurnAngleMeasured) MessageInfo() MessageInfo
- func (m *GarminAutopilotTurnAngleMeasured) PGNNumber() uint32
- func (m *GarminAutopilotTurnAngleMeasured) SetMessageInfo(info MessageInfo)
- func (m *GarminAutopilotTurnAngleMeasured) SetTurnAngleMeasuredValue(v float64)
- func (m *GarminAutopilotTurnAngleMeasured) TurnAngleMeasuredValue() (float64, bool)
- type GarminAutopilotTurnAngleOrder
- func (m *GarminAutopilotTurnAngleOrder) DecodePayload(payload []uint8) error
- func (m *GarminAutopilotTurnAngleOrder) EncodePayload() ([]uint8, error)
- func (m *GarminAutopilotTurnAngleOrder) MessageInfo() MessageInfo
- func (m *GarminAutopilotTurnAngleOrder) PGNNumber() uint32
- func (m *GarminAutopilotTurnAngleOrder) SetMessageInfo(info MessageInfo)
- func (m *GarminAutopilotTurnAngleOrder) SetTurnAngleOrderValue(v float64)
- func (m *GarminAutopilotTurnAngleOrder) TurnAngleOrderValue() (float64, bool)
- type GarminBacklightLevelConst
- type GarminColorConst
- type GarminColorMode
- type GarminColorModeConst
- type GarminDayMode
- type GarminNightMode
- type GearStatusConst
- type GeneratorAverageBasicAcQuantities
- func (m *GeneratorAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *GeneratorAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *GeneratorAverageBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *GeneratorAverageBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *GeneratorAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorAverageBasicAcQuantities) MessageInfo() MessageInfo
- func (m *GeneratorAverageBasicAcQuantities) PGNNumber() uint32
- func (m *GeneratorAverageBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *GeneratorAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *GeneratorAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *GeneratorAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *GeneratorAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type GeneratorPhaseAAcPower
- func (m *GeneratorPhaseAAcPower) ApparentPowerValue() (float64, bool)
- func (m *GeneratorPhaseAAcPower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseAAcPower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseAAcPower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseAAcPower) PGNNumber() uint32
- func (m *GeneratorPhaseAAcPower) RealPowerValue() (float64, bool)
- func (m *GeneratorPhaseAAcPower) SetApparentPowerValue(v float64)
- func (m *GeneratorPhaseAAcPower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseAAcPower) SetRealPowerValue(v float64)
- type GeneratorPhaseAAcReactivePower
- func (m *GeneratorPhaseAAcReactivePower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseAAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseAAcReactivePower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseAAcReactivePower) PGNNumber() uint32
- func (m *GeneratorPhaseAAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *GeneratorPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *GeneratorPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseAAcReactivePower) SetPowerFactorValue(v float64)
- func (m *GeneratorPhaseAAcReactivePower) SetReactivePowerValue(v float64)
- type GeneratorPhaseABasicAcQuantities
- func (m *GeneratorPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *GeneratorPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *GeneratorPhaseABasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseABasicAcQuantities) MessageInfo() MessageInfo
- func (m *GeneratorPhaseABasicAcQuantities) PGNNumber() uint32
- func (m *GeneratorPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *GeneratorPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *GeneratorPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
- type GeneratorPhaseBAcPower
- func (m *GeneratorPhaseBAcPower) ApparentPowerValue() (float64, bool)
- func (m *GeneratorPhaseBAcPower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseBAcPower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseBAcPower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseBAcPower) PGNNumber() uint32
- func (m *GeneratorPhaseBAcPower) RealPowerValue() (float64, bool)
- func (m *GeneratorPhaseBAcPower) SetApparentPowerValue(v float64)
- func (m *GeneratorPhaseBAcPower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseBAcPower) SetRealPowerValue(v float64)
- type GeneratorPhaseBAcReactivePower
- func (m *GeneratorPhaseBAcReactivePower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseBAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseBAcReactivePower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseBAcReactivePower) PGNNumber() uint32
- func (m *GeneratorPhaseBAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *GeneratorPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *GeneratorPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseBAcReactivePower) SetPowerFactorValue(v float64)
- func (m *GeneratorPhaseBAcReactivePower) SetReactivePowerValue(v float64)
- type GeneratorPhaseBBasicAcQuantities
- func (m *GeneratorPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *GeneratorPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *GeneratorPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseBBasicAcQuantities) MessageInfo() MessageInfo
- func (m *GeneratorPhaseBBasicAcQuantities) PGNNumber() uint32
- func (m *GeneratorPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *GeneratorPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *GeneratorPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type GeneratorPhaseCAcPower
- func (m *GeneratorPhaseCAcPower) ApparentPowerValue() (float64, bool)
- func (m *GeneratorPhaseCAcPower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseCAcPower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseCAcPower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseCAcPower) PGNNumber() uint32
- func (m *GeneratorPhaseCAcPower) RealPowerValue() (float64, bool)
- func (m *GeneratorPhaseCAcPower) SetApparentPowerValue(v float64)
- func (m *GeneratorPhaseCAcPower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseCAcPower) SetRealPowerValue(v float64)
- type GeneratorPhaseCAcReactivePower
- func (m *GeneratorPhaseCAcReactivePower) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseCAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseCAcReactivePower) MessageInfo() MessageInfo
- func (m *GeneratorPhaseCAcReactivePower) PGNNumber() uint32
- func (m *GeneratorPhaseCAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *GeneratorPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *GeneratorPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorPhaseCAcReactivePower) SetPowerFactorValue(v float64)
- func (m *GeneratorPhaseCAcReactivePower) SetReactivePowerValue(v float64)
- type GeneratorPhaseCBasicAcQuantities
- func (m *GeneratorPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *GeneratorPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *GeneratorPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *GeneratorPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *GeneratorPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *GeneratorPhaseCBasicAcQuantities) MessageInfo() MessageInfo
- func (m *GeneratorPhaseCBasicAcQuantities) PGNNumber() uint32
- func (m *GeneratorPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *GeneratorPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *GeneratorPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *GeneratorPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type GeneratorTotalAcEnergy
- func (m *GeneratorTotalAcEnergy) DecodePayload(payload []uint8) error
- func (m *GeneratorTotalAcEnergy) EncodePayload() ([]uint8, error)
- func (m *GeneratorTotalAcEnergy) MessageInfo() MessageInfo
- func (m *GeneratorTotalAcEnergy) PGNNumber() uint32
- func (m *GeneratorTotalAcEnergy) SetMessageInfo(info MessageInfo)
- func (m *GeneratorTotalAcEnergy) SetTotalEnergyExportValue(v float64)
- func (m *GeneratorTotalAcEnergy) SetTotalEnergyImportValue(v float64)
- func (m *GeneratorTotalAcEnergy) TotalEnergyExportValue() (float64, bool)
- func (m *GeneratorTotalAcEnergy) TotalEnergyImportValue() (float64, bool)
- type GeneratorTotalAcPower
- func (m *GeneratorTotalAcPower) ApparentPowerValue() (float64, bool)
- func (m *GeneratorTotalAcPower) DecodePayload(payload []uint8) error
- func (m *GeneratorTotalAcPower) EncodePayload() ([]uint8, error)
- func (m *GeneratorTotalAcPower) MessageInfo() MessageInfo
- func (m *GeneratorTotalAcPower) PGNNumber() uint32
- func (m *GeneratorTotalAcPower) RealPowerValue() (float64, bool)
- func (m *GeneratorTotalAcPower) SetApparentPowerValue(v float64)
- func (m *GeneratorTotalAcPower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorTotalAcPower) SetRealPowerValue(v float64)
- type GeneratorTotalAcReactivePower
- func (m *GeneratorTotalAcReactivePower) DecodePayload(payload []uint8) error
- func (m *GeneratorTotalAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *GeneratorTotalAcReactivePower) MessageInfo() MessageInfo
- func (m *GeneratorTotalAcReactivePower) PGNNumber() uint32
- func (m *GeneratorTotalAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *GeneratorTotalAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *GeneratorTotalAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *GeneratorTotalAcReactivePower) SetPowerFactorValue(v float64)
- func (m *GeneratorTotalAcReactivePower) SetReactivePowerValue(v float64)
- type GlonassAlmanacData
- type GnsConst
- type GnsIntegrityConst
- type GnsMethodConst
- type GnssControlStatus
- func (m *GnssControlStatus) AntennaAltitudeFor2dModeValue() (float64, bool)
- func (m *GnssControlStatus) DecodePayload(payload []uint8) error
- func (m *GnssControlStatus) EncodePayload() ([]uint8, error)
- func (m *GnssControlStatus) MaxCorrectionAgeValue() (float64, bool)
- func (m *GnssControlStatus) MessageInfo() MessageInfo
- func (m *GnssControlStatus) PGNNumber() uint32
- func (m *GnssControlStatus) PdopMaskValue() (float64, bool)
- func (m *GnssControlStatus) PdopSwitchValue() (float64, bool)
- func (m *GnssControlStatus) SetAntennaAltitudeFor2dModeValue(v float64)
- func (m *GnssControlStatus) SetMaxCorrectionAgeValue(v float64)
- func (m *GnssControlStatus) SetMessageInfo(info MessageInfo)
- func (m *GnssControlStatus) SetPdopMaskValue(v float64)
- func (m *GnssControlStatus) SetPdopSwitchValue(v float64)
- func (m *GnssControlStatus) SetSnrMaskValue(v float64)
- func (m *GnssControlStatus) SetSvElevationMaskValue(v float64)
- func (m *GnssControlStatus) SnrMaskValue() (float64, bool)
- func (m *GnssControlStatus) SvElevationMaskValue() (float64, bool)
- type GnssDifferentialCorrectionReceiverInterface
- func (m *GnssDifferentialCorrectionReceiverInterface) DecodePayload(payload []uint8) error
- func (m *GnssDifferentialCorrectionReceiverInterface) EncodePayload() ([]uint8, error)
- func (m *GnssDifferentialCorrectionReceiverInterface) FrequencyValue() (float64, bool)
- func (m *GnssDifferentialCorrectionReceiverInterface) MessageInfo() MessageInfo
- func (m *GnssDifferentialCorrectionReceiverInterface) PGNNumber() uint32
- func (m *GnssDifferentialCorrectionReceiverInterface) SetFrequencyValue(v float64)
- func (m *GnssDifferentialCorrectionReceiverInterface) SetMessageInfo(info MessageInfo)
- type GnssDifferentialCorrectionReceiverSignal
- func (m *GnssDifferentialCorrectionReceiverSignal) DecodePayload(payload []uint8) error
- func (m *GnssDifferentialCorrectionReceiverSignal) EncodePayload() ([]uint8, error)
- func (m *GnssDifferentialCorrectionReceiverSignal) FrequencyValue() (float64, bool)
- func (m *GnssDifferentialCorrectionReceiverSignal) MessageInfo() MessageInfo
- func (m *GnssDifferentialCorrectionReceiverSignal) PGNNumber() uint32
- func (m *GnssDifferentialCorrectionReceiverSignal) SetFrequencyValue(v float64)
- func (m *GnssDifferentialCorrectionReceiverSignal) SetMessageInfo(info MessageInfo)
- func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalSnrValue(v float64)
- func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalStrengthValue(v float64)
- func (m *GnssDifferentialCorrectionReceiverSignal) SetTimeSinceLastSatDifferentialSyncValue(v float64)
- func (m *GnssDifferentialCorrectionReceiverSignal) SignalSnrValue() (float64, bool)
- func (m *GnssDifferentialCorrectionReceiverSignal) SignalStrengthValue() (float64, bool)
- func (m *GnssDifferentialCorrectionReceiverSignal) TimeSinceLastSatDifferentialSyncValue() (float64, bool)
- type GnssDops
- func (m *GnssDops) DecodePayload(payload []uint8) error
- func (m *GnssDops) EncodePayload() ([]uint8, error)
- func (m *GnssDops) HdopValue() (float64, bool)
- func (m *GnssDops) MessageInfo() MessageInfo
- func (m *GnssDops) PGNNumber() uint32
- func (m *GnssDops) SetHdopValue(v float64)
- func (m *GnssDops) SetMessageInfo(info MessageInfo)
- func (m *GnssDops) SetTdopValue(v float64)
- func (m *GnssDops) SetVdopValue(v float64)
- func (m *GnssDops) TdopValue() (float64, bool)
- func (m *GnssDops) VdopValue() (float64, bool)
- type GnssModeConst
- type GnssPositionData
- func (m *GnssPositionData) AltitudeValue() (float64, bool)
- func (m *GnssPositionData) DateValue() (float64, bool)
- func (m *GnssPositionData) DecodePayload(payload []uint8) error
- func (m *GnssPositionData) EncodePayload() ([]uint8, error)
- func (m *GnssPositionData) GeoidalSeparationValue() (float64, bool)
- func (m *GnssPositionData) HdopValue() (float64, bool)
- func (m *GnssPositionData) LatitudeValue() (float64, bool)
- func (m *GnssPositionData) LongitudeValue() (float64, bool)
- func (m *GnssPositionData) MessageInfo() MessageInfo
- func (m *GnssPositionData) PGNNumber() uint32
- func (m *GnssPositionData) PdopValue() (float64, bool)
- func (m *GnssPositionData) SetAltitudeValue(v float64)
- func (m *GnssPositionData) SetDateValue(v float64)
- func (m *GnssPositionData) SetGeoidalSeparationValue(v float64)
- func (m *GnssPositionData) SetHdopValue(v float64)
- func (m *GnssPositionData) SetLatitudeValue(v float64)
- func (m *GnssPositionData) SetLongitudeValue(v float64)
- func (m *GnssPositionData) SetMessageInfo(info MessageInfo)
- func (m *GnssPositionData) SetPdopValue(v float64)
- func (m *GnssPositionData) SetTimeValue(v float64)
- func (m *GnssPositionData) TimeValue() (float64, bool)
- type GnssPositionDataRepeating1
- type GnssPseudorangeErrorStatistics
- func (m *GnssPseudorangeErrorStatistics) DecodePayload(payload []uint8) error
- func (m *GnssPseudorangeErrorStatistics) EncodePayload() ([]uint8, error)
- func (m *GnssPseudorangeErrorStatistics) MessageInfo() MessageInfo
- func (m *GnssPseudorangeErrorStatistics) OrientationOfErrorEllipseValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) PGNNumber() uint32
- func (m *GnssPseudorangeErrorStatistics) RmsStdDevOfRangeInputsValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) SetMessageInfo(info MessageInfo)
- func (m *GnssPseudorangeErrorStatistics) SetOrientationOfErrorEllipseValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetRmsStdDevOfRangeInputsValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetStdDevAltErrorValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetStdDevLatErrorValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetStdDevLonErrorValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMajorErrorEllipseValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMinorErrorEllipseValue(v float64)
- func (m *GnssPseudorangeErrorStatistics) StdDevAltErrorValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) StdDevLatErrorValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) StdDevLonErrorValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) StdDevOfMajorErrorEllipseValue() (float64, bool)
- func (m *GnssPseudorangeErrorStatistics) StdDevOfMinorErrorEllipseValue() (float64, bool)
- type GnssPseudorangeNoiseStatistics
- func (m *GnssPseudorangeNoiseStatistics) DecodePayload(payload []uint8) error
- func (m *GnssPseudorangeNoiseStatistics) EncodePayload() ([]uint8, error)
- func (m *GnssPseudorangeNoiseStatistics) MessageInfo() MessageInfo
- func (m *GnssPseudorangeNoiseStatistics) OrientationOfMajorAxisValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) PGNNumber() uint32
- func (m *GnssPseudorangeNoiseStatistics) RmsOfPositionUncertaintyValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) SetMessageInfo(info MessageInfo)
- func (m *GnssPseudorangeNoiseStatistics) SetOrientationOfMajorAxisValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetRmsOfPositionUncertaintyValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetStdOfAltErrorValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetStdOfLatErrorValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetStdOfLonErrorValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetStdOfMajorAxisValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) SetStdOfMinorAxisValue(v float64)
- func (m *GnssPseudorangeNoiseStatistics) StdOfAltErrorValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) StdOfLatErrorValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) StdOfLonErrorValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) StdOfMajorAxisValue() (float64, bool)
- func (m *GnssPseudorangeNoiseStatistics) StdOfMinorAxisValue() (float64, bool)
- type GnssRaimOutput
- func (m *GnssRaimOutput) AltitudeExpectedErrorValue() (float64, bool)
- func (m *GnssRaimOutput) DecodePayload(payload []uint8) error
- func (m *GnssRaimOutput) EncodePayload() ([]uint8, error)
- func (m *GnssRaimOutput) EstimateOfPseudorangeBiasValue() (float64, bool)
- func (m *GnssRaimOutput) LatitudeExpectedErrorValue() (float64, bool)
- func (m *GnssRaimOutput) LongitudeExpectedErrorValue() (float64, bool)
- func (m *GnssRaimOutput) MessageInfo() MessageInfo
- func (m *GnssRaimOutput) PGNNumber() uint32
- func (m *GnssRaimOutput) ProbabilityOfMissedDetectionValue() (float64, bool)
- func (m *GnssRaimOutput) SetAltitudeExpectedErrorValue(v float64)
- func (m *GnssRaimOutput) SetEstimateOfPseudorangeBiasValue(v float64)
- func (m *GnssRaimOutput) SetLatitudeExpectedErrorValue(v float64)
- func (m *GnssRaimOutput) SetLongitudeExpectedErrorValue(v float64)
- func (m *GnssRaimOutput) SetMessageInfo(info MessageInfo)
- func (m *GnssRaimOutput) SetProbabilityOfMissedDetectionValue(v float64)
- func (m *GnssRaimOutput) SetStdDeviationOfBiasValue(v float64)
- func (m *GnssRaimOutput) StdDeviationOfBiasValue() (float64, bool)
- type GnssRaimSettings
- func (m *GnssRaimSettings) DecodePayload(payload []uint8) error
- func (m *GnssRaimSettings) EncodePayload() ([]uint8, error)
- func (m *GnssRaimSettings) MessageInfo() MessageInfo
- func (m *GnssRaimSettings) PGNNumber() uint32
- func (m *GnssRaimSettings) ProbabilityOfFalseAlarmValue() (float64, bool)
- func (m *GnssRaimSettings) ProbabilityOfMissedDetectionValue() (float64, bool)
- func (m *GnssRaimSettings) PseudorangeResidualFilteringTimeConstantValue() (float64, bool)
- func (m *GnssRaimSettings) RadialPositionErrorMaximumThresholdValue() (float64, bool)
- func (m *GnssRaimSettings) SetMessageInfo(info MessageInfo)
- func (m *GnssRaimSettings) SetProbabilityOfFalseAlarmValue(v float64)
- func (m *GnssRaimSettings) SetProbabilityOfMissedDetectionValue(v float64)
- func (m *GnssRaimSettings) SetPseudorangeResidualFilteringTimeConstantValue(v float64)
- func (m *GnssRaimSettings) SetRadialPositionErrorMaximumThresholdValue(v float64)
- type GnssSatsInView
- type GnssSatsInViewRepeating1
- func (m *GnssSatsInViewRepeating1) AzimuthValue() (float64, bool)
- func (m *GnssSatsInViewRepeating1) ElevationValue() (float64, bool)
- func (m *GnssSatsInViewRepeating1) RangeResidualsValue() (float64, bool)
- func (m *GnssSatsInViewRepeating1) SetAzimuthValue(v float64)
- func (m *GnssSatsInViewRepeating1) SetElevationValue(v float64)
- func (m *GnssSatsInViewRepeating1) SetRangeResidualsValue(v float64)
- func (m *GnssSatsInViewRepeating1) SetSnrValue(v float64)
- func (m *GnssSatsInViewRepeating1) SnrValue() (float64, bool)
- type GoodWarningErrorConst
- type GpsAlmanacData
- func (m *GpsAlmanacData) AlmanacReferenceTimeValue() (float64, bool)
- func (m *GpsAlmanacData) ArgumentOfPerigeeValue() (float64, bool)
- func (m *GpsAlmanacData) ClockParameter1Value() (float64, bool)
- func (m *GpsAlmanacData) ClockParameter2Value() (float64, bool)
- func (m *GpsAlmanacData) DecodePayload(payload []uint8) error
- func (m *GpsAlmanacData) EccentricityValue() (float64, bool)
- func (m *GpsAlmanacData) EncodePayload() ([]uint8, error)
- func (m *GpsAlmanacData) InclinationAngleValue() (float64, bool)
- func (m *GpsAlmanacData) LongitudeOfAscensionNodeValue() (float64, bool)
- func (m *GpsAlmanacData) MeanAnomalyValue() (float64, bool)
- func (m *GpsAlmanacData) MessageInfo() MessageInfo
- func (m *GpsAlmanacData) PGNNumber() uint32
- func (m *GpsAlmanacData) RateOfRightAscensionValue() (float64, bool)
- func (m *GpsAlmanacData) RootOfSemiMajorAxisValue() (float64, bool)
- func (m *GpsAlmanacData) SetAlmanacReferenceTimeValue(v float64)
- func (m *GpsAlmanacData) SetArgumentOfPerigeeValue(v float64)
- func (m *GpsAlmanacData) SetClockParameter1Value(v float64)
- func (m *GpsAlmanacData) SetClockParameter2Value(v float64)
- func (m *GpsAlmanacData) SetEccentricityValue(v float64)
- func (m *GpsAlmanacData) SetInclinationAngleValue(v float64)
- func (m *GpsAlmanacData) SetLongitudeOfAscensionNodeValue(v float64)
- func (m *GpsAlmanacData) SetMeanAnomalyValue(v float64)
- func (m *GpsAlmanacData) SetMessageInfo(info MessageInfo)
- func (m *GpsAlmanacData) SetRateOfRightAscensionValue(v float64)
- func (m *GpsAlmanacData) SetRootOfSemiMajorAxisValue(v float64)
- type GroupFunctionConst
- type HeadingTrackControl
- func (m *HeadingTrackControl) CommandedRudderAngleValue() (float64, bool)
- func (m *HeadingTrackControl) DecodePayload(payload []uint8) error
- func (m *HeadingTrackControl) EncodePayload() ([]uint8, error)
- func (m *HeadingTrackControl) HeadingToSteerCourseValue() (float64, bool)
- func (m *HeadingTrackControl) MessageInfo() MessageInfo
- func (m *HeadingTrackControl) OffHeadingLimitValue() (float64, bool)
- func (m *HeadingTrackControl) OffTrackLimitValue() (float64, bool)
- func (m *HeadingTrackControl) PGNNumber() uint32
- func (m *HeadingTrackControl) RadiusOfTurnOrderValue() (float64, bool)
- func (m *HeadingTrackControl) RateOfTurnOrderValue() (float64, bool)
- func (m *HeadingTrackControl) RudderLimitValue() (float64, bool)
- func (m *HeadingTrackControl) SetCommandedRudderAngleValue(v float64)
- func (m *HeadingTrackControl) SetHeadingToSteerCourseValue(v float64)
- func (m *HeadingTrackControl) SetMessageInfo(info MessageInfo)
- func (m *HeadingTrackControl) SetOffHeadingLimitValue(v float64)
- func (m *HeadingTrackControl) SetOffTrackLimitValue(v float64)
- func (m *HeadingTrackControl) SetRadiusOfTurnOrderValue(v float64)
- func (m *HeadingTrackControl) SetRateOfTurnOrderValue(v float64)
- func (m *HeadingTrackControl) SetRudderLimitValue(v float64)
- func (m *HeadingTrackControl) SetTrackValue(v float64)
- func (m *HeadingTrackControl) SetVesselHeadingValue(v float64)
- func (m *HeadingTrackControl) TrackValue() (float64, bool)
- func (m *HeadingTrackControl) VesselHeadingValue() (float64, bool)
- type Heartbeat
- func (m *Heartbeat) DataTransmitOffsetValue() (float64, bool)
- func (m *Heartbeat) DecodePayload(payload []uint8) error
- func (m *Heartbeat) EncodePayload() ([]uint8, error)
- func (m *Heartbeat) MessageInfo() MessageInfo
- func (m *Heartbeat) PGNNumber() uint32
- func (m *Heartbeat) SetDataTransmitOffsetValue(v float64)
- func (m *Heartbeat) SetMessageInfo(info MessageInfo)
- type Heave
- func (m *Heave) DecodePayload(payload []uint8) error
- func (m *Heave) EncodePayload() ([]uint8, error)
- func (m *Heave) HeaveValue() (float64, bool)
- func (m *Heave) MessageInfo() MessageInfo
- func (m *Heave) PGNNumber() uint32
- func (m *Heave) SetHeaveValue(v float64)
- func (m *Heave) SetMessageInfo(info MessageInfo)
- type HondaEngineAlerts
- type HondaEngineData
- type HondaEngineStatus
- type Humidity
- func (m *Humidity) ActualHumidityValue() (float64, bool)
- func (m *Humidity) DecodePayload(payload []uint8) error
- func (m *Humidity) EncodePayload() ([]uint8, error)
- func (m *Humidity) MessageInfo() MessageInfo
- func (m *Humidity) PGNNumber() uint32
- func (m *Humidity) SetActualHumidityValue(v float64)
- func (m *Humidity) SetHumidityValue() (float64, bool)
- func (m *Humidity) SetMessageInfo(info MessageInfo)
- func (m *Humidity) SetSetHumidityValue(v float64)
- type HumiditySourceConst
- type HvacStatus
- func (m *HvacStatus) CurrentTemperatureValue() (float64, bool)
- func (m *HvacStatus) DecodePayload(payload []uint8) error
- func (m *HvacStatus) EncodePayload() ([]uint8, error)
- func (m *HvacStatus) EvaporatorTemperatureValue() (float64, bool)
- func (m *HvacStatus) InletTemperatureValue() (float64, bool)
- func (m *HvacStatus) LoopTemperatureValue() (float64, bool)
- func (m *HvacStatus) LowerTemperatureSetpointValue() (float64, bool)
- func (m *HvacStatus) MessageInfo() MessageInfo
- func (m *HvacStatus) PGNNumber() uint32
- func (m *HvacStatus) SeaWaterTemperatureValue() (float64, bool)
- func (m *HvacStatus) SetCurrentTemperatureValue(v float64)
- func (m *HvacStatus) SetEvaporatorTemperatureValue(v float64)
- func (m *HvacStatus) SetInletTemperatureValue(v float64)
- func (m *HvacStatus) SetLoopTemperatureValue(v float64)
- func (m *HvacStatus) SetLowerTemperatureSetpointValue(v float64)
- func (m *HvacStatus) SetMessageInfo(info MessageInfo)
- func (m *HvacStatus) SetSeaWaterTemperatureValue(v float64)
- func (m *HvacStatus) SetUpperTemperatureSetpointValue(v float64)
- func (m *HvacStatus) UpperTemperatureSetpointValue() (float64, bool)
- type IndustryCodeConst
- type InverterConfigurationStatus
- func (m *InverterConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *InverterConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *InverterConfigurationStatus) LoadSenseIntervalValue() (float64, bool)
- func (m *InverterConfigurationStatus) LoadSensePowerThresholdValue() (float64, bool)
- func (m *InverterConfigurationStatus) MessageInfo() MessageInfo
- func (m *InverterConfigurationStatus) PGNNumber() uint32
- func (m *InverterConfigurationStatus) SetLoadSenseIntervalValue(v float64)
- func (m *InverterConfigurationStatus) SetLoadSensePowerThresholdValue(v float64)
- func (m *InverterConfigurationStatus) SetMessageInfo(info MessageInfo)
- type InverterStateConst
- type InverterStatus
- type IsoAcknowledgement
- type IsoAddressClaim
- type IsoCommandConst
- type IsoCommandedAddress
- type IsoControlConst
- type IsoRequest
- type IsoTransportProtocolConnectionManagementAbort
- func (m *IsoTransportProtocolConnectionManagementAbort) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolConnectionManagementAbort) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolConnectionManagementAbort) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolConnectionManagementAbort) PGNNumber() uint32
- func (m *IsoTransportProtocolConnectionManagementAbort) SetMessageInfo(info MessageInfo)
- type IsoTransportProtocolConnectionManagementBroadcastAnnounce
- func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) PGNNumber() uint32
- func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) SetMessageInfo(info MessageInfo)
- type IsoTransportProtocolConnectionManagementClearToSend
- func (m *IsoTransportProtocolConnectionManagementClearToSend) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolConnectionManagementClearToSend) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolConnectionManagementClearToSend) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolConnectionManagementClearToSend) PGNNumber() uint32
- func (m *IsoTransportProtocolConnectionManagementClearToSend) SetMessageInfo(info MessageInfo)
- type IsoTransportProtocolConnectionManagementEndOfMessage
- func (m *IsoTransportProtocolConnectionManagementEndOfMessage) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolConnectionManagementEndOfMessage) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolConnectionManagementEndOfMessage) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolConnectionManagementEndOfMessage) PGNNumber() uint32
- func (m *IsoTransportProtocolConnectionManagementEndOfMessage) SetMessageInfo(info MessageInfo)
- type IsoTransportProtocolConnectionManagementRequestToSend
- func (m *IsoTransportProtocolConnectionManagementRequestToSend) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolConnectionManagementRequestToSend) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolConnectionManagementRequestToSend) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolConnectionManagementRequestToSend) PGNNumber() uint32
- func (m *IsoTransportProtocolConnectionManagementRequestToSend) SetMessageInfo(info MessageInfo)
- type IsoTransportProtocolDataTransfer
- func (m *IsoTransportProtocolDataTransfer) DecodePayload(payload []uint8) error
- func (m *IsoTransportProtocolDataTransfer) EncodePayload() ([]uint8, error)
- func (m *IsoTransportProtocolDataTransfer) MessageInfo() MessageInfo
- func (m *IsoTransportProtocolDataTransfer) PGNNumber() uint32
- func (m *IsoTransportProtocolDataTransfer) SetMessageInfo(info MessageInfo)
- type Label
- type LeewayAngle
- func (m *LeewayAngle) DecodePayload(payload []uint8) error
- func (m *LeewayAngle) EncodePayload() ([]uint8, error)
- func (m *LeewayAngle) LeewayAngleValue() (float64, bool)
- func (m *LeewayAngle) MessageInfo() MessageInfo
- func (m *LeewayAngle) PGNNumber() uint32
- func (m *LeewayAngle) SetLeewayAngleValue(v float64)
- func (m *LeewayAngle) SetMessageInfo(info MessageInfo)
- type LibraryDataFile
- func (m *LibraryDataFile) DecodePayload(payload []uint8) error
- func (m *LibraryDataFile) EncodePayload() ([]uint8, error)
- func (m *LibraryDataFile) MessageInfo() MessageInfo
- func (m *LibraryDataFile) PGNNumber() uint32
- func (m *LibraryDataFile) RadioFrequencyValue() (float64, bool)
- func (m *LibraryDataFile) SetMessageInfo(info MessageInfo)
- func (m *LibraryDataFile) SetRadioFrequencyValue(v float64)
- type LibraryDataGroup
- type LibraryDataGroupRepeating1
- type LibraryDataSearch
- type LightingColorSequence
- func (m *LightingColorSequence) DecodePayload(payload []uint8) error
- func (m *LightingColorSequence) EncodePayload() ([]uint8, error)
- func (m *LightingColorSequence) MessageInfo() MessageInfo
- func (m *LightingColorSequence) PGNNumber() uint32
- func (m *LightingColorSequence) SetMessageInfo(info MessageInfo)
- type LightingColorSequenceRepeating1
- type LightingCommandConst
- type LightingDevice
- type LightingDeviceEnumeration
- func (m *LightingDeviceEnumeration) DecodePayload(payload []uint8) error
- func (m *LightingDeviceEnumeration) EncodePayload() ([]uint8, error)
- func (m *LightingDeviceEnumeration) MessageInfo() MessageInfo
- func (m *LightingDeviceEnumeration) PGNNumber() uint32
- func (m *LightingDeviceEnumeration) SetMessageInfo(info MessageInfo)
- type LightingDeviceEnumerationRepeating1
- type LightingProgram
- type LightingScene
- type LightingSceneRepeating1
- type LightingSystemSettings
- func (m *LightingSystemSettings) DecodePayload(payload []uint8) error
- func (m *LightingSystemSettings) EncodePayload() ([]uint8, error)
- func (m *LightingSystemSettings) MessageInfo() MessageInfo
- func (m *LightingSystemSettings) PGNNumber() uint32
- func (m *LightingSystemSettings) SetMessageInfo(info MessageInfo)
- type LightingZone
- type LineConst
- type LinearActuatorControlStatus
- func (m *LinearActuatorControlStatus) DecodePayload(payload []uint8) error
- func (m *LinearActuatorControlStatus) EncodePayload() ([]uint8, error)
- func (m *LinearActuatorControlStatus) MessageInfo() MessageInfo
- func (m *LinearActuatorControlStatus) PGNNumber() uint32
- func (m *LinearActuatorControlStatus) SetMessageInfo(info MessageInfo)
- type LoadControllerConnectionStateControl
- func (m *LoadControllerConnectionStateControl) DecodePayload(payload []uint8) error
- func (m *LoadControllerConnectionStateControl) EncodePayload() ([]uint8, error)
- func (m *LoadControllerConnectionStateControl) MessageInfo() MessageInfo
- func (m *LoadControllerConnectionStateControl) PGNNumber() uint32
- func (m *LoadControllerConnectionStateControl) SetMessageInfo(info MessageInfo)
- type LoranCRangeData
- func (m *LoranCRangeData) DecodePayload(payload []uint8) error
- func (m *LoranCRangeData) EncodePayload() ([]uint8, error)
- func (m *LoranCRangeData) GroupRepetitionIntervalGriValue() (float64, bool)
- func (m *LoranCRangeData) MasterRangeValue() (float64, bool)
- func (m *LoranCRangeData) MessageInfo() MessageInfo
- func (m *LoranCRangeData) PGNNumber() uint32
- func (m *LoranCRangeData) SetGroupRepetitionIntervalGriValue(v float64)
- func (m *LoranCRangeData) SetMasterRangeValue(v float64)
- func (m *LoranCRangeData) SetMessageInfo(info MessageInfo)
- func (m *LoranCRangeData) SetVSecondaryRangeValue(v float64)
- func (m *LoranCRangeData) SetWSecondaryRangeValue(v float64)
- func (m *LoranCRangeData) SetXSecondaryRangeValue(v float64)
- func (m *LoranCRangeData) SetYSecondaryRangeValue(v float64)
- func (m *LoranCRangeData) SetZSecondaryRangeValue(v float64)
- func (m *LoranCRangeData) VSecondaryRangeValue() (float64, bool)
- func (m *LoranCRangeData) WSecondaryRangeValue() (float64, bool)
- func (m *LoranCRangeData) XSecondaryRangeValue() (float64, bool)
- func (m *LoranCRangeData) YSecondaryRangeValue() (float64, bool)
- func (m *LoranCRangeData) ZSecondaryRangeValue() (float64, bool)
- type LoranCSignalData
- func (m *LoranCSignalData) DecodePayload(payload []uint8) error
- func (m *LoranCSignalData) EncodePayload() ([]uint8, error)
- func (m *LoranCSignalData) GroupRepetitionIntervalGriValue() (float64, bool)
- func (m *LoranCSignalData) MessageInfo() MessageInfo
- func (m *LoranCSignalData) PGNNumber() uint32
- func (m *LoranCSignalData) SetGroupRepetitionIntervalGriValue(v float64)
- func (m *LoranCSignalData) SetMessageInfo(info MessageInfo)
- func (m *LoranCSignalData) SetStationAsfValue(v float64)
- func (m *LoranCSignalData) SetStationEcdValue(v float64)
- func (m *LoranCSignalData) SetStationSnrValue(v float64)
- func (m *LoranCSignalData) StationAsfValue() (float64, bool)
- func (m *LoranCSignalData) StationEcdValue() (float64, bool)
- func (m *LoranCSignalData) StationSnrValue() (float64, bool)
- type LoranCTdData
- func (m *LoranCTdData) DecodePayload(payload []uint8) error
- func (m *LoranCTdData) EncodePayload() ([]uint8, error)
- func (m *LoranCTdData) GroupRepetitionIntervalGriValue() (float64, bool)
- func (m *LoranCTdData) MasterRangeValue() (float64, bool)
- func (m *LoranCTdData) MessageInfo() MessageInfo
- func (m *LoranCTdData) PGNNumber() uint32
- func (m *LoranCTdData) SetGroupRepetitionIntervalGriValue(v float64)
- func (m *LoranCTdData) SetMasterRangeValue(v float64)
- func (m *LoranCTdData) SetMessageInfo(info MessageInfo)
- func (m *LoranCTdData) SetVSecondaryTdValue(v float64)
- func (m *LoranCTdData) SetWSecondaryTdValue(v float64)
- func (m *LoranCTdData) SetXSecondaryTdValue(v float64)
- func (m *LoranCTdData) SetYSecondaryTdValue(v float64)
- func (m *LoranCTdData) SetZSecondaryTdValue(v float64)
- func (m *LoranCTdData) VSecondaryTdValue() (float64, bool)
- func (m *LoranCTdData) WSecondaryTdValue() (float64, bool)
- func (m *LoranCTdData) XSecondaryTdValue() (float64, bool)
- func (m *LoranCTdData) YSecondaryTdValue() (float64, bool)
- func (m *LoranCTdData) ZSecondaryTdValue() (float64, bool)
- type LowBatteryConst
- type LowranceGpsConfiguration
- func (m *LowranceGpsConfiguration) DecodePayload(payload []uint8) error
- func (m *LowranceGpsConfiguration) EncodePayload() ([]uint8, error)
- func (m *LowranceGpsConfiguration) MessageInfo() MessageInfo
- func (m *LowranceGpsConfiguration) PGNNumber() uint32
- func (m *LowranceGpsConfiguration) SetMessageInfo(info MessageInfo)
- type LowranceProductInformation
- func (m *LowranceProductInformation) DecodePayload(payload []uint8) error
- func (m *LowranceProductInformation) EncodePayload() ([]uint8, error)
- func (m *LowranceProductInformation) MessageInfo() MessageInfo
- func (m *LowranceProductInformation) PGNNumber() uint32
- func (m *LowranceProductInformation) SetMessageInfo(info MessageInfo)
- type LowranceTemperature
- func (m *LowranceTemperature) ActualTemperatureValue() (float64, bool)
- func (m *LowranceTemperature) DecodePayload(payload []uint8) error
- func (m *LowranceTemperature) EncodePayload() ([]uint8, error)
- func (m *LowranceTemperature) MessageInfo() MessageInfo
- func (m *LowranceTemperature) PGNNumber() uint32
- func (m *LowranceTemperature) SetActualTemperatureValue(v float64)
- func (m *LowranceTemperature) SetMessageInfo(info MessageInfo)
- type LowranceUnknown
- type LowranceVesselSetupEngineAndTankConfiguration
- func (m *LowranceVesselSetupEngineAndTankConfiguration) DecodePayload(payload []uint8) error
- func (m *LowranceVesselSetupEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
- func (m *LowranceVesselSetupEngineAndTankConfiguration) MessageInfo() MessageInfo
- func (m *LowranceVesselSetupEngineAndTankConfiguration) PGNNumber() uint32
- func (m *LowranceVesselSetupEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
- func (m *LowranceVesselSetupEngineAndTankConfiguration) SetTotalFuelCapacityValue(v float64)
- func (m *LowranceVesselSetupEngineAndTankConfiguration) TotalFuelCapacityValue() (float64, bool)
- type LowranceVesselSetupEngineAndTankConfigurationBroadcast
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) DecodePayload(payload []uint8) error
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) EncodePayload() ([]uint8, error)
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) MessageInfo() MessageInfo
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) PGNNumber() uint32
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetMessageInfo(info MessageInfo)
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetTotalFuelCapacityValue(v float64)
- func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) TotalFuelCapacityValue() (float64, bool)
- type LumishoreLightControl
- func (m *LumishoreLightControl) DecodePayload(payload []uint8) error
- func (m *LumishoreLightControl) EncodePayload() ([]uint8, error)
- func (m *LumishoreLightControl) MessageInfo() MessageInfo
- func (m *LumishoreLightControl) PGNNumber() uint32
- func (m *LumishoreLightControl) SetMessageInfo(info MessageInfo)
- type LumishoreLightStatus
- func (m *LumishoreLightStatus) DecodePayload(payload []uint8) error
- func (m *LumishoreLightStatus) EncodePayload() ([]uint8, error)
- func (m *LumishoreLightStatus) MessageInfo() MessageInfo
- func (m *LumishoreLightStatus) PGNNumber() uint32
- func (m *LumishoreLightStatus) SetMessageInfo(info MessageInfo)
- type LumishoreProprietary
- func (m *LumishoreProprietary) DecodePayload(payload []uint8) error
- func (m *LumishoreProprietary) EncodePayload() ([]uint8, error)
- func (m *LumishoreProprietary) MessageInfo() MessageInfo
- func (m *LumishoreProprietary) PGNNumber() uint32
- func (m *LumishoreProprietary) SetMessageInfo(info MessageInfo)
- type MagneticVariation
- func (m *MagneticVariation) AgeOfServiceValue() (float64, bool)
- func (m *MagneticVariation) DecodePayload(payload []uint8) error
- func (m *MagneticVariation) EncodePayload() ([]uint8, error)
- func (m *MagneticVariation) MessageInfo() MessageInfo
- func (m *MagneticVariation) PGNNumber() uint32
- func (m *MagneticVariation) SetAgeOfServiceValue(v float64)
- func (m *MagneticVariation) SetMessageInfo(info MessageInfo)
- func (m *MagneticVariation) SetVariationValue(v float64)
- func (m *MagneticVariation) VariationValue() (float64, bool)
- type MagneticVariationConst
- type ManOverboardNotification
- func (m *ManOverboardNotification) ActivationTimeValue() (float64, bool)
- func (m *ManOverboardNotification) CogValue() (float64, bool)
- func (m *ManOverboardNotification) DecodePayload(payload []uint8) error
- func (m *ManOverboardNotification) EncodePayload() ([]uint8, error)
- func (m *ManOverboardNotification) LatitudeValue() (float64, bool)
- func (m *ManOverboardNotification) LongitudeValue() (float64, bool)
- func (m *ManOverboardNotification) MessageInfo() MessageInfo
- func (m *ManOverboardNotification) PGNNumber() uint32
- func (m *ManOverboardNotification) PositionDateValue() (float64, bool)
- func (m *ManOverboardNotification) PositionTimeValue() (float64, bool)
- func (m *ManOverboardNotification) SetActivationTimeValue(v float64)
- func (m *ManOverboardNotification) SetCogValue(v float64)
- func (m *ManOverboardNotification) SetLatitudeValue(v float64)
- func (m *ManOverboardNotification) SetLongitudeValue(v float64)
- func (m *ManOverboardNotification) SetMessageInfo(info MessageInfo)
- func (m *ManOverboardNotification) SetPositionDateValue(v float64)
- func (m *ManOverboardNotification) SetPositionTimeValue(v float64)
- func (m *ManOverboardNotification) SetSogValue(v float64)
- func (m *ManOverboardNotification) SogValue() (float64, bool)
- type ManufacturerCodeConst
- type Maretron010V
- func (m *Maretron010V) DecodePayload(payload []uint8) error
- func (m *Maretron010V) EncodePayload() ([]uint8, error)
- func (m *Maretron010V) MessageInfo() MessageInfo
- func (m *Maretron010V) PGNNumber() uint32
- func (m *Maretron010V) Pgn010VDataValue() (float64, bool)
- func (m *Maretron010V) SetMessageInfo(info MessageInfo)
- func (m *Maretron010V) SetPgn010VDataValue(v float64)
- type Maretron420Ma
- type MaretronAlertControl
- func (m *MaretronAlertControl) DecodePayload(payload []uint8) error
- func (m *MaretronAlertControl) EncodePayload() ([]uint8, error)
- func (m *MaretronAlertControl) MessageInfo() MessageInfo
- func (m *MaretronAlertControl) PGNNumber() uint32
- func (m *MaretronAlertControl) SetMessageInfo(info MessageInfo)
- type MaretronAlertResponse
- func (m *MaretronAlertResponse) DecodePayload(payload []uint8) error
- func (m *MaretronAlertResponse) EncodePayload() ([]uint8, error)
- func (m *MaretronAlertResponse) MessageInfo() MessageInfo
- func (m *MaretronAlertResponse) PGNNumber() uint32
- func (m *MaretronAlertResponse) SetMessageInfo(info MessageInfo)
- type MaretronAlertText
- type MaretronAlertTransmission
- func (m *MaretronAlertTransmission) DecodePayload(payload []uint8) error
- func (m *MaretronAlertTransmission) EncodePayload() ([]uint8, error)
- func (m *MaretronAlertTransmission) MessageInfo() MessageInfo
- func (m *MaretronAlertTransmission) PGNNumber() uint32
- func (m *MaretronAlertTransmission) SetMessageInfo(info MessageInfo)
- type MaretronAnnunciator
- type MaretronAnnunciatorCapabilities
- func (m *MaretronAnnunciatorCapabilities) DecodePayload(payload []uint8) error
- func (m *MaretronAnnunciatorCapabilities) EncodePayload() ([]uint8, error)
- func (m *MaretronAnnunciatorCapabilities) MessageInfo() MessageInfo
- func (m *MaretronAnnunciatorCapabilities) PGNNumber() uint32
- func (m *MaretronAnnunciatorCapabilities) SetMessageInfo(info MessageInfo)
- type MaretronAnnunciatorCapabilitiesRepeating1
- type MaretronAutomationFunctionMaster
- func (m *MaretronAutomationFunctionMaster) DecodePayload(payload []uint8) error
- func (m *MaretronAutomationFunctionMaster) EncodePayload() ([]uint8, error)
- func (m *MaretronAutomationFunctionMaster) MessageInfo() MessageInfo
- func (m *MaretronAutomationFunctionMaster) PGNNumber() uint32
- func (m *MaretronAutomationFunctionMaster) SetMessageInfo(info MessageInfo)
- type MaretronBatteryAmpHourRecord
- func (m *MaretronBatteryAmpHourRecord) DecodePayload(payload []uint8) error
- func (m *MaretronBatteryAmpHourRecord) EncodePayload() ([]uint8, error)
- func (m *MaretronBatteryAmpHourRecord) MessageInfo() MessageInfo
- func (m *MaretronBatteryAmpHourRecord) PGNNumber() uint32
- func (m *MaretronBatteryAmpHourRecord) SetMessageInfo(info MessageInfo)
- type MaretronBnwas
- type MaretronCanFrameForwarding
- func (m *MaretronCanFrameForwarding) DecodePayload(payload []uint8) error
- func (m *MaretronCanFrameForwarding) EncodePayload() ([]uint8, error)
- func (m *MaretronCanFrameForwarding) MessageInfo() MessageInfo
- func (m *MaretronCanFrameForwarding) PGNNumber() uint32
- func (m *MaretronCanFrameForwarding) SetMessageInfo(info MessageInfo)
- type MaretronDataInstanceChannelCorrelation
- func (m *MaretronDataInstanceChannelCorrelation) DecodePayload(payload []uint8) error
- func (m *MaretronDataInstanceChannelCorrelation) EncodePayload() ([]uint8, error)
- func (m *MaretronDataInstanceChannelCorrelation) MessageInfo() MessageInfo
- func (m *MaretronDataInstanceChannelCorrelation) PGNNumber() uint32
- func (m *MaretronDataInstanceChannelCorrelation) SetMessageInfo(info MessageInfo)
- type MaretronDcEnergy
- type MaretronDeviationCalibrationResponse
- func (m *MaretronDeviationCalibrationResponse) DecodePayload(payload []uint8) error
- func (m *MaretronDeviationCalibrationResponse) EncodePayload() ([]uint8, error)
- func (m *MaretronDeviationCalibrationResponse) MessageInfo() MessageInfo
- func (m *MaretronDeviationCalibrationResponse) PGNNumber() uint32
- func (m *MaretronDeviationCalibrationResponse) SetMessageInfo(info MessageInfo)
- type MaretronDometicHvacControlStatus
- func (m *MaretronDometicHvacControlStatus) DecodePayload(payload []uint8) error
- func (m *MaretronDometicHvacControlStatus) EncodePayload() ([]uint8, error)
- func (m *MaretronDometicHvacControlStatus) MessageInfo() MessageInfo
- func (m *MaretronDometicHvacControlStatus) PGNNumber() uint32
- func (m *MaretronDometicHvacControlStatus) SetMessageInfo(info MessageInfo)
- type MaretronDometicHvacStatus
- func (m *MaretronDometicHvacStatus) DecodePayload(payload []uint8) error
- func (m *MaretronDometicHvacStatus) EncodePayload() ([]uint8, error)
- func (m *MaretronDometicHvacStatus) MessageInfo() MessageInfo
- func (m *MaretronDometicHvacStatus) PGNNumber() uint32
- func (m *MaretronDometicHvacStatus) SetMessageInfo(info MessageInfo)
- type MaretronFluidFlowRate
- func (m *MaretronFluidFlowRate) DecodePayload(payload []uint8) error
- func (m *MaretronFluidFlowRate) EncodePayload() ([]uint8, error)
- func (m *MaretronFluidFlowRate) FluidFlowRateValue() (float64, bool)
- func (m *MaretronFluidFlowRate) MessageInfo() MessageInfo
- func (m *MaretronFluidFlowRate) PGNNumber() uint32
- func (m *MaretronFluidFlowRate) SetFluidFlowRateValue(v float64)
- func (m *MaretronFluidFlowRate) SetMessageInfo(info MessageInfo)
- type MaretronGenericSensor
- func (m *MaretronGenericSensor) DecodePayload(payload []uint8) error
- func (m *MaretronGenericSensor) EncodePayload() ([]uint8, error)
- func (m *MaretronGenericSensor) MessageInfo() MessageInfo
- func (m *MaretronGenericSensor) PGNNumber() uint32
- func (m *MaretronGenericSensor) SetMessageInfo(info MessageInfo)
- type MaretronKeelPosition
- func (m *MaretronKeelPosition) DecodePayload(payload []uint8) error
- func (m *MaretronKeelPosition) EncodePayload() ([]uint8, error)
- func (m *MaretronKeelPosition) MessageInfo() MessageInfo
- func (m *MaretronKeelPosition) PGNNumber() uint32
- func (m *MaretronKeelPosition) SetMessageInfo(info MessageInfo)
- type MaretronLabel
- type MaretronNumberOfChannels
- func (m *MaretronNumberOfChannels) DecodePayload(payload []uint8) error
- func (m *MaretronNumberOfChannels) EncodePayload() ([]uint8, error)
- func (m *MaretronNumberOfChannels) MessageInfo() MessageInfo
- func (m *MaretronNumberOfChannels) PGNNumber() uint32
- func (m *MaretronNumberOfChannels) SetMessageInfo(info MessageInfo)
- type MaretronProprietaryConfiguration
- func (m *MaretronProprietaryConfiguration) DecodePayload(payload []uint8) error
- func (m *MaretronProprietaryConfiguration) EncodePayload() ([]uint8, error)
- func (m *MaretronProprietaryConfiguration) MessageInfo() MessageInfo
- func (m *MaretronProprietaryConfiguration) PGNNumber() uint32
- func (m *MaretronProprietaryConfiguration) SetMessageInfo(info MessageInfo)
- type MaretronProprietaryDcBreakerCurrent
- func (m *MaretronProprietaryDcBreakerCurrent) BreakerCurrentValue() (float64, bool)
- func (m *MaretronProprietaryDcBreakerCurrent) DecodePayload(payload []uint8) error
- func (m *MaretronProprietaryDcBreakerCurrent) EncodePayload() ([]uint8, error)
- func (m *MaretronProprietaryDcBreakerCurrent) MessageInfo() MessageInfo
- func (m *MaretronProprietaryDcBreakerCurrent) PGNNumber() uint32
- func (m *MaretronProprietaryDcBreakerCurrent) SetBreakerCurrentValue(v float64)
- func (m *MaretronProprietaryDcBreakerCurrent) SetMessageInfo(info MessageInfo)
- type MaretronProprietaryTemperatureHighRange
- func (m *MaretronProprietaryTemperatureHighRange) ActualTemperatureValue() (float64, bool)
- func (m *MaretronProprietaryTemperatureHighRange) DecodePayload(payload []uint8) error
- func (m *MaretronProprietaryTemperatureHighRange) EncodePayload() ([]uint8, error)
- func (m *MaretronProprietaryTemperatureHighRange) MessageInfo() MessageInfo
- func (m *MaretronProprietaryTemperatureHighRange) PGNNumber() uint32
- func (m *MaretronProprietaryTemperatureHighRange) SetActualTemperatureValue(v float64)
- func (m *MaretronProprietaryTemperatureHighRange) SetMessageInfo(info MessageInfo)
- func (m *MaretronProprietaryTemperatureHighRange) SetSetTemperatureValue(v float64)
- func (m *MaretronProprietaryTemperatureHighRange) SetTemperatureValue() (float64, bool)
- type MaretronResistance
- func (m *MaretronResistance) DecodePayload(payload []uint8) error
- func (m *MaretronResistance) EncodePayload() ([]uint8, error)
- func (m *MaretronResistance) MessageInfo() MessageInfo
- func (m *MaretronResistance) PGNNumber() uint32
- func (m *MaretronResistance) ResistanceValue() (float64, bool)
- func (m *MaretronResistance) SetMessageInfo(info MessageInfo)
- func (m *MaretronResistance) SetResistanceValue(v float64)
- type MaretronRotationalRate
- func (m *MaretronRotationalRate) DecodePayload(payload []uint8) error
- func (m *MaretronRotationalRate) EncodePayload() ([]uint8, error)
- func (m *MaretronRotationalRate) MessageInfo() MessageInfo
- func (m *MaretronRotationalRate) PGNNumber() uint32
- func (m *MaretronRotationalRate) RotationalRateValue() (float64, bool)
- func (m *MaretronRotationalRate) SetMessageInfo(info MessageInfo)
- func (m *MaretronRotationalRate) SetRotationalRateValue(v float64)
- type MaretronSmsStatus
- type MaretronSmsTextMessage
- func (m *MaretronSmsTextMessage) DecodePayload(payload []uint8) error
- func (m *MaretronSmsTextMessage) EncodePayload() ([]uint8, error)
- func (m *MaretronSmsTextMessage) MessageInfo() MessageInfo
- func (m *MaretronSmsTextMessage) PGNNumber() uint32
- func (m *MaretronSmsTextMessage) SetMessageInfo(info MessageInfo)
- type MaretronSwitchIndicatorStatus
- func (m *MaretronSwitchIndicatorStatus) DecodePayload(payload []uint8) error
- func (m *MaretronSwitchIndicatorStatus) EncodePayload() ([]uint8, error)
- func (m *MaretronSwitchIndicatorStatus) MessageInfo() MessageInfo
- func (m *MaretronSwitchIndicatorStatus) PGNNumber() uint32
- func (m *MaretronSwitchIndicatorStatus) SetMessageInfo(info MessageInfo)
- type MaretronSwitchIndicatorStatusRepeating1
- type MaretronSwitchStatusCounter
- func (m *MaretronSwitchStatusCounter) DecodePayload(payload []uint8) error
- func (m *MaretronSwitchStatusCounter) EncodePayload() ([]uint8, error)
- func (m *MaretronSwitchStatusCounter) MessageInfo() MessageInfo
- func (m *MaretronSwitchStatusCounter) PGNNumber() uint32
- func (m *MaretronSwitchStatusCounter) SetMessageInfo(info MessageInfo)
- func (m *MaretronSwitchStatusCounter) SetStartDateValue(v float64)
- func (m *MaretronSwitchStatusCounter) SetStartTimeValue(v float64)
- func (m *MaretronSwitchStatusCounter) StartDateValue() (float64, bool)
- func (m *MaretronSwitchStatusCounter) StartTimeValue() (float64, bool)
- type MaretronSwitchStatusTimer
- func (m *MaretronSwitchStatusTimer) AccumulatedErrorPeriodValue() (float64, bool)
- func (m *MaretronSwitchStatusTimer) AccumulatedOffPeriodValue() (float64, bool)
- func (m *MaretronSwitchStatusTimer) AccumulatedOnPeriodValue() (float64, bool)
- func (m *MaretronSwitchStatusTimer) DecodePayload(payload []uint8) error
- func (m *MaretronSwitchStatusTimer) EncodePayload() ([]uint8, error)
- func (m *MaretronSwitchStatusTimer) MessageInfo() MessageInfo
- func (m *MaretronSwitchStatusTimer) PGNNumber() uint32
- func (m *MaretronSwitchStatusTimer) SetAccumulatedErrorPeriodValue(v float64)
- func (m *MaretronSwitchStatusTimer) SetAccumulatedOffPeriodValue(v float64)
- func (m *MaretronSwitchStatusTimer) SetAccumulatedOnPeriodValue(v float64)
- func (m *MaretronSwitchStatusTimer) SetMessageInfo(info MessageInfo)
- func (m *MaretronSwitchStatusTimer) SetStartDateValue(v float64)
- func (m *MaretronSwitchStatusTimer) SetStartTimeValue(v float64)
- func (m *MaretronSwitchStatusTimer) StartDateValue() (float64, bool)
- func (m *MaretronSwitchStatusTimer) StartTimeValue() (float64, bool)
- type MaretronTripVolume
- func (m *MaretronTripVolume) DecodePayload(payload []uint8) error
- func (m *MaretronTripVolume) EncodePayload() ([]uint8, error)
- func (m *MaretronTripVolume) MessageInfo() MessageInfo
- func (m *MaretronTripVolume) PGNNumber() uint32
- func (m *MaretronTripVolume) SetMessageInfo(info MessageInfo)
- func (m *MaretronTripVolume) SetTripVolumeValue(v float64)
- func (m *MaretronTripVolume) TripVolumeValue() (float64, bool)
- type MaretronUniversalConfigurationFp
- func (m *MaretronUniversalConfigurationFp) DecodePayload(payload []uint8) error
- func (m *MaretronUniversalConfigurationFp) EncodePayload() ([]uint8, error)
- func (m *MaretronUniversalConfigurationFp) MessageInfo() MessageInfo
- func (m *MaretronUniversalConfigurationFp) PGNNumber() uint32
- func (m *MaretronUniversalConfigurationFp) SetMessageInfo(info MessageInfo)
- type MaretronUniversalConfigurationSf
- func (m *MaretronUniversalConfigurationSf) DecodePayload(payload []uint8) error
- func (m *MaretronUniversalConfigurationSf) EncodePayload() ([]uint8, error)
- func (m *MaretronUniversalConfigurationSf) MessageInfo() MessageInfo
- func (m *MaretronUniversalConfigurationSf) PGNNumber() uint32
- func (m *MaretronUniversalConfigurationSf) SetMessageInfo(info MessageInfo)
- type MaretronVesselDataRecorderStatus
- func (m *MaretronVesselDataRecorderStatus) DecodePayload(payload []uint8) error
- func (m *MaretronVesselDataRecorderStatus) EncodePayload() ([]uint8, error)
- func (m *MaretronVesselDataRecorderStatus) MessageInfo() MessageInfo
- func (m *MaretronVesselDataRecorderStatus) PGNNumber() uint32
- func (m *MaretronVesselDataRecorderStatus) SetMessageInfo(info MessageInfo)
- type MaretronVesselOperatingMode
- func (m *MaretronVesselOperatingMode) DecodePayload(payload []uint8) error
- func (m *MaretronVesselOperatingMode) EncodePayload() ([]uint8, error)
- func (m *MaretronVesselOperatingMode) MessageInfo() MessageInfo
- func (m *MaretronVesselOperatingMode) PGNNumber() uint32
- func (m *MaretronVesselOperatingMode) SetMessageInfo(info MessageInfo)
- type MaretronWindlassControlCommand
- func (m *MaretronWindlassControlCommand) DecodePayload(payload []uint8) error
- func (m *MaretronWindlassControlCommand) EncodePayload() ([]uint8, error)
- func (m *MaretronWindlassControlCommand) MessageInfo() MessageInfo
- func (m *MaretronWindlassControlCommand) PGNNumber() uint32
- func (m *MaretronWindlassControlCommand) SetMessageInfo(info MessageInfo)
- type MaretronWindlassOperatingStatus
- func (m *MaretronWindlassOperatingStatus) DecodePayload(payload []uint8) error
- func (m *MaretronWindlassOperatingStatus) EncodePayload() ([]uint8, error)
- func (m *MaretronWindlassOperatingStatus) MessageInfo() MessageInfo
- func (m *MaretronWindlassOperatingStatus) PGNNumber() uint32
- func (m *MaretronWindlassOperatingStatus) SetMessageInfo(info MessageInfo)
- type MarkTypeConst
- type MercuryBamDigitalDataProxy
- func (m *MercuryBamDigitalDataProxy) DecodePayload(payload []uint8) error
- func (m *MercuryBamDigitalDataProxy) EncodePayload() ([]uint8, error)
- func (m *MercuryBamDigitalDataProxy) MessageInfo() MessageInfo
- func (m *MercuryBamDigitalDataProxy) PGNNumber() uint32
- func (m *MercuryBamDigitalDataProxy) SetMessageInfo(info MessageInfo)
- type MercuryCommandResponse
- func (m *MercuryCommandResponse) DecodePayload(payload []uint8) error
- func (m *MercuryCommandResponse) EncodePayload() ([]uint8, error)
- func (m *MercuryCommandResponse) MessageInfo() MessageInfo
- func (m *MercuryCommandResponse) PGNNumber() uint32
- func (m *MercuryCommandResponse) SetMessageInfo(info MessageInfo)
- type MercuryCruiseControlData
- func (m *MercuryCruiseControlData) CruiseRpmSetpointValue() (float64, bool)
- func (m *MercuryCruiseControlData) CruiseSpeedSetpointValue() (float64, bool)
- func (m *MercuryCruiseControlData) DecodePayload(payload []uint8) error
- func (m *MercuryCruiseControlData) EncodePayload() ([]uint8, error)
- func (m *MercuryCruiseControlData) MessageInfo() MessageInfo
- func (m *MercuryCruiseControlData) PGNNumber() uint32
- func (m *MercuryCruiseControlData) SetCruiseRpmSetpointValue(v float64)
- func (m *MercuryCruiseControlData) SetCruiseSpeedSetpointValue(v float64)
- func (m *MercuryCruiseControlData) SetMessageInfo(info MessageInfo)
- type MercuryEngineData
- type MercuryEngineKeyValueData
- func (m *MercuryEngineKeyValueData) DecodePayload(payload []uint8) error
- func (m *MercuryEngineKeyValueData) EncodePayload() ([]uint8, error)
- func (m *MercuryEngineKeyValueData) MessageInfo() MessageInfo
- func (m *MercuryEngineKeyValueData) PGNNumber() uint32
- func (m *MercuryEngineKeyValueData) SetMessageInfo(info MessageInfo)
- type MercuryEngineKeyValueDataRepeating1
- type MercuryEngineStatus
- type MercuryEngineTelemetryLowSpeed
- func (m *MercuryEngineTelemetryLowSpeed) DecodePayload(payload []uint8) error
- func (m *MercuryEngineTelemetryLowSpeed) EncodePayload() ([]uint8, error)
- func (m *MercuryEngineTelemetryLowSpeed) MessageInfo() MessageInfo
- func (m *MercuryEngineTelemetryLowSpeed) PGNNumber() uint32
- func (m *MercuryEngineTelemetryLowSpeed) SetMessageInfo(info MessageInfo)
- type Message
- type Message0x1ed000x1ee00StandardizedFastPacketAddressed
- func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) DecodePayload(payload []uint8) error
- func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) MessageInfo() MessageInfo
- func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) PGNNumber() uint32
- func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) SetMessageInfo(info MessageInfo)
- type Message0x1ef00ManufacturerProprietaryFastPacketAddressed
- func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) DecodePayload(payload []uint8) error
- func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) MessageInfo() MessageInfo
- func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) PGNNumber() uint32
- func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) SetMessageInfo(info MessageInfo)
- type Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed
- func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) DecodePayload(payload []uint8) error
- func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) MessageInfo() MessageInfo
- func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) PGNNumber() uint32
- func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) SetMessageInfo(info MessageInfo)
- type Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed
- func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) DecodePayload(payload []uint8) error
- func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) MessageInfo() MessageInfo
- func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) PGNNumber() uint32
- func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) SetMessageInfo(info MessageInfo)
- type Message0xe8000xee00StandardizedSingleFrameAddressed
- func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) DecodePayload(payload []uint8) error
- func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) MessageInfo() MessageInfo
- func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) PGNNumber() uint32
- func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) SetMessageInfo(info MessageInfo)
- type Message0xef00ManufacturerProprietarySingleFrameAddressed
- func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) DecodePayload(payload []uint8) error
- func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) MessageInfo() MessageInfo
- func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) PGNNumber() uint32
- func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) SetMessageInfo(info MessageInfo)
- type Message0xf0000xfeffStandardizedSingleFrameNonAddressed
- func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) DecodePayload(payload []uint8) error
- func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) MessageInfo() MessageInfo
- func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) PGNNumber() uint32
- func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) SetMessageInfo(info MessageInfo)
- type Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed
- func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) DecodePayload(payload []uint8) error
- func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) EncodePayload() ([]uint8, error)
- func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) MessageInfo() MessageInfo
- func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) PGNNumber() uint32
- func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) SetMessageInfo(info MessageInfo)
- type MessageInfo
- type MeteorologicalStationData
- func (m *MeteorologicalStationData) AmbientTemperatureValue() (float64, bool)
- func (m *MeteorologicalStationData) AtmosphericPressureValue() (float64, bool)
- func (m *MeteorologicalStationData) DecodePayload(payload []uint8) error
- func (m *MeteorologicalStationData) EncodePayload() ([]uint8, error)
- func (m *MeteorologicalStationData) MeasurementDateValue() (float64, bool)
- func (m *MeteorologicalStationData) MeasurementTimeValue() (float64, bool)
- func (m *MeteorologicalStationData) MessageInfo() MessageInfo
- func (m *MeteorologicalStationData) PGNNumber() uint32
- func (m *MeteorologicalStationData) SetAmbientTemperatureValue(v float64)
- func (m *MeteorologicalStationData) SetAtmosphericPressureValue(v float64)
- func (m *MeteorologicalStationData) SetMeasurementDateValue(v float64)
- func (m *MeteorologicalStationData) SetMeasurementTimeValue(v float64)
- func (m *MeteorologicalStationData) SetMessageInfo(info MessageInfo)
- func (m *MeteorologicalStationData) SetStationLatitudeValue(v float64)
- func (m *MeteorologicalStationData) SetStationLongitudeValue(v float64)
- func (m *MeteorologicalStationData) SetWindDirectionValue(v float64)
- func (m *MeteorologicalStationData) SetWindGustsValue(v float64)
- func (m *MeteorologicalStationData) SetWindSpeedValue(v float64)
- func (m *MeteorologicalStationData) StationLatitudeValue() (float64, bool)
- func (m *MeteorologicalStationData) StationLongitudeValue() (float64, bool)
- func (m *MeteorologicalStationData) WindDirectionValue() (float64, bool)
- func (m *MeteorologicalStationData) WindGustsValue() (float64, bool)
- func (m *MeteorologicalStationData) WindSpeedValue() (float64, bool)
- type MobPositionSourceConst
- type MobStatusConst
- type MooredBuoyStationData
- func (m *MooredBuoyStationData) AirTemperatureValue() (float64, bool)
- func (m *MooredBuoyStationData) AtmosphericPressureValue() (float64, bool)
- func (m *MooredBuoyStationData) DecodePayload(payload []uint8) error
- func (m *MooredBuoyStationData) DominantWavePeriodValue() (float64, bool)
- func (m *MooredBuoyStationData) EncodePayload() ([]uint8, error)
- func (m *MooredBuoyStationData) MeasurementDateValue() (float64, bool)
- func (m *MooredBuoyStationData) MeasurementTimeValue() (float64, bool)
- func (m *MooredBuoyStationData) MessageInfo() MessageInfo
- func (m *MooredBuoyStationData) PGNNumber() uint32
- func (m *MooredBuoyStationData) PressureTendencyRateValue() (float64, bool)
- func (m *MooredBuoyStationData) SetAirTemperatureValue(v float64)
- func (m *MooredBuoyStationData) SetAtmosphericPressureValue(v float64)
- func (m *MooredBuoyStationData) SetDominantWavePeriodValue(v float64)
- func (m *MooredBuoyStationData) SetMeasurementDateValue(v float64)
- func (m *MooredBuoyStationData) SetMeasurementTimeValue(v float64)
- func (m *MooredBuoyStationData) SetMessageInfo(info MessageInfo)
- func (m *MooredBuoyStationData) SetPressureTendencyRateValue(v float64)
- func (m *MooredBuoyStationData) SetStationLatitudeValue(v float64)
- func (m *MooredBuoyStationData) SetStationLongitudeValue(v float64)
- func (m *MooredBuoyStationData) SetWaterTemperatureValue(v float64)
- func (m *MooredBuoyStationData) SetWaveHeightValue(v float64)
- func (m *MooredBuoyStationData) SetWindDirectionValue(v float64)
- func (m *MooredBuoyStationData) SetWindGustsValue(v float64)
- func (m *MooredBuoyStationData) SetWindSpeedValue(v float64)
- func (m *MooredBuoyStationData) StationLatitudeValue() (float64, bool)
- func (m *MooredBuoyStationData) StationLongitudeValue() (float64, bool)
- func (m *MooredBuoyStationData) WaterTemperatureValue() (float64, bool)
- func (m *MooredBuoyStationData) WaveHeightValue() (float64, bool)
- func (m *MooredBuoyStationData) WindDirectionValue() (float64, bool)
- func (m *MooredBuoyStationData) WindGustsValue() (float64, bool)
- func (m *MooredBuoyStationData) WindSpeedValue() (float64, bool)
- type NavStatusConst
- type NavicoAlarm
- type NavicoAsciiData
- type NavicoAsciiIdentifier
- func (m *NavicoAsciiIdentifier) DecodePayload(payload []uint8) error
- func (m *NavicoAsciiIdentifier) EncodePayload() ([]uint8, error)
- func (m *NavicoAsciiIdentifier) MessageInfo() MessageInfo
- func (m *NavicoAsciiIdentifier) PGNNumber() uint32
- func (m *NavicoAsciiIdentifier) SetMessageInfo(info MessageInfo)
- type NavicoBoatSpeedPolarTable
- func (m *NavicoBoatSpeedPolarTable) DecodePayload(payload []uint8) error
- func (m *NavicoBoatSpeedPolarTable) EncodePayload() ([]uint8, error)
- func (m *NavicoBoatSpeedPolarTable) MessageInfo() MessageInfo
- func (m *NavicoBoatSpeedPolarTable) PGNNumber() uint32
- func (m *NavicoBoatSpeedPolarTable) SetMessageInfo(info MessageInfo)
- type NavicoConfigurationSet
- func (m *NavicoConfigurationSet) DecodePayload(payload []uint8) error
- func (m *NavicoConfigurationSet) EncodePayload() ([]uint8, error)
- func (m *NavicoConfigurationSet) MessageInfo() MessageInfo
- func (m *NavicoConfigurationSet) PGNNumber() uint32
- func (m *NavicoConfigurationSet) SetMessageInfo(info MessageInfo)
- type NavicoDataTypeSourceDirectory
- func (m *NavicoDataTypeSourceDirectory) DecodePayload(payload []uint8) error
- func (m *NavicoDataTypeSourceDirectory) EncodePayload() ([]uint8, error)
- func (m *NavicoDataTypeSourceDirectory) MessageInfo() MessageInfo
- func (m *NavicoDataTypeSourceDirectory) PGNNumber() uint32
- func (m *NavicoDataTypeSourceDirectory) SetMessageInfo(info MessageInfo)
- type NavicoDataTypeSourceDirectoryFullReport
- func (m *NavicoDataTypeSourceDirectoryFullReport) DecodePayload(payload []uint8) error
- func (m *NavicoDataTypeSourceDirectoryFullReport) EncodePayload() ([]uint8, error)
- func (m *NavicoDataTypeSourceDirectoryFullReport) MessageInfo() MessageInfo
- func (m *NavicoDataTypeSourceDirectoryFullReport) PGNNumber() uint32
- func (m *NavicoDataTypeSourceDirectoryFullReport) SetMessageInfo(info MessageInfo)
- type NavicoDataTypeSourceDirectoryFullReportRepeating1
- type NavicoDataTypeSourceDirectoryRepeating1
- type NavicoDepthQuality
- func (m *NavicoDepthQuality) DecodePayload(payload []uint8) error
- func (m *NavicoDepthQuality) DepthQualityValue() (float64, bool)
- func (m *NavicoDepthQuality) EncodePayload() ([]uint8, error)
- func (m *NavicoDepthQuality) MessageInfo() MessageInfo
- func (m *NavicoDepthQuality) PGNNumber() uint32
- func (m *NavicoDepthQuality) SetDepthQualityValue(v float64)
- func (m *NavicoDepthQuality) SetMessageInfo(info MessageInfo)
- type NavicoDeviceStatus
- type NavicoDiagnosticData
- func (m *NavicoDiagnosticData) DecodePayload(payload []uint8) error
- func (m *NavicoDiagnosticData) EncodePayload() ([]uint8, error)
- func (m *NavicoDiagnosticData) MessageInfo() MessageInfo
- func (m *NavicoDiagnosticData) PGNNumber() uint32
- func (m *NavicoDiagnosticData) SetMessageInfo(info MessageInfo)
- type NavicoDiagnosticDataRepeating1
- type NavicoFeatureUnlock
- type NavicoNaviopSwitchControl
- func (m *NavicoNaviopSwitchControl) DecodePayload(payload []uint8) error
- func (m *NavicoNaviopSwitchControl) EncodePayload() ([]uint8, error)
- func (m *NavicoNaviopSwitchControl) MessageInfo() MessageInfo
- func (m *NavicoNaviopSwitchControl) PGNNumber() uint32
- func (m *NavicoNaviopSwitchControl) SetMessageInfo(info MessageInfo)
- type NavicoNaviopSwitchStatus
- func (m *NavicoNaviopSwitchStatus) DecodePayload(payload []uint8) error
- func (m *NavicoNaviopSwitchStatus) EncodePayload() ([]uint8, error)
- func (m *NavicoNaviopSwitchStatus) MessageInfo() MessageInfo
- func (m *NavicoNaviopSwitchStatus) PGNNumber() uint32
- func (m *NavicoNaviopSwitchStatus) SetMessageInfo(info MessageInfo)
- type NavicoProprietary2
- type NavicoProprietaryFp
- type NavicoUdbDatabaseBulkReport2
- func (m *NavicoUdbDatabaseBulkReport2) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseBulkReport2) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseBulkReport2) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseBulkReport2) PGNNumber() uint32
- func (m *NavicoUdbDatabaseBulkReport2) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseBulkReport4
- func (m *NavicoUdbDatabaseBulkReport4) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseBulkReport4) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseBulkReport4) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseBulkReport4) PGNNumber() uint32
- func (m *NavicoUdbDatabaseBulkReport4) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseObjectDump
- func (m *NavicoUdbDatabaseObjectDump) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseObjectDump) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseObjectDump) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseObjectDump) PGNNumber() uint32
- func (m *NavicoUdbDatabaseObjectDump) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseObjectDumpRepeating1
- type NavicoUdbDatabaseObjectPing
- func (m *NavicoUdbDatabaseObjectPing) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseObjectPing) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseObjectPing) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseObjectPing) PGNNumber() uint32
- func (m *NavicoUdbDatabaseObjectPing) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseShortReport5
- func (m *NavicoUdbDatabaseShortReport5) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseShortReport5) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseShortReport5) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseShortReport5) PGNNumber() uint32
- func (m *NavicoUdbDatabaseShortReport5) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseShortReport7
- func (m *NavicoUdbDatabaseShortReport7) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseShortReport7) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseShortReport7) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseShortReport7) PGNNumber() uint32
- func (m *NavicoUdbDatabaseShortReport7) SetMessageInfo(info MessageInfo)
- type NavicoUdbDatabaseSourceReport
- func (m *NavicoUdbDatabaseSourceReport) DecodePayload(payload []uint8) error
- func (m *NavicoUdbDatabaseSourceReport) EncodePayload() ([]uint8, error)
- func (m *NavicoUdbDatabaseSourceReport) MessageInfo() MessageInfo
- func (m *NavicoUdbDatabaseSourceReport) PGNNumber() uint32
- func (m *NavicoUdbDatabaseSourceReport) SetMessageInfo(info MessageInfo)
- type NavicoWirelessBatteryStatus
- func (m *NavicoWirelessBatteryStatus) BatteryChargeStatusValue() (float64, bool)
- func (m *NavicoWirelessBatteryStatus) BatteryStatusValue() (float64, bool)
- func (m *NavicoWirelessBatteryStatus) DecodePayload(payload []uint8) error
- func (m *NavicoWirelessBatteryStatus) EncodePayload() ([]uint8, error)
- func (m *NavicoWirelessBatteryStatus) MessageInfo() MessageInfo
- func (m *NavicoWirelessBatteryStatus) PGNNumber() uint32
- func (m *NavicoWirelessBatteryStatus) SetBatteryChargeStatusValue(v float64)
- func (m *NavicoWirelessBatteryStatus) SetBatteryStatusValue(v float64)
- func (m *NavicoWirelessBatteryStatus) SetMessageInfo(info MessageInfo)
- type NavicoWirelessSignalStatus
- func (m *NavicoWirelessSignalStatus) DecodePayload(payload []uint8) error
- func (m *NavicoWirelessSignalStatus) EncodePayload() ([]uint8, error)
- func (m *NavicoWirelessSignalStatus) MessageInfo() MessageInfo
- func (m *NavicoWirelessSignalStatus) PGNNumber() uint32
- func (m *NavicoWirelessSignalStatus) SetMessageInfo(info MessageInfo)
- func (m *NavicoWirelessSignalStatus) SetSignalStrengthValue(v float64)
- func (m *NavicoWirelessSignalStatus) SignalStrengthValue() (float64, bool)
- type NavigationData
- func (m *NavigationData) BearingOriginToDestinationWaypointValue() (float64, bool)
- func (m *NavigationData) BearingPositionToDestinationWaypointValue() (float64, bool)
- func (m *NavigationData) DecodePayload(payload []uint8) error
- func (m *NavigationData) DestinationLatitudeValue() (float64, bool)
- func (m *NavigationData) DestinationLongitudeValue() (float64, bool)
- func (m *NavigationData) DistanceToWaypointValue() (float64, bool)
- func (m *NavigationData) EncodePayload() ([]uint8, error)
- func (m *NavigationData) EtaDateValue() (float64, bool)
- func (m *NavigationData) EtaTimeValue() (float64, bool)
- func (m *NavigationData) MessageInfo() MessageInfo
- func (m *NavigationData) PGNNumber() uint32
- func (m *NavigationData) SetBearingOriginToDestinationWaypointValue(v float64)
- func (m *NavigationData) SetBearingPositionToDestinationWaypointValue(v float64)
- func (m *NavigationData) SetDestinationLatitudeValue(v float64)
- func (m *NavigationData) SetDestinationLongitudeValue(v float64)
- func (m *NavigationData) SetDistanceToWaypointValue(v float64)
- func (m *NavigationData) SetEtaDateValue(v float64)
- func (m *NavigationData) SetEtaTimeValue(v float64)
- func (m *NavigationData) SetMessageInfo(info MessageInfo)
- func (m *NavigationData) SetWaypointClosingVelocityValue(v float64)
- func (m *NavigationData) WaypointClosingVelocityValue() (float64, bool)
- type NavigationRouteTimeToFromMark
- func (m *NavigationRouteTimeToFromMark) DecodePayload(payload []uint8) error
- func (m *NavigationRouteTimeToFromMark) EncodePayload() ([]uint8, error)
- func (m *NavigationRouteTimeToFromMark) MessageInfo() MessageInfo
- func (m *NavigationRouteTimeToFromMark) PGNNumber() uint32
- func (m *NavigationRouteTimeToFromMark) SetMessageInfo(info MessageInfo)
- func (m *NavigationRouteTimeToFromMark) SetTimeToMarkValue(v float64)
- func (m *NavigationRouteTimeToFromMark) TimeToMarkValue() (float64, bool)
- type NavigationRouteWpInformation
- func (m *NavigationRouteWpInformation) DecodePayload(payload []uint8) error
- func (m *NavigationRouteWpInformation) EncodePayload() ([]uint8, error)
- func (m *NavigationRouteWpInformation) MessageInfo() MessageInfo
- func (m *NavigationRouteWpInformation) PGNNumber() uint32
- func (m *NavigationRouteWpInformation) SetMessageInfo(info MessageInfo)
- type NavigationRouteWpInformationRepeating1
- func (m *NavigationRouteWpInformationRepeating1) SetWpLatitudeValue(v float64)
- func (m *NavigationRouteWpInformationRepeating1) SetWpLongitudeValue(v float64)
- func (m *NavigationRouteWpInformationRepeating1) WpLatitudeValue() (float64, bool)
- func (m *NavigationRouteWpInformationRepeating1) WpLongitudeValue() (float64, bool)
- type NmeaAcknowledgeGroupFunction
- func (m *NmeaAcknowledgeGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaAcknowledgeGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaAcknowledgeGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaAcknowledgeGroupFunction) PGNNumber() uint32
- func (m *NmeaAcknowledgeGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaAcknowledgeGroupFunctionRepeating1
- type NmeaCommandGroupFunction
- func (m *NmeaCommandGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaCommandGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaCommandGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaCommandGroupFunction) PGNNumber() uint32
- func (m *NmeaCommandGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaCommandGroupFunctionRepeating1
- type NmeaReadFieldsGroupFunction
- func (m *NmeaReadFieldsGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaReadFieldsGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaReadFieldsGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaReadFieldsGroupFunction) PGNNumber() uint32
- func (m *NmeaReadFieldsGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaReadFieldsGroupFunctionRepeating1
- type NmeaReadFieldsGroupFunctionRepeating2
- type NmeaReadFieldsReplyGroupFunction
- func (m *NmeaReadFieldsReplyGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaReadFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaReadFieldsReplyGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaReadFieldsReplyGroupFunction) PGNNumber() uint32
- func (m *NmeaReadFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaReadFieldsReplyGroupFunctionRepeating1
- type NmeaReadFieldsReplyGroupFunctionRepeating2
- type NmeaRequestGroupFunction
- func (m *NmeaRequestGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaRequestGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaRequestGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaRequestGroupFunction) PGNNumber() uint32
- func (m *NmeaRequestGroupFunction) SetMessageInfo(info MessageInfo)
- func (m *NmeaRequestGroupFunction) SetTransmissionIntervalOffsetValue(v float64)
- func (m *NmeaRequestGroupFunction) SetTransmissionIntervalValue(v float64)
- func (m *NmeaRequestGroupFunction) TransmissionIntervalOffsetValue() (float64, bool)
- func (m *NmeaRequestGroupFunction) TransmissionIntervalValue() (float64, bool)
- type NmeaRequestGroupFunctionRepeating1
- type NmeaWriteFieldsGroupFunction
- func (m *NmeaWriteFieldsGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaWriteFieldsGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaWriteFieldsGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaWriteFieldsGroupFunction) PGNNumber() uint32
- func (m *NmeaWriteFieldsGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaWriteFieldsGroupFunctionRepeating1
- type NmeaWriteFieldsGroupFunctionRepeating2
- type NmeaWriteFieldsReplyGroupFunction
- func (m *NmeaWriteFieldsReplyGroupFunction) DecodePayload(payload []uint8) error
- func (m *NmeaWriteFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)
- func (m *NmeaWriteFieldsReplyGroupFunction) MessageInfo() MessageInfo
- func (m *NmeaWriteFieldsReplyGroupFunction) PGNNumber() uint32
- func (m *NmeaWriteFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)
- type NmeaWriteFieldsReplyGroupFunctionRepeating1
- type NmeaWriteFieldsReplyGroupFunctionRepeating2
- type OffOnConst
- type OkWarningConst
- type PGN
- type PGNDataStream
- type PGNDataStreamWriter
- type ParameterFieldConst
- type ParameterGroupNumberListTransmitAndReceive
- func (m *ParameterGroupNumberListTransmitAndReceive) DecodePayload(payload []uint8) error
- func (m *ParameterGroupNumberListTransmitAndReceive) EncodePayload() ([]uint8, error)
- func (m *ParameterGroupNumberListTransmitAndReceive) MessageInfo() MessageInfo
- func (m *ParameterGroupNumberListTransmitAndReceive) PGNNumber() uint32
- func (m *ParameterGroupNumberListTransmitAndReceive) SetMessageInfo(info MessageInfo)
- type ParameterGroupNumberListTransmitAndReceiveRepeating1
- type PayloadMass
- type PgnErrorCodeConst
- type PgnInfo
- type PgnListFunctionConst
- type PositionAccuracyConst
- type PositionDeltaRapidUpdate
- func (m *PositionDeltaRapidUpdate) DecodePayload(payload []uint8) error
- func (m *PositionDeltaRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *PositionDeltaRapidUpdate) LatitudeDeltaValue() (float64, bool)
- func (m *PositionDeltaRapidUpdate) LongitudeDeltaValue() (float64, bool)
- func (m *PositionDeltaRapidUpdate) MessageInfo() MessageInfo
- func (m *PositionDeltaRapidUpdate) PGNNumber() uint32
- func (m *PositionDeltaRapidUpdate) SetLatitudeDeltaValue(v float64)
- func (m *PositionDeltaRapidUpdate) SetLongitudeDeltaValue(v float64)
- func (m *PositionDeltaRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *PositionDeltaRapidUpdate) SetTimeDeltaValue(v float64)
- func (m *PositionDeltaRapidUpdate) TimeDeltaValue() (float64, bool)
- type PositionFixDeviceConst
- type PositionRapidUpdate
- func (m *PositionRapidUpdate) DecodePayload(payload []uint8) error
- func (m *PositionRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *PositionRapidUpdate) LatitudeValue() (float64, bool)
- func (m *PositionRapidUpdate) LongitudeValue() (float64, bool)
- func (m *PositionRapidUpdate) MessageInfo() MessageInfo
- func (m *PositionRapidUpdate) PGNNumber() uint32
- func (m *PositionRapidUpdate) SetLatitudeValue(v float64)
- func (m *PositionRapidUpdate) SetLongitudeValue(v float64)
- func (m *PositionRapidUpdate) SetMessageInfo(info MessageInfo)
- type PowerFactorConst
- type PressureSourceConst
- type PriorityConst
- type ProductInformation
- func (m *ProductInformation) DecodePayload(payload []uint8) error
- func (m *ProductInformation) EncodePayload() ([]uint8, error)
- func (m *ProductInformation) MessageInfo() MessageInfo
- func (m *ProductInformation) Nmea2000VersionValue() (float64, bool)
- func (m *ProductInformation) PGNNumber() uint32
- func (m *ProductInformation) SetMessageInfo(info MessageInfo)
- func (m *ProductInformation) SetNmea2000VersionValue(v float64)
- type RadioFrequencyModePower
- func (m *RadioFrequencyModePower) ChannelBandwidthValue() (float64, bool)
- func (m *RadioFrequencyModePower) DecodePayload(payload []uint8) error
- func (m *RadioFrequencyModePower) EncodePayload() ([]uint8, error)
- func (m *RadioFrequencyModePower) MessageInfo() MessageInfo
- func (m *RadioFrequencyModePower) PGNNumber() uint32
- func (m *RadioFrequencyModePower) RxFrequencyValue() (float64, bool)
- func (m *RadioFrequencyModePower) SetChannelBandwidthValue(v float64)
- func (m *RadioFrequencyModePower) SetMessageInfo(info MessageInfo)
- func (m *RadioFrequencyModePower) SetRxFrequencyValue(v float64)
- func (m *RadioFrequencyModePower) SetTxFrequencyValue(v float64)
- func (m *RadioFrequencyModePower) SetTxPowerValue(v float64)
- func (m *RadioFrequencyModePower) TxFrequencyValue() (float64, bool)
- func (m *RadioFrequencyModePower) TxPowerValue() (float64, bool)
- type RaimFlagConst
- type RangeResidualModeConst
- type RateOfTurn
- func (m *RateOfTurn) DecodePayload(payload []uint8) error
- func (m *RateOfTurn) EncodePayload() ([]uint8, error)
- func (m *RateOfTurn) MessageInfo() MessageInfo
- func (m *RateOfTurn) PGNNumber() uint32
- func (m *RateOfTurn) RateValue() (float64, bool)
- func (m *RateOfTurn) SetMessageInfo(info MessageInfo)
- func (m *RateOfTurn) SetRateValue(v float64)
- type RepeatIndicatorConst
- type ReportingIntervalConst
- type ResidualModeConst
- type RodeTypeConst
- type RouteAndWpServiceDatabaseComment
- func (m *RouteAndWpServiceDatabaseComment) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceDatabaseComment) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceDatabaseComment) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceDatabaseComment) PGNNumber() uint32
- func (m *RouteAndWpServiceDatabaseComment) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceDatabaseCommentRepeating1
- type RouteAndWpServiceDatabaseList
- func (m *RouteAndWpServiceDatabaseList) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceDatabaseList) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceDatabaseList) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceDatabaseList) PGNNumber() uint32
- func (m *RouteAndWpServiceDatabaseList) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceDatabaseListRepeating1
- func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseDatestampValue() (float64, bool)
- func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseTimestampValue() (float64, bool)
- func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseDatestampValue(v float64)
- func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseTimestampValue(v float64)
- type RouteAndWpServiceRadiusOfTurn
- func (m *RouteAndWpServiceRadiusOfTurn) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRadiusOfTurn) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRadiusOfTurn) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRadiusOfTurn) PGNNumber() uint32
- func (m *RouteAndWpServiceRadiusOfTurn) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceRadiusOfTurnRepeating1
- type RouteAndWpServiceRouteComment
- func (m *RouteAndWpServiceRouteComment) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRouteComment) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRouteComment) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRouteComment) PGNNumber() uint32
- func (m *RouteAndWpServiceRouteComment) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceRouteCommentRepeating1
- type RouteAndWpServiceRouteList
- func (m *RouteAndWpServiceRouteList) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRouteList) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRouteList) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRouteList) PGNNumber() uint32
- func (m *RouteAndWpServiceRouteList) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceRouteListRepeating1
- type RouteAndWpServiceRouteWpListAttributes
- func (m *RouteAndWpServiceRouteWpListAttributes) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRouteWpListAttributes) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRouteWpListAttributes) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRouteWpListAttributes) PGNNumber() uint32
- func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListDatestampValue() (float64, bool)
- func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListTimestampValue() (float64, bool)
- func (m *RouteAndWpServiceRouteWpListAttributes) SetMessageInfo(info MessageInfo)
- func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListDatestampValue(v float64)
- func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListTimestampValue(v float64)
- func (m *RouteAndWpServiceRouteWpListAttributes) SetXteLimitForTheRouteValue(v float64)
- func (m *RouteAndWpServiceRouteWpListAttributes) XteLimitForTheRouteValue() (float64, bool)
- type RouteAndWpServiceRouteWpName
- func (m *RouteAndWpServiceRouteWpName) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRouteWpName) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRouteWpName) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRouteWpName) PGNNumber() uint32
- func (m *RouteAndWpServiceRouteWpName) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceRouteWpNamePosition
- func (m *RouteAndWpServiceRouteWpNamePosition) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceRouteWpNamePosition) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceRouteWpNamePosition) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceRouteWpNamePosition) PGNNumber() uint32
- func (m *RouteAndWpServiceRouteWpNamePosition) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceRouteWpNamePositionRepeating1
- func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLatitudeValue(v float64)
- func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLongitudeValue(v float64)
- func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) WpLatitudeValue() (float64, bool)
- func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) WpLongitudeValue() (float64, bool)
- type RouteAndWpServiceRouteWpNameRepeating1
- type RouteAndWpServiceWpComment
- func (m *RouteAndWpServiceWpComment) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceWpComment) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceWpComment) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceWpComment) PGNNumber() uint32
- func (m *RouteAndWpServiceWpComment) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceWpCommentRepeating1
- type RouteAndWpServiceWpListWpNamePosition
- func (m *RouteAndWpServiceWpListWpNamePosition) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceWpListWpNamePosition) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceWpListWpNamePosition) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceWpListWpNamePosition) PGNNumber() uint32
- func (m *RouteAndWpServiceWpListWpNamePosition) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceWpListWpNamePositionRepeating1
- func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLatitudeValue(v float64)
- func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLongitudeValue(v float64)
- func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) WpLatitudeValue() (float64, bool)
- func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) WpLongitudeValue() (float64, bool)
- type RouteAndWpServiceXteLimitNavigationMethod
- func (m *RouteAndWpServiceXteLimitNavigationMethod) DecodePayload(payload []uint8) error
- func (m *RouteAndWpServiceXteLimitNavigationMethod) EncodePayload() ([]uint8, error)
- func (m *RouteAndWpServiceXteLimitNavigationMethod) MessageInfo() MessageInfo
- func (m *RouteAndWpServiceXteLimitNavigationMethod) PGNNumber() uint32
- func (m *RouteAndWpServiceXteLimitNavigationMethod) SetMessageInfo(info MessageInfo)
- type RouteAndWpServiceXteLimitNavigationMethodRepeating1
- type Rudder
- func (m *Rudder) AngleOrderValue() (float64, bool)
- func (m *Rudder) DecodePayload(payload []uint8) error
- func (m *Rudder) EncodePayload() ([]uint8, error)
- func (m *Rudder) MessageInfo() MessageInfo
- func (m *Rudder) PGNNumber() uint32
- func (m *Rudder) PositionValue() (float64, bool)
- func (m *Rudder) SetAngleOrderValue(v float64)
- func (m *Rudder) SetMessageInfo(info MessageInfo)
- func (m *Rudder) SetPositionValue(v float64)
- type SalinityStationData
- func (m *SalinityStationData) DecodePayload(payload []uint8) error
- func (m *SalinityStationData) EncodePayload() ([]uint8, error)
- func (m *SalinityStationData) MeasurementDateValue() (float64, bool)
- func (m *SalinityStationData) MeasurementTimeValue() (float64, bool)
- func (m *SalinityStationData) MessageInfo() MessageInfo
- func (m *SalinityStationData) PGNNumber() uint32
- func (m *SalinityStationData) SetMeasurementDateValue(v float64)
- func (m *SalinityStationData) SetMeasurementTimeValue(v float64)
- func (m *SalinityStationData) SetMessageInfo(info MessageInfo)
- func (m *SalinityStationData) SetStationLatitudeValue(v float64)
- func (m *SalinityStationData) SetStationLongitudeValue(v float64)
- func (m *SalinityStationData) SetWaterTemperatureValue(v float64)
- func (m *SalinityStationData) StationLatitudeValue() (float64, bool)
- func (m *SalinityStationData) StationLongitudeValue() (float64, bool)
- func (m *SalinityStationData) WaterTemperatureValue() (float64, bool)
- type SatelliteStatusConst
- type SeaRecoveryWatermakerStatus
- func (m *SeaRecoveryWatermakerStatus) DecodePayload(payload []uint8) error
- func (m *SeaRecoveryWatermakerStatus) EncodePayload() ([]uint8, error)
- func (m *SeaRecoveryWatermakerStatus) MessageInfo() MessageInfo
- func (m *SeaRecoveryWatermakerStatus) PGNNumber() uint32
- func (m *SeaRecoveryWatermakerStatus) SetMessageInfo(info MessageInfo)
- type Seatalk1DeviceIdentification
- func (m *Seatalk1DeviceIdentification) DecodePayload(payload []uint8) error
- func (m *Seatalk1DeviceIdentification) EncodePayload() ([]uint8, error)
- func (m *Seatalk1DeviceIdentification) MessageInfo() MessageInfo
- func (m *Seatalk1DeviceIdentification) PGNNumber() uint32
- func (m *Seatalk1DeviceIdentification) SetMessageInfo(info MessageInfo)
- type Seatalk1DisplayBrightness
- func (m *Seatalk1DisplayBrightness) BrightnessValue() (float64, bool)
- func (m *Seatalk1DisplayBrightness) DecodePayload(payload []uint8) error
- func (m *Seatalk1DisplayBrightness) EncodePayload() ([]uint8, error)
- func (m *Seatalk1DisplayBrightness) MessageInfo() MessageInfo
- func (m *Seatalk1DisplayBrightness) PGNNumber() uint32
- func (m *Seatalk1DisplayBrightness) SetBrightnessValue(v float64)
- func (m *Seatalk1DisplayBrightness) SetMessageInfo(info MessageInfo)
- type Seatalk1DisplayColor
- func (m *Seatalk1DisplayColor) DecodePayload(payload []uint8) error
- func (m *Seatalk1DisplayColor) EncodePayload() ([]uint8, error)
- func (m *Seatalk1DisplayColor) MessageInfo() MessageInfo
- func (m *Seatalk1DisplayColor) PGNNumber() uint32
- func (m *Seatalk1DisplayColor) SetMessageInfo(info MessageInfo)
- type Seatalk1Keystroke
- type Seatalk1PilotHullType
- func (m *Seatalk1PilotHullType) DecodePayload(payload []uint8) error
- func (m *Seatalk1PilotHullType) EncodePayload() ([]uint8, error)
- func (m *Seatalk1PilotHullType) MessageInfo() MessageInfo
- func (m *Seatalk1PilotHullType) PGNNumber() uint32
- func (m *Seatalk1PilotHullType) SetMessageInfo(info MessageInfo)
- type Seatalk1PilotMode
- type SeatalkAlarm
- type SeatalkAlarmGroupConst
- type SeatalkAlarmIdConst
- type SeatalkAlarmStatusConst
- type SeatalkDeviceIdConst
- type SeatalkDisplayColorConst
- type SeatalkKeypadHeartbeat
- func (m *SeatalkKeypadHeartbeat) DecodePayload(payload []uint8) error
- func (m *SeatalkKeypadHeartbeat) EncodePayload() ([]uint8, error)
- func (m *SeatalkKeypadHeartbeat) MessageInfo() MessageInfo
- func (m *SeatalkKeypadHeartbeat) PGNNumber() uint32
- func (m *SeatalkKeypadHeartbeat) SetMessageInfo(info MessageInfo)
- type SeatalkKeypadMessage
- func (m *SeatalkKeypadMessage) DecodePayload(payload []uint8) error
- func (m *SeatalkKeypadMessage) EncodePayload() ([]uint8, error)
- func (m *SeatalkKeypadMessage) MessageInfo() MessageInfo
- func (m *SeatalkKeypadMessage) PGNNumber() uint32
- func (m *SeatalkKeypadMessage) SetMessageInfo(info MessageInfo)
- type SeatalkKeystrokeConst
- type SeatalkNetworkGroupConst
- type SeatalkNodeStatistics
- func (m *SeatalkNodeStatistics) DecodePayload(payload []uint8) error
- func (m *SeatalkNodeStatistics) EncodePayload() ([]uint8, error)
- func (m *SeatalkNodeStatistics) MessageInfo() MessageInfo
- func (m *SeatalkNodeStatistics) NodeVoltageValue() (float64, bool)
- func (m *SeatalkNodeStatistics) PGNNumber() uint32
- func (m *SeatalkNodeStatistics) SetMessageInfo(info MessageInfo)
- func (m *SeatalkNodeStatistics) SetNodeVoltageValue(v float64)
- type SeatalkPilotAutoTurn
- func (m *SeatalkPilotAutoTurn) DecodePayload(payload []uint8) error
- func (m *SeatalkPilotAutoTurn) EncodePayload() ([]uint8, error)
- func (m *SeatalkPilotAutoTurn) MessageInfo() MessageInfo
- func (m *SeatalkPilotAutoTurn) PGNNumber() uint32
- func (m *SeatalkPilotAutoTurn) SetMessageInfo(info MessageInfo)
- type SeatalkPilotHeading
- func (m *SeatalkPilotHeading) DecodePayload(payload []uint8) error
- func (m *SeatalkPilotHeading) EncodePayload() ([]uint8, error)
- func (m *SeatalkPilotHeading) HeadingMagneticValue() (float64, bool)
- func (m *SeatalkPilotHeading) HeadingTrueValue() (float64, bool)
- func (m *SeatalkPilotHeading) MessageInfo() MessageInfo
- func (m *SeatalkPilotHeading) PGNNumber() uint32
- func (m *SeatalkPilotHeading) SetHeadingMagneticValue(v float64)
- func (m *SeatalkPilotHeading) SetHeadingTrueValue(v float64)
- func (m *SeatalkPilotHeading) SetMessageInfo(info MessageInfo)
- type SeatalkPilotLockedHeading
- func (m *SeatalkPilotLockedHeading) DecodePayload(payload []uint8) error
- func (m *SeatalkPilotLockedHeading) EncodePayload() ([]uint8, error)
- func (m *SeatalkPilotLockedHeading) MessageInfo() MessageInfo
- func (m *SeatalkPilotLockedHeading) PGNNumber() uint32
- func (m *SeatalkPilotLockedHeading) SetMessageInfo(info MessageInfo)
- func (m *SeatalkPilotLockedHeading) SetTargetHeadingMagneticValue(v float64)
- func (m *SeatalkPilotLockedHeading) SetTargetHeadingTrueValue(v float64)
- func (m *SeatalkPilotLockedHeading) TargetHeadingMagneticValue() (float64, bool)
- func (m *SeatalkPilotLockedHeading) TargetHeadingTrueValue() (float64, bool)
- type SeatalkPilotMode
- type SeatalkPilotMode16Const
- type SeatalkPilotModeConst
- type SeatalkPilotWindDatum
- func (m *SeatalkPilotWindDatum) DecodePayload(payload []uint8) error
- func (m *SeatalkPilotWindDatum) EncodePayload() ([]uint8, error)
- func (m *SeatalkPilotWindDatum) MessageInfo() MessageInfo
- func (m *SeatalkPilotWindDatum) PGNNumber() uint32
- func (m *SeatalkPilotWindDatum) RollingAverageWindAngleValue() (float64, bool)
- func (m *SeatalkPilotWindDatum) SetMessageInfo(info MessageInfo)
- func (m *SeatalkPilotWindDatum) SetRollingAverageWindAngleValue(v float64)
- func (m *SeatalkPilotWindDatum) SetWindDatumValue(v float64)
- func (m *SeatalkPilotWindDatum) WindDatumValue() (float64, bool)
- type SeatalkRouteInformation
- func (m *SeatalkRouteInformation) BearingCurrentWaypointToNextWaypointTrueValue() (float64, bool)
- func (m *SeatalkRouteInformation) BearingPositionToNextWaypointTrueValue() (float64, bool)
- func (m *SeatalkRouteInformation) DecodePayload(payload []uint8) error
- func (m *SeatalkRouteInformation) DistancePositionToNextWaypointValue() (float64, bool)
- func (m *SeatalkRouteInformation) EncodePayload() ([]uint8, error)
- func (m *SeatalkRouteInformation) MessageInfo() MessageInfo
- func (m *SeatalkRouteInformation) PGNNumber() uint32
- func (m *SeatalkRouteInformation) SetBearingCurrentWaypointToNextWaypointTrueValue(v float64)
- func (m *SeatalkRouteInformation) SetBearingPositionToNextWaypointTrueValue(v float64)
- func (m *SeatalkRouteInformation) SetDistancePositionToNextWaypointValue(v float64)
- func (m *SeatalkRouteInformation) SetMessageInfo(info MessageInfo)
- type SeatalkSilenceAlarm
- type SeatalkWaypointInformation
- func (m *SeatalkWaypointInformation) BearingToWaypointMagneticValue() (float64, bool)
- func (m *SeatalkWaypointInformation) BearingToWaypointTrueValue() (float64, bool)
- func (m *SeatalkWaypointInformation) DecodePayload(payload []uint8) error
- func (m *SeatalkWaypointInformation) DistanceToWaypointValue() (float64, bool)
- func (m *SeatalkWaypointInformation) EncodePayload() ([]uint8, error)
- func (m *SeatalkWaypointInformation) MessageInfo() MessageInfo
- func (m *SeatalkWaypointInformation) PGNNumber() uint32
- func (m *SeatalkWaypointInformation) SetBearingToWaypointMagneticValue(v float64)
- func (m *SeatalkWaypointInformation) SetBearingToWaypointTrueValue(v float64)
- func (m *SeatalkWaypointInformation) SetDistanceToWaypointValue(v float64)
- func (m *SeatalkWaypointInformation) SetMessageInfo(info MessageInfo)
- type SeatalkWirelessKeypadControl
- func (m *SeatalkWirelessKeypadControl) DecodePayload(payload []uint8) error
- func (m *SeatalkWirelessKeypadControl) EncodePayload() ([]uint8, error)
- func (m *SeatalkWirelessKeypadControl) MessageInfo() MessageInfo
- func (m *SeatalkWirelessKeypadControl) PGNNumber() uint32
- func (m *SeatalkWirelessKeypadControl) SetMessageInfo(info MessageInfo)
- type SeatalkWirelessKeypadLightControl
- func (m *SeatalkWirelessKeypadLightControl) DecodePayload(payload []uint8) error
- func (m *SeatalkWirelessKeypadLightControl) EncodePayload() ([]uint8, error)
- func (m *SeatalkWirelessKeypadLightControl) MessageInfo() MessageInfo
- func (m *SeatalkWirelessKeypadLightControl) PGNNumber() uint32
- func (m *SeatalkWirelessKeypadLightControl) SetMessageInfo(info MessageInfo)
- type SetDriftRapidUpdate
- func (m *SetDriftRapidUpdate) DecodePayload(payload []uint8) error
- func (m *SetDriftRapidUpdate) DriftValue() (float64, bool)
- func (m *SetDriftRapidUpdate) EncodePayload() ([]uint8, error)
- func (m *SetDriftRapidUpdate) MessageInfo() MessageInfo
- func (m *SetDriftRapidUpdate) PGNNumber() uint32
- func (m *SetDriftRapidUpdate) SetDriftValue(v float64)
- func (m *SetDriftRapidUpdate) SetMessageInfo(info MessageInfo)
- func (m *SetDriftRapidUpdate) SetSetValue(v float64)
- func (m *SetDriftRapidUpdate) SetValue() (float64, bool)
- type SetPressure
- func (m *SetPressure) DecodePayload(payload []uint8) error
- func (m *SetPressure) EncodePayload() ([]uint8, error)
- func (m *SetPressure) MessageInfo() MessageInfo
- func (m *SetPressure) PGNNumber() uint32
- func (m *SetPressure) PressureValue() (float64, bool)
- func (m *SetPressure) SetMessageInfo(info MessageInfo)
- func (m *SetPressure) SetPressureValue(v float64)
- type ShipTypeConst
- type SimnetAisClassBStaticDataMsg24PartA
- func (m *SimnetAisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error
- func (m *SimnetAisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)
- func (m *SimnetAisClassBStaticDataMsg24PartA) MessageInfo() MessageInfo
- func (m *SimnetAisClassBStaticDataMsg24PartA) PGNNumber() uint32
- func (m *SimnetAisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)
- type SimnetAisClassBStaticDataMsg24PartB
- func (m *SimnetAisClassBStaticDataMsg24PartB) BeamValue() (float64, bool)
- func (m *SimnetAisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error
- func (m *SimnetAisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)
- func (m *SimnetAisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)
- func (m *SimnetAisClassBStaticDataMsg24PartB) MessageInfo() MessageInfo
- func (m *SimnetAisClassBStaticDataMsg24PartB) PGNNumber() uint32
- func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)
- func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)
- func (m *SimnetAisClassBStaticDataMsg24PartB) SetBeamValue(v float64)
- func (m *SimnetAisClassBStaticDataMsg24PartB) SetLengthValue(v float64)
- func (m *SimnetAisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)
- func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)
- func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)
- type SimnetAisSilentMode
- type SimnetAlarm
- type SimnetAlarmConst
- type SimnetAlarmMessage
- type SimnetAlertBitfieldConst
- type SimnetAnalogTelemetry
- func (m *SimnetAnalogTelemetry) DecodePayload(payload []uint8) error
- func (m *SimnetAnalogTelemetry) EncodePayload() ([]uint8, error)
- func (m *SimnetAnalogTelemetry) MessageInfo() MessageInfo
- func (m *SimnetAnalogTelemetry) PGNNumber() uint32
- func (m *SimnetAnalogTelemetry) SetMessageInfo(info MessageInfo)
- type SimnetApCommand
- type SimnetApCommandReply
- func (m *SimnetApCommandReply) DecodePayload(payload []uint8) error
- func (m *SimnetApCommandReply) EncodePayload() ([]uint8, error)
- func (m *SimnetApCommandReply) MessageInfo() MessageInfo
- func (m *SimnetApCommandReply) PGNNumber() uint32
- func (m *SimnetApCommandReply) SetMessageInfo(info MessageInfo)
- type SimnetApCommandReplyChangeCourse
- func (m *SimnetApCommandReplyChangeCourse) AngleValue() (float64, bool)
- func (m *SimnetApCommandReplyChangeCourse) DecodePayload(payload []uint8) error
- func (m *SimnetApCommandReplyChangeCourse) EncodePayload() ([]uint8, error)
- func (m *SimnetApCommandReplyChangeCourse) MessageInfo() MessageInfo
- func (m *SimnetApCommandReplyChangeCourse) PGNNumber() uint32
- func (m *SimnetApCommandReplyChangeCourse) SetAngleValue(v float64)
- func (m *SimnetApCommandReplyChangeCourse) SetMessageInfo(info MessageInfo)
- type SimnetApEventsConst
- type SimnetApModeBitfieldConst
- type SimnetApModeConst
- type SimnetApStatusConst
- type SimnetApUnknown1
- type SimnetApUnknown3
- type SimnetApUnknown4
- type SimnetAutopilotAngle
- func (m *SimnetAutopilotAngle) AngleValue() (float64, bool)
- func (m *SimnetAutopilotAngle) DecodePayload(payload []uint8) error
- func (m *SimnetAutopilotAngle) EncodePayload() ([]uint8, error)
- func (m *SimnetAutopilotAngle) MessageInfo() MessageInfo
- func (m *SimnetAutopilotAngle) PGNNumber() uint32
- func (m *SimnetAutopilotAngle) SetAngleValue(v float64)
- func (m *SimnetAutopilotAngle) SetMessageInfo(info MessageInfo)
- type SimnetAutopilotMode
- type SimnetAutopilotModeState
- func (m *SimnetAutopilotModeState) DecodePayload(payload []uint8) error
- func (m *SimnetAutopilotModeState) EncodePayload() ([]uint8, error)
- func (m *SimnetAutopilotModeState) MessageInfo() MessageInfo
- func (m *SimnetAutopilotModeState) PGNNumber() uint32
- func (m *SimnetAutopilotModeState) SetMessageInfo(info MessageInfo)
- type SimnetBacklightLevelConst
- type SimnetClearFluidLevelWarnings
- func (m *SimnetClearFluidLevelWarnings) DecodePayload(payload []uint8) error
- func (m *SimnetClearFluidLevelWarnings) EncodePayload() ([]uint8, error)
- func (m *SimnetClearFluidLevelWarnings) MessageInfo() MessageInfo
- func (m *SimnetClearFluidLevelWarnings) PGNNumber() uint32
- func (m *SimnetClearFluidLevelWarnings) SetMessageInfo(info MessageInfo)
- type SimnetCommandApChangeCourse
- func (m *SimnetCommandApChangeCourse) AngleValue() (float64, bool)
- func (m *SimnetCommandApChangeCourse) DecodePayload(payload []uint8) error
- func (m *SimnetCommandApChangeCourse) EncodePayload() ([]uint8, error)
- func (m *SimnetCommandApChangeCourse) MessageInfo() MessageInfo
- func (m *SimnetCommandApChangeCourse) PGNNumber() uint32
- func (m *SimnetCommandApChangeCourse) SetAngleValue(v float64)
- func (m *SimnetCommandApChangeCourse) SetMessageInfo(info MessageInfo)
- type SimnetCommandApFollowUp
- func (m *SimnetCommandApFollowUp) DecodePayload(payload []uint8) error
- func (m *SimnetCommandApFollowUp) EncodePayload() ([]uint8, error)
- func (m *SimnetCommandApFollowUp) MessageInfo() MessageInfo
- func (m *SimnetCommandApFollowUp) PGNNumber() uint32
- func (m *SimnetCommandApFollowUp) SetMessageInfo(info MessageInfo)
- type SimnetCommandApHeading
- func (m *SimnetCommandApHeading) DecodePayload(payload []uint8) error
- func (m *SimnetCommandApHeading) EncodePayload() ([]uint8, error)
- func (m *SimnetCommandApHeading) MessageInfo() MessageInfo
- func (m *SimnetCommandApHeading) PGNNumber() uint32
- func (m *SimnetCommandApHeading) SetMessageInfo(info MessageInfo)
- type SimnetCommandApNav
- type SimnetCommandApNodrift
- func (m *SimnetCommandApNodrift) DecodePayload(payload []uint8) error
- func (m *SimnetCommandApNodrift) EncodePayload() ([]uint8, error)
- func (m *SimnetCommandApNodrift) MessageInfo() MessageInfo
- func (m *SimnetCommandApNodrift) PGNNumber() uint32
- func (m *SimnetCommandApNodrift) SetMessageInfo(info MessageInfo)
- type SimnetCommandApStandby
- func (m *SimnetCommandApStandby) DecodePayload(payload []uint8) error
- func (m *SimnetCommandApStandby) EncodePayload() ([]uint8, error)
- func (m *SimnetCommandApStandby) MessageInfo() MessageInfo
- func (m *SimnetCommandApStandby) PGNNumber() uint32
- func (m *SimnetCommandApStandby) SetMessageInfo(info MessageInfo)
- type SimnetCommandApTack
- type SimnetCommandApWind
- type SimnetCommandConst
- type SimnetConfigureTemperatureSensor
- func (m *SimnetConfigureTemperatureSensor) DecodePayload(payload []uint8) error
- func (m *SimnetConfigureTemperatureSensor) EncodePayload() ([]uint8, error)
- func (m *SimnetConfigureTemperatureSensor) MessageInfo() MessageInfo
- func (m *SimnetConfigureTemperatureSensor) PGNNumber() uint32
- func (m *SimnetConfigureTemperatureSensor) SetMessageInfo(info MessageInfo)
- type SimnetDataSourceSelection
- func (m *SimnetDataSourceSelection) DecodePayload(payload []uint8) error
- func (m *SimnetDataSourceSelection) EncodePayload() ([]uint8, error)
- func (m *SimnetDataSourceSelection) MessageInfo() MessageInfo
- func (m *SimnetDataSourceSelection) PGNNumber() uint32
- func (m *SimnetDataSourceSelection) SetMessageInfo(info MessageInfo)
- type SimnetDataSourceSelectionRequest
- func (m *SimnetDataSourceSelectionRequest) DecodePayload(payload []uint8) error
- func (m *SimnetDataSourceSelectionRequest) EncodePayload() ([]uint8, error)
- func (m *SimnetDataSourceSelectionRequest) MessageInfo() MessageInfo
- func (m *SimnetDataSourceSelectionRequest) PGNNumber() uint32
- func (m *SimnetDataSourceSelectionRequest) SetMessageInfo(info MessageInfo)
- type SimnetDeviceModeRequest
- func (m *SimnetDeviceModeRequest) DecodePayload(payload []uint8) error
- func (m *SimnetDeviceModeRequest) EncodePayload() ([]uint8, error)
- func (m *SimnetDeviceModeRequest) MessageInfo() MessageInfo
- func (m *SimnetDeviceModeRequest) PGNNumber() uint32
- func (m *SimnetDeviceModeRequest) SetMessageInfo(info MessageInfo)
- type SimnetDeviceModelConst
- type SimnetDeviceReportConst
- type SimnetDeviceStatus
- type SimnetDeviceStatusRequest
- func (m *SimnetDeviceStatusRequest) DecodePayload(payload []uint8) error
- func (m *SimnetDeviceStatusRequest) EncodePayload() ([]uint8, error)
- func (m *SimnetDeviceStatusRequest) MessageInfo() MessageInfo
- func (m *SimnetDeviceStatusRequest) PGNNumber() uint32
- func (m *SimnetDeviceStatusRequest) SetMessageInfo(info MessageInfo)
- type SimnetDirectionConst
- type SimnetDisplayGroupConst
- type SimnetEngineAndTankConfiguration
- func (m *SimnetEngineAndTankConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetEngineAndTankConfiguration) MessageInfo() MessageInfo
- func (m *SimnetEngineAndTankConfiguration) PGNNumber() uint32
- func (m *SimnetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetEvent
- type SimnetEventCommandConst
- type SimnetEventCommandTimer
- func (m *SimnetEventCommandTimer) DecodePayload(payload []uint8) error
- func (m *SimnetEventCommandTimer) EncodePayload() ([]uint8, error)
- func (m *SimnetEventCommandTimer) MessageInfo() MessageInfo
- func (m *SimnetEventCommandTimer) PGNNumber() uint32
- func (m *SimnetEventCommandTimer) SetMessageInfo(info MessageInfo)
- type SimnetFluidLevelSensorConfiguration
- func (m *SimnetFluidLevelSensorConfiguration) CapacityValue() (float64, bool)
- func (m *SimnetFluidLevelSensorConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetFluidLevelSensorConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetFluidLevelSensorConfiguration) MessageInfo() MessageInfo
- func (m *SimnetFluidLevelSensorConfiguration) PGNNumber() uint32
- func (m *SimnetFluidLevelSensorConfiguration) SetCapacityValue(v float64)
- func (m *SimnetFluidLevelSensorConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetFluidLevelWarning
- func (m *SimnetFluidLevelWarning) DecodePayload(payload []uint8) error
- func (m *SimnetFluidLevelWarning) EncodePayload() ([]uint8, error)
- func (m *SimnetFluidLevelWarning) MessageInfo() MessageInfo
- func (m *SimnetFluidLevelWarning) PGNNumber() uint32
- func (m *SimnetFluidLevelWarning) SetMessageInfo(info MessageInfo)
- type SimnetFuelFlowTurbineConfiguration
- func (m *SimnetFuelFlowTurbineConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetFuelFlowTurbineConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetFuelFlowTurbineConfiguration) MessageInfo() MessageInfo
- func (m *SimnetFuelFlowTurbineConfiguration) PGNNumber() uint32
- func (m *SimnetFuelFlowTurbineConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetFuelUsedHighResolution
- func (m *SimnetFuelUsedHighResolution) DecodePayload(payload []uint8) error
- func (m *SimnetFuelUsedHighResolution) EncodePayload() ([]uint8, error)
- func (m *SimnetFuelUsedHighResolution) MessageInfo() MessageInfo
- func (m *SimnetFuelUsedHighResolution) PGNNumber() uint32
- func (m *SimnetFuelUsedHighResolution) SetMessageInfo(info MessageInfo)
- type SimnetHourDisplayConst
- type SimnetKeepAlive
- type SimnetKeyValue
- type SimnetKeyValueConst
- type SimnetLgc2000Configuration
- func (m *SimnetLgc2000Configuration) DecodePayload(payload []uint8) error
- func (m *SimnetLgc2000Configuration) EncodePayload() ([]uint8, error)
- func (m *SimnetLgc2000Configuration) MessageInfo() MessageInfo
- func (m *SimnetLgc2000Configuration) PGNNumber() uint32
- func (m *SimnetLgc2000Configuration) SetMessageInfo(info MessageInfo)
- type SimnetMagneticField
- func (m *SimnetMagneticField) DecodePayload(payload []uint8) error
- func (m *SimnetMagneticField) EncodePayload() ([]uint8, error)
- func (m *SimnetMagneticField) FieldXValue() (float64, bool)
- func (m *SimnetMagneticField) FieldYValue() (float64, bool)
- func (m *SimnetMagneticField) FieldZValue() (float64, bool)
- func (m *SimnetMagneticField) MessageInfo() MessageInfo
- func (m *SimnetMagneticField) PGNNumber() uint32
- func (m *SimnetMagneticField) SetFieldXValue(v float64)
- func (m *SimnetMagneticField) SetFieldYValue(v float64)
- func (m *SimnetMagneticField) SetFieldZValue(v float64)
- func (m *SimnetMagneticField) SetMessageInfo(info MessageInfo)
- type SimnetNightModeColorConst
- type SimnetNightModeConst
- type SimnetPaddleWheelSpeedConfiguration
- func (m *SimnetPaddleWheelSpeedConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetPaddleWheelSpeedConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetPaddleWheelSpeedConfiguration) MessageInfo() MessageInfo
- func (m *SimnetPaddleWheelSpeedConfiguration) PGNNumber() uint32
- func (m *SimnetPaddleWheelSpeedConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetParameterSet
- type SimnetPilotMode
- type SimnetPressureSensorConfiguration
- func (m *SimnetPressureSensorConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetPressureSensorConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetPressureSensorConfiguration) MessageInfo() MessageInfo
- func (m *SimnetPressureSensorConfiguration) PGNNumber() uint32
- func (m *SimnetPressureSensorConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetReprogramData
- type SimnetReprogramStatus
- func (m *SimnetReprogramStatus) DecodePayload(payload []uint8) error
- func (m *SimnetReprogramStatus) EncodePayload() ([]uint8, error)
- func (m *SimnetReprogramStatus) MessageInfo() MessageInfo
- func (m *SimnetReprogramStatus) PGNNumber() uint32
- func (m *SimnetReprogramStatus) SetMessageInfo(info MessageInfo)
- type SimnetRequestReprogram
- func (m *SimnetRequestReprogram) DecodePayload(payload []uint8) error
- func (m *SimnetRequestReprogram) EncodePayload() ([]uint8, error)
- func (m *SimnetRequestReprogram) MessageInfo() MessageInfo
- func (m *SimnetRequestReprogram) PGNNumber() uint32
- func (m *SimnetRequestReprogram) SetMessageInfo(info MessageInfo)
- type SimnetSailingProcessorStatus
- func (m *SimnetSailingProcessorStatus) DecodePayload(payload []uint8) error
- func (m *SimnetSailingProcessorStatus) EncodePayload() ([]uint8, error)
- func (m *SimnetSailingProcessorStatus) MessageInfo() MessageInfo
- func (m *SimnetSailingProcessorStatus) PGNNumber() uint32
- func (m *SimnetSailingProcessorStatus) SetMessageInfo(info MessageInfo)
- type SimnetSetEngineAndTankConfiguration
- func (m *SimnetSetEngineAndTankConfiguration) DecodePayload(payload []uint8) error
- func (m *SimnetSetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
- func (m *SimnetSetEngineAndTankConfiguration) MessageInfo() MessageInfo
- func (m *SimnetSetEngineAndTankConfiguration) PGNNumber() uint32
- func (m *SimnetSetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
- type SimnetSetSerialNumber
- func (m *SimnetSetSerialNumber) DecodePayload(payload []uint8) error
- func (m *SimnetSetSerialNumber) EncodePayload() ([]uint8, error)
- func (m *SimnetSetSerialNumber) MessageInfo() MessageInfo
- func (m *SimnetSetSerialNumber) PGNNumber() uint32
- func (m *SimnetSetSerialNumber) SetMessageInfo(info MessageInfo)
- type SimnetSonarStatusFrequencyAndDspVoltage
- func (m *SimnetSonarStatusFrequencyAndDspVoltage) DecodePayload(payload []uint8) error
- func (m *SimnetSonarStatusFrequencyAndDspVoltage) EncodePayload() ([]uint8, error)
- func (m *SimnetSonarStatusFrequencyAndDspVoltage) MessageInfo() MessageInfo
- func (m *SimnetSonarStatusFrequencyAndDspVoltage) PGNNumber() uint32
- func (m *SimnetSonarStatusFrequencyAndDspVoltage) SetMessageInfo(info MessageInfo)
- type SimnetTimeFormatConst
- type SimnetTrimTabSensorCalibration
- func (m *SimnetTrimTabSensorCalibration) DecodePayload(payload []uint8) error
- func (m *SimnetTrimTabSensorCalibration) EncodePayload() ([]uint8, error)
- func (m *SimnetTrimTabSensorCalibration) MessageInfo() MessageInfo
- func (m *SimnetTrimTabSensorCalibration) PGNNumber() uint32
- func (m *SimnetTrimTabSensorCalibration) SetMessageInfo(info MessageInfo)
- type SimradTextMessage
- type SmallCraftStatus
- func (m *SmallCraftStatus) DecodePayload(payload []uint8) error
- func (m *SmallCraftStatus) EncodePayload() ([]uint8, error)
- func (m *SmallCraftStatus) MessageInfo() MessageInfo
- func (m *SmallCraftStatus) PGNNumber() uint32
- func (m *SmallCraftStatus) PortTrimTabValue() (float64, bool)
- func (m *SmallCraftStatus) SetMessageInfo(info MessageInfo)
- func (m *SmallCraftStatus) SetPortTrimTabValue(v float64)
- func (m *SmallCraftStatus) SetStarboardTrimTabValue(v float64)
- func (m *SmallCraftStatus) StarboardTrimTabValue() (float64, bool)
- type SonichubAlbum
- type SonichubAmRadio
- func (m *SonichubAmRadio) DecodePayload(payload []uint8) error
- func (m *SonichubAmRadio) EncodePayload() ([]uint8, error)
- func (m *SonichubAmRadio) FrequencyValue() (float64, bool)
- func (m *SonichubAmRadio) MessageInfo() MessageInfo
- func (m *SonichubAmRadio) PGNNumber() uint32
- func (m *SonichubAmRadio) SetFrequencyValue(v float64)
- func (m *SonichubAmRadio) SetMessageInfo(info MessageInfo)
- type SonichubArtist
- type SonichubCommandConst
- type SonichubControl
- type SonichubControlConst
- type SonichubFmRadio
- func (m *SonichubFmRadio) DecodePayload(payload []uint8) error
- func (m *SonichubFmRadio) EncodePayload() ([]uint8, error)
- func (m *SonichubFmRadio) FrequencyValue() (float64, bool)
- func (m *SonichubFmRadio) MessageInfo() MessageInfo
- func (m *SonichubFmRadio) PGNNumber() uint32
- func (m *SonichubFmRadio) SetFrequencyValue(v float64)
- func (m *SonichubFmRadio) SetMessageInfo(info MessageInfo)
- type SonichubInit1
- type SonichubInit2
- type SonichubInit3
- type SonichubMaxVolume
- type SonichubMenuItem
- type SonichubPlaylist
- func (m *SonichubPlaylist) DecodePayload(payload []uint8) error
- func (m *SonichubPlaylist) EncodePayload() ([]uint8, error)
- func (m *SonichubPlaylist) LengthValue() (float64, bool)
- func (m *SonichubPlaylist) MessageInfo() MessageInfo
- func (m *SonichubPlaylist) PGNNumber() uint32
- func (m *SonichubPlaylist) PositionInTrackValue() (float64, bool)
- func (m *SonichubPlaylist) SetLengthValue(v float64)
- func (m *SonichubPlaylist) SetMessageInfo(info MessageInfo)
- func (m *SonichubPlaylist) SetPositionInTrackValue(v float64)
- type SonichubPlaylistConst
- type SonichubPosition
- func (m *SonichubPosition) DecodePayload(payload []uint8) error
- func (m *SonichubPosition) EncodePayload() ([]uint8, error)
- func (m *SonichubPosition) MessageInfo() MessageInfo
- func (m *SonichubPosition) PGNNumber() uint32
- func (m *SonichubPosition) PositionValue() (float64, bool)
- func (m *SonichubPosition) SetMessageInfo(info MessageInfo)
- func (m *SonichubPosition) SetPositionValue(v float64)
- type SonichubSource
- type SonichubSourceConst
- type SonichubSourceList
- type SonichubTrack
- type SonichubTuningConst
- type SonichubVolume
- type SonichubZoneInfo
- type SonichubZones
- type SourceDefinition
- type SourceFieldDefinition
- type Speed
- func (m *Speed) DecodePayload(payload []uint8) error
- func (m *Speed) EncodePayload() ([]uint8, error)
- func (m *Speed) MessageInfo() MessageInfo
- func (m *Speed) PGNNumber() uint32
- func (m *Speed) SetMessageInfo(info MessageInfo)
- func (m *Speed) SetSpeedGroundReferencedValue(v float64)
- func (m *Speed) SetSpeedWaterReferencedValue(v float64)
- func (m *Speed) SpeedGroundReferencedValue() (float64, bool)
- func (m *Speed) SpeedWaterReferencedValue() (float64, bool)
- type SpeedTypeConst
- type StationStatusConst
- type StationTypeConst
- type SteeringModeConst
- type SupportedSourceData
- type SupportedSourceDataRepeating1
- type SupportedZoneData
- type SupportedZoneDataRepeating1
- type SuzukiEngineAndStorageDeviceConfig
- func (m *SuzukiEngineAndStorageDeviceConfig) DecodePayload(payload []uint8) error
- func (m *SuzukiEngineAndStorageDeviceConfig) EncodePayload() ([]uint8, error)
- func (m *SuzukiEngineAndStorageDeviceConfig) MessageInfo() MessageInfo
- func (m *SuzukiEngineAndStorageDeviceConfig) PGNNumber() uint32
- func (m *SuzukiEngineAndStorageDeviceConfig) SetMessageInfo(info MessageInfo)
- type SuzukiEngineData
- type SuzukiEngineDataA
- type SuzukiEngineDataB
- type SuzukiEngineDataC
- type SuzukiEngineDataD
- type SuzukiEngineDataE
- type SuzukiEngineSensorData
- func (m *SuzukiEngineSensorData) DecodePayload(payload []uint8) error
- func (m *SuzukiEngineSensorData) EncodePayload() ([]uint8, error)
- func (m *SuzukiEngineSensorData) MessageInfo() MessageInfo
- func (m *SuzukiEngineSensorData) PGNNumber() uint32
- func (m *SuzukiEngineSensorData) SetMessageInfo(info MessageInfo)
- type SuzukiFuelManagement
- func (m *SuzukiFuelManagement) DecodePayload(payload []uint8) error
- func (m *SuzukiFuelManagement) EncodePayload() ([]uint8, error)
- func (m *SuzukiFuelManagement) MessageInfo() MessageInfo
- func (m *SuzukiFuelManagement) PGNNumber() uint32
- func (m *SuzukiFuelManagement) SetMessageInfo(info MessageInfo)
- type SuzukiTrollModeControl
- func (m *SuzukiTrollModeControl) DecodePayload(payload []uint8) error
- func (m *SuzukiTrollModeControl) EncodePayload() ([]uint8, error)
- func (m *SuzukiTrollModeControl) MessageInfo() MessageInfo
- func (m *SuzukiTrollModeControl) PGNNumber() uint32
- func (m *SuzukiTrollModeControl) SetMessageInfo(info MessageInfo)
- type SwitchBankControl
- type SystemConfiguration
- type SystemConfigurationDeprecated
- func (m *SystemConfigurationDeprecated) DecodePayload(payload []uint8) error
- func (m *SystemConfigurationDeprecated) EncodePayload() ([]uint8, error)
- func (m *SystemConfigurationDeprecated) MessageInfo() MessageInfo
- func (m *SystemConfigurationDeprecated) PGNNumber() uint32
- func (m *SystemConfigurationDeprecated) SetMessageInfo(info MessageInfo)
- type SystemTime
- func (m *SystemTime) DateValue() (float64, bool)
- func (m *SystemTime) DecodePayload(payload []uint8) error
- func (m *SystemTime) EncodePayload() ([]uint8, error)
- func (m *SystemTime) MessageInfo() MessageInfo
- func (m *SystemTime) PGNNumber() uint32
- func (m *SystemTime) SetDateValue(v float64)
- func (m *SystemTime) SetMessageInfo(info MessageInfo)
- func (m *SystemTime) SetTimeValue(v float64)
- func (m *SystemTime) TimeValue() (float64, bool)
- type SystemTimeConst
- type TankTypeConst
- type TargetAcquisitionConst
- type Temperature
- func (m *Temperature) ActualTemperatureValue() (float64, bool)
- func (m *Temperature) DecodePayload(payload []uint8) error
- func (m *Temperature) EncodePayload() ([]uint8, error)
- func (m *Temperature) MessageInfo() MessageInfo
- func (m *Temperature) PGNNumber() uint32
- func (m *Temperature) SetActualTemperatureValue(v float64)
- func (m *Temperature) SetMessageInfo(info MessageInfo)
- func (m *Temperature) SetSetTemperatureValue(v float64)
- func (m *Temperature) SetTemperatureValue() (float64, bool)
- type TemperatureExtendedRange
- func (m *TemperatureExtendedRange) DecodePayload(payload []uint8) error
- func (m *TemperatureExtendedRange) EncodePayload() ([]uint8, error)
- func (m *TemperatureExtendedRange) MessageInfo() MessageInfo
- func (m *TemperatureExtendedRange) PGNNumber() uint32
- func (m *TemperatureExtendedRange) SetMessageInfo(info MessageInfo)
- func (m *TemperatureExtendedRange) SetTemperatureValue(v float64)
- func (m *TemperatureExtendedRange) TemperatureValue() (float64, bool)
- type TemperatureSourceConst
- type ThrusterControlEventsConst
- type ThrusterControlStatus
- func (m *ThrusterControlStatus) AzimuthControlValue() (float64, bool)
- func (m *ThrusterControlStatus) CommandTimeoutValue() (float64, bool)
- func (m *ThrusterControlStatus) DecodePayload(payload []uint8) error
- func (m *ThrusterControlStatus) EncodePayload() ([]uint8, error)
- func (m *ThrusterControlStatus) MessageInfo() MessageInfo
- func (m *ThrusterControlStatus) PGNNumber() uint32
- func (m *ThrusterControlStatus) SetAzimuthControlValue(v float64)
- func (m *ThrusterControlStatus) SetCommandTimeoutValue(v float64)
- func (m *ThrusterControlStatus) SetMessageInfo(info MessageInfo)
- func (m *ThrusterControlStatus) SetSpeedControlValue(v float64)
- func (m *ThrusterControlStatus) SpeedControlValue() (float64, bool)
- type ThrusterDirectionControlConst
- type ThrusterInformation
- func (m *ThrusterInformation) DecodePayload(payload []uint8) error
- func (m *ThrusterInformation) EncodePayload() ([]uint8, error)
- func (m *ThrusterInformation) MaximumRotationalSpeedValue() (float64, bool)
- func (m *ThrusterInformation) MaximumTemperatureRatingValue() (float64, bool)
- func (m *ThrusterInformation) MessageInfo() MessageInfo
- func (m *ThrusterInformation) PGNNumber() uint32
- func (m *ThrusterInformation) PowerRatingValue() (float64, bool)
- func (m *ThrusterInformation) SetMaximumRotationalSpeedValue(v float64)
- func (m *ThrusterInformation) SetMaximumTemperatureRatingValue(v float64)
- func (m *ThrusterInformation) SetMessageInfo(info MessageInfo)
- func (m *ThrusterInformation) SetPowerRatingValue(v float64)
- type ThrusterMotorEventsConst
- type ThrusterMotorStatus
- func (m *ThrusterMotorStatus) CurrentValue() (float64, bool)
- func (m *ThrusterMotorStatus) DecodePayload(payload []uint8) error
- func (m *ThrusterMotorStatus) EncodePayload() ([]uint8, error)
- func (m *ThrusterMotorStatus) MessageInfo() MessageInfo
- func (m *ThrusterMotorStatus) OperatingTimeValue() (float64, bool)
- func (m *ThrusterMotorStatus) PGNNumber() uint32
- func (m *ThrusterMotorStatus) SetCurrentValue(v float64)
- func (m *ThrusterMotorStatus) SetMessageInfo(info MessageInfo)
- func (m *ThrusterMotorStatus) SetOperatingTimeValue(v float64)
- func (m *ThrusterMotorStatus) SetTemperatureValue(v float64)
- func (m *ThrusterMotorStatus) TemperatureValue() (float64, bool)
- type ThrusterMotorTypeConst
- type ThrusterRetractControlConst
- type TideConst
- type TideStationData
- func (m *TideStationData) DecodePayload(payload []uint8) error
- func (m *TideStationData) EncodePayload() ([]uint8, error)
- func (m *TideStationData) MeasurementDateValue() (float64, bool)
- func (m *TideStationData) MeasurementTimeValue() (float64, bool)
- func (m *TideStationData) MessageInfo() MessageInfo
- func (m *TideStationData) PGNNumber() uint32
- func (m *TideStationData) SetMeasurementDateValue(v float64)
- func (m *TideStationData) SetMeasurementTimeValue(v float64)
- func (m *TideStationData) SetMessageInfo(info MessageInfo)
- func (m *TideStationData) SetStationLatitudeValue(v float64)
- func (m *TideStationData) SetStationLongitudeValue(v float64)
- func (m *TideStationData) SetTideLevelStandardDeviationValue(v float64)
- func (m *TideStationData) SetTideLevelValue(v float64)
- func (m *TideStationData) StationLatitudeValue() (float64, bool)
- func (m *TideStationData) StationLongitudeValue() (float64, bool)
- func (m *TideStationData) TideLevelStandardDeviationValue() (float64, bool)
- func (m *TideStationData) TideLevelValue() (float64, bool)
- type TimeDate
- func (m *TimeDate) DateValue() (float64, bool)
- func (m *TimeDate) DecodePayload(payload []uint8) error
- func (m *TimeDate) EncodePayload() ([]uint8, error)
- func (m *TimeDate) LocalOffsetValue() (float64, bool)
- func (m *TimeDate) MessageInfo() MessageInfo
- func (m *TimeDate) PGNNumber() uint32
- func (m *TimeDate) SetDateValue(v float64)
- func (m *TimeDate) SetLocalOffsetValue(v float64)
- func (m *TimeDate) SetMessageInfo(info MessageInfo)
- func (m *TimeDate) SetTimeValue(v float64)
- func (m *TimeDate) TimeValue() (float64, bool)
- type TimeStampConst
- type TrackedTargetData
- func (m *TrackedTargetData) BearingValue() (float64, bool)
- func (m *TrackedTargetData) CourseValue() (float64, bool)
- func (m *TrackedTargetData) CpaValue() (float64, bool)
- func (m *TrackedTargetData) DecodePayload(payload []uint8) error
- func (m *TrackedTargetData) DistanceValue() (float64, bool)
- func (m *TrackedTargetData) EncodePayload() ([]uint8, error)
- func (m *TrackedTargetData) MessageInfo() MessageInfo
- func (m *TrackedTargetData) PGNNumber() uint32
- func (m *TrackedTargetData) SetBearingValue(v float64)
- func (m *TrackedTargetData) SetCourseValue(v float64)
- func (m *TrackedTargetData) SetCpaValue(v float64)
- func (m *TrackedTargetData) SetDistanceValue(v float64)
- func (m *TrackedTargetData) SetMessageInfo(info MessageInfo)
- func (m *TrackedTargetData) SetSpeedValue(v float64)
- func (m *TrackedTargetData) SetTcpaValue(v float64)
- func (m *TrackedTargetData) SetUtcOfFixValue(v float64)
- func (m *TrackedTargetData) SpeedValue() (float64, bool)
- func (m *TrackedTargetData) TcpaValue() (float64, bool)
- func (m *TrackedTargetData) UtcOfFixValue() (float64, bool)
- type TrackingConst
- type TransmissionIntervalConst
- type TransmissionParametersDynamic
- func (m *TransmissionParametersDynamic) DecodePayload(payload []uint8) error
- func (m *TransmissionParametersDynamic) EncodePayload() ([]uint8, error)
- func (m *TransmissionParametersDynamic) MessageInfo() MessageInfo
- func (m *TransmissionParametersDynamic) OilPressureValue() (float64, bool)
- func (m *TransmissionParametersDynamic) OilTemperatureValue() (float64, bool)
- func (m *TransmissionParametersDynamic) PGNNumber() uint32
- func (m *TransmissionParametersDynamic) SetMessageInfo(info MessageInfo)
- func (m *TransmissionParametersDynamic) SetOilPressureValue(v float64)
- func (m *TransmissionParametersDynamic) SetOilTemperatureValue(v float64)
- type TripParametersEngine
- func (m *TripParametersEngine) DecodePayload(payload []uint8) error
- func (m *TripParametersEngine) EncodePayload() ([]uint8, error)
- func (m *TripParametersEngine) FuelRateAverageValue() (float64, bool)
- func (m *TripParametersEngine) FuelRateEconomyValue() (float64, bool)
- func (m *TripParametersEngine) InstantaneousFuelEconomyValue() (float64, bool)
- func (m *TripParametersEngine) MessageInfo() MessageInfo
- func (m *TripParametersEngine) PGNNumber() uint32
- func (m *TripParametersEngine) SetFuelRateAverageValue(v float64)
- func (m *TripParametersEngine) SetFuelRateEconomyValue(v float64)
- func (m *TripParametersEngine) SetInstantaneousFuelEconomyValue(v float64)
- func (m *TripParametersEngine) SetMessageInfo(info MessageInfo)
- func (m *TripParametersEngine) SetTripFuelUsedValue(v float64)
- func (m *TripParametersEngine) TripFuelUsedValue() (float64, bool)
- type TripParametersVessel
- func (m *TripParametersVessel) DecodePayload(payload []uint8) error
- func (m *TripParametersVessel) DistanceToEmptyValue() (float64, bool)
- func (m *TripParametersVessel) EncodePayload() ([]uint8, error)
- func (m *TripParametersVessel) EstimatedFuelRemainingValue() (float64, bool)
- func (m *TripParametersVessel) MessageInfo() MessageInfo
- func (m *TripParametersVessel) PGNNumber() uint32
- func (m *TripParametersVessel) SetDistanceToEmptyValue(v float64)
- func (m *TripParametersVessel) SetEstimatedFuelRemainingValue(v float64)
- func (m *TripParametersVessel) SetMessageInfo(info MessageInfo)
- func (m *TripParametersVessel) SetTimeToEmptyValue(v float64)
- func (m *TripParametersVessel) SetTripRunTimeValue(v float64)
- func (m *TripParametersVessel) TimeToEmptyValue() (float64, bool)
- func (m *TripParametersVessel) TripRunTimeValue() (float64, bool)
- type TurnModeConst
- type TxRxModeConst
- type UnknownPGN
- type UserDatum
- func (m *UserDatum) DecodePayload(payload []uint8) error
- func (m *UserDatum) DeltaXValue() (float64, bool)
- func (m *UserDatum) DeltaYValue() (float64, bool)
- func (m *UserDatum) DeltaZValue() (float64, bool)
- func (m *UserDatum) EllipsoidSemiMajorAxisValue() (float64, bool)
- func (m *UserDatum) EncodePayload() ([]uint8, error)
- func (m *UserDatum) MessageInfo() MessageInfo
- func (m *UserDatum) PGNNumber() uint32
- func (m *UserDatum) SetDeltaXValue(v float64)
- func (m *UserDatum) SetDeltaYValue(v float64)
- func (m *UserDatum) SetDeltaZValue(v float64)
- func (m *UserDatum) SetEllipsoidSemiMajorAxisValue(v float64)
- func (m *UserDatum) SetMessageInfo(info MessageInfo)
- type UtilityAverageBasicAcQuantities
- func (m *UtilityAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *UtilityAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *UtilityAverageBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *UtilityAverageBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *UtilityAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *UtilityAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *UtilityAverageBasicAcQuantities) MessageInfo() MessageInfo
- func (m *UtilityAverageBasicAcQuantities) PGNNumber() uint32
- func (m *UtilityAverageBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *UtilityAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *UtilityAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *UtilityAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *UtilityAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type UtilityPhaseAAcPower
- func (m *UtilityPhaseAAcPower) ApparentPowerValue() (float64, bool)
- func (m *UtilityPhaseAAcPower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseAAcPower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseAAcPower) MessageInfo() MessageInfo
- func (m *UtilityPhaseAAcPower) PGNNumber() uint32
- func (m *UtilityPhaseAAcPower) RealPowerValue() (float64, bool)
- func (m *UtilityPhaseAAcPower) SetApparentPowerValue(v float64)
- func (m *UtilityPhaseAAcPower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseAAcPower) SetRealPowerValue(v float64)
- type UtilityPhaseAAcReactivePower
- func (m *UtilityPhaseAAcReactivePower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseAAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseAAcReactivePower) MessageInfo() MessageInfo
- func (m *UtilityPhaseAAcReactivePower) PGNNumber() uint32
- func (m *UtilityPhaseAAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *UtilityPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *UtilityPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseAAcReactivePower) SetPowerFactorValue(v float64)
- func (m *UtilityPhaseAAcReactivePower) SetReactivePowerValue(v float64)
- type UtilityPhaseABasicAcQuantities
- func (m *UtilityPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *UtilityPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *UtilityPhaseABasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseABasicAcQuantities) MessageInfo() MessageInfo
- func (m *UtilityPhaseABasicAcQuantities) PGNNumber() uint32
- func (m *UtilityPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *UtilityPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *UtilityPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
- type UtilityPhaseBAcPower
- func (m *UtilityPhaseBAcPower) ApparentPowerValue() (float64, bool)
- func (m *UtilityPhaseBAcPower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseBAcPower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseBAcPower) MessageInfo() MessageInfo
- func (m *UtilityPhaseBAcPower) PGNNumber() uint32
- func (m *UtilityPhaseBAcPower) RealPowerValue() (float64, bool)
- func (m *UtilityPhaseBAcPower) SetApparentPowerValue(v float64)
- func (m *UtilityPhaseBAcPower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseBAcPower) SetRealPowerValue(v float64)
- type UtilityPhaseBAcReactivePower
- func (m *UtilityPhaseBAcReactivePower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseBAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseBAcReactivePower) MessageInfo() MessageInfo
- func (m *UtilityPhaseBAcReactivePower) PGNNumber() uint32
- func (m *UtilityPhaseBAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *UtilityPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *UtilityPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseBAcReactivePower) SetPowerFactorValue(v float64)
- func (m *UtilityPhaseBAcReactivePower) SetReactivePowerValue(v float64)
- type UtilityPhaseBBasicAcQuantities
- func (m *UtilityPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *UtilityPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *UtilityPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseBBasicAcQuantities) MessageInfo() MessageInfo
- func (m *UtilityPhaseBBasicAcQuantities) PGNNumber() uint32
- func (m *UtilityPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *UtilityPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *UtilityPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type UtilityPhaseCAcPower
- func (m *UtilityPhaseCAcPower) ApparentPowerValue() (float64, bool)
- func (m *UtilityPhaseCAcPower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseCAcPower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseCAcPower) MessageInfo() MessageInfo
- func (m *UtilityPhaseCAcPower) PGNNumber() uint32
- func (m *UtilityPhaseCAcPower) RealPowerValue() (float64, bool)
- func (m *UtilityPhaseCAcPower) SetApparentPowerValue(v float64)
- func (m *UtilityPhaseCAcPower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseCAcPower) SetRealPowerValue(v float64)
- type UtilityPhaseCAcReactivePower
- func (m *UtilityPhaseCAcReactivePower) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseCAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseCAcReactivePower) MessageInfo() MessageInfo
- func (m *UtilityPhaseCAcReactivePower) PGNNumber() uint32
- func (m *UtilityPhaseCAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *UtilityPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *UtilityPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *UtilityPhaseCAcReactivePower) SetPowerFactorValue(v float64)
- func (m *UtilityPhaseCAcReactivePower) SetReactivePowerValue(v float64)
- type UtilityPhaseCBasicAcQuantities
- func (m *UtilityPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
- func (m *UtilityPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
- func (m *UtilityPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
- func (m *UtilityPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
- func (m *UtilityPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
- func (m *UtilityPhaseCBasicAcQuantities) MessageInfo() MessageInfo
- func (m *UtilityPhaseCBasicAcQuantities) PGNNumber() uint32
- func (m *UtilityPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
- func (m *UtilityPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)
- func (m *UtilityPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
- func (m *UtilityPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
- type UtilityTotalAcEnergy
- func (m *UtilityTotalAcEnergy) DecodePayload(payload []uint8) error
- func (m *UtilityTotalAcEnergy) EncodePayload() ([]uint8, error)
- func (m *UtilityTotalAcEnergy) MessageInfo() MessageInfo
- func (m *UtilityTotalAcEnergy) PGNNumber() uint32
- func (m *UtilityTotalAcEnergy) SetMessageInfo(info MessageInfo)
- func (m *UtilityTotalAcEnergy) SetTotalEnergyExportValue(v float64)
- func (m *UtilityTotalAcEnergy) SetTotalEnergyImportValue(v float64)
- func (m *UtilityTotalAcEnergy) TotalEnergyExportValue() (float64, bool)
- func (m *UtilityTotalAcEnergy) TotalEnergyImportValue() (float64, bool)
- type UtilityTotalAcPower
- func (m *UtilityTotalAcPower) ApparentPowerValue() (float64, bool)
- func (m *UtilityTotalAcPower) DecodePayload(payload []uint8) error
- func (m *UtilityTotalAcPower) EncodePayload() ([]uint8, error)
- func (m *UtilityTotalAcPower) MessageInfo() MessageInfo
- func (m *UtilityTotalAcPower) PGNNumber() uint32
- func (m *UtilityTotalAcPower) RealPowerValue() (float64, bool)
- func (m *UtilityTotalAcPower) SetApparentPowerValue(v float64)
- func (m *UtilityTotalAcPower) SetMessageInfo(info MessageInfo)
- func (m *UtilityTotalAcPower) SetRealPowerValue(v float64)
- type UtilityTotalAcReactivePower
- func (m *UtilityTotalAcReactivePower) DecodePayload(payload []uint8) error
- func (m *UtilityTotalAcReactivePower) EncodePayload() ([]uint8, error)
- func (m *UtilityTotalAcReactivePower) MessageInfo() MessageInfo
- func (m *UtilityTotalAcReactivePower) PGNNumber() uint32
- func (m *UtilityTotalAcReactivePower) PowerFactorValue() (float64, bool)
- func (m *UtilityTotalAcReactivePower) ReactivePowerValue() (float64, bool)
- func (m *UtilityTotalAcReactivePower) SetMessageInfo(info MessageInfo)
- func (m *UtilityTotalAcReactivePower) SetPowerFactorValue(v float64)
- func (m *UtilityTotalAcReactivePower) SetReactivePowerValue(v float64)
- type VesselAcceleration
- type VesselHeading
- func (m *VesselHeading) DecodePayload(payload []uint8) error
- func (m *VesselHeading) DeviationValue() (float64, bool)
- func (m *VesselHeading) EncodePayload() ([]uint8, error)
- func (m *VesselHeading) HeadingValue() (float64, bool)
- func (m *VesselHeading) MessageInfo() MessageInfo
- func (m *VesselHeading) PGNNumber() uint32
- func (m *VesselHeading) SetDeviationValue(v float64)
- func (m *VesselHeading) SetHeadingValue(v float64)
- func (m *VesselHeading) SetMessageInfo(info MessageInfo)
- func (m *VesselHeading) SetVariationValue(v float64)
- func (m *VesselHeading) VariationValue() (float64, bool)
- type VesselSpeedComponents
- func (m *VesselSpeedComponents) DecodePayload(payload []uint8) error
- func (m *VesselSpeedComponents) EncodePayload() ([]uint8, error)
- func (m *VesselSpeedComponents) LongitudinalSpeedGroundReferencedValue() (float64, bool)
- func (m *VesselSpeedComponents) LongitudinalSpeedWaterReferencedValue() (float64, bool)
- func (m *VesselSpeedComponents) MessageInfo() MessageInfo
- func (m *VesselSpeedComponents) PGNNumber() uint32
- func (m *VesselSpeedComponents) SetLongitudinalSpeedGroundReferencedValue(v float64)
- func (m *VesselSpeedComponents) SetLongitudinalSpeedWaterReferencedValue(v float64)
- func (m *VesselSpeedComponents) SetMessageInfo(info MessageInfo)
- func (m *VesselSpeedComponents) SetSternSpeedGroundReferencedValue(v float64)
- func (m *VesselSpeedComponents) SetSternSpeedWaterReferencedValue(v float64)
- func (m *VesselSpeedComponents) SetTransverseSpeedGroundReferencedValue(v float64)
- func (m *VesselSpeedComponents) SetTransverseSpeedWaterReferencedValue(v float64)
- func (m *VesselSpeedComponents) SternSpeedGroundReferencedValue() (float64, bool)
- func (m *VesselSpeedComponents) SternSpeedWaterReferencedValue() (float64, bool)
- func (m *VesselSpeedComponents) TransverseSpeedGroundReferencedValue() (float64, bool)
- func (m *VesselSpeedComponents) TransverseSpeedWaterReferencedValue() (float64, bool)
- type VictronVeCanRegister
- func (m *VictronVeCanRegister) DecodePayload(payload []uint8) error
- func (m *VictronVeCanRegister) EncodePayload() ([]uint8, error)
- func (m *VictronVeCanRegister) MessageInfo() MessageInfo
- func (m *VictronVeCanRegister) PGNNumber() uint32
- func (m *VictronVeCanRegister) SetMessageInfo(info MessageInfo)
- type VideoProtocolsConst
- type WaterDepth
- func (m *WaterDepth) DecodePayload(payload []uint8) error
- func (m *WaterDepth) DepthValue() (float64, bool)
- func (m *WaterDepth) EncodePayload() ([]uint8, error)
- func (m *WaterDepth) MessageInfo() MessageInfo
- func (m *WaterDepth) OffsetValue() (float64, bool)
- func (m *WaterDepth) PGNNumber() uint32
- func (m *WaterDepth) RangeValue() (float64, bool)
- func (m *WaterDepth) SetDepthValue(v float64)
- func (m *WaterDepth) SetMessageInfo(info MessageInfo)
- func (m *WaterDepth) SetOffsetValue(v float64)
- func (m *WaterDepth) SetRangeValue(v float64)
- type WaterReferenceConst
- type WatermakerInputSettingAndStatus
- func (m *WatermakerInputSettingAndStatus) BrineWaterFlowValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) DecodePayload(payload []uint8) error
- func (m *WatermakerInputSettingAndStatus) EncodePayload() ([]uint8, error)
- func (m *WatermakerInputSettingAndStatus) FeedPressureValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) MessageInfo() MessageInfo
- func (m *WatermakerInputSettingAndStatus) PGNNumber() uint32
- func (m *WatermakerInputSettingAndStatus) PostFilterPressureValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) PreFilterPressureValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) ProductWaterFlowValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) ProductWaterTemperatureValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) RunTimeValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) SalinityValue() (float64, bool)
- func (m *WatermakerInputSettingAndStatus) SetBrineWaterFlowValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetFeedPressureValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetMessageInfo(info MessageInfo)
- func (m *WatermakerInputSettingAndStatus) SetPostFilterPressureValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetPreFilterPressureValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetProductWaterFlowValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetProductWaterTemperatureValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetRunTimeValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetSalinityValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SetSystemHighPressureValue(v float64)
- func (m *WatermakerInputSettingAndStatus) SystemHighPressureValue() (float64, bool)
- type WatermakerStateConst
- type WaveformConst
- type WebastoHvacCommand
- func (m *WebastoHvacCommand) DecodePayload(payload []uint8) error
- func (m *WebastoHvacCommand) EncodePayload() ([]uint8, error)
- func (m *WebastoHvacCommand) MessageInfo() MessageInfo
- func (m *WebastoHvacCommand) PGNNumber() uint32
- func (m *WebastoHvacCommand) SetMessageInfo(info MessageInfo)
- func (m *WebastoHvacCommand) SetSetTemperatureValue(v float64)
- func (m *WebastoHvacCommand) SetTemperatureValue() (float64, bool)
- type WebastoStatus2
- type WindData
- func (m *WindData) DecodePayload(payload []uint8) error
- func (m *WindData) EncodePayload() ([]uint8, error)
- func (m *WindData) MessageInfo() MessageInfo
- func (m *WindData) PGNNumber() uint32
- func (m *WindData) SetMessageInfo(info MessageInfo)
- func (m *WindData) SetWindAngleValue(v float64)
- func (m *WindData) SetWindSpeedValue(v float64)
- func (m *WindData) WindAngleValue() (float64, bool)
- func (m *WindData) WindSpeedValue() (float64, bool)
- type WindReferenceConst
- type WindlassControlConst
- type WindlassControlStatus
- func (m *WindlassControlStatus) CommandTimeoutValue() (float64, bool)
- func (m *WindlassControlStatus) DecodePayload(payload []uint8) error
- func (m *WindlassControlStatus) EncodePayload() ([]uint8, error)
- func (m *WindlassControlStatus) MessageInfo() MessageInfo
- func (m *WindlassControlStatus) PGNNumber() uint32
- func (m *WindlassControlStatus) SetCommandTimeoutValue(v float64)
- func (m *WindlassControlStatus) SetMessageInfo(info MessageInfo)
- type WindlassDirectionConst
- type WindlassMonitoringConst
- type WindlassMotionConst
- type WindlassOperationConst
- type XantrexAcInputConfigurationStatus
- func (m *XantrexAcInputConfigurationStatus) AcOvLevelValue() (float64, bool)
- func (m *XantrexAcInputConfigurationStatus) AcUvLevelValue() (float64, bool)
- func (m *XantrexAcInputConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *XantrexAcInputConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *XantrexAcInputConfigurationStatus) MessageInfo() MessageInfo
- func (m *XantrexAcInputConfigurationStatus) PGNNumber() uint32
- func (m *XantrexAcInputConfigurationStatus) SetAcOvLevelValue(v float64)
- func (m *XantrexAcInputConfigurationStatus) SetAcUvLevelValue(v float64)
- func (m *XantrexAcInputConfigurationStatus) SetMessageInfo(info MessageInfo)
- type XantrexAcOutputConfigurationStatus
- func (m *XantrexAcOutputConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *XantrexAcOutputConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *XantrexAcOutputConfigurationStatus) MessageInfo() MessageInfo
- func (m *XantrexAcOutputConfigurationStatus) OvFaultLevelValue() (float64, bool)
- func (m *XantrexAcOutputConfigurationStatus) PGNNumber() uint32
- func (m *XantrexAcOutputConfigurationStatus) SetMessageInfo(info MessageInfo)
- func (m *XantrexAcOutputConfigurationStatus) SetOvFaultLevelValue(v float64)
- func (m *XantrexAcOutputConfigurationStatus) SetUvFaultLevelValue(v float64)
- func (m *XantrexAcOutputConfigurationStatus) SetVoltageValue(v float64)
- func (m *XantrexAcOutputConfigurationStatus) UvFaultLevelValue() (float64, bool)
- func (m *XantrexAcOutputConfigurationStatus) VoltageValue() (float64, bool)
- type XantrexAcStatus
- func (m *XantrexAcStatus) CurrentValue() (float64, bool)
- func (m *XantrexAcStatus) DecodePayload(payload []uint8) error
- func (m *XantrexAcStatus) EncodePayload() ([]uint8, error)
- func (m *XantrexAcStatus) MessageInfo() MessageInfo
- func (m *XantrexAcStatus) PGNNumber() uint32
- func (m *XantrexAcStatus) PowerFactorValue() (float64, bool)
- func (m *XantrexAcStatus) SetCurrentValue(v float64)
- func (m *XantrexAcStatus) SetMessageInfo(info MessageInfo)
- func (m *XantrexAcStatus) SetPowerFactorValue(v float64)
- func (m *XantrexAcStatus) SetVoltageValue(v float64)
- func (m *XantrexAcStatus) VoltageValue() (float64, bool)
- type XantrexChargerConfigurationStatus
- func (m *XantrexChargerConfigurationStatus) AbsorptionVoltageValue() (float64, bool)
- func (m *XantrexChargerConfigurationStatus) BulkVoltageValue() (float64, bool)
- func (m *XantrexChargerConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *XantrexChargerConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *XantrexChargerConfigurationStatus) EqualizationVoltageValue() (float64, bool)
- func (m *XantrexChargerConfigurationStatus) FloatVoltageValue() (float64, bool)
- func (m *XantrexChargerConfigurationStatus) GenericChargeVoltageValue() (float64, bool)
- func (m *XantrexChargerConfigurationStatus) MessageInfo() MessageInfo
- func (m *XantrexChargerConfigurationStatus) PGNNumber() uint32
- func (m *XantrexChargerConfigurationStatus) SetAbsorptionVoltageValue(v float64)
- func (m *XantrexChargerConfigurationStatus) SetBulkVoltageValue(v float64)
- func (m *XantrexChargerConfigurationStatus) SetEqualizationVoltageValue(v float64)
- func (m *XantrexChargerConfigurationStatus) SetFloatVoltageValue(v float64)
- func (m *XantrexChargerConfigurationStatus) SetGenericChargeVoltageValue(v float64)
- func (m *XantrexChargerConfigurationStatus) SetMessageInfo(info MessageInfo)
- type XantrexDcSourceConfigurationStatus
- func (m *XantrexDcSourceConfigurationStatus) DcOvRecoverLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownDelayValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcOvWarningLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcUvRecoverLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownDelayValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DcUvWarningLevelValue() (float64, bool)
- func (m *XantrexDcSourceConfigurationStatus) DecodePayload(payload []uint8) error
- func (m *XantrexDcSourceConfigurationStatus) EncodePayload() ([]uint8, error)
- func (m *XantrexDcSourceConfigurationStatus) MessageInfo() MessageInfo
- func (m *XantrexDcSourceConfigurationStatus) PGNNumber() uint32
- func (m *XantrexDcSourceConfigurationStatus) SetDcOvRecoverLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownDelayValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcOvWarningLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcUvRecoverLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownDelayValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetDcUvWarningLevelValue(v float64)
- func (m *XantrexDcSourceConfigurationStatus) SetMessageInfo(info MessageInfo)
- type YamahaEngineData
- type YamahaEngineData2
- type YamahaEngineData3
- type YamahaEngineData4
- type YamahaEngineData5
- type YamahaEngineData6
- type YamahaEngineData7
- type YamahaEngineDataA
- type YamahaEngineDataB
- type YamahaEngineDataC
- type YamahaEngineDataD
- type YamahaGearStatus
- type YanmarEngineDataA
- type YanmarEngineDataB
- type YanmarEngineDataC
- type YanmarEngineDataD
- type YanmarEngineDataE
- type YanmarEngineDataF
- type YesNoConst
- type ZoneConfiguration
- func (m *ZoneConfiguration) BalanceValue() (float64, bool)
- func (m *ZoneConfiguration) DecodePayload(payload []uint8) error
- func (m *ZoneConfiguration) EncodePayload() ([]uint8, error)
- func (m *ZoneConfiguration) EqBassValue() (float64, bool)
- func (m *ZoneConfiguration) EqMidRangeValue() (float64, bool)
- func (m *ZoneConfiguration) EqTrebleValue() (float64, bool)
- func (m *ZoneConfiguration) FadeValue() (float64, bool)
- func (m *ZoneConfiguration) HighPassFilterFrequencyValue() (float64, bool)
- func (m *ZoneConfiguration) LowPassFilterFrequencyValue() (float64, bool)
- func (m *ZoneConfiguration) MessageInfo() MessageInfo
- func (m *ZoneConfiguration) PGNNumber() uint32
- func (m *ZoneConfiguration) SetBalanceValue(v float64)
- func (m *ZoneConfiguration) SetEqBassValue(v float64)
- func (m *ZoneConfiguration) SetEqMidRangeValue(v float64)
- func (m *ZoneConfiguration) SetEqTrebleValue(v float64)
- func (m *ZoneConfiguration) SetFadeValue(v float64)
- func (m *ZoneConfiguration) SetHighPassFilterFrequencyValue(v float64)
- func (m *ZoneConfiguration) SetLowPassFilterFrequencyValue(v float64)
- func (m *ZoneConfiguration) SetMessageInfo(info MessageInfo)
- func (m *ZoneConfiguration) SetSubVolumeValue(v float64)
- func (m *ZoneConfiguration) SetVolumeLimitValue(v float64)
- func (m *ZoneConfiguration) SubVolumeValue() (float64, bool)
- func (m *ZoneConfiguration) VolumeLimitValue() (float64, bool)
- type ZoneConfigurationDeprecated
- func (m *ZoneConfigurationDeprecated) DecodePayload(payload []uint8) error
- func (m *ZoneConfigurationDeprecated) EncodePayload() ([]uint8, error)
- func (m *ZoneConfigurationDeprecated) MessageInfo() MessageInfo
- func (m *ZoneConfigurationDeprecated) PGNNumber() uint32
- func (m *ZoneConfigurationDeprecated) SetMessageInfo(info MessageInfo)
- type ZoneConfigurationDeprecatedRepeating1
- type ZoneVolume
- func (m *ZoneVolume) DecodePayload(payload []uint8) error
- func (m *ZoneVolume) EncodePayload() ([]uint8, error)
- func (m *ZoneVolume) MessageInfo() MessageInfo
- func (m *ZoneVolume) PGNNumber() uint32
- func (m *ZoneVolume) SetMessageInfo(info MessageInfo)
- func (m *ZoneVolume) SetVolumeValue(v float64)
- func (m *ZoneVolume) VolumeValue() (float64, bool)
Constants ¶
This section is empty.
Variables ¶
var BandgKeyValueConstMap = map[int]FieldDescriptor{}/* 154 elements not displayed */
var DeviceFunctionConstMap = map[int]map[int]string{10: {130: "Diagnostic",
140: "Bus Traffic Logger",
},
20: {110: "Alarm Enunciator",
130: "Emergency Position Indicating Radio Beacon (EPIRB)",
135: "Man Overboard",
140: "Voyage Data Recorder",
150: "Camera",
},
25: {130: "PC Gateway",
131: "NMEA 2000 to Analog Gateway",
132: "Analog to NMEA 2000 Gateway",
133: "NMEA 2000 to Serial Gateway",
135: "NMEA 0183 Gateway",
136: "NMEA Network Gateway",
137: "NMEA 2000 Wireless Gateway",
140: "Router",
150: "Bridge",
160: "Repeater",
},
30: {130: "Binary Event Monitor",
140: "Load Controller",
141: "AC/DC Input",
150: "Function Controller",
},
35: {140: "Engine",
141: "DC Generator/Alternator",
142: "Solar Panel (Solar Array)",
143: "Wind Generator (DC)",
144: "Fuel Cell",
145: "Network Power Supply",
151: "AC Generator",
152: "AC Bus",
153: "AC Mains (Utility/Shore)",
154: "AC Output",
160: "Power Converter - Battery Charger",
161: "Power Converter - Battery Charger+Inverter",
162: "Power Converter - Inverter",
163: "Power Converter - DC",
170: "Battery",
180: "Engine Gateway",
},
40: {130: "Follow-up Controller",
140: "Mode Controller",
150: "Autopilot",
155: "Rudder",
160: "Heading Sensors",
170: "Trim (Tabs)/Interceptors",
180: "Attitude (Pitch, Roll, Yaw) Control",
},
50: {130: "Engineroom Monitoring",
140: "Engine",
141: "DC Generator/Alternator",
150: "Engine Controller",
151: "AC Generator",
155: "Motor",
160: "Engine Gateway",
165: "Transmission",
170: "Throttle/Shift Control",
180: "Actuator",
190: "Gauge Interface",
200: "Gauge Large",
210: "Gauge Small",
},
60: {130: "Bottom Depth",
135: "Bottom Depth/Speed",
136: "Bottom Depth/Speed/Temperature",
140: "Ownship Attitude",
145: "Ownship Position (GNSS)",
150: "Ownship Position (Loran C)",
155: "Speed",
160: "Turn Rate Indicator",
170: "Integrated Navigation",
175: "Integrated Navigation System",
190: "Navigation Management",
195: "Automatic Identification System (AIS)",
200: "Radar",
201: "Infrared Imaging",
205: "ECDIS",
210: "ECS",
220: "Direction Finder",
230: "Voyage Status",
},
70: {130: "EPIRB",
140: "AIS",
150: "DSC",
160: "Data Receiver/Transceiver",
170: "Satellite",
180: "Radio-telephone (MF/HF)",
190: "Radiotelephone",
},
75: {130: "Temperature",
140: "Pressure",
150: "Fluid Level",
160: "Flow",
170: "Humidity",
},
80: {130: "Time/Date Systems",
140: "VDR",
150: "Integrated Instrumentation",
160: "General Purpose Displays",
170: "General Sensor Box",
180: "Weather Instruments",
190: "Transducer/General",
200: "NMEA 0183 Converter",
},
85: {130: "Atmospheric",
160: "Aquatic",
},
90: {130: "HVAC"},
100: {130: "Scale (Catch)"},
110: {130: "Button Interface",
135: "Switch Interface",
140: "Analog Interface",
},
120: {130: "Display",
140: "Alarm Enunciator",
},
125: {130: "Multimedia Player",
140: "Multimedia Controller",
},
}
var ErrUnexpectedPayloadEnd = errors.New("unexpected end of PGN payload")
ErrUnexpectedPayloadEnd identifies a field read that extends beyond the available PGN payload.
var PgnInfoLookup map[uint32][]*PgnInfo
PgnInfoLookup maps PGN numbers to their PgnInfo descriptors. It is the primary lookup table used by callers to find metadata and, when available, decoders for a received message. Multiple entries per PGN are possible (proprietary PGNs with different manufacturers).
var SimnetKeyValueConstMap = map[int]FieldDescriptor{0: {
Name: "Heading Offset",
SourceType: "NUMBER",
Resolution: 0.0001,
Unit: "rad",
BitLength: 0,
BitLookupName: "",
},
41: {
Name: "Timezone offset",
SourceType: "TIME",
Resolution: 60,
Unit: "s",
BitLength: 0,
BitLookupName: "",
},
260: {
Name: "True wind high",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
264: {
Name: "Deep water",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m",
BitLength: 0,
BitLookupName: "",
},
516: {
Name: "True wind low",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
517: {
Name: "Low boat speed",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
520: {
Name: "Shallow water",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m",
BitLength: 0,
BitLookupName: "",
},
768: {
Name: "Local field",
SourceType: "NUMBER",
Resolution: 0.0001,
Unit: "rad",
BitLength: 0,
BitLookupName: "",
},
1024: {
Name: "Field angle",
SourceType: "NUMBER",
Resolution: 0.0001,
Unit: "rad",
BitLength: 0,
BitLookupName: "",
},
1800: {
Name: "Anchor depth",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
4863: {
Name: "Backlight level",
SourceType: "LOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
5160: {
Name: "Time format",
SourceType: "LOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
5161: {
Name: "Time hour display",
SourceType: "LOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
9983: {
Name: "Night mode",
SourceType: "LOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
11524: {
Name: "True wind shift",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
22296: {
Name: "AP low boat speed",
SourceType: "NUMBER",
Resolution: 0.01,
Unit: "m/s",
BitLength: 0,
BitLookupName: "",
},
32789: {
Name: "Alert bits",
SourceType: "BITLOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "SIMNET_ALERT_BITFIELD",
},
44079: {
Name: "Night mode color",
SourceType: "LOOKUP",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
55087: {
Name: "Day mode invert",
SourceType: "NUMBER",
Resolution: 0,
Unit: "",
BitLength: 0,
BitLookupName: "",
},
}
var UnseenLookup map[uint32][]*PgnInfo
UnseenLookup maps PGN numbers that are defined by the source schema but are marked incomplete or missing metadata. These entries are still present in PgnInfoLookup when a PGN struct exists for them.
Functions ¶
func DebugDumpPGN ¶
DebugDumpPGN produces a human-readable, single-line string representation of a decoded PGN struct. It uses reflection to iterate over all fields, printing their names and values. This is intended for logging and diagnostic output -- not for serialization.
The output format is: "StructName: Field1=value1, Field2=value2, ..." Embedded MessageInfo fields are flattened (not nested), and the Timestamp field is omitted for brevity since it is usually available from other context.
Example output: "VesselHeading: PGN=127250, SourceId=..., Heading=15708"
func EncodeMessage ¶
EncodeMessage serializes msg by calling its EncodePayload method.
func GetProprietaryInfo ¶
func GetProprietaryInfo(data []uint8) (ManufacturerCodeConst, IndustryCodeConst, error)
GetProprietaryInfo extracts the Manufacturer Code and Industry Code from the first two bytes of a proprietary PGN's payload. The wire layout for proprietary PGNs is:
Bits 0-10: Manufacturer Code (11 bits) Bits 11-12: Reserved (2 bits, skipped) Bits 13-15: Industry Code (3 bits)
This function should only be called for PGNs that IsProprietaryPGN reports as true. If called on a non-proprietary PGN, the returned values will be meaningless since those bytes have a different field layout.
func IsProprietaryPGN ¶
IsProprietaryPGN returns true if the given PGN number falls within one of the four NMEA 2000 proprietary PGN ranges. Proprietary PGNs are manufacturer-specific messages that require knowing the manufacturer code (embedded in the payload) to decode correctly. The four ranges cover all combinations of addressed/broadcast and single-frame/fast-packet.
func PhysicalValue ¶
PhysicalValue returns the physical (unit-scaled) value of the numeric field with the given source order on a decoded PGN struct, applying the field's Resolution and Offset from its metadata: value = raw*Resolution + Offset.
Most callers should prefer the generated typed accessors instead: every numeric field with a physical interpretation has <Field>Value() (float64, bool) and Set<Field>Value(float64) methods on its struct (for example, VesselHeading.HeadingValue returns radians). PhysicalValue remains for dynamic, metadata-driven access when the field is only known at runtime. The unit string is the metadata Unit label ("rad", "m/s", "K", ...), empty for unitless fields.
"Numeric" here means a field whose decoded Go representation is a raw wire tick count -- a *uint64 or *int64 struct field, per the codec's fieldKindNullableNumber, fieldKindRawNumber, and fieldKindLookup kinds (pgn/codec.go). Lookup/enumeration fields qualify and naturally carry Resolution 1 and Unit "", so their raw ordinal comes back unchanged.
The following are deliberately NOT numeric for this function and return an error:
- Match-selector fields (fieldKindMatch): mechanically they decode into the same *uint64/*int64 storage as plain numbers, but semantically they pick a PGN variant rather than carry a measured quantity, so scaling them by Resolution/Offset is not meaningful.
- FLOAT fields (fieldKindFloat, *float32 storage): already a physical value on the wire, not a raw tick count, so there is nothing to scale.
- Strings, binary data, and reserved/spare padding.
Fields inside a repeating group are not addressable by top-level source order alone -- a group can have any number of elements, and a bare order number does not select one -- so those orders return an error too. Decode the group slice field directly and inspect its elements instead.
The bool result is false (with a nil error) when the field order names a numeric field but its decoded value is nil: the wire wrote the field's null/out-of-range sentinel, or the payload ended before reaching it.
An error is returned when msg's struct type has no registered metadata, when fieldOrder does not name any field of that metadata, or when the named field is non-numeric or only reachable inside a repeating group.
func Priority ¶
Priority returns a pointer to v, for use in MessageInfo literal construction:
pgn.MessageInfo{Priority: pgn.Priority(2)}
func SearchUnseenList ¶
SearchUnseenList returns true if the given PGN number has incomplete or missing upstream metadata.
Types ¶
type AcInputStatus ¶
type AcInputStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
NumberOfLines *uint64 `json:"numberOfLines,omitempty" n2k:"2"`
Repeating1 []AcInputStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AcInputStatus) DecodePayload ¶
func (m *AcInputStatus) DecodePayload(payload []uint8) error
func (*AcInputStatus) EncodePayload ¶
func (m *AcInputStatus) EncodePayload() ([]uint8, error)
func (*AcInputStatus) MessageInfo ¶
func (m *AcInputStatus) MessageInfo() MessageInfo
func (*AcInputStatus) PGNNumber ¶
func (m *AcInputStatus) PGNNumber() uint32
func (*AcInputStatus) SetMessageInfo ¶
func (m *AcInputStatus) SetMessageInfo(info MessageInfo)
type AcInputStatusRepeating1 ¶
type AcInputStatusRepeating1 struct {
Line *uint64 `json:"line,omitempty" n2k:"3"`
Acceptability *uint64 `json:"acceptability,omitempty" n2k:"4"`
Voltage *uint64 `json:"voltage,omitempty" n2k:"6"`
Current *uint64 `json:"current,omitempty" n2k:"7"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"8"`
BreakerSize *uint64 `json:"breakerSize,omitempty" n2k:"9"`
RealPower *uint64 `json:"realPower,omitempty" n2k:"10"`
ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"11"`
PowerFactor *int64 `json:"powerFactor,omitempty" n2k:"12"`
}
func (*AcInputStatusRepeating1) BreakerSizeValue ¶
func (m *AcInputStatusRepeating1) BreakerSizeValue() (float64, bool)
BreakerSizeValue returns BreakerSize as a physical value in A (value = raw * 0.1). The bool is false when BreakerSize is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) CurrentValue ¶
func (m *AcInputStatusRepeating1) CurrentValue() (float64, bool)
CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false when Current is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) FrequencyValue ¶
func (m *AcInputStatusRepeating1) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.01). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) PowerFactorValue ¶
func (m *AcInputStatusRepeating1) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 0.01). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) ReactivePowerValue ¶
func (m *AcInputStatusRepeating1) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) RealPowerValue ¶
func (m *AcInputStatusRepeating1) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcInputStatusRepeating1) SetBreakerSizeValue ¶
func (m *AcInputStatusRepeating1) SetBreakerSizeValue(v float64)
SetBreakerSizeValue sets BreakerSize from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcInputStatusRepeating1) SetCurrentValue ¶
func (m *AcInputStatusRepeating1) SetCurrentValue(v float64)
SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcInputStatusRepeating1) SetFrequencyValue ¶
func (m *AcInputStatusRepeating1) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.01.
func (*AcInputStatusRepeating1) SetPowerFactorValue ¶
func (m *AcInputStatusRepeating1) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 0.01.
func (*AcInputStatusRepeating1) SetReactivePowerValue ¶
func (m *AcInputStatusRepeating1) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
func (*AcInputStatusRepeating1) SetRealPowerValue ¶
func (m *AcInputStatusRepeating1) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
func (*AcInputStatusRepeating1) SetVoltageValue ¶
func (m *AcInputStatusRepeating1) SetVoltageValue(v float64)
SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*AcInputStatusRepeating1) VoltageValue ¶
func (m *AcInputStatusRepeating1) VoltageValue() (float64, bool)
VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false when Voltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AcOutputStatus ¶
type AcOutputStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
NumberOfLines *uint64 `json:"numberOfLines,omitempty" n2k:"2"`
Repeating1 []AcOutputStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AcOutputStatus) DecodePayload ¶
func (m *AcOutputStatus) DecodePayload(payload []uint8) error
func (*AcOutputStatus) EncodePayload ¶
func (m *AcOutputStatus) EncodePayload() ([]uint8, error)
func (*AcOutputStatus) MessageInfo ¶
func (m *AcOutputStatus) MessageInfo() MessageInfo
func (*AcOutputStatus) PGNNumber ¶
func (m *AcOutputStatus) PGNNumber() uint32
func (*AcOutputStatus) SetMessageInfo ¶
func (m *AcOutputStatus) SetMessageInfo(info MessageInfo)
type AcOutputStatusRepeating1 ¶
type AcOutputStatusRepeating1 struct {
Line *uint64 `json:"line,omitempty" n2k:"3"`
Waveform *uint64 `json:"waveform,omitempty" n2k:"4"`
Voltage *uint64 `json:"voltage,omitempty" n2k:"6"`
Current *uint64 `json:"current,omitempty" n2k:"7"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"8"`
BreakerSize *uint64 `json:"breakerSize,omitempty" n2k:"9"`
RealPower *uint64 `json:"realPower,omitempty" n2k:"10"`
ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"11"`
PowerFactor *int64 `json:"powerFactor,omitempty" n2k:"12"`
}
func (*AcOutputStatusRepeating1) BreakerSizeValue ¶
func (m *AcOutputStatusRepeating1) BreakerSizeValue() (float64, bool)
BreakerSizeValue returns BreakerSize as a physical value in A (value = raw * 0.1). The bool is false when BreakerSize is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) CurrentValue ¶
func (m *AcOutputStatusRepeating1) CurrentValue() (float64, bool)
CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false when Current is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) FrequencyValue ¶
func (m *AcOutputStatusRepeating1) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.01). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) PowerFactorValue ¶
func (m *AcOutputStatusRepeating1) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 0.01). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) ReactivePowerValue ¶
func (m *AcOutputStatusRepeating1) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) RealPowerValue ¶
func (m *AcOutputStatusRepeating1) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcOutputStatusRepeating1) SetBreakerSizeValue ¶
func (m *AcOutputStatusRepeating1) SetBreakerSizeValue(v float64)
SetBreakerSizeValue sets BreakerSize from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcOutputStatusRepeating1) SetCurrentValue ¶
func (m *AcOutputStatusRepeating1) SetCurrentValue(v float64)
SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcOutputStatusRepeating1) SetFrequencyValue ¶
func (m *AcOutputStatusRepeating1) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.01.
func (*AcOutputStatusRepeating1) SetPowerFactorValue ¶
func (m *AcOutputStatusRepeating1) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 0.01.
func (*AcOutputStatusRepeating1) SetReactivePowerValue ¶
func (m *AcOutputStatusRepeating1) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
func (*AcOutputStatusRepeating1) SetRealPowerValue ¶
func (m *AcOutputStatusRepeating1) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
func (*AcOutputStatusRepeating1) SetVoltageValue ¶
func (m *AcOutputStatusRepeating1) SetVoltageValue(v float64)
SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*AcOutputStatusRepeating1) VoltageValue ¶
func (m *AcOutputStatusRepeating1) VoltageValue() (float64, bool)
VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false when Voltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AcPowerCurrentPhaseA ¶
type AcPowerCurrentPhaseA struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"3"`
Power *int64 `json:"power,omitempty" n2k:"4"`
}
func (*AcPowerCurrentPhaseA) AcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseA) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseA) DecodePayload ¶
func (m *AcPowerCurrentPhaseA) DecodePayload(payload []uint8) error
func (*AcPowerCurrentPhaseA) EncodePayload ¶
func (m *AcPowerCurrentPhaseA) EncodePayload() ([]uint8, error)
func (*AcPowerCurrentPhaseA) MessageInfo ¶
func (m *AcPowerCurrentPhaseA) MessageInfo() MessageInfo
func (*AcPowerCurrentPhaseA) PGNNumber ¶
func (m *AcPowerCurrentPhaseA) PGNNumber() uint32
func (*AcPowerCurrentPhaseA) PowerValue ¶
func (m *AcPowerCurrentPhaseA) PowerValue() (float64, bool)
PowerValue returns Power as a physical value in W (value = raw). The bool is false when Power is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseA) SetAcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseA) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcPowerCurrentPhaseA) SetMessageInfo ¶
func (m *AcPowerCurrentPhaseA) SetMessageInfo(info MessageInfo)
func (*AcPowerCurrentPhaseA) SetPowerValue ¶
func (m *AcPowerCurrentPhaseA) SetPowerValue(v float64)
SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.
type AcPowerCurrentPhaseB ¶
type AcPowerCurrentPhaseB struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"3"`
Power *int64 `json:"power,omitempty" n2k:"4"`
}
func (*AcPowerCurrentPhaseB) AcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseB) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseB) DecodePayload ¶
func (m *AcPowerCurrentPhaseB) DecodePayload(payload []uint8) error
func (*AcPowerCurrentPhaseB) EncodePayload ¶
func (m *AcPowerCurrentPhaseB) EncodePayload() ([]uint8, error)
func (*AcPowerCurrentPhaseB) MessageInfo ¶
func (m *AcPowerCurrentPhaseB) MessageInfo() MessageInfo
func (*AcPowerCurrentPhaseB) PGNNumber ¶
func (m *AcPowerCurrentPhaseB) PGNNumber() uint32
func (*AcPowerCurrentPhaseB) PowerValue ¶
func (m *AcPowerCurrentPhaseB) PowerValue() (float64, bool)
PowerValue returns Power as a physical value in W (value = raw). The bool is false when Power is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseB) SetAcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseB) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcPowerCurrentPhaseB) SetMessageInfo ¶
func (m *AcPowerCurrentPhaseB) SetMessageInfo(info MessageInfo)
func (*AcPowerCurrentPhaseB) SetPowerValue ¶
func (m *AcPowerCurrentPhaseB) SetPowerValue(v float64)
SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.
type AcPowerCurrentPhaseC ¶
type AcPowerCurrentPhaseC struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"3"`
Power *int64 `json:"power,omitempty" n2k:"4"`
}
func (*AcPowerCurrentPhaseC) AcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseC) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseC) DecodePayload ¶
func (m *AcPowerCurrentPhaseC) DecodePayload(payload []uint8) error
func (*AcPowerCurrentPhaseC) EncodePayload ¶
func (m *AcPowerCurrentPhaseC) EncodePayload() ([]uint8, error)
func (*AcPowerCurrentPhaseC) MessageInfo ¶
func (m *AcPowerCurrentPhaseC) MessageInfo() MessageInfo
func (*AcPowerCurrentPhaseC) PGNNumber ¶
func (m *AcPowerCurrentPhaseC) PGNNumber() uint32
func (*AcPowerCurrentPhaseC) PowerValue ¶
func (m *AcPowerCurrentPhaseC) PowerValue() (float64, bool)
PowerValue returns Power as a physical value in W (value = raw). The bool is false when Power is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcPowerCurrentPhaseC) SetAcRmsCurrentValue ¶
func (m *AcPowerCurrentPhaseC) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*AcPowerCurrentPhaseC) SetMessageInfo ¶
func (m *AcPowerCurrentPhaseC) SetMessageInfo(info MessageInfo)
func (*AcPowerCurrentPhaseC) SetPowerValue ¶
func (m *AcPowerCurrentPhaseC) SetPowerValue(v float64)
SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.
type AcVoltageFrequencyPhaseA ¶
type AcVoltageFrequencyPhaseA struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcVoltageLineToNeutral *uint64 `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
AcVoltageLineToLine *uint64 `json:"acVoltageLineToLine,omitempty" n2k:"4"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"5"`
}
func (*AcVoltageFrequencyPhaseA) AcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToLineValue() (float64, bool)
AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToLine is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseA) AcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToNeutralValue() (float64, bool)
AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToNeutral is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseA) DecodePayload ¶
func (m *AcVoltageFrequencyPhaseA) DecodePayload(payload []uint8) error
func (*AcVoltageFrequencyPhaseA) EncodePayload ¶
func (m *AcVoltageFrequencyPhaseA) EncodePayload() ([]uint8, error)
func (*AcVoltageFrequencyPhaseA) FrequencyValue ¶
func (m *AcVoltageFrequencyPhaseA) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseA) MessageInfo ¶
func (m *AcVoltageFrequencyPhaseA) MessageInfo() MessageInfo
func (*AcVoltageFrequencyPhaseA) PGNNumber ¶
func (m *AcVoltageFrequencyPhaseA) PGNNumber() uint32
func (*AcVoltageFrequencyPhaseA) SetAcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToLineValue(v float64)
SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseA) SetAcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToNeutralValue(v float64)
SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseA) SetFrequencyValue ¶
func (m *AcVoltageFrequencyPhaseA) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseA) SetMessageInfo ¶
func (m *AcVoltageFrequencyPhaseA) SetMessageInfo(info MessageInfo)
type AcVoltageFrequencyPhaseB ¶
type AcVoltageFrequencyPhaseB struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcVoltageLineToNeutral *uint64 `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
AcVoltageLineToLine *uint64 `json:"acVoltageLineToLine,omitempty" n2k:"4"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"5"`
}
func (*AcVoltageFrequencyPhaseB) AcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToLineValue() (float64, bool)
AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToLine is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseB) AcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToNeutralValue() (float64, bool)
AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToNeutral is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseB) DecodePayload ¶
func (m *AcVoltageFrequencyPhaseB) DecodePayload(payload []uint8) error
func (*AcVoltageFrequencyPhaseB) EncodePayload ¶
func (m *AcVoltageFrequencyPhaseB) EncodePayload() ([]uint8, error)
func (*AcVoltageFrequencyPhaseB) FrequencyValue ¶
func (m *AcVoltageFrequencyPhaseB) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseB) MessageInfo ¶
func (m *AcVoltageFrequencyPhaseB) MessageInfo() MessageInfo
func (*AcVoltageFrequencyPhaseB) PGNNumber ¶
func (m *AcVoltageFrequencyPhaseB) PGNNumber() uint32
func (*AcVoltageFrequencyPhaseB) SetAcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToLineValue(v float64)
SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseB) SetAcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToNeutralValue(v float64)
SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseB) SetFrequencyValue ¶
func (m *AcVoltageFrequencyPhaseB) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseB) SetMessageInfo ¶
func (m *AcVoltageFrequencyPhaseB) SetMessageInfo(info MessageInfo)
type AcVoltageFrequencyPhaseC ¶
type AcVoltageFrequencyPhaseC struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
AcVoltageLineToNeutral *uint64 `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
AcVoltageLineToLine *uint64 `json:"acVoltageLineToLine,omitempty" n2k:"4"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"5"`
}
func (*AcVoltageFrequencyPhaseC) AcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToLineValue() (float64, bool)
AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToLine is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseC) AcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToNeutralValue() (float64, bool)
AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false when AcVoltageLineToNeutral is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseC) DecodePayload ¶
func (m *AcVoltageFrequencyPhaseC) DecodePayload(payload []uint8) error
func (*AcVoltageFrequencyPhaseC) EncodePayload ¶
func (m *AcVoltageFrequencyPhaseC) EncodePayload() ([]uint8, error)
func (*AcVoltageFrequencyPhaseC) FrequencyValue ¶
func (m *AcVoltageFrequencyPhaseC) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AcVoltageFrequencyPhaseC) MessageInfo ¶
func (m *AcVoltageFrequencyPhaseC) MessageInfo() MessageInfo
func (*AcVoltageFrequencyPhaseC) PGNNumber ¶
func (m *AcVoltageFrequencyPhaseC) PGNNumber() uint32
func (*AcVoltageFrequencyPhaseC) SetAcVoltageLineToLineValue ¶
func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToLineValue(v float64)
SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseC) SetAcVoltageLineToNeutralValue ¶
func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToNeutralValue(v float64)
SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseC) SetFrequencyValue ¶
func (m *AcVoltageFrequencyPhaseC) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.
func (*AcVoltageFrequencyPhaseC) SetMessageInfo ¶
func (m *AcVoltageFrequencyPhaseC) SetMessageInfo(info MessageInfo)
type AcceptabilityConst ¶
type AcceptabilityConst uint8
const ( BadLevel AcceptabilityConst = 0 BadFrequency AcceptabilityConst = 1 BeingQualified AcceptabilityConst = 2 Good_2 AcceptabilityConst = 3 )
func (AcceptabilityConst) GoString ¶
func (e AcceptabilityConst) GoString() string
func (AcceptabilityConst) String ¶
func (e AcceptabilityConst) String() string
type AccessLevelConst ¶
type AccessLevelConst uint8
const ( Locked AccessLevelConst = 0 UnlockedLevel1 AccessLevelConst = 1 UnlockedLevel2 AccessLevelConst = 2 )
func (AccessLevelConst) GoString ¶
func (e AccessLevelConst) GoString() string
func (AccessLevelConst) String ¶
func (e AccessLevelConst) String() string
type ActualPressure ¶
type ActualPressure struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
Source *uint64 `json:"source,omitempty" n2k:"3"`
Pressure *int64 `json:"pressure,omitempty" n2k:"4"`
}
func (*ActualPressure) DecodePayload ¶
func (m *ActualPressure) DecodePayload(payload []uint8) error
func (*ActualPressure) EncodePayload ¶
func (m *ActualPressure) EncodePayload() ([]uint8, error)
func (*ActualPressure) MessageInfo ¶
func (m *ActualPressure) MessageInfo() MessageInfo
func (*ActualPressure) PGNNumber ¶
func (m *ActualPressure) PGNNumber() uint32
func (*ActualPressure) PressureValue ¶
func (m *ActualPressure) PressureValue() (float64, bool)
PressureValue returns Pressure as a physical value in Pa (value = raw * 0.1). The bool is false when Pressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ActualPressure) SetMessageInfo ¶
func (m *ActualPressure) SetMessageInfo(info MessageInfo)
func (*ActualPressure) SetPressureValue ¶
func (m *ActualPressure) SetPressureValue(v float64)
SetPressureValue sets Pressure from a physical value in Pa, rounded to the nearest wire tick of 0.1.
type AgsConfigurationStatus ¶
type AgsConfigurationStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
GeneratorInstance *uint64 `json:"generatorInstance,omitempty" n2k:"2"`
AgsMode *uint64 `json:"agsMode,omitempty" n2k:"3"`
}
func (*AgsConfigurationStatus) DecodePayload ¶
func (m *AgsConfigurationStatus) DecodePayload(payload []uint8) error
func (*AgsConfigurationStatus) EncodePayload ¶
func (m *AgsConfigurationStatus) EncodePayload() ([]uint8, error)
func (*AgsConfigurationStatus) MessageInfo ¶
func (m *AgsConfigurationStatus) MessageInfo() MessageInfo
func (*AgsConfigurationStatus) PGNNumber ¶
func (m *AgsConfigurationStatus) PGNNumber() uint32
func (*AgsConfigurationStatus) SetMessageInfo ¶
func (m *AgsConfigurationStatus) SetMessageInfo(info MessageInfo)
type AgsStatus ¶
type AgsStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
GeneratorInstance *uint64 `json:"generatorInstance,omitempty" n2k:"2"`
AgsOperatingState *uint64 `json:"agsOperatingState,omitempty" n2k:"3"`
GeneratorState *uint64 `json:"generatorState,omitempty" n2k:"4"`
GeneratorOnReason *uint64 `json:"generatorOnReason,omitempty" n2k:"5"`
GeneratorOffReason *uint64 `json:"generatorOffReason,omitempty" n2k:"6"`
}
func (*AgsStatus) DecodePayload ¶
func (*AgsStatus) EncodePayload ¶
func (*AgsStatus) MessageInfo ¶
func (m *AgsStatus) MessageInfo() MessageInfo
func (*AgsStatus) SetMessageInfo ¶
func (m *AgsStatus) SetMessageInfo(info MessageInfo)
type AirmarAccessLevel ¶
type AirmarAccessLevel struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
FormatCode *uint64 `json:"formatCode,omitempty" n2k:"4"`
AccessLevel *uint64 `json:"accessLevel,omitempty" n2k:"5"`
AccessSeedKey *uint64 `json:"accessSeedKey,omitempty" n2k:"7"`
}
func (*AirmarAccessLevel) DecodePayload ¶
func (m *AirmarAccessLevel) DecodePayload(payload []uint8) error
func (*AirmarAccessLevel) EncodePayload ¶
func (m *AirmarAccessLevel) EncodePayload() ([]uint8, error)
func (*AirmarAccessLevel) MessageInfo ¶
func (m *AirmarAccessLevel) MessageInfo() MessageInfo
func (*AirmarAccessLevel) PGNNumber ¶
func (m *AirmarAccessLevel) PGNNumber() uint32
func (*AirmarAccessLevel) SetMessageInfo ¶
func (m *AirmarAccessLevel) SetMessageInfo(info MessageInfo)
type AirmarAdditionalWeatherData ¶
type AirmarAdditionalWeatherData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
C *uint64 `json:"c,omitempty" n2k:"4"`
ApparentWindchillTemperature *uint64 `json:"apparentWindchillTemperature,omitempty" n2k:"5"`
TrueWindchillTemperature *uint64 `json:"trueWindchillTemperature,omitempty" n2k:"6"`
Dewpoint *uint64 `json:"dewpoint,omitempty" n2k:"7"`
}
func (*AirmarAdditionalWeatherData) ApparentWindchillTemperatureValue ¶
func (m *AirmarAdditionalWeatherData) ApparentWindchillTemperatureValue() (float64, bool)
ApparentWindchillTemperatureValue returns ApparentWindchillTemperature as a physical value in K (value = raw * 0.01). The bool is false when ApparentWindchillTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarAdditionalWeatherData) DecodePayload ¶
func (m *AirmarAdditionalWeatherData) DecodePayload(payload []uint8) error
func (*AirmarAdditionalWeatherData) DewpointValue ¶
func (m *AirmarAdditionalWeatherData) DewpointValue() (float64, bool)
DewpointValue returns Dewpoint as a physical value in K (value = raw * 0.01). The bool is false when Dewpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarAdditionalWeatherData) EncodePayload ¶
func (m *AirmarAdditionalWeatherData) EncodePayload() ([]uint8, error)
func (*AirmarAdditionalWeatherData) MessageInfo ¶
func (m *AirmarAdditionalWeatherData) MessageInfo() MessageInfo
func (*AirmarAdditionalWeatherData) PGNNumber ¶
func (m *AirmarAdditionalWeatherData) PGNNumber() uint32
func (*AirmarAdditionalWeatherData) SetApparentWindchillTemperatureValue ¶
func (m *AirmarAdditionalWeatherData) SetApparentWindchillTemperatureValue(v float64)
SetApparentWindchillTemperatureValue sets ApparentWindchillTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarAdditionalWeatherData) SetDewpointValue ¶
func (m *AirmarAdditionalWeatherData) SetDewpointValue(v float64)
SetDewpointValue sets Dewpoint from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarAdditionalWeatherData) SetMessageInfo ¶
func (m *AirmarAdditionalWeatherData) SetMessageInfo(info MessageInfo)
func (*AirmarAdditionalWeatherData) SetTrueWindchillTemperatureValue ¶
func (m *AirmarAdditionalWeatherData) SetTrueWindchillTemperatureValue(v float64)
SetTrueWindchillTemperatureValue sets TrueWindchillTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarAdditionalWeatherData) TrueWindchillTemperatureValue ¶
func (m *AirmarAdditionalWeatherData) TrueWindchillTemperatureValue() (float64, bool)
TrueWindchillTemperatureValue returns TrueWindchillTemperature as a physical value in K (value = raw * 0.01). The bool is false when TrueWindchillTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AirmarAddressableMultiFrame ¶
type AirmarAddressableMultiFrame struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
}
func (*AirmarAddressableMultiFrame) DecodePayload ¶
func (m *AirmarAddressableMultiFrame) DecodePayload(payload []uint8) error
func (*AirmarAddressableMultiFrame) EncodePayload ¶
func (m *AirmarAddressableMultiFrame) EncodePayload() ([]uint8, error)
func (*AirmarAddressableMultiFrame) MessageInfo ¶
func (m *AirmarAddressableMultiFrame) MessageInfo() MessageInfo
func (*AirmarAddressableMultiFrame) PGNNumber ¶
func (m *AirmarAddressableMultiFrame) PGNNumber() uint32
func (*AirmarAddressableMultiFrame) SetMessageInfo ¶
func (m *AirmarAddressableMultiFrame) SetMessageInfo(info MessageInfo)
type AirmarAttitudeOffset ¶
type AirmarAttitudeOffset struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
AzimuthOffset *int64 `json:"azimuthOffset,omitempty" n2k:"5"`
PitchOffset *int64 `json:"pitchOffset,omitempty" n2k:"6"`
RollOffset *int64 `json:"rollOffset,omitempty" n2k:"7"`
}
func (*AirmarAttitudeOffset) AzimuthOffsetValue ¶
func (m *AirmarAttitudeOffset) AzimuthOffsetValue() (float64, bool)
AzimuthOffsetValue returns AzimuthOffset as a physical value in rad (value = raw * 0.0001). The bool is false when AzimuthOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarAttitudeOffset) DecodePayload ¶
func (m *AirmarAttitudeOffset) DecodePayload(payload []uint8) error
func (*AirmarAttitudeOffset) EncodePayload ¶
func (m *AirmarAttitudeOffset) EncodePayload() ([]uint8, error)
func (*AirmarAttitudeOffset) MessageInfo ¶
func (m *AirmarAttitudeOffset) MessageInfo() MessageInfo
func (*AirmarAttitudeOffset) PGNNumber ¶
func (m *AirmarAttitudeOffset) PGNNumber() uint32
func (*AirmarAttitudeOffset) PitchOffsetValue ¶
func (m *AirmarAttitudeOffset) PitchOffsetValue() (float64, bool)
PitchOffsetValue returns PitchOffset as a physical value in rad (value = raw * 0.0001). The bool is false when PitchOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarAttitudeOffset) RollOffsetValue ¶
func (m *AirmarAttitudeOffset) RollOffsetValue() (float64, bool)
RollOffsetValue returns RollOffset as a physical value in rad (value = raw * 0.0001). The bool is false when RollOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarAttitudeOffset) SetAzimuthOffsetValue ¶
func (m *AirmarAttitudeOffset) SetAzimuthOffsetValue(v float64)
SetAzimuthOffsetValue sets AzimuthOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AirmarAttitudeOffset) SetMessageInfo ¶
func (m *AirmarAttitudeOffset) SetMessageInfo(info MessageInfo)
func (*AirmarAttitudeOffset) SetPitchOffsetValue ¶
func (m *AirmarAttitudeOffset) SetPitchOffsetValue(v float64)
SetPitchOffsetValue sets PitchOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AirmarAttitudeOffset) SetRollOffsetValue ¶
func (m *AirmarAttitudeOffset) SetRollOffsetValue(v float64)
SetRollOffsetValue sets RollOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.
type AirmarBootStateAcknowledgment ¶
type AirmarBootStateAcknowledgment struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
BootState *uint64 `json:"bootState,omitempty" n2k:"4"`
}
func (*AirmarBootStateAcknowledgment) DecodePayload ¶
func (m *AirmarBootStateAcknowledgment) DecodePayload(payload []uint8) error
func (*AirmarBootStateAcknowledgment) EncodePayload ¶
func (m *AirmarBootStateAcknowledgment) EncodePayload() ([]uint8, error)
func (*AirmarBootStateAcknowledgment) MessageInfo ¶
func (m *AirmarBootStateAcknowledgment) MessageInfo() MessageInfo
func (*AirmarBootStateAcknowledgment) PGNNumber ¶
func (m *AirmarBootStateAcknowledgment) PGNNumber() uint32
func (*AirmarBootStateAcknowledgment) SetMessageInfo ¶
func (m *AirmarBootStateAcknowledgment) SetMessageInfo(info MessageInfo)
type AirmarBootStateRequest ¶
type AirmarBootStateRequest struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*AirmarBootStateRequest) DecodePayload ¶
func (m *AirmarBootStateRequest) DecodePayload(payload []uint8) error
func (*AirmarBootStateRequest) EncodePayload ¶
func (m *AirmarBootStateRequest) EncodePayload() ([]uint8, error)
func (*AirmarBootStateRequest) MessageInfo ¶
func (m *AirmarBootStateRequest) MessageInfo() MessageInfo
func (*AirmarBootStateRequest) PGNNumber ¶
func (m *AirmarBootStateRequest) PGNNumber() uint32
func (*AirmarBootStateRequest) SetMessageInfo ¶
func (m *AirmarBootStateRequest) SetMessageInfo(info MessageInfo)
type AirmarCalibrateCompass ¶
type AirmarCalibrateCompass struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
CalibrateFunction *uint64 `json:"calibrateFunction,omitempty" n2k:"5"`
CalibrationStatus *uint64 `json:"calibrationStatus,omitempty" n2k:"6"`
VerifyScore *uint64 `json:"verifyScore,omitempty" n2k:"7"`
XAxisGainValue *int64 `json:"xAxisGainValue,omitempty" n2k:"8"`
YAxisGainValue *int64 `json:"yAxisGainValue,omitempty" n2k:"9"`
ZAxisGainValue *int64 `json:"zAxisGainValue,omitempty" n2k:"10"`
XAxisLinearOffset *int64 `json:"xAxisLinearOffset,omitempty" n2k:"11"`
YAxisLinearOffset *int64 `json:"yAxisLinearOffset,omitempty" n2k:"12"`
ZAxisLinearOffset *int64 `json:"zAxisLinearOffset,omitempty" n2k:"13"`
XAxisAngularOffset *int64 `json:"xAxisAngularOffset,omitempty" n2k:"14"`
PitchAndRollDamping *int64 `json:"pitchAndRollDamping,omitempty" n2k:"15"`
CompassRateGyroDamping *int64 `json:"compassRateGyroDamping,omitempty" n2k:"16"`
}
func (*AirmarCalibrateCompass) CompassRateGyroDampingValue ¶
func (m *AirmarCalibrateCompass) CompassRateGyroDampingValue() (float64, bool)
CompassRateGyroDampingValue returns CompassRateGyroDamping as a physical value in s (value = raw * 0.05). The bool is false when CompassRateGyroDamping is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) DecodePayload ¶
func (m *AirmarCalibrateCompass) DecodePayload(payload []uint8) error
func (*AirmarCalibrateCompass) EncodePayload ¶
func (m *AirmarCalibrateCompass) EncodePayload() ([]uint8, error)
func (*AirmarCalibrateCompass) MessageInfo ¶
func (m *AirmarCalibrateCompass) MessageInfo() MessageInfo
func (*AirmarCalibrateCompass) PGNNumber ¶
func (m *AirmarCalibrateCompass) PGNNumber() uint32
func (*AirmarCalibrateCompass) PitchAndRollDampingValue ¶
func (m *AirmarCalibrateCompass) PitchAndRollDampingValue() (float64, bool)
PitchAndRollDampingValue returns PitchAndRollDamping as a physical value in s (value = raw * 0.05). The bool is false when PitchAndRollDamping is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) SetCompassRateGyroDampingValue ¶
func (m *AirmarCalibrateCompass) SetCompassRateGyroDampingValue(v float64)
SetCompassRateGyroDampingValue sets CompassRateGyroDamping from a physical value in s, rounded to the nearest wire tick of 0.05.
func (*AirmarCalibrateCompass) SetMessageInfo ¶
func (m *AirmarCalibrateCompass) SetMessageInfo(info MessageInfo)
func (*AirmarCalibrateCompass) SetPitchAndRollDampingValue ¶
func (m *AirmarCalibrateCompass) SetPitchAndRollDampingValue(v float64)
SetPitchAndRollDampingValue sets PitchAndRollDamping from a physical value in s, rounded to the nearest wire tick of 0.05.
func (*AirmarCalibrateCompass) SetXAxisAngularOffsetValue ¶
func (m *AirmarCalibrateCompass) SetXAxisAngularOffsetValue(v float64)
SetXAxisAngularOffsetValue sets XAxisAngularOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.
func (*AirmarCalibrateCompass) SetXAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) SetXAxisGainValueValue(v float64)
SetXAxisGainValueValue sets XAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) SetXAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) SetXAxisLinearOffsetValue(v float64)
SetXAxisLinearOffsetValue sets XAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) SetYAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) SetYAxisGainValueValue(v float64)
SetYAxisGainValueValue sets YAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) SetYAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) SetYAxisLinearOffsetValue(v float64)
SetYAxisLinearOffsetValue sets YAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) SetZAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) SetZAxisGainValueValue(v float64)
SetZAxisGainValueValue sets ZAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) SetZAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) SetZAxisLinearOffsetValue(v float64)
SetZAxisLinearOffsetValue sets ZAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.
func (*AirmarCalibrateCompass) XAxisAngularOffsetValue ¶
func (m *AirmarCalibrateCompass) XAxisAngularOffsetValue() (float64, bool)
XAxisAngularOffsetValue returns XAxisAngularOffset as a physical value in deg (value = raw * 0.1). The bool is false when XAxisAngularOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) XAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) XAxisGainValueValue() (float64, bool)
XAxisGainValueValue returns XAxisGainValue as a physical value (value = raw * 0.01). The bool is false when XAxisGainValue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) XAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) XAxisLinearOffsetValue() (float64, bool)
XAxisLinearOffsetValue returns XAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false when XAxisLinearOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) YAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) YAxisGainValueValue() (float64, bool)
YAxisGainValueValue returns YAxisGainValue as a physical value (value = raw * 0.01). The bool is false when YAxisGainValue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) YAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) YAxisLinearOffsetValue() (float64, bool)
YAxisLinearOffsetValue returns YAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false when YAxisLinearOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) ZAxisGainValueValue ¶
func (m *AirmarCalibrateCompass) ZAxisGainValueValue() (float64, bool)
ZAxisGainValueValue returns ZAxisGainValue as a physical value (value = raw * 0.01). The bool is false when ZAxisGainValue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateCompass) ZAxisLinearOffsetValue ¶
func (m *AirmarCalibrateCompass) ZAxisLinearOffsetValue() (float64, bool)
ZAxisLinearOffsetValue returns ZAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false when ZAxisLinearOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AirmarCalibrateDepth ¶
type AirmarCalibrateDepth struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
SpeedOfSoundMode *uint64 `json:"speedOfSoundMode,omitempty" n2k:"5"`
}
func (*AirmarCalibrateDepth) DecodePayload ¶
func (m *AirmarCalibrateDepth) DecodePayload(payload []uint8) error
func (*AirmarCalibrateDepth) EncodePayload ¶
func (m *AirmarCalibrateDepth) EncodePayload() ([]uint8, error)
func (*AirmarCalibrateDepth) MessageInfo ¶
func (m *AirmarCalibrateDepth) MessageInfo() MessageInfo
func (*AirmarCalibrateDepth) PGNNumber ¶
func (m *AirmarCalibrateDepth) PGNNumber() uint32
func (*AirmarCalibrateDepth) SetMessageInfo ¶
func (m *AirmarCalibrateDepth) SetMessageInfo(info MessageInfo)
func (*AirmarCalibrateDepth) SetSpeedOfSoundModeValue ¶
func (m *AirmarCalibrateDepth) SetSpeedOfSoundModeValue(v float64)
SetSpeedOfSoundModeValue sets SpeedOfSoundMode from a physical value in m/s, rounded to the nearest wire tick of 0.1.
func (*AirmarCalibrateDepth) SpeedOfSoundModeValue ¶
func (m *AirmarCalibrateDepth) SpeedOfSoundModeValue() (float64, bool)
SpeedOfSoundModeValue returns SpeedOfSoundMode as a physical value in m/s (value = raw * 0.1). The bool is false when SpeedOfSoundMode is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AirmarCalibrateFunctionConst ¶
type AirmarCalibrateFunctionConst uint8
const ( NormalCancelCalibration AirmarCalibrateFunctionConst = 0 EnterCalibrationMode AirmarCalibrateFunctionConst = 1 ResetCalibrationTo0 AirmarCalibrateFunctionConst = 2 Verify AirmarCalibrateFunctionConst = 3 ResetCompassToDefaults AirmarCalibrateFunctionConst = 4 ResetDampingToDefaults AirmarCalibrateFunctionConst = 5 )
func (AirmarCalibrateFunctionConst) GoString ¶
func (e AirmarCalibrateFunctionConst) GoString() string
func (AirmarCalibrateFunctionConst) String ¶
func (e AirmarCalibrateFunctionConst) String() string
type AirmarCalibrateSpeed ¶
type AirmarCalibrateSpeed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
NumberOfPairsOfDataPoints *uint64 `json:"numberOfPairsOfDataPoints,omitempty" n2k:"5"`
Repeating1 []AirmarCalibrateSpeedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AirmarCalibrateSpeed) DecodePayload ¶
func (m *AirmarCalibrateSpeed) DecodePayload(payload []uint8) error
func (*AirmarCalibrateSpeed) EncodePayload ¶
func (m *AirmarCalibrateSpeed) EncodePayload() ([]uint8, error)
func (*AirmarCalibrateSpeed) MessageInfo ¶
func (m *AirmarCalibrateSpeed) MessageInfo() MessageInfo
func (*AirmarCalibrateSpeed) PGNNumber ¶
func (m *AirmarCalibrateSpeed) PGNNumber() uint32
func (*AirmarCalibrateSpeed) SetMessageInfo ¶
func (m *AirmarCalibrateSpeed) SetMessageInfo(info MessageInfo)
type AirmarCalibrateSpeedRepeating1 ¶
type AirmarCalibrateSpeedRepeating1 struct {
InputFrequency *uint64 `json:"inputFrequency,omitempty" n2k:"6"`
OutputSpeed *uint64 `json:"outputSpeed,omitempty" n2k:"7"`
}
func (*AirmarCalibrateSpeedRepeating1) InputFrequencyValue ¶
func (m *AirmarCalibrateSpeedRepeating1) InputFrequencyValue() (float64, bool)
InputFrequencyValue returns InputFrequency as a physical value in Hz (value = raw * 0.1). The bool is false when InputFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateSpeedRepeating1) OutputSpeedValue ¶
func (m *AirmarCalibrateSpeedRepeating1) OutputSpeedValue() (float64, bool)
OutputSpeedValue returns OutputSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when OutputSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarCalibrateSpeedRepeating1) SetInputFrequencyValue ¶
func (m *AirmarCalibrateSpeedRepeating1) SetInputFrequencyValue(v float64)
SetInputFrequencyValue sets InputFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.
func (*AirmarCalibrateSpeedRepeating1) SetOutputSpeedValue ¶
func (m *AirmarCalibrateSpeedRepeating1) SetOutputSpeedValue(v float64)
SetOutputSpeedValue sets OutputSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
type AirmarCalibrateStatusConst ¶
type AirmarCalibrateStatusConst uint8
const ( Queried AirmarCalibrateStatusConst = 0 Passed AirmarCalibrateStatusConst = 1 FailedTimeout AirmarCalibrateStatusConst = 2 FailedTiltError AirmarCalibrateStatusConst = 3 FailedOther AirmarCalibrateStatusConst = 4 InProgress AirmarCalibrateStatusConst = 5 )
func (AirmarCalibrateStatusConst) GoString ¶
func (e AirmarCalibrateStatusConst) GoString() string
func (AirmarCalibrateStatusConst) String ¶
func (e AirmarCalibrateStatusConst) String() string
type AirmarCalibrateTemperature ¶
type AirmarCalibrateTemperature struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
TemperatureInstance *uint64 `json:"temperatureInstance,omitempty" n2k:"5"`
TemperatureOffset *int64 `json:"temperatureOffset,omitempty" n2k:"7"`
}
func (*AirmarCalibrateTemperature) DecodePayload ¶
func (m *AirmarCalibrateTemperature) DecodePayload(payload []uint8) error
func (*AirmarCalibrateTemperature) EncodePayload ¶
func (m *AirmarCalibrateTemperature) EncodePayload() ([]uint8, error)
func (*AirmarCalibrateTemperature) MessageInfo ¶
func (m *AirmarCalibrateTemperature) MessageInfo() MessageInfo
func (*AirmarCalibrateTemperature) PGNNumber ¶
func (m *AirmarCalibrateTemperature) PGNNumber() uint32
func (*AirmarCalibrateTemperature) SetMessageInfo ¶
func (m *AirmarCalibrateTemperature) SetMessageInfo(info MessageInfo)
func (*AirmarCalibrateTemperature) SetTemperatureOffsetValue ¶
func (m *AirmarCalibrateTemperature) SetTemperatureOffsetValue(v float64)
SetTemperatureOffsetValue sets TemperatureOffset from a physical value in K, rounded to the nearest wire tick of 0.001.
func (*AirmarCalibrateTemperature) TemperatureOffsetValue ¶
func (m *AirmarCalibrateTemperature) TemperatureOffsetValue() (float64, bool)
TemperatureOffsetValue returns TemperatureOffset as a physical value in K (value = raw * 0.001). The bool is false when TemperatureOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AirmarCommandConst ¶
type AirmarCommandConst uint8
const ( AttitudeOffsets AirmarCommandConst = 32 CalibrateCompass AirmarCommandConst = 33 TrueWindOptions AirmarCommandConst = 34 SimulateMode_2 AirmarCommandConst = 35 CalibrateDepth AirmarCommandConst = 40 CalibrateSpeed AirmarCommandConst = 41 CalibrateTemperature AirmarCommandConst = 42 SpeedFilter AirmarCommandConst = 43 TemperatureFilter AirmarCommandConst = 44 NMEA2000Options AirmarCommandConst = 46 )
func (AirmarCommandConst) GoString ¶
func (e AirmarCommandConst) GoString() string
func (AirmarCommandConst) String ¶
func (e AirmarCommandConst) String() string
type AirmarDepthQualityFactor ¶
type AirmarDepthQualityFactor struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DepthQualityFactor *uint64 `json:"depthQualityFactor,omitempty" n2k:"5"`
}
func (*AirmarDepthQualityFactor) DecodePayload ¶
func (m *AirmarDepthQualityFactor) DecodePayload(payload []uint8) error
func (*AirmarDepthQualityFactor) EncodePayload ¶
func (m *AirmarDepthQualityFactor) EncodePayload() ([]uint8, error)
func (*AirmarDepthQualityFactor) MessageInfo ¶
func (m *AirmarDepthQualityFactor) MessageInfo() MessageInfo
func (*AirmarDepthQualityFactor) PGNNumber ¶
func (m *AirmarDepthQualityFactor) PGNNumber() uint32
func (*AirmarDepthQualityFactor) SetMessageInfo ¶
func (m *AirmarDepthQualityFactor) SetMessageInfo(info MessageInfo)
type AirmarDepthQualityFactorConst ¶
type AirmarDepthQualityFactorConst uint8
const ( DepthUnlocked AirmarDepthQualityFactorConst = 0 Quality10Percent AirmarDepthQualityFactorConst = 1 Quality20Percent AirmarDepthQualityFactorConst = 2 Quality30Percent AirmarDepthQualityFactorConst = 3 Quality40Percent AirmarDepthQualityFactorConst = 4 Quality50Percent AirmarDepthQualityFactorConst = 5 Quality60Percent AirmarDepthQualityFactorConst = 6 Quality70Percent AirmarDepthQualityFactorConst = 7 Quality80Percent AirmarDepthQualityFactorConst = 8 Quality90Percent AirmarDepthQualityFactorConst = 9 Quality100Percent AirmarDepthQualityFactorConst = 10 )
func (AirmarDepthQualityFactorConst) GoString ¶
func (e AirmarDepthQualityFactorConst) GoString() string
func (AirmarDepthQualityFactorConst) String ¶
func (e AirmarDepthQualityFactorConst) String() string
type AirmarDeviceInformation ¶
type AirmarDeviceInformation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
InternalDeviceTemperature *uint64 `json:"internalDeviceTemperature,omitempty" n2k:"5"`
SupplyVoltage *uint64 `json:"supplyVoltage,omitempty" n2k:"6"`
}
func (*AirmarDeviceInformation) DecodePayload ¶
func (m *AirmarDeviceInformation) DecodePayload(payload []uint8) error
func (*AirmarDeviceInformation) EncodePayload ¶
func (m *AirmarDeviceInformation) EncodePayload() ([]uint8, error)
func (*AirmarDeviceInformation) InternalDeviceTemperatureValue ¶
func (m *AirmarDeviceInformation) InternalDeviceTemperatureValue() (float64, bool)
InternalDeviceTemperatureValue returns InternalDeviceTemperature as a physical value in K (value = raw * 0.01). The bool is false when InternalDeviceTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarDeviceInformation) MessageInfo ¶
func (m *AirmarDeviceInformation) MessageInfo() MessageInfo
func (*AirmarDeviceInformation) PGNNumber ¶
func (m *AirmarDeviceInformation) PGNNumber() uint32
func (*AirmarDeviceInformation) SetInternalDeviceTemperatureValue ¶
func (m *AirmarDeviceInformation) SetInternalDeviceTemperatureValue(v float64)
SetInternalDeviceTemperatureValue sets InternalDeviceTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarDeviceInformation) SetMessageInfo ¶
func (m *AirmarDeviceInformation) SetMessageInfo(info MessageInfo)
func (*AirmarDeviceInformation) SetSupplyVoltageValue ¶
func (m *AirmarDeviceInformation) SetSupplyVoltageValue(v float64)
SetSupplyVoltageValue sets SupplyVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*AirmarDeviceInformation) SupplyVoltageValue ¶
func (m *AirmarDeviceInformation) SupplyVoltageValue() (float64, bool)
SupplyVoltageValue returns SupplyVoltage as a physical value in V (value = raw * 0.01). The bool is false when SupplyVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AirmarFilterConst ¶
type AirmarFilterConst uint8
const ( NoFilter AirmarFilterConst = 0 BasicIIRFilter AirmarFilterConst = 1 )
func (AirmarFilterConst) GoString ¶
func (e AirmarFilterConst) GoString() string
func (AirmarFilterConst) String ¶
func (e AirmarFilterConst) String() string
type AirmarHeaterControl ¶
type AirmarHeaterControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
C *uint64 `json:"c,omitempty" n2k:"4"`
PlateTemperature *uint64 `json:"plateTemperature,omitempty" n2k:"5"`
AirTemperature *uint64 `json:"airTemperature,omitempty" n2k:"6"`
Dewpoint *uint64 `json:"dewpoint,omitempty" n2k:"7"`
}
func (*AirmarHeaterControl) AirTemperatureValue ¶
func (m *AirmarHeaterControl) AirTemperatureValue() (float64, bool)
AirTemperatureValue returns AirTemperature as a physical value in K (value = raw * 0.01). The bool is false when AirTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarHeaterControl) DecodePayload ¶
func (m *AirmarHeaterControl) DecodePayload(payload []uint8) error
func (*AirmarHeaterControl) DewpointValue ¶
func (m *AirmarHeaterControl) DewpointValue() (float64, bool)
DewpointValue returns Dewpoint as a physical value in K (value = raw * 0.01). The bool is false when Dewpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarHeaterControl) EncodePayload ¶
func (m *AirmarHeaterControl) EncodePayload() ([]uint8, error)
func (*AirmarHeaterControl) MessageInfo ¶
func (m *AirmarHeaterControl) MessageInfo() MessageInfo
func (*AirmarHeaterControl) PGNNumber ¶
func (m *AirmarHeaterControl) PGNNumber() uint32
func (*AirmarHeaterControl) PlateTemperatureValue ¶
func (m *AirmarHeaterControl) PlateTemperatureValue() (float64, bool)
PlateTemperatureValue returns PlateTemperature as a physical value in K (value = raw * 0.01). The bool is false when PlateTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarHeaterControl) SetAirTemperatureValue ¶
func (m *AirmarHeaterControl) SetAirTemperatureValue(v float64)
SetAirTemperatureValue sets AirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarHeaterControl) SetDewpointValue ¶
func (m *AirmarHeaterControl) SetDewpointValue(v float64)
SetDewpointValue sets Dewpoint from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*AirmarHeaterControl) SetMessageInfo ¶
func (m *AirmarHeaterControl) SetMessageInfo(info MessageInfo)
func (*AirmarHeaterControl) SetPlateTemperatureValue ¶
func (m *AirmarHeaterControl) SetPlateTemperatureValue(v float64)
SetPlateTemperatureValue sets PlateTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
type AirmarNmea2000Options ¶
type AirmarNmea2000Options struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
TransmissionInterval *uint64 `json:"transmissionInterval,omitempty" n2k:"5"`
}
func (*AirmarNmea2000Options) DecodePayload ¶
func (m *AirmarNmea2000Options) DecodePayload(payload []uint8) error
func (*AirmarNmea2000Options) EncodePayload ¶
func (m *AirmarNmea2000Options) EncodePayload() ([]uint8, error)
func (*AirmarNmea2000Options) MessageInfo ¶
func (m *AirmarNmea2000Options) MessageInfo() MessageInfo
func (*AirmarNmea2000Options) PGNNumber ¶
func (m *AirmarNmea2000Options) PGNNumber() uint32
func (*AirmarNmea2000Options) SetMessageInfo ¶
func (m *AirmarNmea2000Options) SetMessageInfo(info MessageInfo)
type AirmarPost ¶
type AirmarPost struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Control *uint64 `json:"control,omitempty" n2k:"4"`
NumberOfIdTestResultPairsToFollow *uint64 `json:"numberOfIdTestResultPairsToFollow,omitempty" n2k:"6"`
TestId *uint64 `json:"testId,omitempty" n2k:"7"`
TestResult *uint64 `json:"testResult,omitempty" n2k:"8"`
}
func (*AirmarPost) DecodePayload ¶
func (m *AirmarPost) DecodePayload(payload []uint8) error
func (*AirmarPost) EncodePayload ¶
func (m *AirmarPost) EncodePayload() ([]uint8, error)
func (*AirmarPost) MessageInfo ¶
func (m *AirmarPost) MessageInfo() MessageInfo
func (*AirmarPost) PGNNumber ¶
func (m *AirmarPost) PGNNumber() uint32
func (*AirmarPost) SetMessageInfo ¶
func (m *AirmarPost) SetMessageInfo(info MessageInfo)
type AirmarPostControlConst ¶
type AirmarPostControlConst uint8
const ( ReportPreviousValues AirmarPostControlConst = 0 GenerateNewValues AirmarPostControlConst = 1 )
func (AirmarPostControlConst) GoString ¶
func (e AirmarPostControlConst) GoString() string
func (AirmarPostControlConst) String ¶
func (e AirmarPostControlConst) String() string
type AirmarPostIdConst ¶
type AirmarPostIdConst uint8
const ( FormatCode AirmarPostIdConst = 1 FactoryEEPROM AirmarPostIdConst = 2 UserEEPROM AirmarPostIdConst = 3 WaterTemperatureSensor AirmarPostIdConst = 4 SonarTransceiver AirmarPostIdConst = 5 SpeedSensor AirmarPostIdConst = 6 InternalTemperatureSensor AirmarPostIdConst = 7 BatteryVoltageSensor AirmarPostIdConst = 8 )
func (AirmarPostIdConst) GoString ¶
func (e AirmarPostIdConst) GoString() string
func (AirmarPostIdConst) String ¶
func (e AirmarPostIdConst) String() string
type AirmarSimulateMode ¶
type AirmarSimulateMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
SimulateMode *uint64 `json:"simulateMode,omitempty" n2k:"5"`
}
func (*AirmarSimulateMode) DecodePayload ¶
func (m *AirmarSimulateMode) DecodePayload(payload []uint8) error
func (*AirmarSimulateMode) EncodePayload ¶
func (m *AirmarSimulateMode) EncodePayload() ([]uint8, error)
func (*AirmarSimulateMode) MessageInfo ¶
func (m *AirmarSimulateMode) MessageInfo() MessageInfo
func (*AirmarSimulateMode) PGNNumber ¶
func (m *AirmarSimulateMode) PGNNumber() uint32
func (*AirmarSimulateMode) SetMessageInfo ¶
func (m *AirmarSimulateMode) SetMessageInfo(info MessageInfo)
type AirmarSpeedFilterIir ¶
type AirmarSpeedFilterIir struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
FilterType *uint64 `json:"filterType,omitempty" n2k:"5"`
SampleInterval *uint64 `json:"sampleInterval,omitempty" n2k:"7"`
FilterDuration *uint64 `json:"filterDuration,omitempty" n2k:"8"`
}
func (*AirmarSpeedFilterIir) DecodePayload ¶
func (m *AirmarSpeedFilterIir) DecodePayload(payload []uint8) error
func (*AirmarSpeedFilterIir) EncodePayload ¶
func (m *AirmarSpeedFilterIir) EncodePayload() ([]uint8, error)
func (*AirmarSpeedFilterIir) FilterDurationValue ¶
func (m *AirmarSpeedFilterIir) FilterDurationValue() (float64, bool)
FilterDurationValue returns FilterDuration as a physical value in s (value = raw * 0.01). The bool is false when FilterDuration is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarSpeedFilterIir) MessageInfo ¶
func (m *AirmarSpeedFilterIir) MessageInfo() MessageInfo
func (*AirmarSpeedFilterIir) PGNNumber ¶
func (m *AirmarSpeedFilterIir) PGNNumber() uint32
func (*AirmarSpeedFilterIir) SampleIntervalValue ¶
func (m *AirmarSpeedFilterIir) SampleIntervalValue() (float64, bool)
SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false when SampleInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarSpeedFilterIir) SetFilterDurationValue ¶
func (m *AirmarSpeedFilterIir) SetFilterDurationValue(v float64)
SetFilterDurationValue sets FilterDuration from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*AirmarSpeedFilterIir) SetMessageInfo ¶
func (m *AirmarSpeedFilterIir) SetMessageInfo(info MessageInfo)
func (*AirmarSpeedFilterIir) SetSampleIntervalValue ¶
func (m *AirmarSpeedFilterIir) SetSampleIntervalValue(v float64)
SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.
type AirmarSpeedFilterNone ¶
type AirmarSpeedFilterNone struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
FilterType *uint64 `json:"filterType,omitempty" n2k:"5"`
SampleInterval *uint64 `json:"sampleInterval,omitempty" n2k:"7"`
}
func (*AirmarSpeedFilterNone) DecodePayload ¶
func (m *AirmarSpeedFilterNone) DecodePayload(payload []uint8) error
func (*AirmarSpeedFilterNone) EncodePayload ¶
func (m *AirmarSpeedFilterNone) EncodePayload() ([]uint8, error)
func (*AirmarSpeedFilterNone) MessageInfo ¶
func (m *AirmarSpeedFilterNone) MessageInfo() MessageInfo
func (*AirmarSpeedFilterNone) PGNNumber ¶
func (m *AirmarSpeedFilterNone) PGNNumber() uint32
func (*AirmarSpeedFilterNone) SampleIntervalValue ¶
func (m *AirmarSpeedFilterNone) SampleIntervalValue() (float64, bool)
SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false when SampleInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarSpeedFilterNone) SetMessageInfo ¶
func (m *AirmarSpeedFilterNone) SetMessageInfo(info MessageInfo)
func (*AirmarSpeedFilterNone) SetSampleIntervalValue ¶
func (m *AirmarSpeedFilterNone) SetSampleIntervalValue(v float64)
SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.
type AirmarSpeedPulseCount ¶
type AirmarSpeedPulseCount struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DurationOfInterval *uint64 `json:"durationOfInterval,omitempty" n2k:"5"`
NumberOfPulsesReceived *uint64 `json:"numberOfPulsesReceived,omitempty" n2k:"6"`
}
func (*AirmarSpeedPulseCount) DecodePayload ¶
func (m *AirmarSpeedPulseCount) DecodePayload(payload []uint8) error
func (*AirmarSpeedPulseCount) DurationOfIntervalValue ¶
func (m *AirmarSpeedPulseCount) DurationOfIntervalValue() (float64, bool)
DurationOfIntervalValue returns DurationOfInterval as a physical value in s (value = raw * 0.001). The bool is false when DurationOfInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarSpeedPulseCount) EncodePayload ¶
func (m *AirmarSpeedPulseCount) EncodePayload() ([]uint8, error)
func (*AirmarSpeedPulseCount) MessageInfo ¶
func (m *AirmarSpeedPulseCount) MessageInfo() MessageInfo
func (*AirmarSpeedPulseCount) PGNNumber ¶
func (m *AirmarSpeedPulseCount) PGNNumber() uint32
func (*AirmarSpeedPulseCount) SetDurationOfIntervalValue ¶
func (m *AirmarSpeedPulseCount) SetDurationOfIntervalValue(v float64)
SetDurationOfIntervalValue sets DurationOfInterval from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*AirmarSpeedPulseCount) SetMessageInfo ¶
func (m *AirmarSpeedPulseCount) SetMessageInfo(info MessageInfo)
type AirmarTemperatureFilterIir ¶
type AirmarTemperatureFilterIir struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
FilterType *uint64 `json:"filterType,omitempty" n2k:"5"`
SampleInterval *uint64 `json:"sampleInterval,omitempty" n2k:"7"`
FilterDuration *uint64 `json:"filterDuration,omitempty" n2k:"8"`
}
func (*AirmarTemperatureFilterIir) DecodePayload ¶
func (m *AirmarTemperatureFilterIir) DecodePayload(payload []uint8) error
func (*AirmarTemperatureFilterIir) EncodePayload ¶
func (m *AirmarTemperatureFilterIir) EncodePayload() ([]uint8, error)
func (*AirmarTemperatureFilterIir) FilterDurationValue ¶
func (m *AirmarTemperatureFilterIir) FilterDurationValue() (float64, bool)
FilterDurationValue returns FilterDuration as a physical value in s (value = raw * 0.01). The bool is false when FilterDuration is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarTemperatureFilterIir) MessageInfo ¶
func (m *AirmarTemperatureFilterIir) MessageInfo() MessageInfo
func (*AirmarTemperatureFilterIir) PGNNumber ¶
func (m *AirmarTemperatureFilterIir) PGNNumber() uint32
func (*AirmarTemperatureFilterIir) SampleIntervalValue ¶
func (m *AirmarTemperatureFilterIir) SampleIntervalValue() (float64, bool)
SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false when SampleInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarTemperatureFilterIir) SetFilterDurationValue ¶
func (m *AirmarTemperatureFilterIir) SetFilterDurationValue(v float64)
SetFilterDurationValue sets FilterDuration from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*AirmarTemperatureFilterIir) SetMessageInfo ¶
func (m *AirmarTemperatureFilterIir) SetMessageInfo(info MessageInfo)
func (*AirmarTemperatureFilterIir) SetSampleIntervalValue ¶
func (m *AirmarTemperatureFilterIir) SetSampleIntervalValue(v float64)
SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.
type AirmarTemperatureFilterNone ¶
type AirmarTemperatureFilterNone struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
FilterType *uint64 `json:"filterType,omitempty" n2k:"5"`
SampleInterval *uint64 `json:"sampleInterval,omitempty" n2k:"7"`
}
func (*AirmarTemperatureFilterNone) DecodePayload ¶
func (m *AirmarTemperatureFilterNone) DecodePayload(payload []uint8) error
func (*AirmarTemperatureFilterNone) EncodePayload ¶
func (m *AirmarTemperatureFilterNone) EncodePayload() ([]uint8, error)
func (*AirmarTemperatureFilterNone) MessageInfo ¶
func (m *AirmarTemperatureFilterNone) MessageInfo() MessageInfo
func (*AirmarTemperatureFilterNone) PGNNumber ¶
func (m *AirmarTemperatureFilterNone) PGNNumber() uint32
func (*AirmarTemperatureFilterNone) SampleIntervalValue ¶
func (m *AirmarTemperatureFilterNone) SampleIntervalValue() (float64, bool)
SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false when SampleInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AirmarTemperatureFilterNone) SetMessageInfo ¶
func (m *AirmarTemperatureFilterNone) SetMessageInfo(info MessageInfo)
func (*AirmarTemperatureFilterNone) SetSampleIntervalValue ¶
func (m *AirmarTemperatureFilterNone) SetSampleIntervalValue(v float64)
SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.
type AirmarTemperatureInstanceConst ¶
type AirmarTemperatureInstanceConst uint8
const ( DeviceSensor AirmarTemperatureInstanceConst = 0 OnboardWaterSensor AirmarTemperatureInstanceConst = 1 OptionalWaterSensor AirmarTemperatureInstanceConst = 2 )
func (AirmarTemperatureInstanceConst) GoString ¶
func (e AirmarTemperatureInstanceConst) GoString() string
func (AirmarTemperatureInstanceConst) String ¶
func (e AirmarTemperatureInstanceConst) String() string
type AirmarTransmissionIntervalConst ¶
type AirmarTransmissionIntervalConst uint8
const ( MeasureInterval AirmarTransmissionIntervalConst = 0 RequestedByUser AirmarTransmissionIntervalConst = 1 )
func (AirmarTransmissionIntervalConst) GoString ¶
func (e AirmarTransmissionIntervalConst) GoString() string
func (AirmarTransmissionIntervalConst) String ¶
func (e AirmarTransmissionIntervalConst) String() string
type AirmarTrueWindOptions ¶
type AirmarTrueWindOptions struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
CogSubstitutionForHdg *uint64 `json:"cogSubstitutionForHdg,omitempty" n2k:"5"`
}
func (*AirmarTrueWindOptions) DecodePayload ¶
func (m *AirmarTrueWindOptions) DecodePayload(payload []uint8) error
func (*AirmarTrueWindOptions) EncodePayload ¶
func (m *AirmarTrueWindOptions) EncodePayload() ([]uint8, error)
func (*AirmarTrueWindOptions) MessageInfo ¶
func (m *AirmarTrueWindOptions) MessageInfo() MessageInfo
func (*AirmarTrueWindOptions) PGNNumber ¶
func (m *AirmarTrueWindOptions) PGNNumber() uint32
func (*AirmarTrueWindOptions) SetMessageInfo ¶
func (m *AirmarTrueWindOptions) SetMessageInfo(info MessageInfo)
type AisAcknowledge ¶
type AisAcknowledge struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
Repeating1 []AisAcknowledgeRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AisAcknowledge) DecodePayload ¶
func (m *AisAcknowledge) DecodePayload(payload []uint8) error
func (*AisAcknowledge) EncodePayload ¶
func (m *AisAcknowledge) EncodePayload() ([]uint8, error)
func (*AisAcknowledge) MessageInfo ¶
func (m *AisAcknowledge) MessageInfo() MessageInfo
func (*AisAcknowledge) PGNNumber ¶
func (m *AisAcknowledge) PGNNumber() uint32
func (*AisAcknowledge) SetMessageInfo ¶
func (m *AisAcknowledge) SetMessageInfo(info MessageInfo)
type AisAcknowledgeBinary ¶
type AisAcknowledgeBinary struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"4"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"6"`
NumberOfAcknowledgments *uint64 `json:"numberOfAcknowledgments,omitempty" n2k:"8"`
Repeating1 []AisAcknowledgeBinaryRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AisAcknowledgeBinary) DecodePayload ¶
func (m *AisAcknowledgeBinary) DecodePayload(payload []uint8) error
func (*AisAcknowledgeBinary) EncodePayload ¶
func (m *AisAcknowledgeBinary) EncodePayload() ([]uint8, error)
func (*AisAcknowledgeBinary) MessageInfo ¶
func (m *AisAcknowledgeBinary) MessageInfo() MessageInfo
func (*AisAcknowledgeBinary) PGNNumber ¶
func (m *AisAcknowledgeBinary) PGNNumber() uint32
func (*AisAcknowledgeBinary) SetMessageInfo ¶
func (m *AisAcknowledgeBinary) SetMessageInfo(info MessageInfo)
type AisAddressedBinaryMessage ¶
type AisAddressedBinaryMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
SequenceNumber *uint64 `json:"sequenceNumber,omitempty" n2k:"6"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"7"`
RetransmitFlag *uint64 `json:"retransmitFlag,omitempty" n2k:"9"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"12"`
}
func (*AisAddressedBinaryMessage) DecodePayload ¶
func (m *AisAddressedBinaryMessage) DecodePayload(payload []uint8) error
func (*AisAddressedBinaryMessage) EncodePayload ¶
func (m *AisAddressedBinaryMessage) EncodePayload() ([]uint8, error)
func (*AisAddressedBinaryMessage) MessageInfo ¶
func (m *AisAddressedBinaryMessage) MessageInfo() MessageInfo
func (*AisAddressedBinaryMessage) PGNNumber ¶
func (m *AisAddressedBinaryMessage) PGNNumber() uint32
func (*AisAddressedBinaryMessage) SetMessageInfo ¶
func (m *AisAddressedBinaryMessage) SetMessageInfo(info MessageInfo)
type AisAddressedSafetyRelatedMessage ¶
type AisAddressedSafetyRelatedMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
SequenceNumber *uint64 `json:"sequenceNumber,omitempty" n2k:"6"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"7"`
RetransmitFlag *uint64 `json:"retransmitFlag,omitempty" n2k:"9"`
SafetyRelatedText string `json:"safetyRelatedText,omitempty" n2k:"11"`
}
func (*AisAddressedSafetyRelatedMessage) DecodePayload ¶
func (m *AisAddressedSafetyRelatedMessage) DecodePayload(payload []uint8) error
func (*AisAddressedSafetyRelatedMessage) EncodePayload ¶
func (m *AisAddressedSafetyRelatedMessage) EncodePayload() ([]uint8, error)
func (*AisAddressedSafetyRelatedMessage) MessageInfo ¶
func (m *AisAddressedSafetyRelatedMessage) MessageInfo() MessageInfo
func (*AisAddressedSafetyRelatedMessage) PGNNumber ¶
func (m *AisAddressedSafetyRelatedMessage) PGNNumber() uint32
func (*AisAddressedSafetyRelatedMessage) SetMessageInfo ¶
func (m *AisAddressedSafetyRelatedMessage) SetMessageInfo(info MessageInfo)
type AisAidsToNavigationAtonReport ¶
type AisAidsToNavigationAtonReport struct {
}
func (*AisAidsToNavigationAtonReport) BeamDiameterValue ¶
func (m *AisAidsToNavigationAtonReport) BeamDiameterValue() (float64, bool)
BeamDiameterValue returns BeamDiameter as a physical value in m (value = raw * 0.1). The bool is false when BeamDiameter is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) DecodePayload ¶
func (m *AisAidsToNavigationAtonReport) DecodePayload(payload []uint8) error
func (*AisAidsToNavigationAtonReport) EncodePayload ¶
func (m *AisAidsToNavigationAtonReport) EncodePayload() ([]uint8, error)
func (*AisAidsToNavigationAtonReport) LatitudeValue ¶
func (m *AisAidsToNavigationAtonReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) LengthDiameterValue ¶
func (m *AisAidsToNavigationAtonReport) LengthDiameterValue() (float64, bool)
LengthDiameterValue returns LengthDiameter as a physical value in m (value = raw * 0.1). The bool is false when LengthDiameter is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) LongitudeValue ¶
func (m *AisAidsToNavigationAtonReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) MessageInfo ¶
func (m *AisAidsToNavigationAtonReport) MessageInfo() MessageInfo
func (*AisAidsToNavigationAtonReport) PGNNumber ¶
func (m *AisAidsToNavigationAtonReport) PGNNumber() uint32
func (*AisAidsToNavigationAtonReport) PositionReferenceFromStarboardEdgeValue ¶
func (m *AisAidsToNavigationAtonReport) PositionReferenceFromStarboardEdgeValue() (float64, bool)
PositionReferenceFromStarboardEdgeValue returns PositionReferenceFromStarboardEdge as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromStarboardEdge is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) PositionReferenceFromTrueNorthFacingEdgeValue ¶
func (m *AisAidsToNavigationAtonReport) PositionReferenceFromTrueNorthFacingEdgeValue() (float64, bool)
PositionReferenceFromTrueNorthFacingEdgeValue returns PositionReferenceFromTrueNorthFacingEdge as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromTrueNorthFacingEdge is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisAidsToNavigationAtonReport) SetBeamDiameterValue ¶
func (m *AisAidsToNavigationAtonReport) SetBeamDiameterValue(v float64)
SetBeamDiameterValue sets BeamDiameter from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisAidsToNavigationAtonReport) SetLatitudeValue ¶
func (m *AisAidsToNavigationAtonReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisAidsToNavigationAtonReport) SetLengthDiameterValue ¶
func (m *AisAidsToNavigationAtonReport) SetLengthDiameterValue(v float64)
SetLengthDiameterValue sets LengthDiameter from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisAidsToNavigationAtonReport) SetLongitudeValue ¶
func (m *AisAidsToNavigationAtonReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisAidsToNavigationAtonReport) SetMessageInfo ¶
func (m *AisAidsToNavigationAtonReport) SetMessageInfo(info MessageInfo)
func (*AisAidsToNavigationAtonReport) SetPositionReferenceFromStarboardEdgeValue ¶
func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromStarboardEdgeValue(v float64)
SetPositionReferenceFromStarboardEdgeValue sets PositionReferenceFromStarboardEdge from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisAidsToNavigationAtonReport) SetPositionReferenceFromTrueNorthFacingEdgeValue ¶
func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromTrueNorthFacingEdgeValue(v float64)
SetPositionReferenceFromTrueNorthFacingEdgeValue sets PositionReferenceFromTrueNorthFacingEdge from a physical value in m, rounded to the nearest wire tick of 0.1.
type AisAssignedModeConst ¶
type AisAssignedModeConst uint8
const ( AutonomousAndContinuous AisAssignedModeConst = 0 AssignedMode AisAssignedModeConst = 1 )
func (AisAssignedModeConst) GoString ¶
func (e AisAssignedModeConst) GoString() string
func (AisAssignedModeConst) String ¶
func (e AisAssignedModeConst) String() string
type AisAssignmentModeCommand ¶
type AisAssignmentModeCommand struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
DestinationIdA *uint64 `json:"destinationIdA,omitempty" n2k:"7"`
OffsetA *uint64 `json:"offsetA,omitempty" n2k:"8"`
IncrementA *uint64 `json:"incrementA,omitempty" n2k:"9"`
DestinationIdB *uint64 `json:"destinationIdB,omitempty" n2k:"10"`
OffsetB *uint64 `json:"offsetB,omitempty" n2k:"11"`
IncrementB *uint64 `json:"incrementB,omitempty" n2k:"12"`
}
func (*AisAssignmentModeCommand) DecodePayload ¶
func (m *AisAssignmentModeCommand) DecodePayload(payload []uint8) error
func (*AisAssignmentModeCommand) EncodePayload ¶
func (m *AisAssignmentModeCommand) EncodePayload() ([]uint8, error)
func (*AisAssignmentModeCommand) MessageInfo ¶
func (m *AisAssignmentModeCommand) MessageInfo() MessageInfo
func (*AisAssignmentModeCommand) PGNNumber ¶
func (m *AisAssignmentModeCommand) PGNNumber() uint32
func (*AisAssignmentModeCommand) SetMessageInfo ¶
func (m *AisAssignmentModeCommand) SetMessageInfo(info MessageInfo)
type AisBandConst ¶
type AisBandConst uint8
const ( Top525KHzOfMarineBand AisBandConst = 0 EntireMarineBand AisBandConst = 1 )
func (AisBandConst) GoString ¶
func (e AisBandConst) GoString() string
func (AisBandConst) String ¶
func (e AisBandConst) String() string
type AisBinaryBroadcastMessage ¶
type AisBinaryBroadcastMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"7"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"8"`
}
func (*AisBinaryBroadcastMessage) DecodePayload ¶
func (m *AisBinaryBroadcastMessage) DecodePayload(payload []uint8) error
func (*AisBinaryBroadcastMessage) EncodePayload ¶
func (m *AisBinaryBroadcastMessage) EncodePayload() ([]uint8, error)
func (*AisBinaryBroadcastMessage) MessageInfo ¶
func (m *AisBinaryBroadcastMessage) MessageInfo() MessageInfo
func (*AisBinaryBroadcastMessage) PGNNumber ¶
func (m *AisBinaryBroadcastMessage) PGNNumber() uint32
func (*AisBinaryBroadcastMessage) SetMessageInfo ¶
func (m *AisBinaryBroadcastMessage) SetMessageInfo(info MessageInfo)
type AisChannelManagement ¶
type AisChannelManagement struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
ChannelA *uint64 `json:"channelA,omitempty" n2k:"7"`
ChannelB *uint64 `json:"channelB,omitempty" n2k:"8"`
Power *uint64 `json:"power,omitempty" n2k:"10"`
TxRxMode *uint64 `json:"txRxMode,omitempty" n2k:"11"`
NorthEastLongitudeCorner1 *int64 `json:"northEastLongitudeCorner1,omitempty" n2k:"12"`
NorthEastLatitudeCorner1 *int64 `json:"northEastLatitudeCorner1,omitempty" n2k:"13"`
SouthWestLongitudeCorner2 *int64 `json:"southWestLongitudeCorner2,omitempty" n2k:"14"`
SouthWestLatitudeCorner2 *int64 `json:"southWestLatitudeCorner2,omitempty" n2k:"15"`
AddressedOrBroadcastMessageIndicator *uint64 `json:"addressedOrBroadcastMessageIndicator,omitempty" n2k:"17"`
ChannelABandwidth *uint64 `json:"channelABandwidth,omitempty" n2k:"18"`
ChannelBBandwidth *uint64 `json:"channelBBandwidth,omitempty" n2k:"19"`
TransitionalZoneSize *uint64 `json:"transitionalZoneSize,omitempty" n2k:"21"`
}
func (*AisChannelManagement) DecodePayload ¶
func (m *AisChannelManagement) DecodePayload(payload []uint8) error
func (*AisChannelManagement) EncodePayload ¶
func (m *AisChannelManagement) EncodePayload() ([]uint8, error)
func (*AisChannelManagement) MessageInfo ¶
func (m *AisChannelManagement) MessageInfo() MessageInfo
func (*AisChannelManagement) NorthEastLatitudeCorner1Value ¶
func (m *AisChannelManagement) NorthEastLatitudeCorner1Value() (float64, bool)
NorthEastLatitudeCorner1Value returns NorthEastLatitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false when NorthEastLatitudeCorner1 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisChannelManagement) NorthEastLongitudeCorner1Value ¶
func (m *AisChannelManagement) NorthEastLongitudeCorner1Value() (float64, bool)
NorthEastLongitudeCorner1Value returns NorthEastLongitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false when NorthEastLongitudeCorner1 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisChannelManagement) PGNNumber ¶
func (m *AisChannelManagement) PGNNumber() uint32
func (*AisChannelManagement) SetMessageInfo ¶
func (m *AisChannelManagement) SetMessageInfo(info MessageInfo)
func (*AisChannelManagement) SetNorthEastLatitudeCorner1Value ¶
func (m *AisChannelManagement) SetNorthEastLatitudeCorner1Value(v float64)
SetNorthEastLatitudeCorner1Value sets NorthEastLatitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisChannelManagement) SetNorthEastLongitudeCorner1Value ¶
func (m *AisChannelManagement) SetNorthEastLongitudeCorner1Value(v float64)
SetNorthEastLongitudeCorner1Value sets NorthEastLongitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisChannelManagement) SetSouthWestLatitudeCorner2Value ¶
func (m *AisChannelManagement) SetSouthWestLatitudeCorner2Value(v float64)
SetSouthWestLatitudeCorner2Value sets SouthWestLatitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisChannelManagement) SetSouthWestLongitudeCorner2Value ¶
func (m *AisChannelManagement) SetSouthWestLongitudeCorner2Value(v float64)
SetSouthWestLongitudeCorner2Value sets SouthWestLongitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisChannelManagement) SouthWestLatitudeCorner2Value ¶
func (m *AisChannelManagement) SouthWestLatitudeCorner2Value() (float64, bool)
SouthWestLatitudeCorner2Value returns SouthWestLatitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false when SouthWestLatitudeCorner2 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisChannelManagement) SouthWestLongitudeCorner2Value ¶
func (m *AisChannelManagement) SouthWestLongitudeCorner2Value() (float64, bool)
SouthWestLongitudeCorner2Value returns SouthWestLongitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false when SouthWestLongitudeCorner2 is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisClassAPositionReport ¶
type AisClassAPositionReport struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Longitude *int64 `json:"longitude,omitempty" n2k:"4"`
Latitude *int64 `json:"latitude,omitempty" n2k:"5"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"6"`
Raim *uint64 `json:"raim,omitempty" n2k:"7"`
TimeStamp *uint64 `json:"timeStamp,omitempty" n2k:"8"`
Cog *uint64 `json:"cog,omitempty" n2k:"9"`
Sog *uint64 `json:"sog,omitempty" n2k:"10"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"11"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"12"`
Heading *uint64 `json:"heading,omitempty" n2k:"13"`
RateOfTurn *int64 `json:"rateOfTurn,omitempty" n2k:"14"`
SpecialManeuverIndicator *uint64 `json:"specialManeuverIndicator,omitempty" n2k:"16"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"20"`
}
func (*AisClassAPositionReport) CogValue ¶
func (m *AisClassAPositionReport) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAPositionReport) DecodePayload ¶
func (m *AisClassAPositionReport) DecodePayload(payload []uint8) error
func (*AisClassAPositionReport) EncodePayload ¶
func (m *AisClassAPositionReport) EncodePayload() ([]uint8, error)
func (*AisClassAPositionReport) HeadingValue ¶
func (m *AisClassAPositionReport) HeadingValue() (float64, bool)
HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false when Heading is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAPositionReport) LatitudeValue ¶
func (m *AisClassAPositionReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAPositionReport) LongitudeValue ¶
func (m *AisClassAPositionReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAPositionReport) MessageInfo ¶
func (m *AisClassAPositionReport) MessageInfo() MessageInfo
func (*AisClassAPositionReport) PGNNumber ¶
func (m *AisClassAPositionReport) PGNNumber() uint32
func (*AisClassAPositionReport) RateOfTurnValue ¶
func (m *AisClassAPositionReport) RateOfTurnValue() (float64, bool)
RateOfTurnValue returns RateOfTurn as a physical value in rad/s (value = raw * 3.125e-05). The bool is false when RateOfTurn is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAPositionReport) SetCogValue ¶
func (m *AisClassAPositionReport) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassAPositionReport) SetHeadingValue ¶
func (m *AisClassAPositionReport) SetHeadingValue(v float64)
SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassAPositionReport) SetLatitudeValue ¶
func (m *AisClassAPositionReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassAPositionReport) SetLongitudeValue ¶
func (m *AisClassAPositionReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassAPositionReport) SetMessageInfo ¶
func (m *AisClassAPositionReport) SetMessageInfo(info MessageInfo)
func (*AisClassAPositionReport) SetRateOfTurnValue ¶
func (m *AisClassAPositionReport) SetRateOfTurnValue(v float64)
SetRateOfTurnValue sets RateOfTurn from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-05.
func (*AisClassAPositionReport) SetSogValue ¶
func (m *AisClassAPositionReport) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*AisClassAPositionReport) SogValue ¶
func (m *AisClassAPositionReport) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisClassAStaticAndVoyageRelatedData ¶
type AisClassAStaticAndVoyageRelatedData struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
ImoNumber *uint64 `json:"imoNumber,omitempty" n2k:"4"`
Callsign string `json:"callsign,omitempty" n2k:"5"`
Name string `json:"name,omitempty" n2k:"6"`
TypeOfShip *uint64 `json:"typeOfShip,omitempty" n2k:"7"`
Length *uint64 `json:"length,omitempty" n2k:"8"`
Beam *uint64 `json:"beam,omitempty" n2k:"9"`
PositionReferenceFromStarboard *uint64 `json:"positionReferenceFromStarboard,omitempty" n2k:"10"`
PositionReferenceFromBow *uint64 `json:"positionReferenceFromBow,omitempty" n2k:"11"`
EtaDate *uint64 `json:"etaDate,omitempty" n2k:"12"`
EtaTime *uint64 `json:"etaTime,omitempty" n2k:"13"`
Draft *uint64 `json:"draft,omitempty" n2k:"14"`
Destination string `json:"destination,omitempty" n2k:"15"`
AisVersionIndicator *uint64 `json:"aisVersionIndicator,omitempty" n2k:"16"`
GnssType *uint64 `json:"gnssType,omitempty" n2k:"17"`
Dte *uint64 `json:"dte,omitempty" n2k:"18"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"20"`
}
func (*AisClassAStaticAndVoyageRelatedData) BeamValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) BeamValue() (float64, bool)
BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false when Beam is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) DecodePayload ¶
func (m *AisClassAStaticAndVoyageRelatedData) DecodePayload(payload []uint8) error
func (*AisClassAStaticAndVoyageRelatedData) DraftValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) DraftValue() (float64, bool)
DraftValue returns Draft as a physical value in m (value = raw * 0.01). The bool is false when Draft is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) EncodePayload ¶
func (m *AisClassAStaticAndVoyageRelatedData) EncodePayload() ([]uint8, error)
func (*AisClassAStaticAndVoyageRelatedData) EtaDateValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) EtaDateValue() (float64, bool)
EtaDateValue returns EtaDate as a physical value in d (value = raw). The bool is false when EtaDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) EtaTimeValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) EtaTimeValue() (float64, bool)
EtaTimeValue returns EtaTime as a physical value in s (value = raw * 0.0001). The bool is false when EtaTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) LengthValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) MessageInfo ¶
func (m *AisClassAStaticAndVoyageRelatedData) MessageInfo() MessageInfo
func (*AisClassAStaticAndVoyageRelatedData) PGNNumber ¶
func (m *AisClassAStaticAndVoyageRelatedData) PGNNumber() uint32
func (*AisClassAStaticAndVoyageRelatedData) PositionReferenceFromBowValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromBowValue() (float64, bool)
PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromBow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) PositionReferenceFromStarboardValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromStarboardValue() (float64, bool)
PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromStarboard is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassAStaticAndVoyageRelatedData) SetBeamValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetBeamValue(v float64)
SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassAStaticAndVoyageRelatedData) SetDraftValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetDraftValue(v float64)
SetDraftValue sets Draft from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*AisClassAStaticAndVoyageRelatedData) SetEtaDateValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetEtaDateValue(v float64)
SetEtaDateValue sets EtaDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*AisClassAStaticAndVoyageRelatedData) SetEtaTimeValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetEtaTimeValue(v float64)
SetEtaTimeValue sets EtaTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*AisClassAStaticAndVoyageRelatedData) SetLengthValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassAStaticAndVoyageRelatedData) SetMessageInfo ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetMessageInfo(info MessageInfo)
func (*AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromBowValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromBowValue(v float64)
SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromStarboardValue ¶
func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromStarboardValue(v float64)
SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.
type AisClassBExtendedPositionReport ¶
type AisClassBExtendedPositionReport struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Longitude *int64 `json:"longitude,omitempty" n2k:"4"`
Latitude *int64 `json:"latitude,omitempty" n2k:"5"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"6"`
Raim *uint64 `json:"raim,omitempty" n2k:"7"`
TimeStamp *uint64 `json:"timeStamp,omitempty" n2k:"8"`
Cog *uint64 `json:"cog,omitempty" n2k:"9"`
Sog *uint64 `json:"sog,omitempty" n2k:"10"`
TypeOfShip *uint64 `json:"typeOfShip,omitempty" n2k:"14"`
TrueHeading *uint64 `json:"trueHeading,omitempty" n2k:"15"`
GnssType *uint64 `json:"gnssType,omitempty" n2k:"17"`
Length *uint64 `json:"length,omitempty" n2k:"18"`
Beam *uint64 `json:"beam,omitempty" n2k:"19"`
PositionReferenceFromStarboard *uint64 `json:"positionReferenceFromStarboard,omitempty" n2k:"20"`
PositionReferenceFromBow *uint64 `json:"positionReferenceFromBow,omitempty" n2k:"21"`
Name string `json:"name,omitempty" n2k:"22"`
Dte *uint64 `json:"dte,omitempty" n2k:"23"`
AisMode *uint64 `json:"aisMode,omitempty" n2k:"24"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"26"`
}
func (*AisClassBExtendedPositionReport) BeamValue ¶
func (m *AisClassBExtendedPositionReport) BeamValue() (float64, bool)
BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false when Beam is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) CogValue ¶
func (m *AisClassBExtendedPositionReport) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) DecodePayload ¶
func (m *AisClassBExtendedPositionReport) DecodePayload(payload []uint8) error
func (*AisClassBExtendedPositionReport) EncodePayload ¶
func (m *AisClassBExtendedPositionReport) EncodePayload() ([]uint8, error)
func (*AisClassBExtendedPositionReport) LatitudeValue ¶
func (m *AisClassBExtendedPositionReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) LengthValue ¶
func (m *AisClassBExtendedPositionReport) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) LongitudeValue ¶
func (m *AisClassBExtendedPositionReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) MessageInfo ¶
func (m *AisClassBExtendedPositionReport) MessageInfo() MessageInfo
func (*AisClassBExtendedPositionReport) PGNNumber ¶
func (m *AisClassBExtendedPositionReport) PGNNumber() uint32
func (*AisClassBExtendedPositionReport) PositionReferenceFromBowValue ¶
func (m *AisClassBExtendedPositionReport) PositionReferenceFromBowValue() (float64, bool)
PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromBow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) PositionReferenceFromStarboardValue ¶
func (m *AisClassBExtendedPositionReport) PositionReferenceFromStarboardValue() (float64, bool)
PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromStarboard is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) SetBeamValue ¶
func (m *AisClassBExtendedPositionReport) SetBeamValue(v float64)
SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBExtendedPositionReport) SetCogValue ¶
func (m *AisClassBExtendedPositionReport) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassBExtendedPositionReport) SetLatitudeValue ¶
func (m *AisClassBExtendedPositionReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBExtendedPositionReport) SetLengthValue ¶
func (m *AisClassBExtendedPositionReport) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBExtendedPositionReport) SetLongitudeValue ¶
func (m *AisClassBExtendedPositionReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBExtendedPositionReport) SetMessageInfo ¶
func (m *AisClassBExtendedPositionReport) SetMessageInfo(info MessageInfo)
func (*AisClassBExtendedPositionReport) SetPositionReferenceFromBowValue ¶
func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromBowValue(v float64)
SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBExtendedPositionReport) SetPositionReferenceFromStarboardValue ¶
func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromStarboardValue(v float64)
SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBExtendedPositionReport) SetSogValue ¶
func (m *AisClassBExtendedPositionReport) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*AisClassBExtendedPositionReport) SetTrueHeadingValue ¶
func (m *AisClassBExtendedPositionReport) SetTrueHeadingValue(v float64)
SetTrueHeadingValue sets TrueHeading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassBExtendedPositionReport) SogValue ¶
func (m *AisClassBExtendedPositionReport) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBExtendedPositionReport) TrueHeadingValue ¶
func (m *AisClassBExtendedPositionReport) TrueHeadingValue() (float64, bool)
TrueHeadingValue returns TrueHeading as a physical value in rad (value = raw * 0.0001). The bool is false when TrueHeading is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisClassBGroupAssignment ¶
type AisClassBGroupAssignment struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
TxRxMode *uint64 `json:"txRxMode,omitempty" n2k:"5"`
NorthEastLongitudeCorner1 *int64 `json:"northEastLongitudeCorner1,omitempty" n2k:"7"`
NorthEastLatitudeCorner1 *int64 `json:"northEastLatitudeCorner1,omitempty" n2k:"8"`
SouthWestLongitudeCorner2 *int64 `json:"southWestLongitudeCorner2,omitempty" n2k:"9"`
SouthWestLatitudeCorner2 *int64 `json:"southWestLatitudeCorner2,omitempty" n2k:"10"`
StationType *uint64 `json:"stationType,omitempty" n2k:"11"`
ShipAndCargoFilter *uint64 `json:"shipAndCargoFilter,omitempty" n2k:"13"`
ReportingInterval *uint64 `json:"reportingInterval,omitempty" n2k:"16"`
QuietTime *uint64 `json:"quietTime,omitempty" n2k:"17"`
}
func (*AisClassBGroupAssignment) DecodePayload ¶
func (m *AisClassBGroupAssignment) DecodePayload(payload []uint8) error
func (*AisClassBGroupAssignment) EncodePayload ¶
func (m *AisClassBGroupAssignment) EncodePayload() ([]uint8, error)
func (*AisClassBGroupAssignment) MessageInfo ¶
func (m *AisClassBGroupAssignment) MessageInfo() MessageInfo
func (*AisClassBGroupAssignment) NorthEastLatitudeCorner1Value ¶
func (m *AisClassBGroupAssignment) NorthEastLatitudeCorner1Value() (float64, bool)
NorthEastLatitudeCorner1Value returns NorthEastLatitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false when NorthEastLatitudeCorner1 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBGroupAssignment) NorthEastLongitudeCorner1Value ¶
func (m *AisClassBGroupAssignment) NorthEastLongitudeCorner1Value() (float64, bool)
NorthEastLongitudeCorner1Value returns NorthEastLongitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false when NorthEastLongitudeCorner1 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBGroupAssignment) PGNNumber ¶
func (m *AisClassBGroupAssignment) PGNNumber() uint32
func (*AisClassBGroupAssignment) QuietTimeValue ¶
func (m *AisClassBGroupAssignment) QuietTimeValue() (float64, bool)
QuietTimeValue returns QuietTime as a physical value in s (value = raw * 60). The bool is false when QuietTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBGroupAssignment) SetMessageInfo ¶
func (m *AisClassBGroupAssignment) SetMessageInfo(info MessageInfo)
func (*AisClassBGroupAssignment) SetNorthEastLatitudeCorner1Value ¶
func (m *AisClassBGroupAssignment) SetNorthEastLatitudeCorner1Value(v float64)
SetNorthEastLatitudeCorner1Value sets NorthEastLatitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBGroupAssignment) SetNorthEastLongitudeCorner1Value ¶
func (m *AisClassBGroupAssignment) SetNorthEastLongitudeCorner1Value(v float64)
SetNorthEastLongitudeCorner1Value sets NorthEastLongitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBGroupAssignment) SetQuietTimeValue ¶
func (m *AisClassBGroupAssignment) SetQuietTimeValue(v float64)
SetQuietTimeValue sets QuietTime from a physical value in s, rounded to the nearest wire tick of 60.
func (*AisClassBGroupAssignment) SetSouthWestLatitudeCorner2Value ¶
func (m *AisClassBGroupAssignment) SetSouthWestLatitudeCorner2Value(v float64)
SetSouthWestLatitudeCorner2Value sets SouthWestLatitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBGroupAssignment) SetSouthWestLongitudeCorner2Value ¶
func (m *AisClassBGroupAssignment) SetSouthWestLongitudeCorner2Value(v float64)
SetSouthWestLongitudeCorner2Value sets SouthWestLongitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBGroupAssignment) SouthWestLatitudeCorner2Value ¶
func (m *AisClassBGroupAssignment) SouthWestLatitudeCorner2Value() (float64, bool)
SouthWestLatitudeCorner2Value returns SouthWestLatitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false when SouthWestLatitudeCorner2 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBGroupAssignment) SouthWestLongitudeCorner2Value ¶
func (m *AisClassBGroupAssignment) SouthWestLongitudeCorner2Value() (float64, bool)
SouthWestLongitudeCorner2Value returns SouthWestLongitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false when SouthWestLongitudeCorner2 is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisClassBPositionReport ¶
type AisClassBPositionReport struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Longitude *int64 `json:"longitude,omitempty" n2k:"4"`
Latitude *int64 `json:"latitude,omitempty" n2k:"5"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"6"`
Raim *uint64 `json:"raim,omitempty" n2k:"7"`
TimeStamp *uint64 `json:"timeStamp,omitempty" n2k:"8"`
Cog *uint64 `json:"cog,omitempty" n2k:"9"`
Sog *uint64 `json:"sog,omitempty" n2k:"10"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"11"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"12"`
Heading *uint64 `json:"heading,omitempty" n2k:"13"`
UnitType *uint64 `json:"unitType,omitempty" n2k:"16"`
IntegratedDisplay *uint64 `json:"integratedDisplay,omitempty" n2k:"17"`
Dsc *uint64 `json:"dsc,omitempty" n2k:"18"`
Band *uint64 `json:"band,omitempty" n2k:"19"`
CanHandleMsg22 *uint64 `json:"canHandleMsg22,omitempty" n2k:"20"`
AisMode *uint64 `json:"aisMode,omitempty" n2k:"21"`
AisCommunicationState *uint64 `json:"aisCommunicationState,omitempty" n2k:"22"`
}
func (*AisClassBPositionReport) CogValue ¶
func (m *AisClassBPositionReport) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBPositionReport) DecodePayload ¶
func (m *AisClassBPositionReport) DecodePayload(payload []uint8) error
func (*AisClassBPositionReport) EncodePayload ¶
func (m *AisClassBPositionReport) EncodePayload() ([]uint8, error)
func (*AisClassBPositionReport) HeadingValue ¶
func (m *AisClassBPositionReport) HeadingValue() (float64, bool)
HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false when Heading is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBPositionReport) LatitudeValue ¶
func (m *AisClassBPositionReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBPositionReport) LongitudeValue ¶
func (m *AisClassBPositionReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBPositionReport) MessageInfo ¶
func (m *AisClassBPositionReport) MessageInfo() MessageInfo
func (*AisClassBPositionReport) PGNNumber ¶
func (m *AisClassBPositionReport) PGNNumber() uint32
func (*AisClassBPositionReport) SetCogValue ¶
func (m *AisClassBPositionReport) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassBPositionReport) SetHeadingValue ¶
func (m *AisClassBPositionReport) SetHeadingValue(v float64)
SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisClassBPositionReport) SetLatitudeValue ¶
func (m *AisClassBPositionReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBPositionReport) SetLongitudeValue ¶
func (m *AisClassBPositionReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisClassBPositionReport) SetMessageInfo ¶
func (m *AisClassBPositionReport) SetMessageInfo(info MessageInfo)
func (*AisClassBPositionReport) SetSogValue ¶
func (m *AisClassBPositionReport) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*AisClassBPositionReport) SogValue ¶
func (m *AisClassBPositionReport) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisClassBStaticDataMsg24PartA ¶
type AisClassBStaticDataMsg24PartA struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Name string `json:"name,omitempty" n2k:"4"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"7"`
}
func (*AisClassBStaticDataMsg24PartA) DecodePayload ¶
func (m *AisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error
func (*AisClassBStaticDataMsg24PartA) EncodePayload ¶
func (m *AisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)
func (*AisClassBStaticDataMsg24PartA) MessageInfo ¶
func (m *AisClassBStaticDataMsg24PartA) MessageInfo() MessageInfo
func (*AisClassBStaticDataMsg24PartA) PGNNumber ¶
func (m *AisClassBStaticDataMsg24PartA) PGNNumber() uint32
func (*AisClassBStaticDataMsg24PartA) SetMessageInfo ¶
func (m *AisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)
type AisClassBStaticDataMsg24PartB ¶
type AisClassBStaticDataMsg24PartB struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
TypeOfShip *uint64 `json:"typeOfShip,omitempty" n2k:"4"`
VendorId string `json:"vendorId,omitempty" n2k:"5"`
Callsign string `json:"callsign,omitempty" n2k:"6"`
Length *uint64 `json:"length,omitempty" n2k:"7"`
Beam *uint64 `json:"beam,omitempty" n2k:"8"`
PositionReferenceFromStarboard *uint64 `json:"positionReferenceFromStarboard,omitempty" n2k:"9"`
PositionReferenceFromBow *uint64 `json:"positionReferenceFromBow,omitempty" n2k:"10"`
MothershipUserId *uint64 `json:"mothershipUserId,omitempty" n2k:"11"`
GnssType *uint64 `json:"gnssType,omitempty" n2k:"14"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"15"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"17"`
}
func (*AisClassBStaticDataMsg24PartB) BeamValue ¶
func (m *AisClassBStaticDataMsg24PartB) BeamValue() (float64, bool)
BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false when Beam is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBStaticDataMsg24PartB) DecodePayload ¶
func (m *AisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error
func (*AisClassBStaticDataMsg24PartB) EncodePayload ¶
func (m *AisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)
func (*AisClassBStaticDataMsg24PartB) LengthValue ¶
func (m *AisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBStaticDataMsg24PartB) MessageInfo ¶
func (m *AisClassBStaticDataMsg24PartB) MessageInfo() MessageInfo
func (*AisClassBStaticDataMsg24PartB) PGNNumber ¶
func (m *AisClassBStaticDataMsg24PartB) PGNNumber() uint32
func (*AisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue ¶
func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)
PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromBow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue ¶
func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)
PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromStarboard is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisClassBStaticDataMsg24PartB) SetBeamValue ¶
func (m *AisClassBStaticDataMsg24PartB) SetBeamValue(v float64)
SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBStaticDataMsg24PartB) SetLengthValue ¶
func (m *AisClassBStaticDataMsg24PartB) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBStaticDataMsg24PartB) SetMessageInfo ¶
func (m *AisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)
func (*AisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue ¶
func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)
SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue ¶
func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)
SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.
type AisCommunicationStateConst ¶
type AisCommunicationStateConst uint8
const ( SOTDMA_2 AisCommunicationStateConst = 0 ITDMA AisCommunicationStateConst = 1 )
func (AisCommunicationStateConst) GoString ¶
func (e AisCommunicationStateConst) GoString() string
func (AisCommunicationStateConst) String ¶
func (e AisCommunicationStateConst) String() string
type AisDataLinkManagementMessage ¶
type AisDataLinkManagementMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
Repeating1 []AisDataLinkManagementMessageRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AisDataLinkManagementMessage) DecodePayload ¶
func (m *AisDataLinkManagementMessage) DecodePayload(payload []uint8) error
func (*AisDataLinkManagementMessage) EncodePayload ¶
func (m *AisDataLinkManagementMessage) EncodePayload() ([]uint8, error)
func (*AisDataLinkManagementMessage) MessageInfo ¶
func (m *AisDataLinkManagementMessage) MessageInfo() MessageInfo
func (*AisDataLinkManagementMessage) PGNNumber ¶
func (m *AisDataLinkManagementMessage) PGNNumber() uint32
func (*AisDataLinkManagementMessage) SetMessageInfo ¶
func (m *AisDataLinkManagementMessage) SetMessageInfo(info MessageInfo)
type AisDataLinkManagementMessageRepeating1 ¶
type AisDataLinkManagementMessageRepeating1 struct {
Offset *uint64 `json:"offset,omitempty" n2k:"7"`
NumberOfSlots *uint64 `json:"numberOfSlots,omitempty" n2k:"8"`
Timeout *uint64 `json:"timeout,omitempty" n2k:"9"`
Increment *uint64 `json:"increment,omitempty" n2k:"10"`
}
func (*AisDataLinkManagementMessageRepeating1) SetTimeoutValue ¶
func (m *AisDataLinkManagementMessageRepeating1) SetTimeoutValue(v float64)
SetTimeoutValue sets Timeout from a physical value in s, rounded to the nearest wire tick of 60.
func (*AisDataLinkManagementMessageRepeating1) TimeoutValue ¶
func (m *AisDataLinkManagementMessageRepeating1) TimeoutValue() (float64, bool)
TimeoutValue returns Timeout as a physical value in s (value = raw * 60). The bool is false when Timeout is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisDgnssBroadcastBinaryMessage ¶
type AisDgnssBroadcastBinaryMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
Longitude *int64 `json:"longitude,omitempty" n2k:"7"`
Latitude *int64 `json:"latitude,omitempty" n2k:"8"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"12"`
}
func (*AisDgnssBroadcastBinaryMessage) DecodePayload ¶
func (m *AisDgnssBroadcastBinaryMessage) DecodePayload(payload []uint8) error
func (*AisDgnssBroadcastBinaryMessage) EncodePayload ¶
func (m *AisDgnssBroadcastBinaryMessage) EncodePayload() ([]uint8, error)
func (*AisDgnssBroadcastBinaryMessage) LatitudeValue ¶
func (m *AisDgnssBroadcastBinaryMessage) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisDgnssBroadcastBinaryMessage) LongitudeValue ¶
func (m *AisDgnssBroadcastBinaryMessage) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisDgnssBroadcastBinaryMessage) MessageInfo ¶
func (m *AisDgnssBroadcastBinaryMessage) MessageInfo() MessageInfo
func (*AisDgnssBroadcastBinaryMessage) PGNNumber ¶
func (m *AisDgnssBroadcastBinaryMessage) PGNNumber() uint32
func (*AisDgnssBroadcastBinaryMessage) SetLatitudeValue ¶
func (m *AisDgnssBroadcastBinaryMessage) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisDgnssBroadcastBinaryMessage) SetLongitudeValue ¶
func (m *AisDgnssBroadcastBinaryMessage) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisDgnssBroadcastBinaryMessage) SetMessageInfo ¶
func (m *AisDgnssBroadcastBinaryMessage) SetMessageInfo(info MessageInfo)
type AisInterrogation ¶
type AisInterrogation struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
DestinationId1 *uint64 `json:"destinationId1,omitempty" n2k:"7"`
MessageId11 *uint64 `json:"messageId11,omitempty" n2k:"9"`
SlotOffset11 *uint64 `json:"slotOffset11,omitempty" n2k:"10"`
MessageId12 *uint64 `json:"messageId12,omitempty" n2k:"12"`
SlotOffset12 *uint64 `json:"slotOffset12,omitempty" n2k:"13"`
DestinationId2 *uint64 `json:"destinationId2,omitempty" n2k:"16"`
MessageId21 *uint64 `json:"messageId21,omitempty" n2k:"18"`
SlotOffset21 *uint64 `json:"slotOffset21,omitempty" n2k:"19"`
Sid *uint64 `json:"sid,omitempty" n2k:"22"`
}
func (*AisInterrogation) DecodePayload ¶
func (m *AisInterrogation) DecodePayload(payload []uint8) error
func (*AisInterrogation) EncodePayload ¶
func (m *AisInterrogation) EncodePayload() ([]uint8, error)
func (*AisInterrogation) MessageInfo ¶
func (m *AisInterrogation) MessageInfo() MessageInfo
func (*AisInterrogation) PGNNumber ¶
func (m *AisInterrogation) PGNNumber() uint32
func (*AisInterrogation) SetMessageInfo ¶
func (m *AisInterrogation) SetMessageInfo(info MessageInfo)
type AisLongRangeBroadcastMessage ¶
type AisLongRangeBroadcastMessage struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
UserId *uint64 `json:"userId,omitempty" n2k:"4"`
Longitude *int64 `json:"longitude,omitempty" n2k:"5"`
Latitude *int64 `json:"latitude,omitempty" n2k:"6"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"7"`
Raim *uint64 `json:"raim,omitempty" n2k:"8"`
PositionLatency *uint64 `json:"positionLatency,omitempty" n2k:"10"`
Sog *uint64 `json:"sog,omitempty" n2k:"12"`
Cog *uint64 `json:"cog,omitempty" n2k:"13"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"14"`
}
func (*AisLongRangeBroadcastMessage) CogValue ¶
func (m *AisLongRangeBroadcastMessage) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisLongRangeBroadcastMessage) DecodePayload ¶
func (m *AisLongRangeBroadcastMessage) DecodePayload(payload []uint8) error
func (*AisLongRangeBroadcastMessage) EncodePayload ¶
func (m *AisLongRangeBroadcastMessage) EncodePayload() ([]uint8, error)
func (*AisLongRangeBroadcastMessage) LatitudeValue ¶
func (m *AisLongRangeBroadcastMessage) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisLongRangeBroadcastMessage) LongitudeValue ¶
func (m *AisLongRangeBroadcastMessage) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisLongRangeBroadcastMessage) MessageInfo ¶
func (m *AisLongRangeBroadcastMessage) MessageInfo() MessageInfo
func (*AisLongRangeBroadcastMessage) PGNNumber ¶
func (m *AisLongRangeBroadcastMessage) PGNNumber() uint32
func (*AisLongRangeBroadcastMessage) SetCogValue ¶
func (m *AisLongRangeBroadcastMessage) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisLongRangeBroadcastMessage) SetLatitudeValue ¶
func (m *AisLongRangeBroadcastMessage) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisLongRangeBroadcastMessage) SetLongitudeValue ¶
func (m *AisLongRangeBroadcastMessage) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisLongRangeBroadcastMessage) SetMessageInfo ¶
func (m *AisLongRangeBroadcastMessage) SetMessageInfo(info MessageInfo)
func (*AisLongRangeBroadcastMessage) SetSogValue ¶
func (m *AisLongRangeBroadcastMessage) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*AisLongRangeBroadcastMessage) SogValue ¶
func (m *AisLongRangeBroadcastMessage) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisMessageIdConst ¶
type AisMessageIdConst uint8
const ( ScheduledClassAPositionReport AisMessageIdConst = 1 AssignedScheduledClassAPositionReport AisMessageIdConst = 2 InterrogatedClassAPositionReport AisMessageIdConst = 3 BaseStationReport AisMessageIdConst = 4 StaticAndVoyageRelatedData AisMessageIdConst = 5 BinaryAddressedMessage AisMessageIdConst = 6 BinaryAcknowledgement AisMessageIdConst = 7 BinaryBroadcastMessage AisMessageIdConst = 8 StandardSARAircraftPositionReport AisMessageIdConst = 9 UTCDateInquiry AisMessageIdConst = 10 UTCDateResponse AisMessageIdConst = 11 SafetyRelatedAddressedMessage AisMessageIdConst = 12 SafetyRelatedAcknowledgement AisMessageIdConst = 13 SatetyRelatedBroadcastMessage AisMessageIdConst = 14 Interrogation AisMessageIdConst = 15 AssignmentModeCommand AisMessageIdConst = 16 DGNSSBroadcastBinaryMessage AisMessageIdConst = 17 StandardClassBPositionReport AisMessageIdConst = 18 ExtendedClassBPositionReport AisMessageIdConst = 19 DataLinkManagementMessage AisMessageIdConst = 20 ATONReport AisMessageIdConst = 21 ChannelManagement AisMessageIdConst = 22 GroupAssignmentCommand AisMessageIdConst = 23 StaticDataReport AisMessageIdConst = 24 SingleSlotBinaryMessage AisMessageIdConst = 25 MultipleSlotBinaryMessage AisMessageIdConst = 26 PositionReportForLongRangeApplications AisMessageIdConst = 27 )
func (AisMessageIdConst) GoString ¶
func (e AisMessageIdConst) GoString() string
func (AisMessageIdConst) String ¶
func (e AisMessageIdConst) String() string
type AisModeConst ¶
type AisModeConst uint8
const ( Autonomous_2 AisModeConst = 0 Assigned AisModeConst = 1 )
func (AisModeConst) GoString ¶
func (e AisModeConst) GoString() string
func (AisModeConst) String ¶
func (e AisModeConst) String() string
type AisMultiSlotBinaryMessage ¶
type AisMultiSlotBinaryMessage struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"4"`
DestinationIndicator *uint64 `json:"destinationIndicator,omitempty" n2k:"5"`
BinaryDataFlag *uint64 `json:"binaryDataFlag,omitempty" n2k:"6"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"8"`
CommunicationStateSelectorFlag *uint64 `json:"communicationStateSelectorFlag,omitempty" n2k:"10"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"11"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"13"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"15"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"16"`
}
func (*AisMultiSlotBinaryMessage) DecodePayload ¶
func (m *AisMultiSlotBinaryMessage) DecodePayload(payload []uint8) error
func (*AisMultiSlotBinaryMessage) EncodePayload ¶
func (m *AisMultiSlotBinaryMessage) EncodePayload() ([]uint8, error)
func (*AisMultiSlotBinaryMessage) MessageInfo ¶
func (m *AisMultiSlotBinaryMessage) MessageInfo() MessageInfo
func (*AisMultiSlotBinaryMessage) PGNNumber ¶
func (m *AisMultiSlotBinaryMessage) PGNNumber() uint32
func (*AisMultiSlotBinaryMessage) SetMessageInfo ¶
func (m *AisMultiSlotBinaryMessage) SetMessageInfo(info MessageInfo)
type AisMultiSlotBinaryMessageDeprecated ¶
type AisMultiSlotBinaryMessageDeprecated struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"4"`
DestinationIndicator *uint64 `json:"destinationIndicator,omitempty" n2k:"5"`
BinaryDataFlag *uint64 `json:"binaryDataFlag,omitempty" n2k:"6"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"8"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"9"`
CommunicationStateSelectorFlag *uint64 `json:"communicationStateSelectorFlag,omitempty" n2k:"11"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"12"`
Repeating1 []AisMultiSlotBinaryMessageDeprecatedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AisMultiSlotBinaryMessageDeprecated) DecodePayload ¶
func (m *AisMultiSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error
func (*AisMultiSlotBinaryMessageDeprecated) EncodePayload ¶
func (m *AisMultiSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)
func (*AisMultiSlotBinaryMessageDeprecated) MessageInfo ¶
func (m *AisMultiSlotBinaryMessageDeprecated) MessageInfo() MessageInfo
func (*AisMultiSlotBinaryMessageDeprecated) PGNNumber ¶
func (m *AisMultiSlotBinaryMessageDeprecated) PGNNumber() uint32
func (*AisMultiSlotBinaryMessageDeprecated) SetMessageInfo ¶
func (m *AisMultiSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)
type AisSafetyRelatedBroadcastMessage ¶
type AisSafetyRelatedBroadcastMessage struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
SafetyRelatedText string `json:"safetyRelatedText,omitempty" n2k:"7"`
}
func (*AisSafetyRelatedBroadcastMessage) DecodePayload ¶
func (m *AisSafetyRelatedBroadcastMessage) DecodePayload(payload []uint8) error
func (*AisSafetyRelatedBroadcastMessage) EncodePayload ¶
func (m *AisSafetyRelatedBroadcastMessage) EncodePayload() ([]uint8, error)
func (*AisSafetyRelatedBroadcastMessage) MessageInfo ¶
func (m *AisSafetyRelatedBroadcastMessage) MessageInfo() MessageInfo
func (*AisSafetyRelatedBroadcastMessage) PGNNumber ¶
func (m *AisSafetyRelatedBroadcastMessage) PGNNumber() uint32
func (*AisSafetyRelatedBroadcastMessage) SetMessageInfo ¶
func (m *AisSafetyRelatedBroadcastMessage) SetMessageInfo(info MessageInfo)
type AisSarAircraftPositionReport ¶
type AisSarAircraftPositionReport struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Longitude *int64 `json:"longitude,omitempty" n2k:"4"`
Latitude *int64 `json:"latitude,omitempty" n2k:"5"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"6"`
Raim *uint64 `json:"raim,omitempty" n2k:"7"`
TimeStamp *uint64 `json:"timeStamp,omitempty" n2k:"8"`
Cog *uint64 `json:"cog,omitempty" n2k:"9"`
Sog *uint64 `json:"sog,omitempty" n2k:"10"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"11"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"12"`
Altitude *int64 `json:"altitude,omitempty" n2k:"13"`
ReservedForRegionalApplications []uint8 `json:"reservedForRegionalApplications,omitempty" n2k:"14"`
Dte *uint64 `json:"dte,omitempty" n2k:"15"`
}
func (*AisSarAircraftPositionReport) AltitudeValue ¶
func (m *AisSarAircraftPositionReport) AltitudeValue() (float64, bool)
AltitudeValue returns Altitude as a physical value in m (value = raw * 0.01). The bool is false when Altitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisSarAircraftPositionReport) CogValue ¶
func (m *AisSarAircraftPositionReport) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisSarAircraftPositionReport) DecodePayload ¶
func (m *AisSarAircraftPositionReport) DecodePayload(payload []uint8) error
func (*AisSarAircraftPositionReport) EncodePayload ¶
func (m *AisSarAircraftPositionReport) EncodePayload() ([]uint8, error)
func (*AisSarAircraftPositionReport) LatitudeValue ¶
func (m *AisSarAircraftPositionReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisSarAircraftPositionReport) LongitudeValue ¶
func (m *AisSarAircraftPositionReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisSarAircraftPositionReport) MessageInfo ¶
func (m *AisSarAircraftPositionReport) MessageInfo() MessageInfo
func (*AisSarAircraftPositionReport) PGNNumber ¶
func (m *AisSarAircraftPositionReport) PGNNumber() uint32
func (*AisSarAircraftPositionReport) SetAltitudeValue ¶
func (m *AisSarAircraftPositionReport) SetAltitudeValue(v float64)
SetAltitudeValue sets Altitude from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*AisSarAircraftPositionReport) SetCogValue ¶
func (m *AisSarAircraftPositionReport) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AisSarAircraftPositionReport) SetLatitudeValue ¶
func (m *AisSarAircraftPositionReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisSarAircraftPositionReport) SetLongitudeValue ¶
func (m *AisSarAircraftPositionReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisSarAircraftPositionReport) SetMessageInfo ¶
func (m *AisSarAircraftPositionReport) SetMessageInfo(info MessageInfo)
func (*AisSarAircraftPositionReport) SetSogValue ¶
func (m *AisSarAircraftPositionReport) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.1.
func (*AisSarAircraftPositionReport) SogValue ¶
func (m *AisSarAircraftPositionReport) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.1). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AisSingleSlotBinaryMessage ¶
type AisSingleSlotBinaryMessage struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"4"`
DestinationIndicator *uint64 `json:"destinationIndicator,omitempty" n2k:"5"`
BinaryDataFlag *uint64 `json:"binaryDataFlag,omitempty" n2k:"6"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"9"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"10"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"12"`
}
func (*AisSingleSlotBinaryMessage) DecodePayload ¶
func (m *AisSingleSlotBinaryMessage) DecodePayload(payload []uint8) error
func (*AisSingleSlotBinaryMessage) EncodePayload ¶
func (m *AisSingleSlotBinaryMessage) EncodePayload() ([]uint8, error)
func (*AisSingleSlotBinaryMessage) MessageInfo ¶
func (m *AisSingleSlotBinaryMessage) MessageInfo() MessageInfo
func (*AisSingleSlotBinaryMessage) PGNNumber ¶
func (m *AisSingleSlotBinaryMessage) PGNNumber() uint32
func (*AisSingleSlotBinaryMessage) SetMessageInfo ¶
func (m *AisSingleSlotBinaryMessage) SetMessageInfo(info MessageInfo)
type AisSingleSlotBinaryMessageDeprecated ¶
type AisSingleSlotBinaryMessageDeprecated struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"2"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"3"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"4"`
DestinationIndicator *uint64 `json:"destinationIndicator,omitempty" n2k:"5"`
BinaryDataFlag *uint64 `json:"binaryDataFlag,omitempty" n2k:"6"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"8"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"9"`
NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"10"`
BinaryData []uint8 `json:"binaryData,omitempty" n2k:"11"`
}
func (*AisSingleSlotBinaryMessageDeprecated) DecodePayload ¶
func (m *AisSingleSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error
func (*AisSingleSlotBinaryMessageDeprecated) EncodePayload ¶
func (m *AisSingleSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)
func (*AisSingleSlotBinaryMessageDeprecated) MessageInfo ¶
func (m *AisSingleSlotBinaryMessageDeprecated) MessageInfo() MessageInfo
func (*AisSingleSlotBinaryMessageDeprecated) PGNNumber ¶
func (m *AisSingleSlotBinaryMessageDeprecated) PGNNumber() uint32
func (*AisSingleSlotBinaryMessageDeprecated) SetMessageInfo ¶
func (m *AisSingleSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)
type AisSpecialManeuverConst ¶
type AisSpecialManeuverConst uint8
const ( NotAvailable AisSpecialManeuverConst = 0 NotEngagedInSpecialManeuver AisSpecialManeuverConst = 1 EngagedInSpecialManeuver AisSpecialManeuverConst = 2 Reserved_2 AisSpecialManeuverConst = 3 )
func (AisSpecialManeuverConst) GoString ¶
func (e AisSpecialManeuverConst) GoString() string
func (AisSpecialManeuverConst) String ¶
func (e AisSpecialManeuverConst) String() string
type AisTransceiverConst ¶
type AisTransceiverConst uint8
const ( ChannelAVDLReception AisTransceiverConst = 0 ChannelBVDLReception AisTransceiverConst = 1 ChannelAVDLTransmission AisTransceiverConst = 2 ChannelBVDLTransmission AisTransceiverConst = 3 OwnInformationNotBroadcast AisTransceiverConst = 4 Reserved AisTransceiverConst = 5 )
func (AisTransceiverConst) GoString ¶
func (e AisTransceiverConst) GoString() string
func (AisTransceiverConst) String ¶
func (e AisTransceiverConst) String() string
type AisTypeConst ¶
type AisTypeConst uint8
const ( SOTDMA AisTypeConst = 0 CS AisTypeConst = 1 )
func (AisTypeConst) GoString ¶
func (e AisTypeConst) GoString() string
func (AisTypeConst) String ¶
func (e AisTypeConst) String() string
type AisUtcAndDateReport ¶
type AisUtcAndDateReport struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
UserId *uint64 `json:"userId,omitempty" n2k:"3"`
Longitude *int64 `json:"longitude,omitempty" n2k:"4"`
Latitude *int64 `json:"latitude,omitempty" n2k:"5"`
PositionAccuracy *uint64 `json:"positionAccuracy,omitempty" n2k:"6"`
Raim *uint64 `json:"raim,omitempty" n2k:"7"`
PositionTime *uint64 `json:"positionTime,omitempty" n2k:"9"`
CommunicationState []uint8 `json:"communicationState,omitempty" n2k:"10"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"11"`
PositionDate *uint64 `json:"positionDate,omitempty" n2k:"12"`
GnssType *uint64 `json:"gnssType,omitempty" n2k:"14"`
}
func (*AisUtcAndDateReport) DecodePayload ¶
func (m *AisUtcAndDateReport) DecodePayload(payload []uint8) error
func (*AisUtcAndDateReport) EncodePayload ¶
func (m *AisUtcAndDateReport) EncodePayload() ([]uint8, error)
func (*AisUtcAndDateReport) LatitudeValue ¶
func (m *AisUtcAndDateReport) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisUtcAndDateReport) LongitudeValue ¶
func (m *AisUtcAndDateReport) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisUtcAndDateReport) MessageInfo ¶
func (m *AisUtcAndDateReport) MessageInfo() MessageInfo
func (*AisUtcAndDateReport) PGNNumber ¶
func (m *AisUtcAndDateReport) PGNNumber() uint32
func (*AisUtcAndDateReport) PositionDateValue ¶
func (m *AisUtcAndDateReport) PositionDateValue() (float64, bool)
PositionDateValue returns PositionDate as a physical value in d (value = raw). The bool is false when PositionDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisUtcAndDateReport) PositionTimeValue ¶
func (m *AisUtcAndDateReport) PositionTimeValue() (float64, bool)
PositionTimeValue returns PositionTime as a physical value in s (value = raw * 0.0001). The bool is false when PositionTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AisUtcAndDateReport) SetLatitudeValue ¶
func (m *AisUtcAndDateReport) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisUtcAndDateReport) SetLongitudeValue ¶
func (m *AisUtcAndDateReport) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*AisUtcAndDateReport) SetMessageInfo ¶
func (m *AisUtcAndDateReport) SetMessageInfo(info MessageInfo)
func (*AisUtcAndDateReport) SetPositionDateValue ¶
func (m *AisUtcAndDateReport) SetPositionDateValue(v float64)
SetPositionDateValue sets PositionDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*AisUtcAndDateReport) SetPositionTimeValue ¶
func (m *AisUtcAndDateReport) SetPositionTimeValue(v float64)
SetPositionTimeValue sets PositionTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
type AisUtcDateInquiry ¶
type AisUtcDateInquiry struct {
Info MessageInfo `json:"info"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"1"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"2"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"3"`
AisTransceiverInformation *uint64 `json:"aisTransceiverInformation,omitempty" n2k:"5"`
DestinationId *uint64 `json:"destinationId,omitempty" n2k:"7"`
}
func (*AisUtcDateInquiry) DecodePayload ¶
func (m *AisUtcDateInquiry) DecodePayload(payload []uint8) error
func (*AisUtcDateInquiry) EncodePayload ¶
func (m *AisUtcDateInquiry) EncodePayload() ([]uint8, error)
func (*AisUtcDateInquiry) MessageInfo ¶
func (m *AisUtcDateInquiry) MessageInfo() MessageInfo
func (*AisUtcDateInquiry) PGNNumber ¶
func (m *AisUtcDateInquiry) PGNNumber() uint32
func (*AisUtcDateInquiry) SetMessageInfo ¶
func (m *AisUtcDateInquiry) SetMessageInfo(info MessageInfo)
type AisVersionConst ¶
type AisVersionConst uint8
const ( ITURM1371Minus1 AisVersionConst = 0 ITURM13713 AisVersionConst = 1 ITURM13715 AisVersionConst = 2 ITURM1371FutureEdition AisVersionConst = 3 )
func (AisVersionConst) GoString ¶
func (e AisVersionConst) GoString() string
func (AisVersionConst) String ¶
func (e AisVersionConst) String() string
type Alert ¶
type Alert struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
TemporarySilenceStatus *uint64 `json:"temporarySilenceStatus,omitempty" n2k:"10"`
AcknowledgeStatus *uint64 `json:"acknowledgeStatus,omitempty" n2k:"11"`
EscalationStatus *uint64 `json:"escalationStatus,omitempty" n2k:"12"`
TemporarySilenceSupport *uint64 `json:"temporarySilenceSupport,omitempty" n2k:"13"`
AcknowledgeSupport *uint64 `json:"acknowledgeSupport,omitempty" n2k:"14"`
EscalationSupport *uint64 `json:"escalationSupport,omitempty" n2k:"15"`
AcknowledgeSourceNetworkIdName *uint64 `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"17"`
TriggerCondition *uint64 `json:"triggerCondition,omitempty" n2k:"18"`
ThresholdStatus *uint64 `json:"thresholdStatus,omitempty" n2k:"19"`
AlertPriority *uint64 `json:"alertPriority,omitempty" n2k:"20"`
AlertState *uint64 `json:"alertState,omitempty" n2k:"21"`
}
func (*Alert) DecodePayload ¶
func (*Alert) EncodePayload ¶
func (*Alert) MessageInfo ¶
func (m *Alert) MessageInfo() MessageInfo
func (*Alert) SetMessageInfo ¶
func (m *Alert) SetMessageInfo(info MessageInfo)
type AlertCategoryConst ¶
type AlertCategoryConst uint8
const ( Technical AlertCategoryConst = 1 )
func (AlertCategoryConst) GoString ¶
func (e AlertCategoryConst) GoString() string
func (AlertCategoryConst) String ¶
func (e AlertCategoryConst) String() string
type AlertConfiguration ¶
type AlertConfiguration struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
AlertControl *uint64 `json:"alertControl,omitempty" n2k:"10"`
UserDefinedAlertAssignment *uint64 `json:"userDefinedAlertAssignment,omitempty" n2k:"11"`
ReactivationPeriod *uint64 `json:"reactivationPeriod,omitempty" n2k:"13"`
TemporarySilencePeriod *uint64 `json:"temporarySilencePeriod,omitempty" n2k:"14"`
EscalationPeriod *uint64 `json:"escalationPeriod,omitempty" n2k:"15"`
}
func (*AlertConfiguration) DecodePayload ¶
func (m *AlertConfiguration) DecodePayload(payload []uint8) error
func (*AlertConfiguration) EncodePayload ¶
func (m *AlertConfiguration) EncodePayload() ([]uint8, error)
func (*AlertConfiguration) MessageInfo ¶
func (m *AlertConfiguration) MessageInfo() MessageInfo
func (*AlertConfiguration) PGNNumber ¶
func (m *AlertConfiguration) PGNNumber() uint32
func (*AlertConfiguration) SetMessageInfo ¶
func (m *AlertConfiguration) SetMessageInfo(info MessageInfo)
type AlertLanguageIdConst ¶
type AlertLanguageIdConst uint8
const ( EnglishUS AlertLanguageIdConst = 0 EnglishUK AlertLanguageIdConst = 1 Arabic AlertLanguageIdConst = 2 ChineseSimplified AlertLanguageIdConst = 3 Croatian AlertLanguageIdConst = 4 Danish AlertLanguageIdConst = 5 Dutch AlertLanguageIdConst = 6 Finnish AlertLanguageIdConst = 7 French AlertLanguageIdConst = 8 German AlertLanguageIdConst = 9 Greek AlertLanguageIdConst = 10 Italian AlertLanguageIdConst = 11 Japanese AlertLanguageIdConst = 12 Korean AlertLanguageIdConst = 13 Norwegian AlertLanguageIdConst = 14 Polish AlertLanguageIdConst = 15 Portuguese AlertLanguageIdConst = 16 Russian AlertLanguageIdConst = 17 Spanish AlertLanguageIdConst = 18 Swedish AlertLanguageIdConst = 19 )
func (AlertLanguageIdConst) GoString ¶
func (e AlertLanguageIdConst) GoString() string
func (AlertLanguageIdConst) String ¶
func (e AlertLanguageIdConst) String() string
type AlertResponse ¶
type AlertResponse struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
AcknowledgeSourceNetworkIdName *uint64 `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"10"`
ResponseCommand *uint64 `json:"responseCommand,omitempty" n2k:"11"`
}
func (*AlertResponse) DecodePayload ¶
func (m *AlertResponse) DecodePayload(payload []uint8) error
func (*AlertResponse) EncodePayload ¶
func (m *AlertResponse) EncodePayload() ([]uint8, error)
func (*AlertResponse) MessageInfo ¶
func (m *AlertResponse) MessageInfo() MessageInfo
func (*AlertResponse) PGNNumber ¶
func (m *AlertResponse) PGNNumber() uint32
func (*AlertResponse) SetMessageInfo ¶
func (m *AlertResponse) SetMessageInfo(info MessageInfo)
type AlertResponseCommandConst ¶
type AlertResponseCommandConst uint8
const ( Acknowledge AlertResponseCommandConst = 0 TemporarySilence AlertResponseCommandConst = 1 TestCommandOff AlertResponseCommandConst = 2 TestCommandOn AlertResponseCommandConst = 3 )
func (AlertResponseCommandConst) GoString ¶
func (e AlertResponseCommandConst) GoString() string
func (AlertResponseCommandConst) String ¶
func (e AlertResponseCommandConst) String() string
type AlertStateConst ¶
type AlertStateConst uint8
const ( Disabled_2 AlertStateConst = 0 Normal_2 AlertStateConst = 1 Active AlertStateConst = 2 Silenced AlertStateConst = 3 Acknowledged_2 AlertStateConst = 4 AwaitingAcknowledge_2 AlertStateConst = 5 )
func (AlertStateConst) GoString ¶
func (e AlertStateConst) GoString() string
func (AlertStateConst) String ¶
func (e AlertStateConst) String() string
type AlertText ¶
type AlertText struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
LanguageId *uint64 `json:"languageId,omitempty" n2k:"10"`
AlertTextDescription string `json:"alertTextDescription,omitempty" n2k:"11"`
AlertLocationTextDescription string `json:"alertLocationTextDescription,omitempty" n2k:"12"`
}
func (*AlertText) DecodePayload ¶
func (*AlertText) EncodePayload ¶
func (*AlertText) MessageInfo ¶
func (m *AlertText) MessageInfo() MessageInfo
func (*AlertText) SetMessageInfo ¶
func (m *AlertText) SetMessageInfo(info MessageInfo)
type AlertThreshold ¶
type AlertThreshold struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"10"`
Repeating1 []AlertThresholdRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AlertThreshold) DecodePayload ¶
func (m *AlertThreshold) DecodePayload(payload []uint8) error
func (*AlertThreshold) EncodePayload ¶
func (m *AlertThreshold) EncodePayload() ([]uint8, error)
func (*AlertThreshold) MessageInfo ¶
func (m *AlertThreshold) MessageInfo() MessageInfo
func (*AlertThreshold) PGNNumber ¶
func (m *AlertThreshold) PGNNumber() uint32
func (*AlertThreshold) SetMessageInfo ¶
func (m *AlertThreshold) SetMessageInfo(info MessageInfo)
type AlertThresholdRepeating1 ¶
type AlertThresholdRepeating1 struct {
ParameterNumber *uint64 `json:"parameterNumber,omitempty" n2k:"11"`
TriggerMethod *uint64 `json:"triggerMethod,omitempty" n2k:"12"`
ThresholdDataFormat *uint64 `json:"thresholdDataFormat,omitempty" n2k:"13"`
ThresholdLevel *uint64 `json:"thresholdLevel,omitempty" n2k:"14"`
}
type AlertThresholdStatusConst ¶
type AlertThresholdStatusConst uint8
const ( Normal AlertThresholdStatusConst = 0 ThresholdExceeded AlertThresholdStatusConst = 1 ExtremeThresholdExceeded AlertThresholdStatusConst = 2 LowThresholdExceeded AlertThresholdStatusConst = 3 Acknowledged AlertThresholdStatusConst = 4 AwaitingAcknowledge AlertThresholdStatusConst = 5 )
func (AlertThresholdStatusConst) GoString ¶
func (e AlertThresholdStatusConst) GoString() string
func (AlertThresholdStatusConst) String ¶
func (e AlertThresholdStatusConst) String() string
type AlertTriggerConditionConst ¶
type AlertTriggerConditionConst uint8
const ( Manual_3 AlertTriggerConditionConst = 0 Auto_2 AlertTriggerConditionConst = 1 Test_2 AlertTriggerConditionConst = 2 Disabled AlertTriggerConditionConst = 3 )
func (AlertTriggerConditionConst) GoString ¶
func (e AlertTriggerConditionConst) GoString() string
func (AlertTriggerConditionConst) String ¶
func (e AlertTriggerConditionConst) String() string
type AlertTypeConst ¶
type AlertTypeConst uint8
const ( EmergencyAlarm AlertTypeConst = 1 Alarm AlertTypeConst = 2 Warning_2 AlertTypeConst = 5 Caution_2 AlertTypeConst = 8 )
func (AlertTypeConst) GoString ¶
func (e AlertTypeConst) GoString() string
func (AlertTypeConst) String ¶
func (e AlertTypeConst) String() string
type AlertValue ¶
type AlertValue struct {
Info MessageInfo `json:"info"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"1"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"2"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"3"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"4"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"5"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"7"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"8"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"10"`
Repeating1 []AlertValueRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AlertValue) DecodePayload ¶
func (m *AlertValue) DecodePayload(payload []uint8) error
func (*AlertValue) EncodePayload ¶
func (m *AlertValue) EncodePayload() ([]uint8, error)
func (*AlertValue) MessageInfo ¶
func (m *AlertValue) MessageInfo() MessageInfo
func (*AlertValue) PGNNumber ¶
func (m *AlertValue) PGNNumber() uint32
func (*AlertValue) SetMessageInfo ¶
func (m *AlertValue) SetMessageInfo(info MessageInfo)
type AlertValueRepeating1 ¶
type AltitudeDeltaRapidUpdate ¶
type AltitudeDeltaRapidUpdate struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
TimeDelta *uint64 `json:"timeDelta,omitempty" n2k:"2"`
GnssQuality *uint64 `json:"gnssQuality,omitempty" n2k:"3"`
Direction *uint64 `json:"direction,omitempty" n2k:"4"`
Cog *uint64 `json:"cog,omitempty" n2k:"6"`
AltitudeDelta *int64 `json:"altitudeDelta,omitempty" n2k:"7"`
}
func (*AltitudeDeltaRapidUpdate) AltitudeDeltaValue ¶
func (m *AltitudeDeltaRapidUpdate) AltitudeDeltaValue() (float64, bool)
AltitudeDeltaValue returns AltitudeDelta as a physical value in m (value = raw * 0.001). The bool is false when AltitudeDelta is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AltitudeDeltaRapidUpdate) CogValue ¶
func (m *AltitudeDeltaRapidUpdate) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AltitudeDeltaRapidUpdate) DecodePayload ¶
func (m *AltitudeDeltaRapidUpdate) DecodePayload(payload []uint8) error
func (*AltitudeDeltaRapidUpdate) EncodePayload ¶
func (m *AltitudeDeltaRapidUpdate) EncodePayload() ([]uint8, error)
func (*AltitudeDeltaRapidUpdate) MessageInfo ¶
func (m *AltitudeDeltaRapidUpdate) MessageInfo() MessageInfo
func (*AltitudeDeltaRapidUpdate) PGNNumber ¶
func (m *AltitudeDeltaRapidUpdate) PGNNumber() uint32
func (*AltitudeDeltaRapidUpdate) SetAltitudeDeltaValue ¶
func (m *AltitudeDeltaRapidUpdate) SetAltitudeDeltaValue(v float64)
SetAltitudeDeltaValue sets AltitudeDelta from a physical value in m, rounded to the nearest wire tick of 0.001.
func (*AltitudeDeltaRapidUpdate) SetCogValue ¶
func (m *AltitudeDeltaRapidUpdate) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*AltitudeDeltaRapidUpdate) SetMessageInfo ¶
func (m *AltitudeDeltaRapidUpdate) SetMessageInfo(info MessageInfo)
func (*AltitudeDeltaRapidUpdate) SetTimeDeltaValue ¶
func (m *AltitudeDeltaRapidUpdate) SetTimeDeltaValue(v float64)
SetTimeDeltaValue sets TimeDelta from a physical value in s, rounded to the nearest wire tick of 0.005.
func (*AltitudeDeltaRapidUpdate) TimeDeltaValue ¶
func (m *AltitudeDeltaRapidUpdate) TimeDeltaValue() (float64, bool)
TimeDeltaValue returns TimeDelta as a physical value in s (value = raw * 0.005). The bool is false when TimeDelta is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AnchorWindlassMonitoringStatus ¶
type AnchorWindlassMonitoringStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
WindlassId *uint64 `json:"windlassId,omitempty" n2k:"2"`
WindlassMonitoringEvents *uint64 `json:"windlassMonitoringEvents,omitempty" n2k:"3"`
ControllerVoltage *uint64 `json:"controllerVoltage,omitempty" n2k:"4"`
MotorCurrent *uint64 `json:"motorCurrent,omitempty" n2k:"5"`
TotalMotorTime *uint64 `json:"totalMotorTime,omitempty" n2k:"6"`
}
func (*AnchorWindlassMonitoringStatus) ControllerVoltageValue ¶
func (m *AnchorWindlassMonitoringStatus) ControllerVoltageValue() (float64, bool)
ControllerVoltageValue returns ControllerVoltage as a physical value in V (value = raw * 0.2). The bool is false when ControllerVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AnchorWindlassMonitoringStatus) DecodePayload ¶
func (m *AnchorWindlassMonitoringStatus) DecodePayload(payload []uint8) error
func (*AnchorWindlassMonitoringStatus) EncodePayload ¶
func (m *AnchorWindlassMonitoringStatus) EncodePayload() ([]uint8, error)
func (*AnchorWindlassMonitoringStatus) MessageInfo ¶
func (m *AnchorWindlassMonitoringStatus) MessageInfo() MessageInfo
func (*AnchorWindlassMonitoringStatus) MotorCurrentValue ¶
func (m *AnchorWindlassMonitoringStatus) MotorCurrentValue() (float64, bool)
MotorCurrentValue returns MotorCurrent as a physical value in A (value = raw). The bool is false when MotorCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AnchorWindlassMonitoringStatus) PGNNumber ¶
func (m *AnchorWindlassMonitoringStatus) PGNNumber() uint32
func (*AnchorWindlassMonitoringStatus) SetControllerVoltageValue ¶
func (m *AnchorWindlassMonitoringStatus) SetControllerVoltageValue(v float64)
SetControllerVoltageValue sets ControllerVoltage from a physical value in V, rounded to the nearest wire tick of 0.2.
func (*AnchorWindlassMonitoringStatus) SetMessageInfo ¶
func (m *AnchorWindlassMonitoringStatus) SetMessageInfo(info MessageInfo)
func (*AnchorWindlassMonitoringStatus) SetMotorCurrentValue ¶
func (m *AnchorWindlassMonitoringStatus) SetMotorCurrentValue(v float64)
SetMotorCurrentValue sets MotorCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*AnchorWindlassMonitoringStatus) SetTotalMotorTimeValue ¶
func (m *AnchorWindlassMonitoringStatus) SetTotalMotorTimeValue(v float64)
SetTotalMotorTimeValue sets TotalMotorTime from a physical value in s, rounded to the nearest wire tick of 60.
func (*AnchorWindlassMonitoringStatus) TotalMotorTimeValue ¶
func (m *AnchorWindlassMonitoringStatus) TotalMotorTimeValue() (float64, bool)
TotalMotorTimeValue returns TotalMotorTime as a physical value in s (value = raw * 60). The bool is false when TotalMotorTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AnchorWindlassOperatingStatus ¶
type AnchorWindlassOperatingStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
WindlassId *uint64 `json:"windlassId,omitempty" n2k:"2"`
WindlassDirectionControl *uint64 `json:"windlassDirectionControl,omitempty" n2k:"3"`
WindlassMotionStatus *uint64 `json:"windlassMotionStatus,omitempty" n2k:"4"`
RodeTypeStatus *uint64 `json:"rodeTypeStatus,omitempty" n2k:"5"`
RodeCounterValue *uint64 `json:"rodeCounterValue,omitempty" n2k:"7"`
WindlassLineSpeed *uint64 `json:"windlassLineSpeed,omitempty" n2k:"8"`
AnchorDockingStatus *uint64 `json:"anchorDockingStatus,omitempty" n2k:"9"`
WindlassOperatingEvents *uint64 `json:"windlassOperatingEvents,omitempty" n2k:"10"`
}
func (*AnchorWindlassOperatingStatus) DecodePayload ¶
func (m *AnchorWindlassOperatingStatus) DecodePayload(payload []uint8) error
func (*AnchorWindlassOperatingStatus) EncodePayload ¶
func (m *AnchorWindlassOperatingStatus) EncodePayload() ([]uint8, error)
func (*AnchorWindlassOperatingStatus) MessageInfo ¶
func (m *AnchorWindlassOperatingStatus) MessageInfo() MessageInfo
func (*AnchorWindlassOperatingStatus) PGNNumber ¶
func (m *AnchorWindlassOperatingStatus) PGNNumber() uint32
func (*AnchorWindlassOperatingStatus) RodeCounterValueValue ¶
func (m *AnchorWindlassOperatingStatus) RodeCounterValueValue() (float64, bool)
RodeCounterValueValue returns RodeCounterValue as a physical value in m (value = raw * 0.1). The bool is false when RodeCounterValue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*AnchorWindlassOperatingStatus) SetMessageInfo ¶
func (m *AnchorWindlassOperatingStatus) SetMessageInfo(info MessageInfo)
func (*AnchorWindlassOperatingStatus) SetRodeCounterValueValue ¶
func (m *AnchorWindlassOperatingStatus) SetRodeCounterValueValue(v float64)
SetRodeCounterValueValue sets RodeCounterValue from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*AnchorWindlassOperatingStatus) SetWindlassLineSpeedValue ¶
func (m *AnchorWindlassOperatingStatus) SetWindlassLineSpeedValue(v float64)
SetWindlassLineSpeedValue sets WindlassLineSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*AnchorWindlassOperatingStatus) WindlassLineSpeedValue ¶
func (m *AnchorWindlassOperatingStatus) WindlassLineSpeedValue() (float64, bool)
WindlassLineSpeedValue returns WindlassLineSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when WindlassLineSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AtonTypeConst ¶
type AtonTypeConst uint8
const ( DefaultTypeOfAtoNNotSpecified AtonTypeConst = 0 ReferencePoint AtonTypeConst = 1 RACON AtonTypeConst = 2 FixedStructureOffShore AtonTypeConst = 3 ReservedForFutureUse AtonTypeConst = 4 FixedLightWithoutSectors AtonTypeConst = 5 FixedLightWithSectors AtonTypeConst = 6 FixedLeadingLightFront AtonTypeConst = 7 FixedLeadingLightRear AtonTypeConst = 8 FixedBeaconCardinalN AtonTypeConst = 9 FixedBeaconCardinalE AtonTypeConst = 10 FixedBeaconCardinalS AtonTypeConst = 11 FixedBeaconCardinalW AtonTypeConst = 12 FixedBeaconPortHand AtonTypeConst = 13 FixedBeaconStarboardHand AtonTypeConst = 14 FixedBeaconPreferredChannelPortHand AtonTypeConst = 15 FixedBeaconPreferredChannelStarboardHand AtonTypeConst = 16 FixedBeaconIsolatedDanger AtonTypeConst = 17 FixedBeaconSafeWater AtonTypeConst = 18 FixedBeaconSpecialMark AtonTypeConst = 19 FloatingAtoNCardinalN AtonTypeConst = 20 FloatingAtoNCardinalE AtonTypeConst = 21 FloatingAtoNCardinalS AtonTypeConst = 22 FloatingAtoNCardinalW AtonTypeConst = 23 FloatingAtoNPortHandMark AtonTypeConst = 24 FloatingAtoNStarboardHandMark AtonTypeConst = 25 FloatingAtoNPreferredChannelPortHand AtonTypeConst = 26 FloatingAtoNPreferredChannelStarboardHand AtonTypeConst = 27 FloatingAtoNIsolatedDanger AtonTypeConst = 28 FloatingAtoNSafeWater AtonTypeConst = 29 FloatingAtoNSpecialMark AtonTypeConst = 30 FloatingAtoNLightVesselLANBYRigs AtonTypeConst = 31 )
func (AtonTypeConst) GoString ¶
func (e AtonTypeConst) GoString() string
func (AtonTypeConst) String ¶
func (e AtonTypeConst) String() string
type Attitude ¶
type Attitude struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Yaw *int64 `json:"yaw,omitempty" n2k:"2"`
Pitch *int64 `json:"pitch,omitempty" n2k:"3"`
Roll *int64 `json:"roll,omitempty" n2k:"4"`
}
func (*Attitude) DecodePayload ¶
func (*Attitude) EncodePayload ¶
func (*Attitude) MessageInfo ¶
func (m *Attitude) MessageInfo() MessageInfo
func (*Attitude) PitchValue ¶
PitchValue returns Pitch as a physical value in rad (value = raw * 0.0001). The bool is false when Pitch is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Attitude) RollValue ¶
RollValue returns Roll as a physical value in rad (value = raw * 0.0001). The bool is false when Roll is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Attitude) SetMessageInfo ¶
func (m *Attitude) SetMessageInfo(info MessageInfo)
func (*Attitude) SetPitchValue ¶
SetPitchValue sets Pitch from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*Attitude) SetRollValue ¶
SetRollValue sets Roll from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*Attitude) SetYawValue ¶
SetYawValue sets Yaw from a physical value in rad, rounded to the nearest wire tick of 0.0001.
type AvailableAudioEqPresets ¶
type AvailableAudioEqPresets struct {
Info MessageInfo `json:"info"`
FirstPreset *uint64 `json:"firstPreset,omitempty" n2k:"1"`
PresetCount *uint64 `json:"presetCount,omitempty" n2k:"2"`
TotalPresetCount *uint64 `json:"totalPresetCount,omitempty" n2k:"3"`
Repeating1 []AvailableAudioEqPresetsRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AvailableAudioEqPresets) DecodePayload ¶
func (m *AvailableAudioEqPresets) DecodePayload(payload []uint8) error
func (*AvailableAudioEqPresets) EncodePayload ¶
func (m *AvailableAudioEqPresets) EncodePayload() ([]uint8, error)
func (*AvailableAudioEqPresets) MessageInfo ¶
func (m *AvailableAudioEqPresets) MessageInfo() MessageInfo
func (*AvailableAudioEqPresets) PGNNumber ¶
func (m *AvailableAudioEqPresets) PGNNumber() uint32
func (*AvailableAudioEqPresets) SetMessageInfo ¶
func (m *AvailableAudioEqPresets) SetMessageInfo(info MessageInfo)
type AvailableBluetoothAddresses ¶
type AvailableBluetoothAddresses struct {
Info MessageInfo `json:"info"`
FirstAddress *uint64 `json:"firstAddress,omitempty" n2k:"1"`
AddressCount *uint64 `json:"addressCount,omitempty" n2k:"2"`
TotalAddressCount *uint64 `json:"totalAddressCount,omitempty" n2k:"3"`
Repeating1 []AvailableBluetoothAddressesRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*AvailableBluetoothAddresses) DecodePayload ¶
func (m *AvailableBluetoothAddresses) DecodePayload(payload []uint8) error
func (*AvailableBluetoothAddresses) EncodePayload ¶
func (m *AvailableBluetoothAddresses) EncodePayload() ([]uint8, error)
func (*AvailableBluetoothAddresses) MessageInfo ¶
func (m *AvailableBluetoothAddresses) MessageInfo() MessageInfo
func (*AvailableBluetoothAddresses) PGNNumber ¶
func (m *AvailableBluetoothAddresses) PGNNumber() uint32
func (*AvailableBluetoothAddresses) SetMessageInfo ¶
func (m *AvailableBluetoothAddresses) SetMessageInfo(info MessageInfo)
type AvailableBluetoothAddressesRepeating1 ¶
type AvailableBluetoothAddressesRepeating1 struct {
BluetoothAddress []uint8 `json:"bluetoothAddress,omitempty" n2k:"4"`
Status *uint64 `json:"status,omitempty" n2k:"5"`
DeviceName string `json:"deviceName,omitempty" n2k:"6"`
SignalStrength *uint64 `json:"signalStrength,omitempty" n2k:"7"`
}
func (*AvailableBluetoothAddressesRepeating1) SetSignalStrengthValue ¶
func (m *AvailableBluetoothAddressesRepeating1) SetSignalStrengthValue(v float64)
SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.
func (*AvailableBluetoothAddressesRepeating1) SignalStrengthValue ¶
func (m *AvailableBluetoothAddressesRepeating1) SignalStrengthValue() (float64, bool)
SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false when SignalStrength is nil: the wire carried the field's null sentinel or the payload ended before the field.
type AvailableConst ¶
type AvailableConst uint8
const ( Available AvailableConst = 0 NotAvailable_3 AvailableConst = 1 )
func (AvailableConst) GoString ¶
func (e AvailableConst) GoString() string
func (AvailableConst) String ¶
func (e AvailableConst) String() string
type BGKeyValueData ¶
type BGKeyValueData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Repeating1 []BGKeyValueDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*BGKeyValueData) DecodePayload ¶
func (m *BGKeyValueData) DecodePayload(payload []uint8) error
func (*BGKeyValueData) EncodePayload ¶
func (m *BGKeyValueData) EncodePayload() ([]uint8, error)
func (*BGKeyValueData) MessageInfo ¶
func (m *BGKeyValueData) MessageInfo() MessageInfo
func (*BGKeyValueData) PGNNumber ¶
func (m *BGKeyValueData) PGNNumber() uint32
func (*BGKeyValueData) SetMessageInfo ¶
func (m *BGKeyValueData) SetMessageInfo(info MessageInfo)
type BGProprietary ¶
type BGProprietary struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BGProprietary) DecodePayload ¶
func (m *BGProprietary) DecodePayload(payload []uint8) error
func (*BGProprietary) EncodePayload ¶
func (m *BGProprietary) EncodePayload() ([]uint8, error)
func (*BGProprietary) MessageInfo ¶
func (m *BGProprietary) MessageInfo() MessageInfo
func (*BGProprietary) PGNNumber ¶
func (m *BGProprietary) PGNNumber() uint32
func (*BGProprietary) SetMessageInfo ¶
func (m *BGProprietary) SetMessageInfo(info MessageInfo)
type BGUserAndRemoteRename ¶
type BGUserAndRemoteRename struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DataType *uint64 `json:"dataType,omitempty" n2k:"4"`
Length *uint64 `json:"length,omitempty" n2k:"5"`
Decimals *uint64 `json:"decimals,omitempty" n2k:"7"`
ShortName string `json:"shortName,omitempty" n2k:"8"`
LongName string `json:"longName,omitempty" n2k:"9"`
}
func (*BGUserAndRemoteRename) DecodePayload ¶
func (m *BGUserAndRemoteRename) DecodePayload(payload []uint8) error
func (*BGUserAndRemoteRename) EncodePayload ¶
func (m *BGUserAndRemoteRename) EncodePayload() ([]uint8, error)
func (*BGUserAndRemoteRename) MessageInfo ¶
func (m *BGUserAndRemoteRename) MessageInfo() MessageInfo
func (*BGUserAndRemoteRename) PGNNumber ¶
func (m *BGUserAndRemoteRename) PGNNumber() uint32
func (*BGUserAndRemoteRename) SetMessageInfo ¶
func (m *BGUserAndRemoteRename) SetMessageInfo(info MessageInfo)
type BandgDecimalsConst ¶
type BandgDecimalsConst uint8
const ( A0_2 BandgDecimalsConst = 0 A1_2 BandgDecimalsConst = 1 A2_2 BandgDecimalsConst = 2 A3_2 BandgDecimalsConst = 3 A4_2 BandgDecimalsConst = 4 Auto_5 BandgDecimalsConst = 254 )
func (BandgDecimalsConst) GoString ¶
func (e BandgDecimalsConst) GoString() string
func (BandgDecimalsConst) String ¶
func (e BandgDecimalsConst) String() string
type BandgKeyValueConst ¶
type BandgKeyValueConst uint16
type BatteryChemistryConst ¶
type BatteryChemistryConst uint8
const ( PbLead BatteryChemistryConst = 0 Li BatteryChemistryConst = 1 NiCd BatteryChemistryConst = 2 ZnO BatteryChemistryConst = 3 NiMH BatteryChemistryConst = 4 )
func (BatteryChemistryConst) GoString ¶
func (e BatteryChemistryConst) GoString() string
func (BatteryChemistryConst) String ¶
func (e BatteryChemistryConst) String() string
type BatteryConfigurationStatus ¶
type BatteryConfigurationStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
BatteryType *uint64 `json:"batteryType,omitempty" n2k:"2"`
SupportsEqualization *uint64 `json:"supportsEqualization,omitempty" n2k:"3"`
NominalVoltage *uint64 `json:"nominalVoltage,omitempty" n2k:"5"`
Chemistry *uint64 `json:"chemistry,omitempty" n2k:"6"`
Capacity *uint64 `json:"capacity,omitempty" n2k:"7"`
TemperatureCoefficient *int64 `json:"temperatureCoefficient,omitempty" n2k:"8"`
PeukertExponent *uint64 `json:"peukertExponent,omitempty" n2k:"9"`
ChargeEfficiencyFactor *int64 `json:"chargeEfficiencyFactor,omitempty" n2k:"10"`
}
func (*BatteryConfigurationStatus) CapacityValue ¶
func (m *BatteryConfigurationStatus) CapacityValue() (float64, bool)
CapacityValue returns Capacity as a physical value in Ah (value = raw). The bool is false when Capacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BatteryConfigurationStatus) ChargeEfficiencyFactorValue ¶
func (m *BatteryConfigurationStatus) ChargeEfficiencyFactorValue() (float64, bool)
ChargeEfficiencyFactorValue returns ChargeEfficiencyFactor as a physical value in % (value = raw). The bool is false when ChargeEfficiencyFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BatteryConfigurationStatus) DecodePayload ¶
func (m *BatteryConfigurationStatus) DecodePayload(payload []uint8) error
func (*BatteryConfigurationStatus) EncodePayload ¶
func (m *BatteryConfigurationStatus) EncodePayload() ([]uint8, error)
func (*BatteryConfigurationStatus) MessageInfo ¶
func (m *BatteryConfigurationStatus) MessageInfo() MessageInfo
func (*BatteryConfigurationStatus) PGNNumber ¶
func (m *BatteryConfigurationStatus) PGNNumber() uint32
func (*BatteryConfigurationStatus) PeukertExponentValue ¶
func (m *BatteryConfigurationStatus) PeukertExponentValue() (float64, bool)
PeukertExponentValue returns PeukertExponent as a physical value (value = raw * 0.002 + 1). The bool is false when PeukertExponent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BatteryConfigurationStatus) SetCapacityValue ¶
func (m *BatteryConfigurationStatus) SetCapacityValue(v float64)
SetCapacityValue sets Capacity from a physical value in Ah, rounded to the nearest wire tick of 1.
func (*BatteryConfigurationStatus) SetChargeEfficiencyFactorValue ¶
func (m *BatteryConfigurationStatus) SetChargeEfficiencyFactorValue(v float64)
SetChargeEfficiencyFactorValue sets ChargeEfficiencyFactor from a physical value in %, rounded to the nearest wire tick of 1.
func (*BatteryConfigurationStatus) SetMessageInfo ¶
func (m *BatteryConfigurationStatus) SetMessageInfo(info MessageInfo)
func (*BatteryConfigurationStatus) SetPeukertExponentValue ¶
func (m *BatteryConfigurationStatus) SetPeukertExponentValue(v float64)
SetPeukertExponentValue sets PeukertExponent from a physical value, rounded to the nearest wire tick of 0.002.
func (*BatteryConfigurationStatus) SetTemperatureCoefficientValue ¶
func (m *BatteryConfigurationStatus) SetTemperatureCoefficientValue(v float64)
SetTemperatureCoefficientValue sets TemperatureCoefficient from a physical value in %, rounded to the nearest wire tick of 1.
func (*BatteryConfigurationStatus) TemperatureCoefficientValue ¶
func (m *BatteryConfigurationStatus) TemperatureCoefficientValue() (float64, bool)
TemperatureCoefficientValue returns TemperatureCoefficient as a physical value in % (value = raw). The bool is false when TemperatureCoefficient is nil: the wire carried the field's null sentinel or the payload ended before the field.
type BatteryStatus ¶
type BatteryStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
Voltage *int64 `json:"voltage,omitempty" n2k:"2"`
Current *int64 `json:"current,omitempty" n2k:"3"`
Temperature *uint64 `json:"temperature,omitempty" n2k:"4"`
Sid *uint64 `json:"sid,omitempty" n2k:"5"`
}
func (*BatteryStatus) CurrentValue ¶
func (m *BatteryStatus) CurrentValue() (float64, bool)
CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false when Current is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BatteryStatus) DecodePayload ¶
func (m *BatteryStatus) DecodePayload(payload []uint8) error
func (*BatteryStatus) EncodePayload ¶
func (m *BatteryStatus) EncodePayload() ([]uint8, error)
func (*BatteryStatus) MessageInfo ¶
func (m *BatteryStatus) MessageInfo() MessageInfo
func (*BatteryStatus) PGNNumber ¶
func (m *BatteryStatus) PGNNumber() uint32
func (*BatteryStatus) SetCurrentValue ¶
func (m *BatteryStatus) SetCurrentValue(v float64)
SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*BatteryStatus) SetMessageInfo ¶
func (m *BatteryStatus) SetMessageInfo(info MessageInfo)
func (*BatteryStatus) SetTemperatureValue ¶
func (m *BatteryStatus) SetTemperatureValue(v float64)
SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*BatteryStatus) SetVoltageValue ¶
func (m *BatteryStatus) SetVoltageValue(v float64)
SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*BatteryStatus) TemperatureValue ¶
func (m *BatteryStatus) TemperatureValue() (float64, bool)
TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false when Temperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BatteryStatus) VoltageValue ¶
func (m *BatteryStatus) VoltageValue() (float64, bool)
VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false when Voltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type BatteryTypeConst ¶
type BatteryTypeConst uint8
const ( Flooded BatteryTypeConst = 0 Gel BatteryTypeConst = 1 AGM BatteryTypeConst = 2 )
func (BatteryTypeConst) GoString ¶
func (e BatteryTypeConst) GoString() string
func (BatteryTypeConst) String ¶
func (e BatteryTypeConst) String() string
type BatteryVoltageConst ¶
type BatteryVoltageConst uint8
const ( A6V BatteryVoltageConst = 0 A12V BatteryVoltageConst = 1 A24V BatteryVoltageConst = 2 A32V BatteryVoltageConst = 3 A36V BatteryVoltageConst = 4 A42V BatteryVoltageConst = 5 A48V BatteryVoltageConst = 6 )
func (BatteryVoltageConst) GoString ¶
func (e BatteryVoltageConst) GoString() string
func (BatteryVoltageConst) String ¶
func (e BatteryVoltageConst) String() string
type BearingAndDistanceBetweenTwoMarks ¶
type BearingAndDistanceBetweenTwoMarks struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
BearingReference *uint64 `json:"bearingReference,omitempty" n2k:"2"`
CalculationType *uint64 `json:"calculationType,omitempty" n2k:"3"`
BearingOriginToDestination *uint64 `json:"bearingOriginToDestination,omitempty" n2k:"5"`
Distance *uint64 `json:"distance,omitempty" n2k:"6"`
OriginMarkType *uint64 `json:"originMarkType,omitempty" n2k:"7"`
DestinationMarkType *uint64 `json:"destinationMarkType,omitempty" n2k:"8"`
OriginMarkId *uint64 `json:"originMarkId,omitempty" n2k:"9"`
DestinationMarkId *uint64 `json:"destinationMarkId,omitempty" n2k:"10"`
}
func (*BearingAndDistanceBetweenTwoMarks) BearingOriginToDestinationValue ¶
func (m *BearingAndDistanceBetweenTwoMarks) BearingOriginToDestinationValue() (float64, bool)
BearingOriginToDestinationValue returns BearingOriginToDestination as a physical value in rad (value = raw * 0.0001). The bool is false when BearingOriginToDestination is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BearingAndDistanceBetweenTwoMarks) DecodePayload ¶
func (m *BearingAndDistanceBetweenTwoMarks) DecodePayload(payload []uint8) error
func (*BearingAndDistanceBetweenTwoMarks) DistanceValue ¶
func (m *BearingAndDistanceBetweenTwoMarks) DistanceValue() (float64, bool)
DistanceValue returns Distance as a physical value in m (value = raw * 0.01). The bool is false when Distance is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*BearingAndDistanceBetweenTwoMarks) EncodePayload ¶
func (m *BearingAndDistanceBetweenTwoMarks) EncodePayload() ([]uint8, error)
func (*BearingAndDistanceBetweenTwoMarks) MessageInfo ¶
func (m *BearingAndDistanceBetweenTwoMarks) MessageInfo() MessageInfo
func (*BearingAndDistanceBetweenTwoMarks) PGNNumber ¶
func (m *BearingAndDistanceBetweenTwoMarks) PGNNumber() uint32
func (*BearingAndDistanceBetweenTwoMarks) SetBearingOriginToDestinationValue ¶
func (m *BearingAndDistanceBetweenTwoMarks) SetBearingOriginToDestinationValue(v float64)
SetBearingOriginToDestinationValue sets BearingOriginToDestination from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*BearingAndDistanceBetweenTwoMarks) SetDistanceValue ¶
func (m *BearingAndDistanceBetweenTwoMarks) SetDistanceValue(v float64)
SetDistanceValue sets Distance from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*BearingAndDistanceBetweenTwoMarks) SetMessageInfo ¶
func (m *BearingAndDistanceBetweenTwoMarks) SetMessageInfo(info MessageInfo)
type BearingModeConst ¶
type BearingModeConst uint8
const ( GreatCircle BearingModeConst = 0 Rhumbline BearingModeConst = 1 )
func (BearingModeConst) GoString ¶
func (e BearingModeConst) GoString() string
func (BearingModeConst) String ¶
func (e BearingModeConst) String() string
type BepMarineCzone65301 ¶
type BepMarineCzone65301 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Field1 *uint64 `json:"field1,omitempty" n2k:"4"`
Field2 *uint64 `json:"field2,omitempty" n2k:"5"`
Field3 *uint64 `json:"field3,omitempty" n2k:"6"`
StatusBitmap []uint8 `json:"statusBitmap,omitempty" n2k:"7"`
}
func (*BepMarineCzone65301) DecodePayload ¶
func (m *BepMarineCzone65301) DecodePayload(payload []uint8) error
func (*BepMarineCzone65301) EncodePayload ¶
func (m *BepMarineCzone65301) EncodePayload() ([]uint8, error)
func (*BepMarineCzone65301) MessageInfo ¶
func (m *BepMarineCzone65301) MessageInfo() MessageInfo
func (*BepMarineCzone65301) PGNNumber ¶
func (m *BepMarineCzone65301) PGNNumber() uint32
func (*BepMarineCzone65301) SetMessageInfo ¶
func (m *BepMarineCzone65301) SetMessageInfo(info MessageInfo)
type BepMarineCzone130819 ¶
type BepMarineCzone130819 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
FieldA *uint64 `json:"fieldA,omitempty" n2k:"4"`
FieldB *uint64 `json:"fieldB,omitempty" n2k:"5"`
FieldC *uint64 `json:"fieldC,omitempty" n2k:"6"`
FieldD *uint64 `json:"fieldD,omitempty" n2k:"7"`
FieldE *uint64 `json:"fieldE,omitempty" n2k:"8"`
FieldF *uint64 `json:"fieldF,omitempty" n2k:"9"`
FieldG *uint64 `json:"fieldG,omitempty" n2k:"10"`
Flag *uint64 `json:"flag,omitempty" n2k:"11"`
}
func (*BepMarineCzone130819) DecodePayload ¶
func (m *BepMarineCzone130819) DecodePayload(payload []uint8) error
func (*BepMarineCzone130819) EncodePayload ¶
func (m *BepMarineCzone130819) EncodePayload() ([]uint8, error)
func (*BepMarineCzone130819) MessageInfo ¶
func (m *BepMarineCzone130819) MessageInfo() MessageInfo
func (*BepMarineCzone130819) PGNNumber ¶
func (m *BepMarineCzone130819) PGNNumber() uint32
func (*BepMarineCzone130819) SetMessageInfo ¶
func (m *BepMarineCzone130819) SetMessageInfo(info MessageInfo)
type BepMarineCzoneAlarm ¶
type BepMarineCzoneAlarm struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DeviceId *uint64 `json:"deviceId,omitempty" n2k:"4"`
Channel *uint64 `json:"channel,omitempty" n2k:"5"`
AlarmType *uint64 `json:"alarmType,omitempty" n2k:"6"`
SeverityCode *uint64 `json:"severityCode,omitempty" n2k:"7"`
StateFlag *uint64 `json:"stateFlag,omitempty" n2k:"8"`
AckFlag *uint64 `json:"ackFlag,omitempty" n2k:"9"`
}
func (*BepMarineCzoneAlarm) DecodePayload ¶
func (m *BepMarineCzoneAlarm) DecodePayload(payload []uint8) error
func (*BepMarineCzoneAlarm) EncodePayload ¶
func (m *BepMarineCzoneAlarm) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneAlarm) MessageInfo ¶
func (m *BepMarineCzoneAlarm) MessageInfo() MessageInfo
func (*BepMarineCzoneAlarm) PGNNumber ¶
func (m *BepMarineCzoneAlarm) PGNNumber() uint32
func (*BepMarineCzoneAlarm) SetMessageInfo ¶
func (m *BepMarineCzoneAlarm) SetMessageInfo(info MessageInfo)
type BepMarineCzoneAlarmEvent ¶
type BepMarineCzoneAlarmEvent struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Dipswitch *uint64 `json:"dipswitch,omitempty" n2k:"5"`
}
func (*BepMarineCzoneAlarmEvent) DecodePayload ¶
func (m *BepMarineCzoneAlarmEvent) DecodePayload(payload []uint8) error
func (*BepMarineCzoneAlarmEvent) EncodePayload ¶
func (m *BepMarineCzoneAlarmEvent) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneAlarmEvent) MessageInfo ¶
func (m *BepMarineCzoneAlarmEvent) MessageInfo() MessageInfo
func (*BepMarineCzoneAlarmEvent) PGNNumber ¶
func (m *BepMarineCzoneAlarmEvent) PGNNumber() uint32
func (*BepMarineCzoneAlarmEvent) SetMessageInfo ¶
func (m *BepMarineCzoneAlarmEvent) SetMessageInfo(info MessageInfo)
type BepMarineCzoneAlarmStringRequest ¶
type BepMarineCzoneAlarmStringRequest struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DeviceId *uint64 `json:"deviceId,omitempty" n2k:"4"`
Channel *uint64 `json:"channel,omitempty" n2k:"5"`
Padding []uint8 `json:"padding,omitempty" n2k:"6"`
}
func (*BepMarineCzoneAlarmStringRequest) DecodePayload ¶
func (m *BepMarineCzoneAlarmStringRequest) DecodePayload(payload []uint8) error
func (*BepMarineCzoneAlarmStringRequest) EncodePayload ¶
func (m *BepMarineCzoneAlarmStringRequest) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneAlarmStringRequest) MessageInfo ¶
func (m *BepMarineCzoneAlarmStringRequest) MessageInfo() MessageInfo
func (*BepMarineCzoneAlarmStringRequest) PGNNumber ¶
func (m *BepMarineCzoneAlarmStringRequest) PGNNumber() uint32
func (*BepMarineCzoneAlarmStringRequest) SetMessageInfo ¶
func (m *BepMarineCzoneAlarmStringRequest) SetMessageInfo(info MessageInfo)
type BepMarineCzoneAlarmStringResponse ¶
type BepMarineCzoneAlarmStringResponse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DeviceId *uint64 `json:"deviceId,omitempty" n2k:"4"`
Channel *uint64 `json:"channel,omitempty" n2k:"5"`
String []uint8 `json:"string,omitempty" n2k:"6"`
}
func (*BepMarineCzoneAlarmStringResponse) DecodePayload ¶
func (m *BepMarineCzoneAlarmStringResponse) DecodePayload(payload []uint8) error
func (*BepMarineCzoneAlarmStringResponse) EncodePayload ¶
func (m *BepMarineCzoneAlarmStringResponse) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneAlarmStringResponse) MessageInfo ¶
func (m *BepMarineCzoneAlarmStringResponse) MessageInfo() MessageInfo
func (*BepMarineCzoneAlarmStringResponse) PGNNumber ¶
func (m *BepMarineCzoneAlarmStringResponse) PGNNumber() uint32
func (*BepMarineCzoneAlarmStringResponse) SetMessageInfo ¶
func (m *BepMarineCzoneAlarmStringResponse) SetMessageInfo(info MessageInfo)
type BepMarineCzoneChannelState ¶
type BepMarineCzoneChannelState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Dipswitch *uint64 `json:"dipswitch,omitempty" n2k:"4"`
Channel0Mode *uint64 `json:"channel0Mode,omitempty" n2k:"5"`
Channel1Mode *uint64 `json:"channel1Mode,omitempty" n2k:"6"`
Channel2Mode *uint64 `json:"channel2Mode,omitempty" n2k:"7"`
Channel3Mode *uint64 `json:"channel3Mode,omitempty" n2k:"8"`
Channel4Mode *uint64 `json:"channel4Mode,omitempty" n2k:"9"`
Channel5Mode *uint64 `json:"channel5Mode,omitempty" n2k:"10"`
Channel0Value *uint64 `json:"channel0Value,omitempty" n2k:"11"`
Channel1Value *uint64 `json:"channel1Value,omitempty" n2k:"12"`
Channel2Value *uint64 `json:"channel2Value,omitempty" n2k:"13"`
Channel3Value *uint64 `json:"channel3Value,omitempty" n2k:"14"`
Channel4Value *uint64 `json:"channel4Value,omitempty" n2k:"15"`
Channel5Value *uint64 `json:"channel5Value,omitempty" n2k:"16"`
Flag *uint64 `json:"flag,omitempty" n2k:"17"`
}
func (*BepMarineCzoneChannelState) DecodePayload ¶
func (m *BepMarineCzoneChannelState) DecodePayload(payload []uint8) error
func (*BepMarineCzoneChannelState) EncodePayload ¶
func (m *BepMarineCzoneChannelState) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneChannelState) MessageInfo ¶
func (m *BepMarineCzoneChannelState) MessageInfo() MessageInfo
func (*BepMarineCzoneChannelState) PGNNumber ¶
func (m *BepMarineCzoneChannelState) PGNNumber() uint32
func (*BepMarineCzoneChannelState) SetMessageInfo ¶
func (m *BepMarineCzoneChannelState) SetMessageInfo(info MessageInfo)
type BepMarineCzoneCircuitControl ¶
type BepMarineCzoneCircuitControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
CircuitId *uint64 `json:"circuitId,omitempty" n2k:"4"`
FieldB *uint64 `json:"fieldB,omitempty" n2k:"5"`
LevelOrValue *uint64 `json:"levelOrValue,omitempty" n2k:"6"`
UnknownA *uint64 `json:"unknownA,omitempty" n2k:"7"`
CommandActive *uint64 `json:"commandActive,omitempty" n2k:"8"`
UnknownB *uint64 `json:"unknownB,omitempty" n2k:"9"`
UnknownC *uint64 `json:"unknownC,omitempty" n2k:"10"`
UnknownD *uint64 `json:"unknownD,omitempty" n2k:"11"`
UnknownE *uint64 `json:"unknownE,omitempty" n2k:"12"`
UnknownF *uint64 `json:"unknownF,omitempty" n2k:"13"`
}
func (*BepMarineCzoneCircuitControl) DecodePayload ¶
func (m *BepMarineCzoneCircuitControl) DecodePayload(payload []uint8) error
func (*BepMarineCzoneCircuitControl) EncodePayload ¶
func (m *BepMarineCzoneCircuitControl) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneCircuitControl) MessageInfo ¶
func (m *BepMarineCzoneCircuitControl) MessageInfo() MessageInfo
func (*BepMarineCzoneCircuitControl) PGNNumber ¶
func (m *BepMarineCzoneCircuitControl) PGNNumber() uint32
func (*BepMarineCzoneCircuitControl) SetMessageInfo ¶
func (m *BepMarineCzoneCircuitControl) SetMessageInfo(info MessageInfo)
type BepMarineCzoneCircuitStatus ¶
type BepMarineCzoneCircuitStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Dipswitch *uint64 `json:"dipswitch,omitempty" n2k:"4"`
Type *uint64 `json:"type,omitempty" n2k:"5"`
Bitmap []uint8 `json:"bitmap,omitempty" n2k:"6"`
}
func (*BepMarineCzoneCircuitStatus) DecodePayload ¶
func (m *BepMarineCzoneCircuitStatus) DecodePayload(payload []uint8) error
func (*BepMarineCzoneCircuitStatus) EncodePayload ¶
func (m *BepMarineCzoneCircuitStatus) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneCircuitStatus) MessageInfo ¶
func (m *BepMarineCzoneCircuitStatus) MessageInfo() MessageInfo
func (*BepMarineCzoneCircuitStatus) PGNNumber ¶
func (m *BepMarineCzoneCircuitStatus) PGNNumber() uint32
func (*BepMarineCzoneCircuitStatus) SetMessageInfo ¶
func (m *BepMarineCzoneCircuitStatus) SetMessageInfo(info MessageInfo)
type BepMarineCzoneModuleAnnounce ¶
type BepMarineCzoneModuleAnnounce struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Unique *uint64 `json:"unique,omitempty" n2k:"4"`
FieldB *uint64 `json:"fieldB,omitempty" n2k:"5"`
FieldC *uint64 `json:"fieldC,omitempty" n2k:"6"`
Dipswitch *uint64 `json:"dipswitch,omitempty" n2k:"7"`
}
func (*BepMarineCzoneModuleAnnounce) DecodePayload ¶
func (m *BepMarineCzoneModuleAnnounce) DecodePayload(payload []uint8) error
func (*BepMarineCzoneModuleAnnounce) EncodePayload ¶
func (m *BepMarineCzoneModuleAnnounce) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneModuleAnnounce) MessageInfo ¶
func (m *BepMarineCzoneModuleAnnounce) MessageInfo() MessageInfo
func (*BepMarineCzoneModuleAnnounce) PGNNumber ¶
func (m *BepMarineCzoneModuleAnnounce) PGNNumber() uint32
func (*BepMarineCzoneModuleAnnounce) SetMessageInfo ¶
func (m *BepMarineCzoneModuleAnnounce) SetMessageInfo(info MessageInfo)
type BepMarineCzoneStatusExtended ¶
type BepMarineCzoneStatusExtended struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Page *uint64 `json:"page,omitempty" n2k:"4"`
Dipswitch *uint64 `json:"dipswitch,omitempty" n2k:"5"`
Records []uint8 `json:"records,omitempty" n2k:"6"`
}
func (*BepMarineCzoneStatusExtended) DecodePayload ¶
func (m *BepMarineCzoneStatusExtended) DecodePayload(payload []uint8) error
func (*BepMarineCzoneStatusExtended) EncodePayload ¶
func (m *BepMarineCzoneStatusExtended) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneStatusExtended) MessageInfo ¶
func (m *BepMarineCzoneStatusExtended) MessageInfo() MessageInfo
func (*BepMarineCzoneStatusExtended) PGNNumber ¶
func (m *BepMarineCzoneStatusExtended) PGNNumber() uint32
func (*BepMarineCzoneStatusExtended) SetMessageInfo ¶
func (m *BepMarineCzoneStatusExtended) SetMessageInfo(info MessageInfo)
type BepMarineCzoneZcfBusDistribution ¶
type BepMarineCzoneZcfBusDistribution struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ChunkIndex *uint64 `json:"chunkIndex,omitempty" n2k:"4"`
Flag *uint64 `json:"flag,omitempty" n2k:"5"`
Data []uint8 `json:"data,omitempty" n2k:"7"`
}
func (*BepMarineCzoneZcfBusDistribution) DecodePayload ¶
func (m *BepMarineCzoneZcfBusDistribution) DecodePayload(payload []uint8) error
func (*BepMarineCzoneZcfBusDistribution) EncodePayload ¶
func (m *BepMarineCzoneZcfBusDistribution) EncodePayload() ([]uint8, error)
func (*BepMarineCzoneZcfBusDistribution) MessageInfo ¶
func (m *BepMarineCzoneZcfBusDistribution) MessageInfo() MessageInfo
func (*BepMarineCzoneZcfBusDistribution) PGNNumber ¶
func (m *BepMarineCzoneZcfBusDistribution) PGNNumber() uint32
func (*BepMarineCzoneZcfBusDistribution) SetMessageInfo ¶
func (m *BepMarineCzoneZcfBusDistribution) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65281 ¶
type BepMarineProprietaryPgn65281 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65281) DecodePayload ¶
func (m *BepMarineProprietaryPgn65281) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65281) EncodePayload ¶
func (m *BepMarineProprietaryPgn65281) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65281) MessageInfo ¶
func (m *BepMarineProprietaryPgn65281) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65281) PGNNumber ¶
func (m *BepMarineProprietaryPgn65281) PGNNumber() uint32
func (*BepMarineProprietaryPgn65281) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65281) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65294 ¶
type BepMarineProprietaryPgn65294 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65294) DecodePayload ¶
func (m *BepMarineProprietaryPgn65294) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65294) EncodePayload ¶
func (m *BepMarineProprietaryPgn65294) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65294) MessageInfo ¶
func (m *BepMarineProprietaryPgn65294) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65294) PGNNumber ¶
func (m *BepMarineProprietaryPgn65294) PGNNumber() uint32
func (*BepMarineProprietaryPgn65294) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65294) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65296 ¶
type BepMarineProprietaryPgn65296 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65296) DecodePayload ¶
func (m *BepMarineProprietaryPgn65296) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65296) EncodePayload ¶
func (m *BepMarineProprietaryPgn65296) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65296) MessageInfo ¶
func (m *BepMarineProprietaryPgn65296) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65296) PGNNumber ¶
func (m *BepMarineProprietaryPgn65296) PGNNumber() uint32
func (*BepMarineProprietaryPgn65296) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65296) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65297 ¶
type BepMarineProprietaryPgn65297 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65297) DecodePayload ¶
func (m *BepMarineProprietaryPgn65297) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65297) EncodePayload ¶
func (m *BepMarineProprietaryPgn65297) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65297) MessageInfo ¶
func (m *BepMarineProprietaryPgn65297) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65297) PGNNumber ¶
func (m *BepMarineProprietaryPgn65297) PGNNumber() uint32
func (*BepMarineProprietaryPgn65297) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65297) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65300 ¶
type BepMarineProprietaryPgn65300 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65300) DecodePayload ¶
func (m *BepMarineProprietaryPgn65300) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65300) EncodePayload ¶
func (m *BepMarineProprietaryPgn65300) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65300) MessageInfo ¶
func (m *BepMarineProprietaryPgn65300) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65300) PGNNumber ¶
func (m *BepMarineProprietaryPgn65300) PGNNumber() uint32
func (*BepMarineProprietaryPgn65300) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65300) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65304 ¶
type BepMarineProprietaryPgn65304 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65304) DecodePayload ¶
func (m *BepMarineProprietaryPgn65304) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65304) EncodePayload ¶
func (m *BepMarineProprietaryPgn65304) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65304) MessageInfo ¶
func (m *BepMarineProprietaryPgn65304) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65304) PGNNumber ¶
func (m *BepMarineProprietaryPgn65304) PGNNumber() uint32
func (*BepMarineProprietaryPgn65304) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65304) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65306 ¶
type BepMarineProprietaryPgn65306 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65306) DecodePayload ¶
func (m *BepMarineProprietaryPgn65306) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65306) EncodePayload ¶
func (m *BepMarineProprietaryPgn65306) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65306) MessageInfo ¶
func (m *BepMarineProprietaryPgn65306) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65306) PGNNumber ¶
func (m *BepMarineProprietaryPgn65306) PGNNumber() uint32
func (*BepMarineProprietaryPgn65306) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65306) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65308 ¶
type BepMarineProprietaryPgn65308 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65308) DecodePayload ¶
func (m *BepMarineProprietaryPgn65308) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65308) EncodePayload ¶
func (m *BepMarineProprietaryPgn65308) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65308) MessageInfo ¶
func (m *BepMarineProprietaryPgn65308) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65308) PGNNumber ¶
func (m *BepMarineProprietaryPgn65308) PGNNumber() uint32
func (*BepMarineProprietaryPgn65308) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65308) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65310 ¶
type BepMarineProprietaryPgn65310 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65310) DecodePayload ¶
func (m *BepMarineProprietaryPgn65310) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65310) EncodePayload ¶
func (m *BepMarineProprietaryPgn65310) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65310) MessageInfo ¶
func (m *BepMarineProprietaryPgn65310) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65310) PGNNumber ¶
func (m *BepMarineProprietaryPgn65310) PGNNumber() uint32
func (*BepMarineProprietaryPgn65310) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65310) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65311 ¶
type BepMarineProprietaryPgn65311 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65311) DecodePayload ¶
func (m *BepMarineProprietaryPgn65311) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65311) EncodePayload ¶
func (m *BepMarineProprietaryPgn65311) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65311) MessageInfo ¶
func (m *BepMarineProprietaryPgn65311) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65311) PGNNumber ¶
func (m *BepMarineProprietaryPgn65311) PGNNumber() uint32
func (*BepMarineProprietaryPgn65311) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65311) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65314 ¶
type BepMarineProprietaryPgn65314 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65314) DecodePayload ¶
func (m *BepMarineProprietaryPgn65314) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65314) EncodePayload ¶
func (m *BepMarineProprietaryPgn65314) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65314) MessageInfo ¶
func (m *BepMarineProprietaryPgn65314) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65314) PGNNumber ¶
func (m *BepMarineProprietaryPgn65314) PGNNumber() uint32
func (*BepMarineProprietaryPgn65314) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65314) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65316 ¶
type BepMarineProprietaryPgn65316 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65316) DecodePayload ¶
func (m *BepMarineProprietaryPgn65316) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65316) EncodePayload ¶
func (m *BepMarineProprietaryPgn65316) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65316) MessageInfo ¶
func (m *BepMarineProprietaryPgn65316) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65316) PGNNumber ¶
func (m *BepMarineProprietaryPgn65316) PGNNumber() uint32
func (*BepMarineProprietaryPgn65316) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65316) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn65325 ¶
type BepMarineProprietaryPgn65325 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn65325) DecodePayload ¶
func (m *BepMarineProprietaryPgn65325) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn65325) EncodePayload ¶
func (m *BepMarineProprietaryPgn65325) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn65325) MessageInfo ¶
func (m *BepMarineProprietaryPgn65325) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn65325) PGNNumber ¶
func (m *BepMarineProprietaryPgn65325) PGNNumber() uint32
func (*BepMarineProprietaryPgn65325) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn65325) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn130818 ¶
type BepMarineProprietaryPgn130818 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn130818) DecodePayload ¶
func (m *BepMarineProprietaryPgn130818) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn130818) EncodePayload ¶
func (m *BepMarineProprietaryPgn130818) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn130818) MessageInfo ¶
func (m *BepMarineProprietaryPgn130818) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn130818) PGNNumber ¶
func (m *BepMarineProprietaryPgn130818) PGNNumber() uint32
func (*BepMarineProprietaryPgn130818) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn130818) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn130821 ¶
type BepMarineProprietaryPgn130821 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn130821) DecodePayload ¶
func (m *BepMarineProprietaryPgn130821) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn130821) EncodePayload ¶
func (m *BepMarineProprietaryPgn130821) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn130821) MessageInfo ¶
func (m *BepMarineProprietaryPgn130821) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn130821) PGNNumber ¶
func (m *BepMarineProprietaryPgn130821) PGNNumber() uint32
func (*BepMarineProprietaryPgn130821) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn130821) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn130822 ¶
type BepMarineProprietaryPgn130822 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn130822) DecodePayload ¶
func (m *BepMarineProprietaryPgn130822) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn130822) EncodePayload ¶
func (m *BepMarineProprietaryPgn130822) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn130822) MessageInfo ¶
func (m *BepMarineProprietaryPgn130822) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn130822) PGNNumber ¶
func (m *BepMarineProprietaryPgn130822) PGNNumber() uint32
func (*BepMarineProprietaryPgn130822) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn130822) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn130825 ¶
type BepMarineProprietaryPgn130825 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn130825) DecodePayload ¶
func (m *BepMarineProprietaryPgn130825) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn130825) EncodePayload ¶
func (m *BepMarineProprietaryPgn130825) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn130825) MessageInfo ¶
func (m *BepMarineProprietaryPgn130825) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn130825) PGNNumber ¶
func (m *BepMarineProprietaryPgn130825) PGNNumber() uint32
func (*BepMarineProprietaryPgn130825) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn130825) SetMessageInfo(info MessageInfo)
type BepMarineProprietaryPgn130826 ¶
type BepMarineProprietaryPgn130826 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*BepMarineProprietaryPgn130826) DecodePayload ¶
func (m *BepMarineProprietaryPgn130826) DecodePayload(payload []uint8) error
func (*BepMarineProprietaryPgn130826) EncodePayload ¶
func (m *BepMarineProprietaryPgn130826) EncodePayload() ([]uint8, error)
func (*BepMarineProprietaryPgn130826) MessageInfo ¶
func (m *BepMarineProprietaryPgn130826) MessageInfo() MessageInfo
func (*BepMarineProprietaryPgn130826) PGNNumber ¶
func (m *BepMarineProprietaryPgn130826) PGNNumber() uint32
func (*BepMarineProprietaryPgn130826) SetMessageInfo ¶
func (m *BepMarineProprietaryPgn130826) SetMessageInfo(info MessageInfo)
type BinarySwitchBankStatus ¶
type BinarySwitchBankStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
Indicator1 *uint64 `json:"indicator1,omitempty" n2k:"2"`
Indicator2 *uint64 `json:"indicator2,omitempty" n2k:"3"`
Indicator3 *uint64 `json:"indicator3,omitempty" n2k:"4"`
Indicator4 *uint64 `json:"indicator4,omitempty" n2k:"5"`
Indicator5 *uint64 `json:"indicator5,omitempty" n2k:"6"`
Indicator6 *uint64 `json:"indicator6,omitempty" n2k:"7"`
Indicator7 *uint64 `json:"indicator7,omitempty" n2k:"8"`
Indicator8 *uint64 `json:"indicator8,omitempty" n2k:"9"`
Indicator9 *uint64 `json:"indicator9,omitempty" n2k:"10"`
Indicator10 *uint64 `json:"indicator10,omitempty" n2k:"11"`
Indicator11 *uint64 `json:"indicator11,omitempty" n2k:"12"`
Indicator12 *uint64 `json:"indicator12,omitempty" n2k:"13"`
Indicator13 *uint64 `json:"indicator13,omitempty" n2k:"14"`
Indicator14 *uint64 `json:"indicator14,omitempty" n2k:"15"`
Indicator15 *uint64 `json:"indicator15,omitempty" n2k:"16"`
Indicator16 *uint64 `json:"indicator16,omitempty" n2k:"17"`
Indicator17 *uint64 `json:"indicator17,omitempty" n2k:"18"`
Indicator18 *uint64 `json:"indicator18,omitempty" n2k:"19"`
Indicator19 *uint64 `json:"indicator19,omitempty" n2k:"20"`
Indicator20 *uint64 `json:"indicator20,omitempty" n2k:"21"`
Indicator21 *uint64 `json:"indicator21,omitempty" n2k:"22"`
Indicator22 *uint64 `json:"indicator22,omitempty" n2k:"23"`
Indicator23 *uint64 `json:"indicator23,omitempty" n2k:"24"`
Indicator24 *uint64 `json:"indicator24,omitempty" n2k:"25"`
Indicator25 *uint64 `json:"indicator25,omitempty" n2k:"26"`
Indicator26 *uint64 `json:"indicator26,omitempty" n2k:"27"`
Indicator27 *uint64 `json:"indicator27,omitempty" n2k:"28"`
Indicator28 *uint64 `json:"indicator28,omitempty" n2k:"29"`
}
func (*BinarySwitchBankStatus) DecodePayload ¶
func (m *BinarySwitchBankStatus) DecodePayload(payload []uint8) error
func (*BinarySwitchBankStatus) EncodePayload ¶
func (m *BinarySwitchBankStatus) EncodePayload() ([]uint8, error)
func (*BinarySwitchBankStatus) MessageInfo ¶
func (m *BinarySwitchBankStatus) MessageInfo() MessageInfo
func (*BinarySwitchBankStatus) PGNNumber ¶
func (m *BinarySwitchBankStatus) PGNNumber() uint32
func (*BinarySwitchBankStatus) SetMessageInfo ¶
func (m *BinarySwitchBankStatus) SetMessageInfo(info MessageInfo)
type BluetoothSourceStatus ¶
type BluetoothSourceStatus struct {
Info MessageInfo `json:"info"`
SourceNumber *uint64 `json:"sourceNumber,omitempty" n2k:"1"`
Status *uint64 `json:"status,omitempty" n2k:"2"`
ForgetDevice *uint64 `json:"forgetDevice,omitempty" n2k:"3"`
Discovering *uint64 `json:"discovering,omitempty" n2k:"4"`
BluetoothAddress []uint8 `json:"bluetoothAddress,omitempty" n2k:"5"`
}
func (*BluetoothSourceStatus) DecodePayload ¶
func (m *BluetoothSourceStatus) DecodePayload(payload []uint8) error
func (*BluetoothSourceStatus) EncodePayload ¶
func (m *BluetoothSourceStatus) EncodePayload() ([]uint8, error)
func (*BluetoothSourceStatus) MessageInfo ¶
func (m *BluetoothSourceStatus) MessageInfo() MessageInfo
func (*BluetoothSourceStatus) PGNNumber ¶
func (m *BluetoothSourceStatus) PGNNumber() uint32
func (*BluetoothSourceStatus) SetMessageInfo ¶
func (m *BluetoothSourceStatus) SetMessageInfo(info MessageInfo)
type BluetoothSourceStatusConst ¶
type BluetoothSourceStatusConst uint8
const ( Reserved_3 BluetoothSourceStatusConst = 0 Connected_2 BluetoothSourceStatusConst = 1 Connecting BluetoothSourceStatusConst = 2 NotConnected_2 BluetoothSourceStatusConst = 3 )
func (BluetoothSourceStatusConst) GoString ¶
func (e BluetoothSourceStatusConst) GoString() string
func (BluetoothSourceStatusConst) String ¶
func (e BluetoothSourceStatusConst) String() string
type BluetoothStatusConst ¶
type BluetoothStatusConst uint8
const ( Connected BluetoothStatusConst = 0 NotConnected BluetoothStatusConst = 1 NotPaired BluetoothStatusConst = 2 )
func (BluetoothStatusConst) GoString ¶
func (e BluetoothStatusConst) GoString() string
func (BluetoothStatusConst) String ¶
func (e BluetoothStatusConst) String() string
type BootStateConst ¶
type BootStateConst uint8
const ( InStartupMonitor BootStateConst = 0 RunningBootloader BootStateConst = 1 RunningApplication BootStateConst = 2 )
func (BootStateConst) GoString ¶
func (e BootStateConst) GoString() string
func (BootStateConst) String ¶
func (e BootStateConst) String() string
type Bus1AverageBasicAcQuantities ¶
type Bus1AverageBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
}
func (*Bus1AverageBasicAcQuantities) AcFrequencyValue ¶
func (m *Bus1AverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1AverageBasicAcQuantities) DecodePayload ¶
func (m *Bus1AverageBasicAcQuantities) DecodePayload(payload []uint8) error
func (*Bus1AverageBasicAcQuantities) EncodePayload ¶
func (m *Bus1AverageBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*Bus1AverageBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *Bus1AverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1AverageBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *Bus1AverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1AverageBasicAcQuantities) MessageInfo ¶
func (m *Bus1AverageBasicAcQuantities) MessageInfo() MessageInfo
func (*Bus1AverageBasicAcQuantities) PGNNumber ¶
func (m *Bus1AverageBasicAcQuantities) PGNNumber() uint32
func (*Bus1AverageBasicAcQuantities) SetAcFrequencyValue ¶
func (m *Bus1AverageBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*Bus1AverageBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *Bus1AverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1AverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *Bus1AverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1AverageBasicAcQuantities) SetMessageInfo ¶
func (m *Bus1AverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
type Bus1PhaseABasicAcQuantities ¶
type Bus1PhaseABasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
}
func (*Bus1PhaseABasicAcQuantities) AcFrequencyValue ¶
func (m *Bus1PhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseABasicAcQuantities) DecodePayload ¶
func (m *Bus1PhaseABasicAcQuantities) DecodePayload(payload []uint8) error
func (*Bus1PhaseABasicAcQuantities) EncodePayload ¶
func (m *Bus1PhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
func (*Bus1PhaseABasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseABasicAcQuantities) MessageInfo ¶
func (m *Bus1PhaseABasicAcQuantities) MessageInfo() MessageInfo
func (*Bus1PhaseABasicAcQuantities) PGNNumber ¶
func (m *Bus1PhaseABasicAcQuantities) PGNNumber() uint32
func (*Bus1PhaseABasicAcQuantities) SetAcFrequencyValue ¶
func (m *Bus1PhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*Bus1PhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseABasicAcQuantities) SetMessageInfo ¶
func (m *Bus1PhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
type Bus1PhaseBBasicAcQuantities ¶
type Bus1PhaseBBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
}
func (*Bus1PhaseBBasicAcQuantities) AcFrequencyValue ¶
func (m *Bus1PhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseBBasicAcQuantities) DecodePayload ¶
func (m *Bus1PhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
func (*Bus1PhaseBBasicAcQuantities) EncodePayload ¶
func (m *Bus1PhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*Bus1PhaseBBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseBBasicAcQuantities) MessageInfo ¶
func (m *Bus1PhaseBBasicAcQuantities) MessageInfo() MessageInfo
func (*Bus1PhaseBBasicAcQuantities) PGNNumber ¶
func (m *Bus1PhaseBBasicAcQuantities) PGNNumber() uint32
func (*Bus1PhaseBBasicAcQuantities) SetAcFrequencyValue ¶
func (m *Bus1PhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*Bus1PhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseBBasicAcQuantities) SetMessageInfo ¶
func (m *Bus1PhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
type Bus1PhaseCBasicAcQuantities ¶
type Bus1PhaseCBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
}
func (*Bus1PhaseCBasicAcQuantities) AcFrequencyValue ¶
func (m *Bus1PhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseCBasicAcQuantities) DecodePayload ¶
func (m *Bus1PhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
func (*Bus1PhaseCBasicAcQuantities) EncodePayload ¶
func (m *Bus1PhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*Bus1PhaseCBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Bus1PhaseCBasicAcQuantities) MessageInfo ¶
func (m *Bus1PhaseCBasicAcQuantities) MessageInfo() MessageInfo
func (*Bus1PhaseCBasicAcQuantities) PGNNumber ¶
func (m *Bus1PhaseCBasicAcQuantities) PGNNumber() uint32
func (*Bus1PhaseCBasicAcQuantities) SetAcFrequencyValue ¶
func (m *Bus1PhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*Bus1PhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *Bus1PhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *Bus1PhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*Bus1PhaseCBasicAcQuantities) SetMessageInfo ¶
func (m *Bus1PhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
type CarlingBreakerCommand ¶
type CarlingBreakerCommand struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageType *uint64 `json:"messageType,omitempty" n2k:"4"`
BreakerMapping1 *uint64 `json:"breakerMapping1,omitempty" n2k:"5"`
BreakerMapping2 *uint64 `json:"breakerMapping2,omitempty" n2k:"6"`
BreakerMapping3 *uint64 `json:"breakerMapping3,omitempty" n2k:"8"`
BreakerCommand *uint64 `json:"breakerCommand,omitempty" n2k:"9"`
DimValue *uint64 `json:"dimValue,omitempty" n2k:"10"`
}
func (*CarlingBreakerCommand) DecodePayload ¶
func (m *CarlingBreakerCommand) DecodePayload(payload []uint8) error
func (*CarlingBreakerCommand) EncodePayload ¶
func (m *CarlingBreakerCommand) EncodePayload() ([]uint8, error)
func (*CarlingBreakerCommand) MessageInfo ¶
func (m *CarlingBreakerCommand) MessageInfo() MessageInfo
func (*CarlingBreakerCommand) PGNNumber ¶
func (m *CarlingBreakerCommand) PGNNumber() uint32
func (*CarlingBreakerCommand) SetMessageInfo ¶
func (m *CarlingBreakerCommand) SetMessageInfo(info MessageInfo)
type CarlingBreakerStatusAndConfiguration ¶
type CarlingBreakerStatusAndConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageType *uint64 `json:"messageType,omitempty" n2k:"4"`
Data []uint8 `json:"data,omitempty" n2k:"5"`
}
func (*CarlingBreakerStatusAndConfiguration) DecodePayload ¶
func (m *CarlingBreakerStatusAndConfiguration) DecodePayload(payload []uint8) error
func (*CarlingBreakerStatusAndConfiguration) EncodePayload ¶
func (m *CarlingBreakerStatusAndConfiguration) EncodePayload() ([]uint8, error)
func (*CarlingBreakerStatusAndConfiguration) MessageInfo ¶
func (m *CarlingBreakerStatusAndConfiguration) MessageInfo() MessageInfo
func (*CarlingBreakerStatusAndConfiguration) PGNNumber ¶
func (m *CarlingBreakerStatusAndConfiguration) PGNNumber() uint32
func (*CarlingBreakerStatusAndConfiguration) SetMessageInfo ¶
func (m *CarlingBreakerStatusAndConfiguration) SetMessageInfo(info MessageInfo)
type CarlingDcConfigurationCommand ¶
type CarlingDcConfigurationCommand struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageType *uint64 `json:"messageType,omitempty" n2k:"4"`
BreakerMapping1 *uint64 `json:"breakerMapping1,omitempty" n2k:"5"`
BreakerMapping2 *uint64 `json:"breakerMapping2,omitempty" n2k:"6"`
BreakerMapping3 *uint64 `json:"breakerMapping3,omitempty" n2k:"8"`
InrushDelay *uint64 `json:"inrushDelay,omitempty" n2k:"9"`
TripDelay *uint64 `json:"tripDelay,omitempty" n2k:"10"`
ConfigurationFlags *uint64 `json:"configurationFlags,omitempty" n2k:"11"`
CurrentRating *uint64 `json:"currentRating,omitempty" n2k:"12"`
FactoryMaxRating *uint64 `json:"factoryMaxRating,omitempty" n2k:"13"`
ScheduleBLoadShedPriority *uint64 `json:"scheduleBLoadShedPriority,omitempty" n2k:"14"`
ScheduleALoadShedPriority *uint64 `json:"scheduleALoadShedPriority,omitempty" n2k:"15"`
DimValue *uint64 `json:"dimValue,omitempty" n2k:"16"`
BreakerGroup *uint64 `json:"breakerGroup,omitempty" n2k:"17"`
FlashMapIndex *uint64 `json:"flashMapIndex,omitempty" n2k:"18"`
}
func (*CarlingDcConfigurationCommand) DecodePayload ¶
func (m *CarlingDcConfigurationCommand) DecodePayload(payload []uint8) error
func (*CarlingDcConfigurationCommand) EncodePayload ¶
func (m *CarlingDcConfigurationCommand) EncodePayload() ([]uint8, error)
func (*CarlingDcConfigurationCommand) MessageInfo ¶
func (m *CarlingDcConfigurationCommand) MessageInfo() MessageInfo
func (*CarlingDcConfigurationCommand) PGNNumber ¶
func (m *CarlingDcConfigurationCommand) PGNNumber() uint32
func (*CarlingDcConfigurationCommand) SetMessageInfo ¶
func (m *CarlingDcConfigurationCommand) SetMessageInfo(info MessageInfo)
type CarlingProprietary ¶
type CarlingProprietary struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*CarlingProprietary) DecodePayload ¶
func (m *CarlingProprietary) DecodePayload(payload []uint8) error
func (*CarlingProprietary) EncodePayload ¶
func (m *CarlingProprietary) EncodePayload() ([]uint8, error)
func (*CarlingProprietary) MessageInfo ¶
func (m *CarlingProprietary) MessageInfo() MessageInfo
func (*CarlingProprietary) PGNNumber ¶
func (m *CarlingProprietary) PGNNumber() uint32
func (*CarlingProprietary) SetMessageInfo ¶
func (m *CarlingProprietary) SetMessageInfo(info MessageInfo)
type CarlingSwitchboardStatus ¶
type CarlingSwitchboardStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageType *uint64 `json:"messageType,omitempty" n2k:"4"`
Data []uint8 `json:"data,omitempty" n2k:"5"`
}
func (*CarlingSwitchboardStatus) DecodePayload ¶
func (m *CarlingSwitchboardStatus) DecodePayload(payload []uint8) error
func (*CarlingSwitchboardStatus) EncodePayload ¶
func (m *CarlingSwitchboardStatus) EncodePayload() ([]uint8, error)
func (*CarlingSwitchboardStatus) MessageInfo ¶
func (m *CarlingSwitchboardStatus) MessageInfo() MessageInfo
func (*CarlingSwitchboardStatus) PGNNumber ¶
func (m *CarlingSwitchboardStatus) PGNNumber() uint32
func (*CarlingSwitchboardStatus) SetMessageInfo ¶
func (m *CarlingSwitchboardStatus) SetMessageInfo(info MessageInfo)
type ChannelSourceConfiguration ¶
type ChannelSourceConfiguration struct {
Info MessageInfo `json:"info"`
DataSourceChannelId *uint64 `json:"dataSourceChannelId,omitempty" n2k:"1"`
SourceSelectionStatus *uint64 `json:"sourceSelectionStatus,omitempty" n2k:"2"`
NameSelectionCriteriaMask []uint8 `json:"nameSelectionCriteriaMask,omitempty" n2k:"4"`
SourceName *uint64 `json:"sourceName,omitempty" n2k:"5"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"6"`
DataSourceInstanceFieldNumber *uint64 `json:"dataSourceInstanceFieldNumber,omitempty" n2k:"7"`
DataSourceInstanceValue *uint64 `json:"dataSourceInstanceValue,omitempty" n2k:"8"`
SecondaryEnumerationFieldNumber *uint64 `json:"secondaryEnumerationFieldNumber,omitempty" n2k:"9"`
SecondaryEnumerationFieldValue *uint64 `json:"secondaryEnumerationFieldValue,omitempty" n2k:"10"`
ParameterFieldNumber *uint64 `json:"parameterFieldNumber,omitempty" n2k:"11"`
}
func (*ChannelSourceConfiguration) DecodePayload ¶
func (m *ChannelSourceConfiguration) DecodePayload(payload []uint8) error
func (*ChannelSourceConfiguration) EncodePayload ¶
func (m *ChannelSourceConfiguration) EncodePayload() ([]uint8, error)
func (*ChannelSourceConfiguration) MessageInfo ¶
func (m *ChannelSourceConfiguration) MessageInfo() MessageInfo
func (*ChannelSourceConfiguration) PGNNumber ¶
func (m *ChannelSourceConfiguration) PGNNumber() uint32
func (*ChannelSourceConfiguration) SetMessageInfo ¶
func (m *ChannelSourceConfiguration) SetMessageInfo(info MessageInfo)
type ChargerConfigurationStatus ¶
type ChargerConfigurationStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
BatteryInstance *uint64 `json:"batteryInstance,omitempty" n2k:"2"`
ChargerEnableDisable *uint64 `json:"chargerEnableDisable,omitempty" n2k:"3"`
ChargeCurrentLimit *uint64 `json:"chargeCurrentLimit,omitempty" n2k:"5"`
ChargingAlgorithm *uint64 `json:"chargingAlgorithm,omitempty" n2k:"6"`
ChargerMode *uint64 `json:"chargerMode,omitempty" n2k:"7"`
EstimatedTemperature *uint64 `json:"estimatedTemperature,omitempty" n2k:"8"`
EqualizeOneTimeEnableDisable *uint64 `json:"equalizeOneTimeEnableDisable,omitempty" n2k:"9"`
OverChargeEnableDisable *uint64 `json:"overChargeEnableDisable,omitempty" n2k:"10"`
EqualizeTime *uint64 `json:"equalizeTime,omitempty" n2k:"11"`
}
func (*ChargerConfigurationStatus) ChargeCurrentLimitValue ¶
func (m *ChargerConfigurationStatus) ChargeCurrentLimitValue() (float64, bool)
ChargeCurrentLimitValue returns ChargeCurrentLimit as a physical value in % (value = raw). The bool is false when ChargeCurrentLimit is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ChargerConfigurationStatus) DecodePayload ¶
func (m *ChargerConfigurationStatus) DecodePayload(payload []uint8) error
func (*ChargerConfigurationStatus) EncodePayload ¶
func (m *ChargerConfigurationStatus) EncodePayload() ([]uint8, error)
func (*ChargerConfigurationStatus) EqualizeTimeValue ¶
func (m *ChargerConfigurationStatus) EqualizeTimeValue() (float64, bool)
EqualizeTimeValue returns EqualizeTime as a physical value in s (value = raw * 60). The bool is false when EqualizeTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ChargerConfigurationStatus) MessageInfo ¶
func (m *ChargerConfigurationStatus) MessageInfo() MessageInfo
func (*ChargerConfigurationStatus) PGNNumber ¶
func (m *ChargerConfigurationStatus) PGNNumber() uint32
func (*ChargerConfigurationStatus) SetChargeCurrentLimitValue ¶
func (m *ChargerConfigurationStatus) SetChargeCurrentLimitValue(v float64)
SetChargeCurrentLimitValue sets ChargeCurrentLimit from a physical value in %, rounded to the nearest wire tick of 1.
func (*ChargerConfigurationStatus) SetEqualizeTimeValue ¶
func (m *ChargerConfigurationStatus) SetEqualizeTimeValue(v float64)
SetEqualizeTimeValue sets EqualizeTime from a physical value in s, rounded to the nearest wire tick of 60.
func (*ChargerConfigurationStatus) SetMessageInfo ¶
func (m *ChargerConfigurationStatus) SetMessageInfo(info MessageInfo)
type ChargerModeConst ¶
type ChargerModeConst uint8
const ( Standalone ChargerModeConst = 0 Primary ChargerModeConst = 1 Secondary ChargerModeConst = 2 Echo ChargerModeConst = 3 )
func (ChargerModeConst) GoString ¶
func (e ChargerModeConst) GoString() string
func (ChargerModeConst) String ¶
func (e ChargerModeConst) String() string
type ChargerStateConst ¶
type ChargerStateConst uint8
const ( NotCharging ChargerStateConst = 0 Bulk_2 ChargerStateConst = 1 Absorption_2 ChargerStateConst = 2 Overcharge ChargerStateConst = 3 Equalise ChargerStateConst = 4 Float_2 ChargerStateConst = 5 NoFloat ChargerStateConst = 6 ConstantVI ChargerStateConst = 7 Disabled_3 ChargerStateConst = 8 Fault_3 ChargerStateConst = 9 )
func (ChargerStateConst) GoString ¶
func (e ChargerStateConst) GoString() string
func (ChargerStateConst) String ¶
func (e ChargerStateConst) String() string
type ChargerStatus ¶
type ChargerStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
BatteryInstance *uint64 `json:"batteryInstance,omitempty" n2k:"2"`
OperatingState *uint64 `json:"operatingState,omitempty" n2k:"3"`
ChargeMode *uint64 `json:"chargeMode,omitempty" n2k:"4"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"5"`
EqualizationPending *uint64 `json:"equalizationPending,omitempty" n2k:"6"`
EqualizationTimeRemaining *uint64 `json:"equalizationTimeRemaining,omitempty" n2k:"8"`
}
func (*ChargerStatus) DecodePayload ¶
func (m *ChargerStatus) DecodePayload(payload []uint8) error
func (*ChargerStatus) EncodePayload ¶
func (m *ChargerStatus) EncodePayload() ([]uint8, error)
func (*ChargerStatus) EqualizationTimeRemainingValue ¶
func (m *ChargerStatus) EqualizationTimeRemainingValue() (float64, bool)
EqualizationTimeRemainingValue returns EqualizationTimeRemaining as a physical value in s (value = raw * 60). The bool is false when EqualizationTimeRemaining is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ChargerStatus) MessageInfo ¶
func (m *ChargerStatus) MessageInfo() MessageInfo
func (*ChargerStatus) PGNNumber ¶
func (m *ChargerStatus) PGNNumber() uint32
func (*ChargerStatus) SetEqualizationTimeRemainingValue ¶
func (m *ChargerStatus) SetEqualizationTimeRemainingValue(v float64)
SetEqualizationTimeRemainingValue sets EqualizationTimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.
func (*ChargerStatus) SetMessageInfo ¶
func (m *ChargerStatus) SetMessageInfo(info MessageInfo)
type ChargingAlgorithmConst ¶
type ChargingAlgorithmConst uint8
const ( Trickle ChargingAlgorithmConst = 0 ConstantVoltageConstantCurrent ChargingAlgorithmConst = 1 A2StageNoFloat ChargingAlgorithmConst = 2 A3Stage ChargingAlgorithmConst = 3 )
func (ChargingAlgorithmConst) GoString ¶
func (e ChargingAlgorithmConst) GoString() string
func (ChargingAlgorithmConst) String ¶
func (e ChargingAlgorithmConst) String() string
type ChetcoDimmer ¶
type ChetcoDimmer struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Instance *uint64 `json:"instance,omitempty" n2k:"4"`
Dimmer1 *uint64 `json:"dimmer1,omitempty" n2k:"5"`
Dimmer2 *uint64 `json:"dimmer2,omitempty" n2k:"6"`
Dimmer3 *uint64 `json:"dimmer3,omitempty" n2k:"7"`
Dimmer4 *uint64 `json:"dimmer4,omitempty" n2k:"8"`
Control *uint64 `json:"control,omitempty" n2k:"9"`
}
func (*ChetcoDimmer) DecodePayload ¶
func (m *ChetcoDimmer) DecodePayload(payload []uint8) error
func (*ChetcoDimmer) EncodePayload ¶
func (m *ChetcoDimmer) EncodePayload() ([]uint8, error)
func (*ChetcoDimmer) MessageInfo ¶
func (m *ChetcoDimmer) MessageInfo() MessageInfo
func (*ChetcoDimmer) PGNNumber ¶
func (m *ChetcoDimmer) PGNNumber() uint32
func (*ChetcoDimmer) SetMessageInfo ¶
func (m *ChetcoDimmer) SetMessageInfo(info MessageInfo)
type CogSogRapidUpdate ¶
type CogSogRapidUpdate struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
CogReference *uint64 `json:"cogReference,omitempty" n2k:"2"`
Cog *uint64 `json:"cog,omitempty" n2k:"4"`
Sog *uint64 `json:"sog,omitempty" n2k:"5"`
}
func (*CogSogRapidUpdate) CogValue ¶
func (m *CogSogRapidUpdate) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CogSogRapidUpdate) DecodePayload ¶
func (m *CogSogRapidUpdate) DecodePayload(payload []uint8) error
func (*CogSogRapidUpdate) EncodePayload ¶
func (m *CogSogRapidUpdate) EncodePayload() ([]uint8, error)
func (*CogSogRapidUpdate) MessageInfo ¶
func (m *CogSogRapidUpdate) MessageInfo() MessageInfo
func (*CogSogRapidUpdate) PGNNumber ¶
func (m *CogSogRapidUpdate) PGNNumber() uint32
func (*CogSogRapidUpdate) SetCogValue ¶
func (m *CogSogRapidUpdate) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*CogSogRapidUpdate) SetMessageInfo ¶
func (m *CogSogRapidUpdate) SetMessageInfo(info MessageInfo)
func (*CogSogRapidUpdate) SetSogValue ¶
func (m *CogSogRapidUpdate) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*CogSogRapidUpdate) SogValue ¶
func (m *CogSogRapidUpdate) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ConfigurationInformation ¶
type ConfigurationInformation struct {
Info MessageInfo `json:"info"`
InstallationDescription1 string `json:"installationDescription1,omitempty" n2k:"1"`
InstallationDescription2 string `json:"installationDescription2,omitempty" n2k:"2"`
ManufacturerInformation string `json:"manufacturerInformation,omitempty" n2k:"3"`
}
func (*ConfigurationInformation) DecodePayload ¶
func (m *ConfigurationInformation) DecodePayload(payload []uint8) error
func (*ConfigurationInformation) EncodePayload ¶
func (m *ConfigurationInformation) EncodePayload() ([]uint8, error)
func (*ConfigurationInformation) MessageInfo ¶
func (m *ConfigurationInformation) MessageInfo() MessageInfo
func (*ConfigurationInformation) PGNNumber ¶
func (m *ConfigurationInformation) PGNNumber() uint32
func (*ConfigurationInformation) SetMessageInfo ¶
func (m *ConfigurationInformation) SetMessageInfo(info MessageInfo)
type ControllerStateConst ¶
type ControllerStateConst uint8
const ( ErrorActive ControllerStateConst = 0 ErrorPassive ControllerStateConst = 1 BusOff ControllerStateConst = 2 )
func (ControllerStateConst) GoString ¶
func (e ControllerStateConst) GoString() string
func (ControllerStateConst) String ¶
func (e ControllerStateConst) String() string
type ConverterStateConst ¶
type ConverterStateConst uint8
const ( Off_4 ConverterStateConst = 0 LowPowerMode ConverterStateConst = 1 Fault ConverterStateConst = 2 Bulk ConverterStateConst = 3 Absorption ConverterStateConst = 4 Float ConverterStateConst = 5 Storage ConverterStateConst = 6 Equalize ConverterStateConst = 7 PassThru ConverterStateConst = 8 Inverting ConverterStateConst = 9 Assisting ConverterStateConst = 10 )
func (ConverterStateConst) GoString ¶
func (e ConverterStateConst) GoString() string
func (ConverterStateConst) String ¶
func (e ConverterStateConst) String() string
type ConverterStatus ¶
type ConverterStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
OperatingState *uint64 `json:"operatingState,omitempty" n2k:"3"`
TemperatureState *uint64 `json:"temperatureState,omitempty" n2k:"4"`
OverloadState *uint64 `json:"overloadState,omitempty" n2k:"5"`
LowDcVoltageState *uint64 `json:"lowDcVoltageState,omitempty" n2k:"6"`
RippleState *uint64 `json:"rippleState,omitempty" n2k:"7"`
}
func (*ConverterStatus) DecodePayload ¶
func (m *ConverterStatus) DecodePayload(payload []uint8) error
func (*ConverterStatus) EncodePayload ¶
func (m *ConverterStatus) EncodePayload() ([]uint8, error)
func (*ConverterStatus) MessageInfo ¶
func (m *ConverterStatus) MessageInfo() MessageInfo
func (*ConverterStatus) PGNNumber ¶
func (m *ConverterStatus) PGNNumber() uint32
func (*ConverterStatus) SetMessageInfo ¶
func (m *ConverterStatus) SetMessageInfo(info MessageInfo)
type CrossTrackError ¶
type CrossTrackError struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
XteMode *uint64 `json:"xteMode,omitempty" n2k:"2"`
Xte *int64 `json:"xte,omitempty" n2k:"5"`
}
func (*CrossTrackError) DecodePayload ¶
func (m *CrossTrackError) DecodePayload(payload []uint8) error
func (*CrossTrackError) EncodePayload ¶
func (m *CrossTrackError) EncodePayload() ([]uint8, error)
func (*CrossTrackError) MessageInfo ¶
func (m *CrossTrackError) MessageInfo() MessageInfo
func (*CrossTrackError) PGNNumber ¶
func (m *CrossTrackError) PGNNumber() uint32
func (*CrossTrackError) SetMessageInfo ¶
func (m *CrossTrackError) SetMessageInfo(info MessageInfo)
func (*CrossTrackError) SetXteValue ¶
func (m *CrossTrackError) SetXteValue(v float64)
SetXteValue sets Xte from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*CrossTrackError) XteValue ¶
func (m *CrossTrackError) XteValue() (float64, bool)
XteValue returns Xte as a physical value in m (value = raw * 0.01). The bool is false when Xte is nil: the wire carried the field's null sentinel or the payload ended before the field.
type CurrentStationData ¶
type CurrentStationData struct {
Info MessageInfo `json:"info"`
Mode *uint64 `json:"mode,omitempty" n2k:"1"`
State *uint64 `json:"state,omitempty" n2k:"2"`
MeasurementDate *uint64 `json:"measurementDate,omitempty" n2k:"4"`
MeasurementTime *uint64 `json:"measurementTime,omitempty" n2k:"5"`
StationLatitude *int64 `json:"stationLatitude,omitempty" n2k:"6"`
StationLongitude *int64 `json:"stationLongitude,omitempty" n2k:"7"`
MeasurementDepth *uint64 `json:"measurementDepth,omitempty" n2k:"8"`
CurrentSpeed *uint64 `json:"currentSpeed,omitempty" n2k:"9"`
CurrentFlowDirection *uint64 `json:"currentFlowDirection,omitempty" n2k:"10"`
WaterTemperature *uint64 `json:"waterTemperature,omitempty" n2k:"11"`
StationId string `json:"stationId,omitempty" n2k:"12"`
StationName string `json:"stationName,omitempty" n2k:"13"`
}
func (*CurrentStationData) CurrentFlowDirectionValue ¶
func (m *CurrentStationData) CurrentFlowDirectionValue() (float64, bool)
CurrentFlowDirectionValue returns CurrentFlowDirection as a physical value in rad (value = raw * 0.0001). The bool is false when CurrentFlowDirection is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) CurrentSpeedValue ¶
func (m *CurrentStationData) CurrentSpeedValue() (float64, bool)
CurrentSpeedValue returns CurrentSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when CurrentSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) DecodePayload ¶
func (m *CurrentStationData) DecodePayload(payload []uint8) error
func (*CurrentStationData) EncodePayload ¶
func (m *CurrentStationData) EncodePayload() ([]uint8, error)
func (*CurrentStationData) MeasurementDateValue ¶
func (m *CurrentStationData) MeasurementDateValue() (float64, bool)
MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false when MeasurementDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) MeasurementDepthValue ¶
func (m *CurrentStationData) MeasurementDepthValue() (float64, bool)
MeasurementDepthValue returns MeasurementDepth as a physical value in m (value = raw * 0.01). The bool is false when MeasurementDepth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) MeasurementTimeValue ¶
func (m *CurrentStationData) MeasurementTimeValue() (float64, bool)
MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false when MeasurementTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) MessageInfo ¶
func (m *CurrentStationData) MessageInfo() MessageInfo
func (*CurrentStationData) PGNNumber ¶
func (m *CurrentStationData) PGNNumber() uint32
func (*CurrentStationData) SetCurrentFlowDirectionValue ¶
func (m *CurrentStationData) SetCurrentFlowDirectionValue(v float64)
SetCurrentFlowDirectionValue sets CurrentFlowDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*CurrentStationData) SetCurrentSpeedValue ¶
func (m *CurrentStationData) SetCurrentSpeedValue(v float64)
SetCurrentSpeedValue sets CurrentSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*CurrentStationData) SetMeasurementDateValue ¶
func (m *CurrentStationData) SetMeasurementDateValue(v float64)
SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*CurrentStationData) SetMeasurementDepthValue ¶
func (m *CurrentStationData) SetMeasurementDepthValue(v float64)
SetMeasurementDepthValue sets MeasurementDepth from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*CurrentStationData) SetMeasurementTimeValue ¶
func (m *CurrentStationData) SetMeasurementTimeValue(v float64)
SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*CurrentStationData) SetMessageInfo ¶
func (m *CurrentStationData) SetMessageInfo(info MessageInfo)
func (*CurrentStationData) SetStationLatitudeValue ¶
func (m *CurrentStationData) SetStationLatitudeValue(v float64)
SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*CurrentStationData) SetStationLongitudeValue ¶
func (m *CurrentStationData) SetStationLongitudeValue(v float64)
SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*CurrentStationData) SetWaterTemperatureValue ¶
func (m *CurrentStationData) SetWaterTemperatureValue(v float64)
SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*CurrentStationData) StationLatitudeValue ¶
func (m *CurrentStationData) StationLatitudeValue() (float64, bool)
StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) StationLongitudeValue ¶
func (m *CurrentStationData) StationLongitudeValue() (float64, bool)
StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStationData) WaterTemperatureValue ¶
func (m *CurrentStationData) WaterTemperatureValue() (float64, bool)
WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when WaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type CurrentStatusAndFile ¶
type CurrentStatusAndFile struct {
Info MessageInfo `json:"info"`
Zone *uint64 `json:"zone,omitempty" n2k:"1"`
Source *uint64 `json:"source,omitempty" n2k:"2"`
Number *uint64 `json:"number,omitempty" n2k:"3"`
Id *uint64 `json:"id,omitempty" n2k:"4"`
PlayStatus *uint64 `json:"playStatus,omitempty" n2k:"5"`
ElapsedTrackTime *uint64 `json:"elapsedTrackTime,omitempty" n2k:"6"`
TrackTime *uint64 `json:"trackTime,omitempty" n2k:"7"`
RepeatStatus *uint64 `json:"repeatStatus,omitempty" n2k:"8"`
ShuffleStatus *uint64 `json:"shuffleStatus,omitempty" n2k:"9"`
SaveFavoriteNumber *uint64 `json:"saveFavoriteNumber,omitempty" n2k:"10"`
PlayFavoriteNumber *uint64 `json:"playFavoriteNumber,omitempty" n2k:"11"`
ThumbsUpDown *uint64 `json:"thumbsUpDown,omitempty" n2k:"12"`
SignalStrength *uint64 `json:"signalStrength,omitempty" n2k:"13"`
RadioFrequency *uint64 `json:"radioFrequency,omitempty" n2k:"14"`
HdFrequencyMulticast *uint64 `json:"hdFrequencyMulticast,omitempty" n2k:"15"`
DeleteFavoriteNumber *uint64 `json:"deleteFavoriteNumber,omitempty" n2k:"16"`
TotalNumberOfTracks *uint64 `json:"totalNumberOfTracks,omitempty" n2k:"17"`
}
func (*CurrentStatusAndFile) DecodePayload ¶
func (m *CurrentStatusAndFile) DecodePayload(payload []uint8) error
func (*CurrentStatusAndFile) ElapsedTrackTimeValue ¶
func (m *CurrentStatusAndFile) ElapsedTrackTimeValue() (float64, bool)
ElapsedTrackTimeValue returns ElapsedTrackTime as a physical value in s (value = raw). The bool is false when ElapsedTrackTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStatusAndFile) EncodePayload ¶
func (m *CurrentStatusAndFile) EncodePayload() ([]uint8, error)
func (*CurrentStatusAndFile) MessageInfo ¶
func (m *CurrentStatusAndFile) MessageInfo() MessageInfo
func (*CurrentStatusAndFile) PGNNumber ¶
func (m *CurrentStatusAndFile) PGNNumber() uint32
func (*CurrentStatusAndFile) RadioFrequencyValue ¶
func (m *CurrentStatusAndFile) RadioFrequencyValue() (float64, bool)
RadioFrequencyValue returns RadioFrequency as a physical value in Hz (value = raw * 10). The bool is false when RadioFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStatusAndFile) SetElapsedTrackTimeValue ¶
func (m *CurrentStatusAndFile) SetElapsedTrackTimeValue(v float64)
SetElapsedTrackTimeValue sets ElapsedTrackTime from a physical value in s, rounded to the nearest wire tick of 1.
func (*CurrentStatusAndFile) SetMessageInfo ¶
func (m *CurrentStatusAndFile) SetMessageInfo(info MessageInfo)
func (*CurrentStatusAndFile) SetRadioFrequencyValue ¶
func (m *CurrentStatusAndFile) SetRadioFrequencyValue(v float64)
SetRadioFrequencyValue sets RadioFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.
func (*CurrentStatusAndFile) SetSignalStrengthValue ¶
func (m *CurrentStatusAndFile) SetSignalStrengthValue(v float64)
SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.
func (*CurrentStatusAndFile) SetTrackTimeValue ¶
func (m *CurrentStatusAndFile) SetTrackTimeValue(v float64)
SetTrackTimeValue sets TrackTime from a physical value in s, rounded to the nearest wire tick of 1.
func (*CurrentStatusAndFile) SignalStrengthValue ¶
func (m *CurrentStatusAndFile) SignalStrengthValue() (float64, bool)
SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false when SignalStrength is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*CurrentStatusAndFile) TrackTimeValue ¶
func (m *CurrentStatusAndFile) TrackTimeValue() (float64, bool)
TrackTimeValue returns TrackTime as a physical value in s (value = raw). The bool is false when TrackTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
type Datum ¶
type Datum struct {
Info MessageInfo `json:"info"`
LocalDatum string `json:"localDatum,omitempty" n2k:"1"`
DeltaLatitude *int64 `json:"deltaLatitude,omitempty" n2k:"2"`
DeltaLongitude *int64 `json:"deltaLongitude,omitempty" n2k:"3"`
DeltaAltitude *int64 `json:"deltaAltitude,omitempty" n2k:"4"`
ReferenceDatum string `json:"referenceDatum,omitempty" n2k:"5"`
}
func (*Datum) DecodePayload ¶
func (*Datum) DeltaAltitudeValue ¶
DeltaAltitudeValue returns DeltaAltitude as a physical value in m (value = raw * 0.01). The bool is false when DeltaAltitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Datum) DeltaLatitudeValue ¶
DeltaLatitudeValue returns DeltaLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when DeltaLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Datum) DeltaLongitudeValue ¶
DeltaLongitudeValue returns DeltaLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when DeltaLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Datum) EncodePayload ¶
func (*Datum) MessageInfo ¶
func (m *Datum) MessageInfo() MessageInfo
func (*Datum) SetDeltaAltitudeValue ¶
SetDeltaAltitudeValue sets DeltaAltitude from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*Datum) SetDeltaLatitudeValue ¶
SetDeltaLatitudeValue sets DeltaLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*Datum) SetDeltaLongitudeValue ¶
SetDeltaLongitudeValue sets DeltaLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*Datum) SetMessageInfo ¶
func (m *Datum) SetMessageInfo(info MessageInfo)
type DcDetailedStatus ¶
type DcDetailedStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
DcType *uint64 `json:"dcType,omitempty" n2k:"3"`
StateOfCharge *uint64 `json:"stateOfCharge,omitempty" n2k:"4"`
StateOfHealth *uint64 `json:"stateOfHealth,omitempty" n2k:"5"`
TimeRemaining *uint64 `json:"timeRemaining,omitempty" n2k:"6"`
RippleVoltage *uint64 `json:"rippleVoltage,omitempty" n2k:"7"`
RemainingCapacity *uint64 `json:"remainingCapacity,omitempty" n2k:"8"`
}
func (*DcDetailedStatus) DecodePayload ¶
func (m *DcDetailedStatus) DecodePayload(payload []uint8) error
func (*DcDetailedStatus) EncodePayload ¶
func (m *DcDetailedStatus) EncodePayload() ([]uint8, error)
func (*DcDetailedStatus) MessageInfo ¶
func (m *DcDetailedStatus) MessageInfo() MessageInfo
func (*DcDetailedStatus) PGNNumber ¶
func (m *DcDetailedStatus) PGNNumber() uint32
func (*DcDetailedStatus) RemainingCapacityValue ¶
func (m *DcDetailedStatus) RemainingCapacityValue() (float64, bool)
RemainingCapacityValue returns RemainingCapacity as a physical value in Ah (value = raw). The bool is false when RemainingCapacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcDetailedStatus) RippleVoltageValue ¶
func (m *DcDetailedStatus) RippleVoltageValue() (float64, bool)
RippleVoltageValue returns RippleVoltage as a physical value in V (value = raw * 0.001). The bool is false when RippleVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcDetailedStatus) SetMessageInfo ¶
func (m *DcDetailedStatus) SetMessageInfo(info MessageInfo)
func (*DcDetailedStatus) SetRemainingCapacityValue ¶
func (m *DcDetailedStatus) SetRemainingCapacityValue(v float64)
SetRemainingCapacityValue sets RemainingCapacity from a physical value in Ah, rounded to the nearest wire tick of 1.
func (*DcDetailedStatus) SetRippleVoltageValue ¶
func (m *DcDetailedStatus) SetRippleVoltageValue(v float64)
SetRippleVoltageValue sets RippleVoltage from a physical value in V, rounded to the nearest wire tick of 0.001.
func (*DcDetailedStatus) SetStateOfChargeValue ¶
func (m *DcDetailedStatus) SetStateOfChargeValue(v float64)
SetStateOfChargeValue sets StateOfCharge from a physical value in %, rounded to the nearest wire tick of 1.
func (*DcDetailedStatus) SetStateOfHealthValue ¶
func (m *DcDetailedStatus) SetStateOfHealthValue(v float64)
SetStateOfHealthValue sets StateOfHealth from a physical value in %, rounded to the nearest wire tick of 1.
func (*DcDetailedStatus) SetTimeRemainingValue ¶
func (m *DcDetailedStatus) SetTimeRemainingValue(v float64)
SetTimeRemainingValue sets TimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.
func (*DcDetailedStatus) StateOfChargeValue ¶
func (m *DcDetailedStatus) StateOfChargeValue() (float64, bool)
StateOfChargeValue returns StateOfCharge as a physical value in % (value = raw). The bool is false when StateOfCharge is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcDetailedStatus) StateOfHealthValue ¶
func (m *DcDetailedStatus) StateOfHealthValue() (float64, bool)
StateOfHealthValue returns StateOfHealth as a physical value in % (value = raw). The bool is false when StateOfHealth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcDetailedStatus) TimeRemainingValue ¶
func (m *DcDetailedStatus) TimeRemainingValue() (float64, bool)
TimeRemainingValue returns TimeRemaining as a physical value in s (value = raw * 60). The bool is false when TimeRemaining is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DcSourceConst ¶
type DcSourceConst uint8
const ( Battery DcSourceConst = 0 Alternator DcSourceConst = 1 Convertor DcSourceConst = 2 SolarCell DcSourceConst = 3 WindGenerator DcSourceConst = 4 )
func (DcSourceConst) GoString ¶
func (e DcSourceConst) GoString() string
func (DcSourceConst) String ¶
func (e DcSourceConst) String() string
type DcVoltageCurrent ¶
type DcVoltageCurrent struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ConnectionNumber *uint64 `json:"connectionNumber,omitempty" n2k:"2"`
DcVoltage *uint64 `json:"dcVoltage,omitempty" n2k:"3"`
DcCurrent *int64 `json:"dcCurrent,omitempty" n2k:"4"`
}
func (*DcVoltageCurrent) DcCurrentValue ¶
func (m *DcVoltageCurrent) DcCurrentValue() (float64, bool)
DcCurrentValue returns DcCurrent as a physical value in A (value = raw * 0.01). The bool is false when DcCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcVoltageCurrent) DcVoltageValue ¶
func (m *DcVoltageCurrent) DcVoltageValue() (float64, bool)
DcVoltageValue returns DcVoltage as a physical value in V (value = raw * 0.1). The bool is false when DcVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DcVoltageCurrent) DecodePayload ¶
func (m *DcVoltageCurrent) DecodePayload(payload []uint8) error
func (*DcVoltageCurrent) EncodePayload ¶
func (m *DcVoltageCurrent) EncodePayload() ([]uint8, error)
func (*DcVoltageCurrent) MessageInfo ¶
func (m *DcVoltageCurrent) MessageInfo() MessageInfo
func (*DcVoltageCurrent) PGNNumber ¶
func (m *DcVoltageCurrent) PGNNumber() uint32
func (*DcVoltageCurrent) SetDcCurrentValue ¶
func (m *DcVoltageCurrent) SetDcCurrentValue(v float64)
SetDcCurrentValue sets DcCurrent from a physical value in A, rounded to the nearest wire tick of 0.01.
func (*DcVoltageCurrent) SetDcVoltageValue ¶
func (m *DcVoltageCurrent) SetDcVoltageValue(v float64)
SetDcVoltageValue sets DcVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*DcVoltageCurrent) SetMessageInfo ¶
func (m *DcVoltageCurrent) SetMessageInfo(info MessageInfo)
type DeviceClassConst ¶
type DeviceClassConst uint8
const ( ReservedFor2000Use DeviceClassConst = 0 SystemTools DeviceClassConst = 10 SafetySystems DeviceClassConst = 20 InternetworkDevice DeviceClassConst = 25 ElectricalDistribution DeviceClassConst = 30 ElectricalGeneration DeviceClassConst = 35 SteeringAndControlSurfaces DeviceClassConst = 40 Propulsion DeviceClassConst = 50 Communication DeviceClassConst = 70 SensorCommunicationInterface DeviceClassConst = 75 InstrumentationGeneralSystems DeviceClassConst = 80 ExternalEnvironment DeviceClassConst = 85 InternalEnvironment DeviceClassConst = 90 DeckCargoFishingEquipmentSystems DeviceClassConst = 100 HumanInterface DeviceClassConst = 110 Display DeviceClassConst = 120 Entertainment DeviceClassConst = 125 )
func (DeviceClassConst) GoString ¶
func (e DeviceClassConst) GoString() string
func (DeviceClassConst) String ¶
func (e DeviceClassConst) String() string
type DeviceFunctionConst ¶
type DeviceFunctionConst uint16
type DeviceTempStateConst ¶
type DeviceTempStateConst uint8
const ( Cold DeviceTempStateConst = 0 Warm DeviceTempStateConst = 1 Hot DeviceTempStateConst = 2 )
func (DeviceTempStateConst) GoString ¶
func (e DeviceTempStateConst) GoString() string
func (DeviceTempStateConst) String ¶
func (e DeviceTempStateConst) String() string
type DgnssCorrections ¶
type DgnssCorrections struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ReferenceStationId *uint64 `json:"referenceStationId,omitempty" n2k:"2"`
ReferenceStationType *uint64 `json:"referenceStationType,omitempty" n2k:"3"`
TimeOfCorrections *uint64 `json:"timeOfCorrections,omitempty" n2k:"4"`
StationHealth *uint64 `json:"stationHealth,omitempty" n2k:"5"`
SatelliteId *uint64 `json:"satelliteId,omitempty" n2k:"7"`
Prc *int64 `json:"prc,omitempty" n2k:"8"`
Rrc *int64 `json:"rrc,omitempty" n2k:"9"`
Udre *uint64 `json:"udre,omitempty" n2k:"10"`
Iod *uint64 `json:"iod,omitempty" n2k:"11"`
}
func (*DgnssCorrections) DecodePayload ¶
func (m *DgnssCorrections) DecodePayload(payload []uint8) error
func (*DgnssCorrections) EncodePayload ¶
func (m *DgnssCorrections) EncodePayload() ([]uint8, error)
func (*DgnssCorrections) MessageInfo ¶
func (m *DgnssCorrections) MessageInfo() MessageInfo
func (*DgnssCorrections) PGNNumber ¶
func (m *DgnssCorrections) PGNNumber() uint32
func (*DgnssCorrections) PrcValue ¶
func (m *DgnssCorrections) PrcValue() (float64, bool)
PrcValue returns Prc as a physical value in m (value = raw * 0.0001). The bool is false when Prc is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DgnssCorrections) RrcValue ¶
func (m *DgnssCorrections) RrcValue() (float64, bool)
RrcValue returns Rrc as a physical value in m/s (value = raw * 0.0001). The bool is false when Rrc is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DgnssCorrections) SetMessageInfo ¶
func (m *DgnssCorrections) SetMessageInfo(info MessageInfo)
func (*DgnssCorrections) SetPrcValue ¶
func (m *DgnssCorrections) SetPrcValue(v float64)
SetPrcValue sets Prc from a physical value in m, rounded to the nearest wire tick of 0.0001.
func (*DgnssCorrections) SetRrcValue ¶
func (m *DgnssCorrections) SetRrcValue(v float64)
SetRrcValue sets Rrc from a physical value in m/s, rounded to the nearest wire tick of 0.0001.
func (*DgnssCorrections) SetTimeOfCorrectionsValue ¶
func (m *DgnssCorrections) SetTimeOfCorrectionsValue(v float64)
SetTimeOfCorrectionsValue sets TimeOfCorrections from a physical value in s, rounded to the nearest wire tick of 0.1.
func (*DgnssCorrections) SetUdreValue ¶
func (m *DgnssCorrections) SetUdreValue(v float64)
SetUdreValue sets Udre from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*DgnssCorrections) TimeOfCorrectionsValue ¶
func (m *DgnssCorrections) TimeOfCorrectionsValue() (float64, bool)
TimeOfCorrectionsValue returns TimeOfCorrections as a physical value in s (value = raw * 0.1). The bool is false when TimeOfCorrections is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DgnssCorrections) UdreValue ¶
func (m *DgnssCorrections) UdreValue() (float64, bool)
UdreValue returns Udre as a physical value in m (value = raw * 0.01). The bool is false when Udre is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DgnssModeConst ¶
type DgnssModeConst uint8
const ( None_3 DgnssModeConst = 0 SBASIfAvailable DgnssModeConst = 1 SBAS DgnssModeConst = 3 )
func (DgnssModeConst) GoString ¶
func (e DgnssModeConst) GoString() string
func (DgnssModeConst) String ¶
func (e DgnssModeConst) String() string
type DirectionConst ¶
type DirectionConst uint8
const ( Forward_2 DirectionConst = 0 Reverse_2 DirectionConst = 1 )
func (DirectionConst) GoString ¶
func (e DirectionConst) GoString() string
func (DirectionConst) String ¶
func (e DirectionConst) String() string
type DirectionData ¶
type DirectionData struct {
Info MessageInfo `json:"info"`
DataMode *uint64 `json:"dataMode,omitempty" n2k:"1"`
CogReference *uint64 `json:"cogReference,omitempty" n2k:"2"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
Cog *uint64 `json:"cog,omitempty" n2k:"5"`
Sog *uint64 `json:"sog,omitempty" n2k:"6"`
Heading *uint64 `json:"heading,omitempty" n2k:"7"`
SpeedThroughWater *uint64 `json:"speedThroughWater,omitempty" n2k:"8"`
Set *uint64 `json:"set,omitempty" n2k:"9"`
Drift *uint64 `json:"drift,omitempty" n2k:"10"`
}
func (*DirectionData) CogValue ¶
func (m *DirectionData) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DirectionData) DecodePayload ¶
func (m *DirectionData) DecodePayload(payload []uint8) error
func (*DirectionData) DriftValue ¶
func (m *DirectionData) DriftValue() (float64, bool)
DriftValue returns Drift as a physical value in m/s (value = raw * 0.01). The bool is false when Drift is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DirectionData) EncodePayload ¶
func (m *DirectionData) EncodePayload() ([]uint8, error)
func (*DirectionData) HeadingValue ¶
func (m *DirectionData) HeadingValue() (float64, bool)
HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false when Heading is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DirectionData) MessageInfo ¶
func (m *DirectionData) MessageInfo() MessageInfo
func (*DirectionData) PGNNumber ¶
func (m *DirectionData) PGNNumber() uint32
func (*DirectionData) SetCogValue ¶
func (m *DirectionData) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*DirectionData) SetDriftValue ¶
func (m *DirectionData) SetDriftValue(v float64)
SetDriftValue sets Drift from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*DirectionData) SetHeadingValue ¶
func (m *DirectionData) SetHeadingValue(v float64)
SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*DirectionData) SetMessageInfo ¶
func (m *DirectionData) SetMessageInfo(info MessageInfo)
func (*DirectionData) SetSetValue ¶
func (m *DirectionData) SetSetValue(v float64)
SetSetValue sets Set from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*DirectionData) SetSogValue ¶
func (m *DirectionData) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*DirectionData) SetSpeedThroughWaterValue ¶
func (m *DirectionData) SetSpeedThroughWaterValue(v float64)
SetSpeedThroughWaterValue sets SpeedThroughWater from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*DirectionData) SetValue ¶
func (m *DirectionData) SetValue() (float64, bool)
SetValue returns Set as a physical value in rad (value = raw * 0.0001). The bool is false when Set is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DirectionData) SogValue ¶
func (m *DirectionData) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DirectionData) SpeedThroughWaterValue ¶
func (m *DirectionData) SpeedThroughWaterValue() (float64, bool)
SpeedThroughWaterValue returns SpeedThroughWater as a physical value in m/s (value = raw * 0.01). The bool is false when SpeedThroughWater is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DirectionReferenceConst ¶
type DirectionReferenceConst uint8
const ( True DirectionReferenceConst = 0 Magnetic DirectionReferenceConst = 1 Error DirectionReferenceConst = 2 )
func (DirectionReferenceConst) GoString ¶
func (e DirectionReferenceConst) GoString() string
func (DirectionReferenceConst) String ¶
func (e DirectionReferenceConst) String() string
type DirectionRudderConst ¶
type DirectionRudderConst uint8
const ( NoOrder DirectionRudderConst = 0 MoveToStarboard DirectionRudderConst = 1 MoveToPort DirectionRudderConst = 2 )
func (DirectionRudderConst) GoString ¶
func (e DirectionRudderConst) GoString() string
func (DirectionRudderConst) String ¶
func (e DirectionRudderConst) String() string
type DistanceLog ¶
type DistanceLog struct {
Info MessageInfo `json:"info"`
Date *uint64 `json:"date,omitempty" n2k:"1"`
Time *uint64 `json:"time,omitempty" n2k:"2"`
Log *uint64 `json:"log,omitempty" n2k:"3"`
TripLog *uint64 `json:"tripLog,omitempty" n2k:"4"`
}
func (*DistanceLog) DateValue ¶
func (m *DistanceLog) DateValue() (float64, bool)
DateValue returns Date as a physical value in d (value = raw). The bool is false when Date is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DistanceLog) DecodePayload ¶
func (m *DistanceLog) DecodePayload(payload []uint8) error
func (*DistanceLog) EncodePayload ¶
func (m *DistanceLog) EncodePayload() ([]uint8, error)
func (*DistanceLog) LogValue ¶
func (m *DistanceLog) LogValue() (float64, bool)
LogValue returns Log as a physical value in m (value = raw). The bool is false when Log is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DistanceLog) MessageInfo ¶
func (m *DistanceLog) MessageInfo() MessageInfo
func (*DistanceLog) PGNNumber ¶
func (m *DistanceLog) PGNNumber() uint32
func (*DistanceLog) SetDateValue ¶
func (m *DistanceLog) SetDateValue(v float64)
SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.
func (*DistanceLog) SetLogValue ¶
func (m *DistanceLog) SetLogValue(v float64)
SetLogValue sets Log from a physical value in m, rounded to the nearest wire tick of 1.
func (*DistanceLog) SetMessageInfo ¶
func (m *DistanceLog) SetMessageInfo(info MessageInfo)
func (*DistanceLog) SetTimeValue ¶
func (m *DistanceLog) SetTimeValue(v float64)
SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*DistanceLog) SetTripLogValue ¶
func (m *DistanceLog) SetTripLogValue(v float64)
SetTripLogValue sets TripLog from a physical value in m, rounded to the nearest wire tick of 1.
func (*DistanceLog) TimeValue ¶
func (m *DistanceLog) TimeValue() (float64, bool)
TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false when Time is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DistanceLog) TripLogValue ¶
func (m *DistanceLog) TripLogValue() (float64, bool)
TripLogValue returns TripLog as a physical value in m (value = raw). The bool is false when TripLog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DiverseYachtServicesLoadCell ¶
type DiverseYachtServicesLoadCell struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Instance *uint64 `json:"instance,omitempty" n2k:"4"`
LoadCell *uint64 `json:"loadCell,omitempty" n2k:"6"`
}
func (*DiverseYachtServicesLoadCell) DecodePayload ¶
func (m *DiverseYachtServicesLoadCell) DecodePayload(payload []uint8) error
func (*DiverseYachtServicesLoadCell) EncodePayload ¶
func (m *DiverseYachtServicesLoadCell) EncodePayload() ([]uint8, error)
func (*DiverseYachtServicesLoadCell) MessageInfo ¶
func (m *DiverseYachtServicesLoadCell) MessageInfo() MessageInfo
func (*DiverseYachtServicesLoadCell) PGNNumber ¶
func (m *DiverseYachtServicesLoadCell) PGNNumber() uint32
func (*DiverseYachtServicesLoadCell) SetMessageInfo ¶
func (m *DiverseYachtServicesLoadCell) SetMessageInfo(info MessageInfo)
type DockingStatusConst ¶
type DockingStatusConst uint8
const ( NotDocked DockingStatusConst = 0 FullyDocked DockingStatusConst = 1 )
func (DockingStatusConst) GoString ¶
func (e DockingStatusConst) GoString() string
func (DockingStatusConst) String ¶
func (e DockingStatusConst) String() string
type DscCallInformation ¶
type DscCallInformation struct {
Info MessageInfo `json:"info"`
DscFormatSymbol *uint64 `json:"dscFormatSymbol,omitempty" n2k:"1"`
DscCategorySymbol *uint64 `json:"dscCategorySymbol,omitempty" n2k:"2"`
DscMessageAddress *uint64 `json:"dscMessageAddress,omitempty" n2k:"3"`
Pgn1stTelecommand *uint64 `json:"1stTelecommand,omitempty" n2k:"4"`
SubsequentCommunicationModeOr2ndTelecommand *uint64 `json:"subsequentCommunicationModeOr2ndTelecommand,omitempty" n2k:"5"`
ProposedRxFrequencyChannel string `json:"proposedRxFrequencyChannel,omitempty" n2k:"6"`
ProposedTxFrequencyChannel string `json:"proposedTxFrequencyChannel,omitempty" n2k:"7"`
TelephoneNumber string `json:"telephoneNumber,omitempty" n2k:"8"`
LatitudeOfVesselReported *int64 `json:"latitudeOfVesselReported,omitempty" n2k:"9"`
LongitudeOfVesselReported *int64 `json:"longitudeOfVesselReported,omitempty" n2k:"10"`
TimeOfPosition *uint64 `json:"timeOfPosition,omitempty" n2k:"11"`
MmsiOfShipInDistress *uint64 `json:"mmsiOfShipInDistress,omitempty" n2k:"12"`
DscEosSymbol *uint64 `json:"dscEosSymbol,omitempty" n2k:"13"`
ExpansionEnabled *uint64 `json:"expansionEnabled,omitempty" n2k:"14"`
CallingRxFrequencyChannel string `json:"callingRxFrequencyChannel,omitempty" n2k:"16"`
CallingTxFrequencyChannel string `json:"callingTxFrequencyChannel,omitempty" n2k:"17"`
TimeOfReceipt *uint64 `json:"timeOfReceipt,omitempty" n2k:"18"`
DateOfReceipt *uint64 `json:"dateOfReceipt,omitempty" n2k:"19"`
DscEquipmentAssignedMessageId *uint64 `json:"dscEquipmentAssignedMessageId,omitempty" n2k:"20"`
Repeating1 []DscCallInformationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*DscCallInformation) DateOfReceiptValue ¶
func (m *DscCallInformation) DateOfReceiptValue() (float64, bool)
DateOfReceiptValue returns DateOfReceipt as a physical value in d (value = raw). The bool is false when DateOfReceipt is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscCallInformation) DecodePayload ¶
func (m *DscCallInformation) DecodePayload(payload []uint8) error
func (*DscCallInformation) EncodePayload ¶
func (m *DscCallInformation) EncodePayload() ([]uint8, error)
func (*DscCallInformation) LatitudeOfVesselReportedValue ¶
func (m *DscCallInformation) LatitudeOfVesselReportedValue() (float64, bool)
LatitudeOfVesselReportedValue returns LatitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false when LatitudeOfVesselReported is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscCallInformation) LongitudeOfVesselReportedValue ¶
func (m *DscCallInformation) LongitudeOfVesselReportedValue() (float64, bool)
LongitudeOfVesselReportedValue returns LongitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false when LongitudeOfVesselReported is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscCallInformation) MessageInfo ¶
func (m *DscCallInformation) MessageInfo() MessageInfo
func (*DscCallInformation) PGNNumber ¶
func (m *DscCallInformation) PGNNumber() uint32
func (*DscCallInformation) SetDateOfReceiptValue ¶
func (m *DscCallInformation) SetDateOfReceiptValue(v float64)
SetDateOfReceiptValue sets DateOfReceipt from a physical value in d, rounded to the nearest wire tick of 1.
func (*DscCallInformation) SetLatitudeOfVesselReportedValue ¶
func (m *DscCallInformation) SetLatitudeOfVesselReportedValue(v float64)
SetLatitudeOfVesselReportedValue sets LatitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*DscCallInformation) SetLongitudeOfVesselReportedValue ¶
func (m *DscCallInformation) SetLongitudeOfVesselReportedValue(v float64)
SetLongitudeOfVesselReportedValue sets LongitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*DscCallInformation) SetMessageInfo ¶
func (m *DscCallInformation) SetMessageInfo(info MessageInfo)
func (*DscCallInformation) SetTimeOfPositionValue ¶
func (m *DscCallInformation) SetTimeOfPositionValue(v float64)
SetTimeOfPositionValue sets TimeOfPosition from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*DscCallInformation) SetTimeOfReceiptValue ¶
func (m *DscCallInformation) SetTimeOfReceiptValue(v float64)
SetTimeOfReceiptValue sets TimeOfReceipt from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*DscCallInformation) TimeOfPositionValue ¶
func (m *DscCallInformation) TimeOfPositionValue() (float64, bool)
TimeOfPositionValue returns TimeOfPosition as a physical value in s (value = raw * 0.0001). The bool is false when TimeOfPosition is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscCallInformation) TimeOfReceiptValue ¶
func (m *DscCallInformation) TimeOfReceiptValue() (float64, bool)
TimeOfReceiptValue returns TimeOfReceipt as a physical value in s (value = raw * 0.0001). The bool is false when TimeOfReceipt is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DscCategoryConst ¶
type DscCategoryConst uint8
const ( Routine DscCategoryConst = 100 Safety DscCategoryConst = 108 Urgency DscCategoryConst = 110 Distress_2 DscCategoryConst = 112 )
func (DscCategoryConst) GoString ¶
func (e DscCategoryConst) GoString() string
func (DscCategoryConst) String ¶
func (e DscCategoryConst) String() string
type DscDistressCallInformation ¶
type DscDistressCallInformation struct {
Info MessageInfo `json:"info"`
DscFormat *uint64 `json:"dscFormat,omitempty" n2k:"1"`
DscCategory *uint64 `json:"dscCategory,omitempty" n2k:"2"`
DscMessageAddress *uint64 `json:"dscMessageAddress,omitempty" n2k:"3"`
NatureOfDistress *uint64 `json:"natureOfDistress,omitempty" n2k:"4"`
SubsequentCommunicationModeOr2ndTelecommand *uint64 `json:"subsequentCommunicationModeOr2ndTelecommand,omitempty" n2k:"5"`
ProposedRxFrequencyChannel string `json:"proposedRxFrequencyChannel,omitempty" n2k:"6"`
ProposedTxFrequencyChannel string `json:"proposedTxFrequencyChannel,omitempty" n2k:"7"`
TelephoneNumber string `json:"telephoneNumber,omitempty" n2k:"8"`
LatitudeOfVesselReported *int64 `json:"latitudeOfVesselReported,omitempty" n2k:"9"`
LongitudeOfVesselReported *int64 `json:"longitudeOfVesselReported,omitempty" n2k:"10"`
TimeOfPosition *uint64 `json:"timeOfPosition,omitempty" n2k:"11"`
MmsiOfShipInDistress *uint64 `json:"mmsiOfShipInDistress,omitempty" n2k:"12"`
DscEosSymbol *uint64 `json:"dscEosSymbol,omitempty" n2k:"13"`
ExpansionEnabled *uint64 `json:"expansionEnabled,omitempty" n2k:"14"`
CallingRxFrequencyChannel string `json:"callingRxFrequencyChannel,omitempty" n2k:"16"`
CallingTxFrequencyChannel string `json:"callingTxFrequencyChannel,omitempty" n2k:"17"`
TimeOfReceipt *uint64 `json:"timeOfReceipt,omitempty" n2k:"18"`
DateOfReceipt *uint64 `json:"dateOfReceipt,omitempty" n2k:"19"`
DscEquipmentAssignedMessageId *uint64 `json:"dscEquipmentAssignedMessageId,omitempty" n2k:"20"`
Repeating1 []DscDistressCallInformationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*DscDistressCallInformation) DateOfReceiptValue ¶
func (m *DscDistressCallInformation) DateOfReceiptValue() (float64, bool)
DateOfReceiptValue returns DateOfReceipt as a physical value in d (value = raw). The bool is false when DateOfReceipt is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscDistressCallInformation) DecodePayload ¶
func (m *DscDistressCallInformation) DecodePayload(payload []uint8) error
func (*DscDistressCallInformation) EncodePayload ¶
func (m *DscDistressCallInformation) EncodePayload() ([]uint8, error)
func (*DscDistressCallInformation) LatitudeOfVesselReportedValue ¶
func (m *DscDistressCallInformation) LatitudeOfVesselReportedValue() (float64, bool)
LatitudeOfVesselReportedValue returns LatitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false when LatitudeOfVesselReported is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscDistressCallInformation) LongitudeOfVesselReportedValue ¶
func (m *DscDistressCallInformation) LongitudeOfVesselReportedValue() (float64, bool)
LongitudeOfVesselReportedValue returns LongitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false when LongitudeOfVesselReported is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscDistressCallInformation) MessageInfo ¶
func (m *DscDistressCallInformation) MessageInfo() MessageInfo
func (*DscDistressCallInformation) PGNNumber ¶
func (m *DscDistressCallInformation) PGNNumber() uint32
func (*DscDistressCallInformation) SetDateOfReceiptValue ¶
func (m *DscDistressCallInformation) SetDateOfReceiptValue(v float64)
SetDateOfReceiptValue sets DateOfReceipt from a physical value in d, rounded to the nearest wire tick of 1.
func (*DscDistressCallInformation) SetLatitudeOfVesselReportedValue ¶
func (m *DscDistressCallInformation) SetLatitudeOfVesselReportedValue(v float64)
SetLatitudeOfVesselReportedValue sets LatitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*DscDistressCallInformation) SetLongitudeOfVesselReportedValue ¶
func (m *DscDistressCallInformation) SetLongitudeOfVesselReportedValue(v float64)
SetLongitudeOfVesselReportedValue sets LongitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*DscDistressCallInformation) SetMessageInfo ¶
func (m *DscDistressCallInformation) SetMessageInfo(info MessageInfo)
func (*DscDistressCallInformation) SetTimeOfPositionValue ¶
func (m *DscDistressCallInformation) SetTimeOfPositionValue(v float64)
SetTimeOfPositionValue sets TimeOfPosition from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*DscDistressCallInformation) SetTimeOfReceiptValue ¶
func (m *DscDistressCallInformation) SetTimeOfReceiptValue(v float64)
SetTimeOfReceiptValue sets TimeOfReceipt from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*DscDistressCallInformation) TimeOfPositionValue ¶
func (m *DscDistressCallInformation) TimeOfPositionValue() (float64, bool)
TimeOfPositionValue returns TimeOfPosition as a physical value in s (value = raw * 0.0001). The bool is false when TimeOfPosition is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*DscDistressCallInformation) TimeOfReceiptValue ¶
func (m *DscDistressCallInformation) TimeOfReceiptValue() (float64, bool)
TimeOfReceiptValue returns TimeOfReceipt as a physical value in s (value = raw * 0.0001). The bool is false when TimeOfReceipt is nil: the wire carried the field's null sentinel or the payload ended before the field.
type DscExpansionDataConst ¶
type DscExpansionDataConst uint8
const ( EnhancedPosition DscExpansionDataConst = 100 SourceAndDatumOfPosition DscExpansionDataConst = 101 SOG DscExpansionDataConst = 102 COG DscExpansionDataConst = 103 AdditionalStationIdentification DscExpansionDataConst = 104 EnhancedGeographicArea DscExpansionDataConst = 105 NumberOfPersonsOnBoard DscExpansionDataConst = 106 )
func (DscExpansionDataConst) GoString ¶
func (e DscExpansionDataConst) GoString() string
func (DscExpansionDataConst) String ¶
func (e DscExpansionDataConst) String() string
type DscFirstTelecommandConst ¶
type DscFirstTelecommandConst uint8
const ( F3EG3EAllModesTP DscFirstTelecommandConst = 100 F3EG3EDuplexTP DscFirstTelecommandConst = 101 Polling DscFirstTelecommandConst = 103 UnableToComply DscFirstTelecommandConst = 104 EndOfCall DscFirstTelecommandConst = 105 Data DscFirstTelecommandConst = 106 J3ETP DscFirstTelecommandConst = 109 DistressAcknowledgement DscFirstTelecommandConst = 110 DistressRelay DscFirstTelecommandConst = 112 F1BJ2BTTYFEC DscFirstTelecommandConst = 113 F1BJ2BTTYARQ DscFirstTelecommandConst = 115 Test DscFirstTelecommandConst = 118 ShipPositionOrLocationRegistrationUpdating DscFirstTelecommandConst = 121 NoInformation DscFirstTelecommandConst = 126 )
func (DscFirstTelecommandConst) GoString ¶
func (e DscFirstTelecommandConst) GoString() string
func (DscFirstTelecommandConst) String ¶
func (e DscFirstTelecommandConst) String() string
type DscFormatConst ¶
type DscFormatConst uint8
const ( GeographicalArea DscFormatConst = 102 Distress DscFormatConst = 112 CommonInterest DscFormatConst = 114 AllShips DscFormatConst = 116 IndividualStations DscFormatConst = 120 NonCallingPurpose DscFormatConst = 121 IndividualStationAutomatic DscFormatConst = 123 )
func (DscFormatConst) GoString ¶
func (e DscFormatConst) GoString() string
func (DscFormatConst) String ¶
func (e DscFormatConst) String() string
type DscNatureConst ¶
type DscNatureConst uint8
const ( Fire DscNatureConst = 100 Flooding DscNatureConst = 101 Collision DscNatureConst = 102 Grounding DscNatureConst = 103 Listing DscNatureConst = 104 Sinking DscNatureConst = 105 DisabledAndAdrift DscNatureConst = 106 Undesignated DscNatureConst = 107 AbandoningShip DscNatureConst = 108 Piracy DscNatureConst = 109 ManOverboard DscNatureConst = 110 EPIRBEmission DscNatureConst = 112 )
func (DscNatureConst) GoString ¶
func (e DscNatureConst) GoString() string
func (DscNatureConst) String ¶
func (e DscNatureConst) String() string
type DscSecondTelecommandConst ¶
type DscSecondTelecommandConst uint8
const ( NoReasonGiven DscSecondTelecommandConst = 100 CongestionAtMSC DscSecondTelecommandConst = 101 Busy DscSecondTelecommandConst = 102 QueueIndication DscSecondTelecommandConst = 103 StationBarred DscSecondTelecommandConst = 104 NoOperatorAvailable DscSecondTelecommandConst = 105 EquipmentDisabled DscSecondTelecommandConst = 107 UnableToUseProposedChannel DscSecondTelecommandConst = 108 UnableToUseProposedMode DscSecondTelecommandConst = 109 ShipsAndAircraftOfStatesNotPartiesToAnArmedConflict_2 DscSecondTelecommandConst = 110 MedicalTransports DscSecondTelecommandConst = 111 PayPhonePublicCallOffice DscSecondTelecommandConst = 112 FaxData DscSecondTelecommandConst = 113 NoInformation_2 DscSecondTelecommandConst = 126 )
func (DscSecondTelecommandConst) GoString ¶
func (e DscSecondTelecommandConst) GoString() string
func (DscSecondTelecommandConst) String ¶
func (e DscSecondTelecommandConst) String() string
type ElectricDriveInformation ¶
type ElectricDriveInformation struct {
Info MessageInfo `json:"info"`
InverterMotorIdentifier *uint64 `json:"inverterMotorIdentifier,omitempty" n2k:"1"`
MotorType *uint64 `json:"motorType,omitempty" n2k:"2"`
MotorVoltageRating *uint64 `json:"motorVoltageRating,omitempty" n2k:"4"`
MaximumContinuousMotorPower *uint64 `json:"maximumContinuousMotorPower,omitempty" n2k:"5"`
MaximumBoostMotorPower *uint64 `json:"maximumBoostMotorPower,omitempty" n2k:"6"`
MaximumMotorTemperatureRating *uint64 `json:"maximumMotorTemperatureRating,omitempty" n2k:"7"`
RatedMotorSpeed *uint64 `json:"ratedMotorSpeed,omitempty" n2k:"8"`
MaximumControllerTemperatureRating *uint64 `json:"maximumControllerTemperatureRating,omitempty" n2k:"9"`
MotorShaftTorqueRating *uint64 `json:"motorShaftTorqueRating,omitempty" n2k:"10"`
MotorDcVoltageDeratingThreshold *uint64 `json:"motorDcVoltageDeratingThreshold,omitempty" n2k:"11"`
MotorDcVoltageCutOffThreshold *uint64 `json:"motorDcVoltageCutOffThreshold,omitempty" n2k:"12"`
DriveMotorHours *uint64 `json:"driveMotorHours,omitempty" n2k:"13"`
}
func (*ElectricDriveInformation) DecodePayload ¶
func (m *ElectricDriveInformation) DecodePayload(payload []uint8) error
func (*ElectricDriveInformation) DriveMotorHoursValue ¶
func (m *ElectricDriveInformation) DriveMotorHoursValue() (float64, bool)
DriveMotorHoursValue returns DriveMotorHours as a physical value in s (value = raw). The bool is false when DriveMotorHours is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) EncodePayload ¶
func (m *ElectricDriveInformation) EncodePayload() ([]uint8, error)
func (*ElectricDriveInformation) MaximumBoostMotorPowerValue ¶
func (m *ElectricDriveInformation) MaximumBoostMotorPowerValue() (float64, bool)
MaximumBoostMotorPowerValue returns MaximumBoostMotorPower as a physical value in W (value = raw). The bool is false when MaximumBoostMotorPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MaximumContinuousMotorPowerValue ¶
func (m *ElectricDriveInformation) MaximumContinuousMotorPowerValue() (float64, bool)
MaximumContinuousMotorPowerValue returns MaximumContinuousMotorPower as a physical value in W (value = raw). The bool is false when MaximumContinuousMotorPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MaximumControllerTemperatureRatingValue ¶
func (m *ElectricDriveInformation) MaximumControllerTemperatureRatingValue() (float64, bool)
MaximumControllerTemperatureRatingValue returns MaximumControllerTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false when MaximumControllerTemperatureRating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MaximumMotorTemperatureRatingValue ¶
func (m *ElectricDriveInformation) MaximumMotorTemperatureRatingValue() (float64, bool)
MaximumMotorTemperatureRatingValue returns MaximumMotorTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false when MaximumMotorTemperatureRating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MessageInfo ¶
func (m *ElectricDriveInformation) MessageInfo() MessageInfo
func (*ElectricDriveInformation) MotorDcVoltageCutOffThresholdValue ¶
func (m *ElectricDriveInformation) MotorDcVoltageCutOffThresholdValue() (float64, bool)
MotorDcVoltageCutOffThresholdValue returns MotorDcVoltageCutOffThreshold as a physical value in V (value = raw * 0.1). The bool is false when MotorDcVoltageCutOffThreshold is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MotorDcVoltageDeratingThresholdValue ¶
func (m *ElectricDriveInformation) MotorDcVoltageDeratingThresholdValue() (float64, bool)
MotorDcVoltageDeratingThresholdValue returns MotorDcVoltageDeratingThreshold as a physical value in V (value = raw * 0.1). The bool is false when MotorDcVoltageDeratingThreshold is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) MotorVoltageRatingValue ¶
func (m *ElectricDriveInformation) MotorVoltageRatingValue() (float64, bool)
MotorVoltageRatingValue returns MotorVoltageRating as a physical value in V (value = raw * 0.1). The bool is false when MotorVoltageRating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) PGNNumber ¶
func (m *ElectricDriveInformation) PGNNumber() uint32
func (*ElectricDriveInformation) RatedMotorSpeedValue ¶
func (m *ElectricDriveInformation) RatedMotorSpeedValue() (float64, bool)
RatedMotorSpeedValue returns RatedMotorSpeed as a physical value in rpm (value = raw * 0.25). The bool is false when RatedMotorSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveInformation) SetDriveMotorHoursValue ¶
func (m *ElectricDriveInformation) SetDriveMotorHoursValue(v float64)
SetDriveMotorHoursValue sets DriveMotorHours from a physical value in s, rounded to the nearest wire tick of 1.
func (*ElectricDriveInformation) SetMaximumBoostMotorPowerValue ¶
func (m *ElectricDriveInformation) SetMaximumBoostMotorPowerValue(v float64)
SetMaximumBoostMotorPowerValue sets MaximumBoostMotorPower from a physical value in W, rounded to the nearest wire tick of 1.
func (*ElectricDriveInformation) SetMaximumContinuousMotorPowerValue ¶
func (m *ElectricDriveInformation) SetMaximumContinuousMotorPowerValue(v float64)
SetMaximumContinuousMotorPowerValue sets MaximumContinuousMotorPower from a physical value in W, rounded to the nearest wire tick of 1.
func (*ElectricDriveInformation) SetMaximumControllerTemperatureRatingValue ¶
func (m *ElectricDriveInformation) SetMaximumControllerTemperatureRatingValue(v float64)
SetMaximumControllerTemperatureRatingValue sets MaximumControllerTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricDriveInformation) SetMaximumMotorTemperatureRatingValue ¶
func (m *ElectricDriveInformation) SetMaximumMotorTemperatureRatingValue(v float64)
SetMaximumMotorTemperatureRatingValue sets MaximumMotorTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricDriveInformation) SetMessageInfo ¶
func (m *ElectricDriveInformation) SetMessageInfo(info MessageInfo)
func (*ElectricDriveInformation) SetMotorDcVoltageCutOffThresholdValue ¶
func (m *ElectricDriveInformation) SetMotorDcVoltageCutOffThresholdValue(v float64)
SetMotorDcVoltageCutOffThresholdValue sets MotorDcVoltageCutOffThreshold from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*ElectricDriveInformation) SetMotorDcVoltageDeratingThresholdValue ¶
func (m *ElectricDriveInformation) SetMotorDcVoltageDeratingThresholdValue(v float64)
SetMotorDcVoltageDeratingThresholdValue sets MotorDcVoltageDeratingThreshold from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*ElectricDriveInformation) SetMotorVoltageRatingValue ¶
func (m *ElectricDriveInformation) SetMotorVoltageRatingValue(v float64)
SetMotorVoltageRatingValue sets MotorVoltageRating from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*ElectricDriveInformation) SetRatedMotorSpeedValue ¶
func (m *ElectricDriveInformation) SetRatedMotorSpeedValue(v float64)
SetRatedMotorSpeedValue sets RatedMotorSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.
type ElectricDriveStatusDynamic ¶
type ElectricDriveStatusDynamic struct {
Info MessageInfo `json:"info"`
InverterMotorIdentifier *uint64 `json:"inverterMotorIdentifier,omitempty" n2k:"1"`
OperatingMode *uint64 `json:"operatingMode,omitempty" n2k:"2"`
MotorTemperature *uint64 `json:"motorTemperature,omitempty" n2k:"4"`
InverterTemperature *uint64 `json:"inverterTemperature,omitempty" n2k:"5"`
CoolantTemperature *uint64 `json:"coolantTemperature,omitempty" n2k:"6"`
GearTemperature *uint64 `json:"gearTemperature,omitempty" n2k:"7"`
ShaftTorque *uint64 `json:"shaftTorque,omitempty" n2k:"8"`
}
func (*ElectricDriveStatusDynamic) CoolantTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) CoolantTemperatureValue() (float64, bool)
CoolantTemperatureValue returns CoolantTemperature as a physical value in K (value = raw * 0.01). The bool is false when CoolantTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusDynamic) DecodePayload ¶
func (m *ElectricDriveStatusDynamic) DecodePayload(payload []uint8) error
func (*ElectricDriveStatusDynamic) EncodePayload ¶
func (m *ElectricDriveStatusDynamic) EncodePayload() ([]uint8, error)
func (*ElectricDriveStatusDynamic) GearTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) GearTemperatureValue() (float64, bool)
GearTemperatureValue returns GearTemperature as a physical value in K (value = raw * 0.01). The bool is false when GearTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusDynamic) InverterTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) InverterTemperatureValue() (float64, bool)
InverterTemperatureValue returns InverterTemperature as a physical value in K (value = raw * 0.01). The bool is false when InverterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusDynamic) MessageInfo ¶
func (m *ElectricDriveStatusDynamic) MessageInfo() MessageInfo
func (*ElectricDriveStatusDynamic) MotorTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) MotorTemperatureValue() (float64, bool)
MotorTemperatureValue returns MotorTemperature as a physical value in K (value = raw * 0.01). The bool is false when MotorTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusDynamic) PGNNumber ¶
func (m *ElectricDriveStatusDynamic) PGNNumber() uint32
func (*ElectricDriveStatusDynamic) SetCoolantTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) SetCoolantTemperatureValue(v float64)
SetCoolantTemperatureValue sets CoolantTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricDriveStatusDynamic) SetGearTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) SetGearTemperatureValue(v float64)
SetGearTemperatureValue sets GearTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricDriveStatusDynamic) SetInverterTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) SetInverterTemperatureValue(v float64)
SetInverterTemperatureValue sets InverterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricDriveStatusDynamic) SetMessageInfo ¶
func (m *ElectricDriveStatusDynamic) SetMessageInfo(info MessageInfo)
func (*ElectricDriveStatusDynamic) SetMotorTemperatureValue ¶
func (m *ElectricDriveStatusDynamic) SetMotorTemperatureValue(v float64)
SetMotorTemperatureValue sets MotorTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
type ElectricDriveStatusRapidUpdate ¶
type ElectricDriveStatusRapidUpdate struct {
Info MessageInfo `json:"info"`
InverterMotorController *uint64 `json:"inverterMotorController,omitempty" n2k:"1"`
ActiveMotorMode *uint64 `json:"activeMotorMode,omitempty" n2k:"2"`
BrakeMode *uint64 `json:"brakeMode,omitempty" n2k:"3"`
RotationalShaftSpeed *uint64 `json:"rotationalShaftSpeed,omitempty" n2k:"5"`
MotorDcVoltage *uint64 `json:"motorDcVoltage,omitempty" n2k:"6"`
MotorDcCurrent *int64 `json:"motorDcCurrent,omitempty" n2k:"7"`
}
func (*ElectricDriveStatusRapidUpdate) DecodePayload ¶
func (m *ElectricDriveStatusRapidUpdate) DecodePayload(payload []uint8) error
func (*ElectricDriveStatusRapidUpdate) EncodePayload ¶
func (m *ElectricDriveStatusRapidUpdate) EncodePayload() ([]uint8, error)
func (*ElectricDriveStatusRapidUpdate) MessageInfo ¶
func (m *ElectricDriveStatusRapidUpdate) MessageInfo() MessageInfo
func (*ElectricDriveStatusRapidUpdate) MotorDcCurrentValue ¶
func (m *ElectricDriveStatusRapidUpdate) MotorDcCurrentValue() (float64, bool)
MotorDcCurrentValue returns MotorDcCurrent as a physical value in A (value = raw * 0.1). The bool is false when MotorDcCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusRapidUpdate) MotorDcVoltageValue ¶
func (m *ElectricDriveStatusRapidUpdate) MotorDcVoltageValue() (float64, bool)
MotorDcVoltageValue returns MotorDcVoltage as a physical value in V (value = raw * 0.1). The bool is false when MotorDcVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusRapidUpdate) PGNNumber ¶
func (m *ElectricDriveStatusRapidUpdate) PGNNumber() uint32
func (*ElectricDriveStatusRapidUpdate) RotationalShaftSpeedValue ¶
func (m *ElectricDriveStatusRapidUpdate) RotationalShaftSpeedValue() (float64, bool)
RotationalShaftSpeedValue returns RotationalShaftSpeed as a physical value in rpm (value = raw * 0.25). The bool is false when RotationalShaftSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricDriveStatusRapidUpdate) SetMessageInfo ¶
func (m *ElectricDriveStatusRapidUpdate) SetMessageInfo(info MessageInfo)
func (*ElectricDriveStatusRapidUpdate) SetMotorDcCurrentValue ¶
func (m *ElectricDriveStatusRapidUpdate) SetMotorDcCurrentValue(v float64)
SetMotorDcCurrentValue sets MotorDcCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*ElectricDriveStatusRapidUpdate) SetMotorDcVoltageValue ¶
func (m *ElectricDriveStatusRapidUpdate) SetMotorDcVoltageValue(v float64)
SetMotorDcVoltageValue sets MotorDcVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*ElectricDriveStatusRapidUpdate) SetRotationalShaftSpeedValue ¶
func (m *ElectricDriveStatusRapidUpdate) SetRotationalShaftSpeedValue(v float64)
SetRotationalShaftSpeedValue sets RotationalShaftSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.
type ElectricEnergyStorageInformation ¶
type ElectricEnergyStorageInformation struct {
Info MessageInfo `json:"info"`
EnergyStorageIdentifier *uint64 `json:"energyStorageIdentifier,omitempty" n2k:"1"`
MotorType *uint64 `json:"motorType,omitempty" n2k:"2"`
StorageChemistryConversion *uint64 `json:"storageChemistryConversion,omitempty" n2k:"4"`
MaximumTemperatureDerating *uint64 `json:"maximumTemperatureDerating,omitempty" n2k:"5"`
MaximumTemperatureShutOff *uint64 `json:"maximumTemperatureShutOff,omitempty" n2k:"6"`
MinimumTemperatureDerating *uint64 `json:"minimumTemperatureDerating,omitempty" n2k:"7"`
MinimumTemperatureShutOff *uint64 `json:"minimumTemperatureShutOff,omitempty" n2k:"8"`
UsableBatteryEnergy *uint64 `json:"usableBatteryEnergy,omitempty" n2k:"9"`
StateOfHealth *uint64 `json:"stateOfHealth,omitempty" n2k:"10"`
BatteryCycleCounter *uint64 `json:"batteryCycleCounter,omitempty" n2k:"11"`
BatteryFullStatus *uint64 `json:"batteryFullStatus,omitempty" n2k:"12"`
BatteryEmptyStatus *uint64 `json:"batteryEmptyStatus,omitempty" n2k:"13"`
MaximumChargeSoc *uint64 `json:"maximumChargeSoc,omitempty" n2k:"15"`
MinimumChargeSoc *uint64 `json:"minimumChargeSoc,omitempty" n2k:"16"`
}
func (*ElectricEnergyStorageInformation) DecodePayload ¶
func (m *ElectricEnergyStorageInformation) DecodePayload(payload []uint8) error
func (*ElectricEnergyStorageInformation) EncodePayload ¶
func (m *ElectricEnergyStorageInformation) EncodePayload() ([]uint8, error)
func (*ElectricEnergyStorageInformation) MaximumTemperatureDeratingValue ¶
func (m *ElectricEnergyStorageInformation) MaximumTemperatureDeratingValue() (float64, bool)
MaximumTemperatureDeratingValue returns MaximumTemperatureDerating as a physical value in K (value = raw * 0.01). The bool is false when MaximumTemperatureDerating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageInformation) MaximumTemperatureShutOffValue ¶
func (m *ElectricEnergyStorageInformation) MaximumTemperatureShutOffValue() (float64, bool)
MaximumTemperatureShutOffValue returns MaximumTemperatureShutOff as a physical value in K (value = raw * 0.01). The bool is false when MaximumTemperatureShutOff is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageInformation) MessageInfo ¶
func (m *ElectricEnergyStorageInformation) MessageInfo() MessageInfo
func (*ElectricEnergyStorageInformation) MinimumTemperatureDeratingValue ¶
func (m *ElectricEnergyStorageInformation) MinimumTemperatureDeratingValue() (float64, bool)
MinimumTemperatureDeratingValue returns MinimumTemperatureDerating as a physical value in K (value = raw * 0.01). The bool is false when MinimumTemperatureDerating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageInformation) MinimumTemperatureShutOffValue ¶
func (m *ElectricEnergyStorageInformation) MinimumTemperatureShutOffValue() (float64, bool)
MinimumTemperatureShutOffValue returns MinimumTemperatureShutOff as a physical value in K (value = raw * 0.01). The bool is false when MinimumTemperatureShutOff is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageInformation) PGNNumber ¶
func (m *ElectricEnergyStorageInformation) PGNNumber() uint32
func (*ElectricEnergyStorageInformation) SetMaximumTemperatureDeratingValue ¶
func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureDeratingValue(v float64)
SetMaximumTemperatureDeratingValue sets MaximumTemperatureDerating from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageInformation) SetMaximumTemperatureShutOffValue ¶
func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureShutOffValue(v float64)
SetMaximumTemperatureShutOffValue sets MaximumTemperatureShutOff from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageInformation) SetMessageInfo ¶
func (m *ElectricEnergyStorageInformation) SetMessageInfo(info MessageInfo)
func (*ElectricEnergyStorageInformation) SetMinimumTemperatureDeratingValue ¶
func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureDeratingValue(v float64)
SetMinimumTemperatureDeratingValue sets MinimumTemperatureDerating from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageInformation) SetMinimumTemperatureShutOffValue ¶
func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureShutOffValue(v float64)
SetMinimumTemperatureShutOffValue sets MinimumTemperatureShutOff from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageInformation) SetUsableBatteryEnergyValue ¶
func (m *ElectricEnergyStorageInformation) SetUsableBatteryEnergyValue(v float64)
SetUsableBatteryEnergyValue sets UsableBatteryEnergy from a physical value in kWh, rounded to the nearest wire tick of 1.
func (*ElectricEnergyStorageInformation) UsableBatteryEnergyValue ¶
func (m *ElectricEnergyStorageInformation) UsableBatteryEnergyValue() (float64, bool)
UsableBatteryEnergyValue returns UsableBatteryEnergy as a physical value in kWh (value = raw). The bool is false when UsableBatteryEnergy is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ElectricEnergyStorageStatusDynamic ¶
type ElectricEnergyStorageStatusDynamic struct {
Info MessageInfo `json:"info"`
EnergyStorageIdentifier *uint64 `json:"energyStorageIdentifier,omitempty" n2k:"1"`
StateOfCharge *uint64 `json:"stateOfCharge,omitempty" n2k:"2"`
TimeRemaining *uint64 `json:"timeRemaining,omitempty" n2k:"3"`
HighestCellTemperature *uint64 `json:"highestCellTemperature,omitempty" n2k:"4"`
LowestCellTemperature *uint64 `json:"lowestCellTemperature,omitempty" n2k:"5"`
AverageCellTemperature *uint64 `json:"averageCellTemperature,omitempty" n2k:"6"`
MaxDischargeCurrent *int64 `json:"maxDischargeCurrent,omitempty" n2k:"7"`
MaxChargeCurrent *int64 `json:"maxChargeCurrent,omitempty" n2k:"8"`
CoolingSystemStatus *uint64 `json:"coolingSystemStatus,omitempty" n2k:"9"`
HeatingSystemStatus *uint64 `json:"heatingSystemStatus,omitempty" n2k:"10"`
}
func (*ElectricEnergyStorageStatusDynamic) AverageCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) AverageCellTemperatureValue() (float64, bool)
AverageCellTemperatureValue returns AverageCellTemperature as a physical value in K (value = raw * 0.01). The bool is false when AverageCellTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) DecodePayload ¶
func (m *ElectricEnergyStorageStatusDynamic) DecodePayload(payload []uint8) error
func (*ElectricEnergyStorageStatusDynamic) EncodePayload ¶
func (m *ElectricEnergyStorageStatusDynamic) EncodePayload() ([]uint8, error)
func (*ElectricEnergyStorageStatusDynamic) HighestCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) HighestCellTemperatureValue() (float64, bool)
HighestCellTemperatureValue returns HighestCellTemperature as a physical value in K (value = raw * 0.01). The bool is false when HighestCellTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) LowestCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) LowestCellTemperatureValue() (float64, bool)
LowestCellTemperatureValue returns LowestCellTemperature as a physical value in K (value = raw * 0.01). The bool is false when LowestCellTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) MaxChargeCurrentValue ¶
func (m *ElectricEnergyStorageStatusDynamic) MaxChargeCurrentValue() (float64, bool)
MaxChargeCurrentValue returns MaxChargeCurrent as a physical value in A (value = raw * 0.1). The bool is false when MaxChargeCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) MaxDischargeCurrentValue ¶
func (m *ElectricEnergyStorageStatusDynamic) MaxDischargeCurrentValue() (float64, bool)
MaxDischargeCurrentValue returns MaxDischargeCurrent as a physical value in A (value = raw * 0.1). The bool is false when MaxDischargeCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) MessageInfo ¶
func (m *ElectricEnergyStorageStatusDynamic) MessageInfo() MessageInfo
func (*ElectricEnergyStorageStatusDynamic) PGNNumber ¶
func (m *ElectricEnergyStorageStatusDynamic) PGNNumber() uint32
func (*ElectricEnergyStorageStatusDynamic) SetAverageCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetAverageCellTemperatureValue(v float64)
SetAverageCellTemperatureValue sets AverageCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageStatusDynamic) SetHighestCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetHighestCellTemperatureValue(v float64)
SetHighestCellTemperatureValue sets HighestCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageStatusDynamic) SetLowestCellTemperatureValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetLowestCellTemperatureValue(v float64)
SetLowestCellTemperatureValue sets LowestCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ElectricEnergyStorageStatusDynamic) SetMaxChargeCurrentValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetMaxChargeCurrentValue(v float64)
SetMaxChargeCurrentValue sets MaxChargeCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*ElectricEnergyStorageStatusDynamic) SetMaxDischargeCurrentValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetMaxDischargeCurrentValue(v float64)
SetMaxDischargeCurrentValue sets MaxDischargeCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*ElectricEnergyStorageStatusDynamic) SetMessageInfo ¶
func (m *ElectricEnergyStorageStatusDynamic) SetMessageInfo(info MessageInfo)
func (*ElectricEnergyStorageStatusDynamic) SetStateOfChargeValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetStateOfChargeValue(v float64)
SetStateOfChargeValue sets StateOfCharge from a physical value in %, rounded to the nearest wire tick of 1.
func (*ElectricEnergyStorageStatusDynamic) SetTimeRemainingValue ¶
func (m *ElectricEnergyStorageStatusDynamic) SetTimeRemainingValue(v float64)
SetTimeRemainingValue sets TimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.
func (*ElectricEnergyStorageStatusDynamic) StateOfChargeValue ¶
func (m *ElectricEnergyStorageStatusDynamic) StateOfChargeValue() (float64, bool)
StateOfChargeValue returns StateOfCharge as a physical value in % (value = raw). The bool is false when StateOfCharge is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusDynamic) TimeRemainingValue ¶
func (m *ElectricEnergyStorageStatusDynamic) TimeRemainingValue() (float64, bool)
TimeRemainingValue returns TimeRemaining as a physical value in s (value = raw * 60). The bool is false when TimeRemaining is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ElectricEnergyStorageStatusRapidUpdate ¶
type ElectricEnergyStorageStatusRapidUpdate struct {
Info MessageInfo `json:"info"`
EnergyStorageIdentifier *uint64 `json:"energyStorageIdentifier,omitempty" n2k:"1"`
BatteryStatus *uint64 `json:"batteryStatus,omitempty" n2k:"2"`
IsolationStatus *uint64 `json:"isolationStatus,omitempty" n2k:"3"`
BatteryError *uint64 `json:"batteryError,omitempty" n2k:"4"`
BatteryVoltage *uint64 `json:"batteryVoltage,omitempty" n2k:"5"`
BatteryCurrent *int64 `json:"batteryCurrent,omitempty" n2k:"6"`
}
func (*ElectricEnergyStorageStatusRapidUpdate) BatteryCurrentValue ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryCurrentValue() (float64, bool)
BatteryCurrentValue returns BatteryCurrent as a physical value in A (value = raw * 0.1). The bool is false when BatteryCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusRapidUpdate) BatteryVoltageValue ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryVoltageValue() (float64, bool)
BatteryVoltageValue returns BatteryVoltage as a physical value in V (value = raw * 0.1). The bool is false when BatteryVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ElectricEnergyStorageStatusRapidUpdate) DecodePayload ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) DecodePayload(payload []uint8) error
func (*ElectricEnergyStorageStatusRapidUpdate) EncodePayload ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) EncodePayload() ([]uint8, error)
func (*ElectricEnergyStorageStatusRapidUpdate) MessageInfo ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) MessageInfo() MessageInfo
func (*ElectricEnergyStorageStatusRapidUpdate) PGNNumber ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) PGNNumber() uint32
func (*ElectricEnergyStorageStatusRapidUpdate) SetBatteryCurrentValue ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryCurrentValue(v float64)
SetBatteryCurrentValue sets BatteryCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*ElectricEnergyStorageStatusRapidUpdate) SetBatteryVoltageValue ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryVoltageValue(v float64)
SetBatteryVoltageValue sets BatteryVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.
func (*ElectricEnergyStorageStatusRapidUpdate) SetMessageInfo ¶
func (m *ElectricEnergyStorageStatusRapidUpdate) SetMessageInfo(info MessageInfo)
type ElevatorCarStatus ¶
type ElevatorCarStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ElevatorCarId *uint64 `json:"elevatorCarId,omitempty" n2k:"2"`
ElevatorCarUsage *uint64 `json:"elevatorCarUsage,omitempty" n2k:"3"`
SmokeSensorStatus *uint64 `json:"smokeSensorStatus,omitempty" n2k:"4"`
LimitSwitchSensorStatus *uint64 `json:"limitSwitchSensorStatus,omitempty" n2k:"5"`
ProximitySwitchSensorStatus *uint64 `json:"proximitySwitchSensorStatus,omitempty" n2k:"6"`
InertialMeasurementUnitImuSensorStatus *uint64 `json:"inertialMeasurementUnitImuSensorStatus,omitempty" n2k:"7"`
ElevatorLoadLimitStatus *uint64 `json:"elevatorLoadLimitStatus,omitempty" n2k:"8"`
ElevatorLoadBalanceStatus *uint64 `json:"elevatorLoadBalanceStatus,omitempty" n2k:"9"`
ElevatorLoadSensor1Status *uint64 `json:"elevatorLoadSensor1Status,omitempty" n2k:"10"`
ElevatorLoadSensor2Status *uint64 `json:"elevatorLoadSensor2Status,omitempty" n2k:"11"`
ElevatorLoadSensor3Status *uint64 `json:"elevatorLoadSensor3Status,omitempty" n2k:"12"`
ElevatorLoadSensor4Status *uint64 `json:"elevatorLoadSensor4Status,omitempty" n2k:"13"`
ElevatorCarMotionStatus *uint64 `json:"elevatorCarMotionStatus,omitempty" n2k:"15"`
ElevatorCarDoorStatus *uint64 `json:"elevatorCarDoorStatus,omitempty" n2k:"16"`
ElevatorCarEmergencyButtonStatus *uint64 `json:"elevatorCarEmergencyButtonStatus,omitempty" n2k:"17"`
ElevatorCarBuzzerStatus *uint64 `json:"elevatorCarBuzzerStatus,omitempty" n2k:"18"`
OpenDoorButtonStatus *uint64 `json:"openDoorButtonStatus,omitempty" n2k:"19"`
CloseDoorButtonStatus *uint64 `json:"closeDoorButtonStatus,omitempty" n2k:"20"`
CurrentDeck *uint64 `json:"currentDeck,omitempty" n2k:"22"`
DestinationDeck *uint64 `json:"destinationDeck,omitempty" n2k:"23"`
TotalNumberOfDecks *uint64 `json:"totalNumberOfDecks,omitempty" n2k:"24"`
WeightOfLoadCell1 *uint64 `json:"weightOfLoadCell1,omitempty" n2k:"25"`
WeightOfLoadCell2 *uint64 `json:"weightOfLoadCell2,omitempty" n2k:"26"`
WeightOfLoadCell3 *uint64 `json:"weightOfLoadCell3,omitempty" n2k:"27"`
WeightOfLoadCell4 *uint64 `json:"weightOfLoadCell4,omitempty" n2k:"28"`
SpeedOfElevatorCar *int64 `json:"speedOfElevatorCar,omitempty" n2k:"29"`
ElevatorBrakeStatus *uint64 `json:"elevatorBrakeStatus,omitempty" n2k:"30"`
ElevatorMotorRotationControlStatus *uint64 `json:"elevatorMotorRotationControlStatus,omitempty" n2k:"31"`
}
func (*ElevatorCarStatus) DecodePayload ¶
func (m *ElevatorCarStatus) DecodePayload(payload []uint8) error
func (*ElevatorCarStatus) EncodePayload ¶
func (m *ElevatorCarStatus) EncodePayload() ([]uint8, error)
func (*ElevatorCarStatus) MessageInfo ¶
func (m *ElevatorCarStatus) MessageInfo() MessageInfo
func (*ElevatorCarStatus) PGNNumber ¶
func (m *ElevatorCarStatus) PGNNumber() uint32
func (*ElevatorCarStatus) SetMessageInfo ¶
func (m *ElevatorCarStatus) SetMessageInfo(info MessageInfo)
func (*ElevatorCarStatus) SetSpeedOfElevatorCarValue ¶
func (m *ElevatorCarStatus) SetSpeedOfElevatorCarValue(v float64)
SetSpeedOfElevatorCarValue sets SpeedOfElevatorCar from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*ElevatorCarStatus) SpeedOfElevatorCarValue ¶
func (m *ElevatorCarStatus) SpeedOfElevatorCarValue() (float64, bool)
SpeedOfElevatorCarValue returns SpeedOfElevatorCar as a physical value in m/s (value = raw * 0.01). The bool is false when SpeedOfElevatorCar is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ElevatorDeckPushButton ¶
type ElevatorDeckPushButton struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ElevatorCallButtonId *uint64 `json:"elevatorCallButtonId,omitempty" n2k:"2"`
DeckButtonId *uint64 `json:"deckButtonId,omitempty" n2k:"3"`
ElevatorCarUsage *uint64 `json:"elevatorCarUsage,omitempty" n2k:"4"`
ElevatorCarButtonSelection *uint64 `json:"elevatorCarButtonSelection,omitempty" n2k:"5"`
}
func (*ElevatorDeckPushButton) DecodePayload ¶
func (m *ElevatorDeckPushButton) DecodePayload(payload []uint8) error
func (*ElevatorDeckPushButton) EncodePayload ¶
func (m *ElevatorDeckPushButton) EncodePayload() ([]uint8, error)
func (*ElevatorDeckPushButton) MessageInfo ¶
func (m *ElevatorDeckPushButton) MessageInfo() MessageInfo
func (*ElevatorDeckPushButton) PGNNumber ¶
func (m *ElevatorDeckPushButton) PGNNumber() uint32
func (*ElevatorDeckPushButton) SetMessageInfo ¶
func (m *ElevatorDeckPushButton) SetMessageInfo(info MessageInfo)
type ElevatorMotorControl ¶
type ElevatorMotorControl struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
ElevatorCarId *uint64 `json:"elevatorCarId,omitempty" n2k:"2"`
ElevatorCarUsage *uint64 `json:"elevatorCarUsage,omitempty" n2k:"3"`
MotorAccelerationDecelerationProfileSelection *uint64 `json:"motorAccelerationDecelerationProfileSelection,omitempty" n2k:"4"`
MotorRotationalControlStatus *uint64 `json:"motorRotationalControlStatus,omitempty" n2k:"5"`
}
func (*ElevatorMotorControl) DecodePayload ¶
func (m *ElevatorMotorControl) DecodePayload(payload []uint8) error
func (*ElevatorMotorControl) EncodePayload ¶
func (m *ElevatorMotorControl) EncodePayload() ([]uint8, error)
func (*ElevatorMotorControl) MessageInfo ¶
func (m *ElevatorMotorControl) MessageInfo() MessageInfo
func (*ElevatorMotorControl) PGNNumber ¶
func (m *ElevatorMotorControl) PGNNumber() uint32
func (*ElevatorMotorControl) SetMessageInfo ¶
func (m *ElevatorMotorControl) SetMessageInfo(info MessageInfo)
type EngineInstanceConst ¶
type EngineInstanceConst uint8
const ( SingleEngineOrDualEnginePort EngineInstanceConst = 0 DualEngineStarboard EngineInstanceConst = 1 )
func (EngineInstanceConst) GoString ¶
func (e EngineInstanceConst) GoString() string
func (EngineInstanceConst) String ¶
func (e EngineInstanceConst) String() string
type EngineParametersDynamic ¶
type EngineParametersDynamic struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
OilPressure *uint64 `json:"oilPressure,omitempty" n2k:"2"`
OilTemperature *uint64 `json:"oilTemperature,omitempty" n2k:"3"`
Temperature *uint64 `json:"temperature,omitempty" n2k:"4"`
AlternatorPotential *int64 `json:"alternatorPotential,omitempty" n2k:"5"`
FuelRate *int64 `json:"fuelRate,omitempty" n2k:"6"`
TotalEngineHours *uint64 `json:"totalEngineHours,omitempty" n2k:"7"`
CoolantPressure *uint64 `json:"coolantPressure,omitempty" n2k:"8"`
FuelPressure *uint64 `json:"fuelPressure,omitempty" n2k:"9"`
DiscreteStatus1 *uint64 `json:"discreteStatus1,omitempty" n2k:"11"`
DiscreteStatus2 *uint64 `json:"discreteStatus2,omitempty" n2k:"12"`
EngineLoad *int64 `json:"engineLoad,omitempty" n2k:"13"`
EngineTorque *int64 `json:"engineTorque,omitempty" n2k:"14"`
}
func (*EngineParametersDynamic) AlternatorPotentialValue ¶
func (m *EngineParametersDynamic) AlternatorPotentialValue() (float64, bool)
AlternatorPotentialValue returns AlternatorPotential as a physical value in V (value = raw * 0.01). The bool is false when AlternatorPotential is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) CoolantPressureValue ¶
func (m *EngineParametersDynamic) CoolantPressureValue() (float64, bool)
CoolantPressureValue returns CoolantPressure as a physical value in Pa (value = raw * 100). The bool is false when CoolantPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) DecodePayload ¶
func (m *EngineParametersDynamic) DecodePayload(payload []uint8) error
func (*EngineParametersDynamic) EncodePayload ¶
func (m *EngineParametersDynamic) EncodePayload() ([]uint8, error)
func (*EngineParametersDynamic) EngineLoadValue ¶
func (m *EngineParametersDynamic) EngineLoadValue() (float64, bool)
EngineLoadValue returns EngineLoad as a physical value in % (value = raw). The bool is false when EngineLoad is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) EngineTorqueValue ¶
func (m *EngineParametersDynamic) EngineTorqueValue() (float64, bool)
EngineTorqueValue returns EngineTorque as a physical value in % (value = raw). The bool is false when EngineTorque is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) FuelPressureValue ¶
func (m *EngineParametersDynamic) FuelPressureValue() (float64, bool)
FuelPressureValue returns FuelPressure as a physical value in Pa (value = raw * 1000). The bool is false when FuelPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) FuelRateValue ¶
func (m *EngineParametersDynamic) FuelRateValue() (float64, bool)
FuelRateValue returns FuelRate as a physical value in L/h (value = raw * 0.1). The bool is false when FuelRate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) MessageInfo ¶
func (m *EngineParametersDynamic) MessageInfo() MessageInfo
func (*EngineParametersDynamic) OilPressureValue ¶
func (m *EngineParametersDynamic) OilPressureValue() (float64, bool)
OilPressureValue returns OilPressure as a physical value in Pa (value = raw * 100). The bool is false when OilPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) OilTemperatureValue ¶
func (m *EngineParametersDynamic) OilTemperatureValue() (float64, bool)
OilTemperatureValue returns OilTemperature as a physical value in K (value = raw * 0.1). The bool is false when OilTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) PGNNumber ¶
func (m *EngineParametersDynamic) PGNNumber() uint32
func (*EngineParametersDynamic) SetAlternatorPotentialValue ¶
func (m *EngineParametersDynamic) SetAlternatorPotentialValue(v float64)
SetAlternatorPotentialValue sets AlternatorPotential from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*EngineParametersDynamic) SetCoolantPressureValue ¶
func (m *EngineParametersDynamic) SetCoolantPressureValue(v float64)
SetCoolantPressureValue sets CoolantPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*EngineParametersDynamic) SetEngineLoadValue ¶
func (m *EngineParametersDynamic) SetEngineLoadValue(v float64)
SetEngineLoadValue sets EngineLoad from a physical value in %, rounded to the nearest wire tick of 1.
func (*EngineParametersDynamic) SetEngineTorqueValue ¶
func (m *EngineParametersDynamic) SetEngineTorqueValue(v float64)
SetEngineTorqueValue sets EngineTorque from a physical value in %, rounded to the nearest wire tick of 1.
func (*EngineParametersDynamic) SetFuelPressureValue ¶
func (m *EngineParametersDynamic) SetFuelPressureValue(v float64)
SetFuelPressureValue sets FuelPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.
func (*EngineParametersDynamic) SetFuelRateValue ¶
func (m *EngineParametersDynamic) SetFuelRateValue(v float64)
SetFuelRateValue sets FuelRate from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*EngineParametersDynamic) SetMessageInfo ¶
func (m *EngineParametersDynamic) SetMessageInfo(info MessageInfo)
func (*EngineParametersDynamic) SetOilPressureValue ¶
func (m *EngineParametersDynamic) SetOilPressureValue(v float64)
SetOilPressureValue sets OilPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*EngineParametersDynamic) SetOilTemperatureValue ¶
func (m *EngineParametersDynamic) SetOilTemperatureValue(v float64)
SetOilTemperatureValue sets OilTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.
func (*EngineParametersDynamic) SetTemperatureValue ¶
func (m *EngineParametersDynamic) SetTemperatureValue(v float64)
SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*EngineParametersDynamic) SetTotalEngineHoursValue ¶
func (m *EngineParametersDynamic) SetTotalEngineHoursValue(v float64)
SetTotalEngineHoursValue sets TotalEngineHours from a physical value in s, rounded to the nearest wire tick of 1.
func (*EngineParametersDynamic) TemperatureValue ¶
func (m *EngineParametersDynamic) TemperatureValue() (float64, bool)
TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false when Temperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersDynamic) TotalEngineHoursValue ¶
func (m *EngineParametersDynamic) TotalEngineHoursValue() (float64, bool)
TotalEngineHoursValue returns TotalEngineHours as a physical value in s (value = raw). The bool is false when TotalEngineHours is nil: the wire carried the field's null sentinel or the payload ended before the field.
type EngineParametersRapidUpdate ¶
type EngineParametersRapidUpdate struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
Speed *uint64 `json:"speed,omitempty" n2k:"2"`
BoostPressure *uint64 `json:"boostPressure,omitempty" n2k:"3"`
TiltTrim *int64 `json:"tiltTrim,omitempty" n2k:"4"`
}
func (*EngineParametersRapidUpdate) BoostPressureValue ¶
func (m *EngineParametersRapidUpdate) BoostPressureValue() (float64, bool)
BoostPressureValue returns BoostPressure as a physical value in Pa (value = raw * 100). The bool is false when BoostPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersRapidUpdate) DecodePayload ¶
func (m *EngineParametersRapidUpdate) DecodePayload(payload []uint8) error
func (*EngineParametersRapidUpdate) EncodePayload ¶
func (m *EngineParametersRapidUpdate) EncodePayload() ([]uint8, error)
func (*EngineParametersRapidUpdate) MessageInfo ¶
func (m *EngineParametersRapidUpdate) MessageInfo() MessageInfo
func (*EngineParametersRapidUpdate) PGNNumber ¶
func (m *EngineParametersRapidUpdate) PGNNumber() uint32
func (*EngineParametersRapidUpdate) SetBoostPressureValue ¶
func (m *EngineParametersRapidUpdate) SetBoostPressureValue(v float64)
SetBoostPressureValue sets BoostPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*EngineParametersRapidUpdate) SetMessageInfo ¶
func (m *EngineParametersRapidUpdate) SetMessageInfo(info MessageInfo)
func (*EngineParametersRapidUpdate) SetSpeedValue ¶
func (m *EngineParametersRapidUpdate) SetSpeedValue(v float64)
SetSpeedValue sets Speed from a physical value in rpm, rounded to the nearest wire tick of 0.25.
func (*EngineParametersRapidUpdate) SetTiltTrimValue ¶
func (m *EngineParametersRapidUpdate) SetTiltTrimValue(v float64)
SetTiltTrimValue sets TiltTrim from a physical value in %, rounded to the nearest wire tick of 1.
func (*EngineParametersRapidUpdate) SpeedValue ¶
func (m *EngineParametersRapidUpdate) SpeedValue() (float64, bool)
SpeedValue returns Speed as a physical value in rpm (value = raw * 0.25). The bool is false when Speed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersRapidUpdate) TiltTrimValue ¶
func (m *EngineParametersRapidUpdate) TiltTrimValue() (float64, bool)
TiltTrimValue returns TiltTrim as a physical value in % (value = raw). The bool is false when TiltTrim is nil: the wire carried the field's null sentinel or the payload ended before the field.
type EngineParametersStatic ¶
type EngineParametersStatic struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
RatedEngineSpeed *uint64 `json:"ratedEngineSpeed,omitempty" n2k:"2"`
Vin string `json:"vin,omitempty" n2k:"3"`
SoftwareId string `json:"softwareId,omitempty" n2k:"4"`
}
func (*EngineParametersStatic) DecodePayload ¶
func (m *EngineParametersStatic) DecodePayload(payload []uint8) error
func (*EngineParametersStatic) EncodePayload ¶
func (m *EngineParametersStatic) EncodePayload() ([]uint8, error)
func (*EngineParametersStatic) MessageInfo ¶
func (m *EngineParametersStatic) MessageInfo() MessageInfo
func (*EngineParametersStatic) PGNNumber ¶
func (m *EngineParametersStatic) PGNNumber() uint32
func (*EngineParametersStatic) RatedEngineSpeedValue ¶
func (m *EngineParametersStatic) RatedEngineSpeedValue() (float64, bool)
RatedEngineSpeedValue returns RatedEngineSpeed as a physical value in rpm (value = raw * 0.25). The bool is false when RatedEngineSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EngineParametersStatic) SetMessageInfo ¶
func (m *EngineParametersStatic) SetMessageInfo(info MessageInfo)
func (*EngineParametersStatic) SetRatedEngineSpeedValue ¶
func (m *EngineParametersStatic) SetRatedEngineSpeedValue(v float64)
SetRatedEngineSpeedValue sets RatedEngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.
type EngineStatus1Const ¶
type EngineStatus1Const uint16
const ( CheckEngine EngineStatus1Const = 0 OverTemperature EngineStatus1Const = 1 LowOilPressure EngineStatus1Const = 2 LowOilLevel EngineStatus1Const = 3 LowFuelPressure EngineStatus1Const = 4 LowSystemVoltage EngineStatus1Const = 5 LowCoolantLevel EngineStatus1Const = 6 WaterFlow EngineStatus1Const = 7 WaterInFuel EngineStatus1Const = 8 ChargeIndicator EngineStatus1Const = 9 PreheatIndicator EngineStatus1Const = 10 HighBoostPressure EngineStatus1Const = 11 RevLimitExceeded EngineStatus1Const = 12 EGRSystem EngineStatus1Const = 13 ThrottlePositionSensor EngineStatus1Const = 14 EmergencyStop EngineStatus1Const = 15 )
func (EngineStatus1Const) GoString ¶
func (e EngineStatus1Const) GoString() string
func (EngineStatus1Const) String ¶
func (e EngineStatus1Const) String() string
type EngineStatus2Const ¶
type EngineStatus2Const uint16
const ( WarningLevel1 EngineStatus2Const = 0 WarningLevel2 EngineStatus2Const = 1 PowerReduction EngineStatus2Const = 2 MaintenanceNeeded EngineStatus2Const = 3 EngineCommError EngineStatus2Const = 4 SubOrSecondaryThrottle EngineStatus2Const = 5 NeutralStartProtect EngineStatus2Const = 6 EngineShuttingDown EngineStatus2Const = 7 )
func (EngineStatus2Const) GoString ¶
func (e EngineStatus2Const) GoString() string
func (EngineStatus2Const) String ¶
func (e EngineStatus2Const) String() string
type EntertainmentChannelConst ¶
type EntertainmentChannelConst uint8
const ( AllChannels EntertainmentChannelConst = 0 StereoFullRange EntertainmentChannelConst = 1 StereoFront EntertainmentChannelConst = 2 StereoBack EntertainmentChannelConst = 3 StereoSurround EntertainmentChannelConst = 4 Center EntertainmentChannelConst = 5 Subwoofer EntertainmentChannelConst = 6 FrontLeft EntertainmentChannelConst = 7 FrontRight EntertainmentChannelConst = 8 BackLeft EntertainmentChannelConst = 9 BackRight EntertainmentChannelConst = 10 SurroundLeft EntertainmentChannelConst = 11 SurroundRight EntertainmentChannelConst = 12 )
func (EntertainmentChannelConst) GoString ¶
func (e EntertainmentChannelConst) GoString() string
func (EntertainmentChannelConst) String ¶
func (e EntertainmentChannelConst) String() string
type EntertainmentDefaultSettingsConst ¶
type EntertainmentDefaultSettingsConst uint8
const ( SaveCurrentSettingsAsUserDefault EntertainmentDefaultSettingsConst = 0 LoadUserDefault EntertainmentDefaultSettingsConst = 1 LoadManufacturerDefault EntertainmentDefaultSettingsConst = 2 )
func (EntertainmentDefaultSettingsConst) GoString ¶
func (e EntertainmentDefaultSettingsConst) GoString() string
func (EntertainmentDefaultSettingsConst) String ¶
func (e EntertainmentDefaultSettingsConst) String() string
type EntertainmentDiagnosticStatus ¶
type EntertainmentDiagnosticStatus struct {
Info MessageInfo `json:"info"`
Source *uint64 `json:"source,omitempty" n2k:"1"`
Number *uint64 `json:"number,omitempty" n2k:"2"`
DiagnosticMode *uint64 `json:"diagnosticMode,omitempty" n2k:"3"`
DiagnosticData string `json:"diagnosticData,omitempty" n2k:"5"`
}
func (*EntertainmentDiagnosticStatus) DecodePayload ¶
func (m *EntertainmentDiagnosticStatus) DecodePayload(payload []uint8) error
func (*EntertainmentDiagnosticStatus) EncodePayload ¶
func (m *EntertainmentDiagnosticStatus) EncodePayload() ([]uint8, error)
func (*EntertainmentDiagnosticStatus) MessageInfo ¶
func (m *EntertainmentDiagnosticStatus) MessageInfo() MessageInfo
func (*EntertainmentDiagnosticStatus) PGNNumber ¶
func (m *EntertainmentDiagnosticStatus) PGNNumber() uint32
func (*EntertainmentDiagnosticStatus) SetMessageInfo ¶
func (m *EntertainmentDiagnosticStatus) SetMessageInfo(info MessageInfo)
type EntertainmentEqConst ¶
type EntertainmentEqConst uint8
const ( Flat EntertainmentEqConst = 0 Rock EntertainmentEqConst = 1 Hall EntertainmentEqConst = 2 Jazz EntertainmentEqConst = 3 Pop EntertainmentEqConst = 4 Live EntertainmentEqConst = 5 Classic EntertainmentEqConst = 6 Vocal EntertainmentEqConst = 7 Arena EntertainmentEqConst = 8 Cinema EntertainmentEqConst = 9 Custom EntertainmentEqConst = 10 )
func (EntertainmentEqConst) GoString ¶
func (e EntertainmentEqConst) GoString() string
func (EntertainmentEqConst) String ¶
func (e EntertainmentEqConst) String() string
type EntertainmentFilterConst ¶
type EntertainmentFilterConst uint8
const ( FullRange EntertainmentFilterConst = 0 HighPass EntertainmentFilterConst = 1 LowPass EntertainmentFilterConst = 2 BandPass EntertainmentFilterConst = 3 NotchFilter EntertainmentFilterConst = 4 )
func (EntertainmentFilterConst) GoString ¶
func (e EntertainmentFilterConst) GoString() string
func (EntertainmentFilterConst) String ¶
func (e EntertainmentFilterConst) String() string
type EntertainmentGroupBitfieldConst ¶
type EntertainmentGroupBitfieldConst uint16
const ( File_4 EntertainmentGroupBitfieldConst = 0 PlaylistName_3 EntertainmentGroupBitfieldConst = 1 GenreName_3 EntertainmentGroupBitfieldConst = 2 AlbumName_3 EntertainmentGroupBitfieldConst = 3 ArtistName_3 EntertainmentGroupBitfieldConst = 4 TrackName_3 EntertainmentGroupBitfieldConst = 5 StationName_3 EntertainmentGroupBitfieldConst = 6 StationNumber_3 EntertainmentGroupBitfieldConst = 7 FavouriteNumber_3 EntertainmentGroupBitfieldConst = 8 PlayQueue_4 EntertainmentGroupBitfieldConst = 9 ContentInfo_3 EntertainmentGroupBitfieldConst = 10 )
func (EntertainmentGroupBitfieldConst) GoString ¶
func (e EntertainmentGroupBitfieldConst) GoString() string
func (EntertainmentGroupBitfieldConst) String ¶
func (e EntertainmentGroupBitfieldConst) String() string
type EntertainmentGroupConst ¶
type EntertainmentGroupConst uint8
const ( File_2 EntertainmentGroupConst = 0 PlaylistName_2 EntertainmentGroupConst = 1 GenreName_2 EntertainmentGroupConst = 2 AlbumName_2 EntertainmentGroupConst = 3 ArtistName_2 EntertainmentGroupConst = 4 TrackName_2 EntertainmentGroupConst = 5 StationName_2 EntertainmentGroupConst = 6 StationNumber_2 EntertainmentGroupConst = 7 FavouriteNumber_2 EntertainmentGroupConst = 8 PlayQueue_3 EntertainmentGroupConst = 9 ContentInfo_2 EntertainmentGroupConst = 10 )
func (EntertainmentGroupConst) GoString ¶
func (e EntertainmentGroupConst) GoString() string
func (EntertainmentGroupConst) String ¶
func (e EntertainmentGroupConst) String() string
type EntertainmentIdTypeConst ¶
type EntertainmentIdTypeConst uint8
const ( Group EntertainmentIdTypeConst = 0 File_3 EntertainmentIdTypeConst = 1 EncryptedGroup EntertainmentIdTypeConst = 2 EncryptedFile EntertainmentIdTypeConst = 3 )
func (EntertainmentIdTypeConst) GoString ¶
func (e EntertainmentIdTypeConst) GoString() string
func (EntertainmentIdTypeConst) String ¶
func (e EntertainmentIdTypeConst) String() string
type EntertainmentLikeStatusConst ¶
type EntertainmentLikeStatusConst uint8
const ( None EntertainmentLikeStatusConst = 0 ThumbsUp EntertainmentLikeStatusConst = 1 ThumbsDown EntertainmentLikeStatusConst = 2 )
func (EntertainmentLikeStatusConst) GoString ¶
func (e EntertainmentLikeStatusConst) GoString() string
func (EntertainmentLikeStatusConst) String ¶
func (e EntertainmentLikeStatusConst) String() string
type EntertainmentParentalControlStatus ¶
type EntertainmentParentalControlStatus struct {
Info MessageInfo `json:"info"`
Source *uint64 `json:"source,omitempty" n2k:"1"`
Number *uint64 `json:"number,omitempty" n2k:"2"`
LockType *uint64 `json:"lockType,omitempty" n2k:"3"`
LockStatus *uint64 `json:"lockStatus,omitempty" n2k:"4"`
FileStationId *uint64 `json:"fileStationId,omitempty" n2k:"6"`
CurrentPincode string `json:"currentPincode,omitempty" n2k:"7"`
NewPincode string `json:"newPincode,omitempty" n2k:"8"`
}
func (*EntertainmentParentalControlStatus) DecodePayload ¶
func (m *EntertainmentParentalControlStatus) DecodePayload(payload []uint8) error
func (*EntertainmentParentalControlStatus) EncodePayload ¶
func (m *EntertainmentParentalControlStatus) EncodePayload() ([]uint8, error)
func (*EntertainmentParentalControlStatus) MessageInfo ¶
func (m *EntertainmentParentalControlStatus) MessageInfo() MessageInfo
func (*EntertainmentParentalControlStatus) PGNNumber ¶
func (m *EntertainmentParentalControlStatus) PGNNumber() uint32
func (*EntertainmentParentalControlStatus) SetMessageInfo ¶
func (m *EntertainmentParentalControlStatus) SetMessageInfo(info MessageInfo)
type EntertainmentPlayStatusBitfieldConst ¶
type EntertainmentPlayStatusBitfieldConst uint16
const ( Play_3 EntertainmentPlayStatusBitfieldConst = 0 Pause_3 EntertainmentPlayStatusBitfieldConst = 1 Stop_2 EntertainmentPlayStatusBitfieldConst = 2 FF1x_2 EntertainmentPlayStatusBitfieldConst = 3 FF2x_2 EntertainmentPlayStatusBitfieldConst = 4 FF3x_2 EntertainmentPlayStatusBitfieldConst = 5 FF4x_2 EntertainmentPlayStatusBitfieldConst = 6 RW1x_2 EntertainmentPlayStatusBitfieldConst = 7 RW2x_2 EntertainmentPlayStatusBitfieldConst = 8 RW3x_2 EntertainmentPlayStatusBitfieldConst = 9 RW4x_2 EntertainmentPlayStatusBitfieldConst = 10 SkipAhead_2 EntertainmentPlayStatusBitfieldConst = 11 SkipBack_2 EntertainmentPlayStatusBitfieldConst = 12 JogAhead_2 EntertainmentPlayStatusBitfieldConst = 13 JogBack_2 EntertainmentPlayStatusBitfieldConst = 14 SeekUp_2 EntertainmentPlayStatusBitfieldConst = 15 SeekDown_2 EntertainmentPlayStatusBitfieldConst = 16 ScanUp_2 EntertainmentPlayStatusBitfieldConst = 17 ScanDown_2 EntertainmentPlayStatusBitfieldConst = 18 TuneUp_2 EntertainmentPlayStatusBitfieldConst = 19 TuneDown_2 EntertainmentPlayStatusBitfieldConst = 20 SlowMotion75x_2 EntertainmentPlayStatusBitfieldConst = 21 SlowMotion5x_2 EntertainmentPlayStatusBitfieldConst = 22 SlowMotion25x_2 EntertainmentPlayStatusBitfieldConst = 23 SlowMotion125x_2 EntertainmentPlayStatusBitfieldConst = 24 SourceRenaming EntertainmentPlayStatusBitfieldConst = 25 )
func (EntertainmentPlayStatusBitfieldConst) GoString ¶
func (e EntertainmentPlayStatusBitfieldConst) GoString() string
func (EntertainmentPlayStatusBitfieldConst) String ¶
func (e EntertainmentPlayStatusBitfieldConst) String() string
type EntertainmentPlayStatusConst ¶
type EntertainmentPlayStatusConst uint16
const ( Play EntertainmentPlayStatusConst = 0 Pause EntertainmentPlayStatusConst = 1 Stop EntertainmentPlayStatusConst = 2 FF1x EntertainmentPlayStatusConst = 3 FF2x EntertainmentPlayStatusConst = 4 FF3x EntertainmentPlayStatusConst = 5 FF4x EntertainmentPlayStatusConst = 6 RW1x EntertainmentPlayStatusConst = 7 RW2x EntertainmentPlayStatusConst = 8 RW3x EntertainmentPlayStatusConst = 9 RW4x EntertainmentPlayStatusConst = 10 SkipAhead EntertainmentPlayStatusConst = 11 SkipBack EntertainmentPlayStatusConst = 12 JogAhead EntertainmentPlayStatusConst = 13 JogBack EntertainmentPlayStatusConst = 14 SeekUp EntertainmentPlayStatusConst = 15 SeekDown EntertainmentPlayStatusConst = 16 ScanUp EntertainmentPlayStatusConst = 17 ScanDown EntertainmentPlayStatusConst = 18 TuneUp EntertainmentPlayStatusConst = 19 TuneDown EntertainmentPlayStatusConst = 20 SlowMotion75x EntertainmentPlayStatusConst = 21 SlowMotion5x EntertainmentPlayStatusConst = 22 SlowMotion25x EntertainmentPlayStatusConst = 23 SlowMotion125x EntertainmentPlayStatusConst = 24 )
func (EntertainmentPlayStatusConst) GoString ¶
func (e EntertainmentPlayStatusConst) GoString() string
func (EntertainmentPlayStatusConst) String ¶
func (e EntertainmentPlayStatusConst) String() string
type EntertainmentRegionsConst ¶
type EntertainmentRegionsConst uint8
const ( USA EntertainmentRegionsConst = 0 Europe EntertainmentRegionsConst = 1 Asia EntertainmentRegionsConst = 2 MiddleEast EntertainmentRegionsConst = 3 LatinAmerica EntertainmentRegionsConst = 4 Australia EntertainmentRegionsConst = 5 Russia EntertainmentRegionsConst = 6 Japan EntertainmentRegionsConst = 7 )
func (EntertainmentRegionsConst) GoString ¶
func (e EntertainmentRegionsConst) GoString() string
func (EntertainmentRegionsConst) String ¶
func (e EntertainmentRegionsConst) String() string
type EntertainmentRepeatBitfieldConst ¶
type EntertainmentRepeatBitfieldConst uint16
const ( Song EntertainmentRepeatBitfieldConst = 0 PlayQueue_5 EntertainmentRepeatBitfieldConst = 1 )
func (EntertainmentRepeatBitfieldConst) GoString ¶
func (e EntertainmentRepeatBitfieldConst) GoString() string
func (EntertainmentRepeatBitfieldConst) String ¶
func (e EntertainmentRepeatBitfieldConst) String() string
type EntertainmentRepeatStatusConst ¶
type EntertainmentRepeatStatusConst uint8
const ( Off_2 EntertainmentRepeatStatusConst = 0 One EntertainmentRepeatStatusConst = 1 All EntertainmentRepeatStatusConst = 2 )
func (EntertainmentRepeatStatusConst) GoString ¶
func (e EntertainmentRepeatStatusConst) GoString() string
func (EntertainmentRepeatStatusConst) String ¶
func (e EntertainmentRepeatStatusConst) String() string
type EntertainmentShuffleBitfieldConst ¶
type EntertainmentShuffleBitfieldConst uint16
const ( PlayQueue_6 EntertainmentShuffleBitfieldConst = 0 All_3 EntertainmentShuffleBitfieldConst = 1 )
func (EntertainmentShuffleBitfieldConst) GoString ¶
func (e EntertainmentShuffleBitfieldConst) GoString() string
func (EntertainmentShuffleBitfieldConst) String ¶
func (e EntertainmentShuffleBitfieldConst) String() string
type EntertainmentShuffleStatusConst ¶
type EntertainmentShuffleStatusConst uint8
const ( Off_3 EntertainmentShuffleStatusConst = 0 PlayQueue EntertainmentShuffleStatusConst = 1 All_2 EntertainmentShuffleStatusConst = 2 )
func (EntertainmentShuffleStatusConst) GoString ¶
func (e EntertainmentShuffleStatusConst) GoString() string
func (EntertainmentShuffleStatusConst) String ¶
func (e EntertainmentShuffleStatusConst) String() string
type EntertainmentSourceConst ¶
type EntertainmentSourceConst uint8
const ( VesselAlarm EntertainmentSourceConst = 0 AM EntertainmentSourceConst = 1 FM EntertainmentSourceConst = 2 Weather EntertainmentSourceConst = 3 DAB EntertainmentSourceConst = 4 Aux EntertainmentSourceConst = 5 USB EntertainmentSourceConst = 6 CD EntertainmentSourceConst = 7 MP3 EntertainmentSourceConst = 8 AppleIOS EntertainmentSourceConst = 9 Android EntertainmentSourceConst = 10 Bluetooth EntertainmentSourceConst = 11 SiriusXM EntertainmentSourceConst = 12 Pandora EntertainmentSourceConst = 13 Spotify EntertainmentSourceConst = 14 Slacker EntertainmentSourceConst = 15 Songza EntertainmentSourceConst = 16 AppleRadio EntertainmentSourceConst = 17 LastFM EntertainmentSourceConst = 18 Ethernet EntertainmentSourceConst = 19 VideoMP4 EntertainmentSourceConst = 20 VideoDVD EntertainmentSourceConst = 21 VideoBluRay EntertainmentSourceConst = 22 HDMI EntertainmentSourceConst = 23 Video EntertainmentSourceConst = 24 )
func (EntertainmentSourceConst) GoString ¶
func (e EntertainmentSourceConst) GoString() string
func (EntertainmentSourceConst) String ¶
func (e EntertainmentSourceConst) String() string
type EntertainmentTypeConst ¶
type EntertainmentTypeConst uint8
const ( File EntertainmentTypeConst = 0 PlaylistName EntertainmentTypeConst = 1 GenreName EntertainmentTypeConst = 2 AlbumName EntertainmentTypeConst = 3 ArtistName EntertainmentTypeConst = 4 TrackName EntertainmentTypeConst = 5 StationName EntertainmentTypeConst = 6 StationNumber EntertainmentTypeConst = 7 FavouriteNumber EntertainmentTypeConst = 8 PlayQueue_2 EntertainmentTypeConst = 9 ContentInfo EntertainmentTypeConst = 10 )
func (EntertainmentTypeConst) GoString ¶
func (e EntertainmentTypeConst) GoString() string
func (EntertainmentTypeConst) String ¶
func (e EntertainmentTypeConst) String() string
type EntertainmentVolumeControlConst ¶
type EntertainmentVolumeControlConst uint8
const ( Up_2 EntertainmentVolumeControlConst = 0 Down_2 EntertainmentVolumeControlConst = 1 )
func (EntertainmentVolumeControlConst) GoString ¶
func (e EntertainmentVolumeControlConst) GoString() string
func (EntertainmentVolumeControlConst) String ¶
func (e EntertainmentVolumeControlConst) String() string
type EntertainmentZoneConst ¶
type EntertainmentZoneConst uint8
const ( AllZones EntertainmentZoneConst = 0 Zone1 EntertainmentZoneConst = 1 Zone2 EntertainmentZoneConst = 2 Zone3 EntertainmentZoneConst = 3 Zone4 EntertainmentZoneConst = 4 )
func (EntertainmentZoneConst) GoString ¶
func (e EntertainmentZoneConst) GoString() string
func (EntertainmentZoneConst) String ¶
func (e EntertainmentZoneConst) String() string
type EnvironmentalParameters ¶
type EnvironmentalParameters struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
TemperatureSource *uint64 `json:"temperatureSource,omitempty" n2k:"2"`
HumiditySource *uint64 `json:"humiditySource,omitempty" n2k:"3"`
Temperature *uint64 `json:"temperature,omitempty" n2k:"4"`
Humidity *int64 `json:"humidity,omitempty" n2k:"5"`
AtmosphericPressure *uint64 `json:"atmosphericPressure,omitempty" n2k:"6"`
}
func (*EnvironmentalParameters) AtmosphericPressureValue ¶
func (m *EnvironmentalParameters) AtmosphericPressureValue() (float64, bool)
AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false when AtmosphericPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EnvironmentalParameters) DecodePayload ¶
func (m *EnvironmentalParameters) DecodePayload(payload []uint8) error
func (*EnvironmentalParameters) EncodePayload ¶
func (m *EnvironmentalParameters) EncodePayload() ([]uint8, error)
func (*EnvironmentalParameters) HumidityValue ¶
func (m *EnvironmentalParameters) HumidityValue() (float64, bool)
HumidityValue returns Humidity as a physical value in % (value = raw * 0.004). The bool is false when Humidity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EnvironmentalParameters) MessageInfo ¶
func (m *EnvironmentalParameters) MessageInfo() MessageInfo
func (*EnvironmentalParameters) PGNNumber ¶
func (m *EnvironmentalParameters) PGNNumber() uint32
func (*EnvironmentalParameters) SetAtmosphericPressureValue ¶
func (m *EnvironmentalParameters) SetAtmosphericPressureValue(v float64)
SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*EnvironmentalParameters) SetHumidityValue ¶
func (m *EnvironmentalParameters) SetHumidityValue(v float64)
SetHumidityValue sets Humidity from a physical value in %, rounded to the nearest wire tick of 0.004.
func (*EnvironmentalParameters) SetMessageInfo ¶
func (m *EnvironmentalParameters) SetMessageInfo(info MessageInfo)
func (*EnvironmentalParameters) SetTemperatureValue ¶
func (m *EnvironmentalParameters) SetTemperatureValue(v float64)
SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*EnvironmentalParameters) TemperatureValue ¶
func (m *EnvironmentalParameters) TemperatureValue() (float64, bool)
TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false when Temperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type EnvironmentalParametersObsolete ¶
type EnvironmentalParametersObsolete struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
WaterTemperature *uint64 `json:"waterTemperature,omitempty" n2k:"2"`
OutsideAmbientAirTemperature *uint64 `json:"outsideAmbientAirTemperature,omitempty" n2k:"3"`
AtmosphericPressure *uint64 `json:"atmosphericPressure,omitempty" n2k:"4"`
}
func (*EnvironmentalParametersObsolete) AtmosphericPressureValue ¶
func (m *EnvironmentalParametersObsolete) AtmosphericPressureValue() (float64, bool)
AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false when AtmosphericPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EnvironmentalParametersObsolete) DecodePayload ¶
func (m *EnvironmentalParametersObsolete) DecodePayload(payload []uint8) error
func (*EnvironmentalParametersObsolete) EncodePayload ¶
func (m *EnvironmentalParametersObsolete) EncodePayload() ([]uint8, error)
func (*EnvironmentalParametersObsolete) MessageInfo ¶
func (m *EnvironmentalParametersObsolete) MessageInfo() MessageInfo
func (*EnvironmentalParametersObsolete) OutsideAmbientAirTemperatureValue ¶
func (m *EnvironmentalParametersObsolete) OutsideAmbientAirTemperatureValue() (float64, bool)
OutsideAmbientAirTemperatureValue returns OutsideAmbientAirTemperature as a physical value in K (value = raw * 0.01). The bool is false when OutsideAmbientAirTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*EnvironmentalParametersObsolete) PGNNumber ¶
func (m *EnvironmentalParametersObsolete) PGNNumber() uint32
func (*EnvironmentalParametersObsolete) SetAtmosphericPressureValue ¶
func (m *EnvironmentalParametersObsolete) SetAtmosphericPressureValue(v float64)
SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*EnvironmentalParametersObsolete) SetMessageInfo ¶
func (m *EnvironmentalParametersObsolete) SetMessageInfo(info MessageInfo)
func (*EnvironmentalParametersObsolete) SetOutsideAmbientAirTemperatureValue ¶
func (m *EnvironmentalParametersObsolete) SetOutsideAmbientAirTemperatureValue(v float64)
SetOutsideAmbientAirTemperatureValue sets OutsideAmbientAirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*EnvironmentalParametersObsolete) SetWaterTemperatureValue ¶
func (m *EnvironmentalParametersObsolete) SetWaterTemperatureValue(v float64)
SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*EnvironmentalParametersObsolete) WaterTemperatureValue ¶
func (m *EnvironmentalParametersObsolete) WaterTemperatureValue() (float64, bool)
WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when WaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type EquipmentStatusConst ¶
type EquipmentStatusConst uint8
const ( Operational EquipmentStatusConst = 0 Fault_2 EquipmentStatusConst = 1 )
func (EquipmentStatusConst) GoString ¶
func (e EquipmentStatusConst) GoString() string
func (EquipmentStatusConst) String ¶
func (e EquipmentStatusConst) String() string
type FieldDescriptor ¶
type FieldDescriptor struct {
// SourceID is the upstream source field Id.
SourceID string `json:"sourceId"`
// Name is the source field name (e.g., "Heading", "SID", "Manufacturer Code").
Name string `json:"name"`
// Description is the source schema's per-field description, when present.
Description string `json:"description,omitempty"`
// BitLength is the width of this field in bits. For variable-length fields,
// this may be a nominal/default length.
BitLength uint16 `json:"bitLength"`
// BitLengthField is the field order that defines a variable-length field's width.
BitLengthField *int `json:"bitLengthField,omitempty"`
// BitOffset is the absolute bit position of this field from the start of the PGN payload.
BitOffset uint16 `json:"bitOffset"`
// BitLengthVariable is true when the field's actual length is determined at runtime
// (e.g., STRING_LAU fields whose length is encoded in a preceding byte).
BitLengthVariable bool `json:"bitLengthVariable"`
// SourceType is the source field type string (e.g., "NUMBER", "LOOKUP", "STRING_LAU",
// "STRING_LZ", "STRING_FIX"). It drives type-specific decoding logic.
SourceType string `json:"sourceType"`
// BitStart is the bit position within the containing byte when the source schema provides it.
BitStart uint16 `json:"bitStart"`
// PhysicalQuantity is the source schema physical quantity identifier.
PhysicalQuantity string `json:"physicalQuantity,omitempty"`
// LookupEnumeration is the source lookup enumeration name, when present.
LookupEnumeration string `json:"lookupEnumeration,omitempty"`
// LookupBitEnumeration is the source bit lookup enumeration name, when present.
LookupBitEnumeration string `json:"lookupBitEnumeration,omitempty"`
// LookupIndirectEnumeration is the source indirect lookup enumeration name, when present.
LookupIndirectEnumeration string `json:"lookupIndirectEnumeration,omitempty"`
// LookupFieldTypeEnumeration is the source field-type lookup name, when present.
LookupFieldTypeEnumeration string `json:"lookupFieldTypeEnumeration,omitempty"`
// LookupIndirectEnumerationFieldOrder identifies the field that selects an indirect lookup.
LookupIndirectEnumerationFieldOrder *int `json:"lookupIndirectEnumerationFieldOrder,omitempty"`
// Condition is the source field-level inclusion predicate, when present.
Condition string `json:"condition,omitempty"`
// Offset is an additive physical-value offset from the source schema.
Offset *float64 `json:"offset,omitempty"`
// RangeMin and RangeMax are the physical-value bounds from the source schema.
RangeMin *float64 `json:"rangeMin,omitempty"`
RangeMax *float64 `json:"rangeMax,omitempty"`
// Source sentinel values for nullable and special numeric states.
OutOfRangeValue *int64 `json:"outOfRangeValue,omitempty"`
ReservedValue *int64 `json:"reservedValue,omitempty"`
UnknownValue *int64 `json:"unknownValue,omitempty"`
// PartOfPrimaryKey marks fields the source schema uses to identify repeated rows.
PartOfPrimaryKey *bool `json:"partOfPrimaryKey,omitempty"`
// GolangType is the Go type name used in the generated struct field (e.g., "*uint8", "float32").
GolangType string `json:"golangType"`
// Resolution is the scaling factor applied to integer fields to produce physical units
// (e.g., 0.0001 for a heading field stored in units of 1/10000 radian).
Resolution float32 `json:"resolution"`
// Signed indicates whether this numeric field uses two's-complement signed encoding.
Signed bool `json:"signed"`
// Unit is the physical unit string from the source schema (e.g., "rad", "m/s", "K").
Unit string `json:"unit"`
// BitLookupName is the name of the bit-enumeration lookup table, if this field
// is a bitfield-type enum. Empty for non-lookup fields.
BitLookupName string `json:"bitLookupName"`
// Match is non-nil for fields that must match a specific value to select a PGN variant.
// For example, proprietary PGN variants use a Match on the manufacturer code field
// to distinguish which decoder to use.
Match *int `json:"match"`
}
FieldDescriptor holds metadata about a single field within a PGN definition. It is used at runtime by decode and encode helpers to handle fields whose type or length cannot be fully resolved at code-generation time.
func GetFieldDescriptor ¶
func GetFieldDescriptor(pgn uint32, manID ManufacturerCodeConst, fieldIndex uint8) (*FieldDescriptor, error)
GetFieldDescriptor looks up the FieldDescriptor for a specific field within a PGN. Parameters:
- pgn: the PGN number to look up
- manID: the manufacturer code, used to disambiguate proprietary PGN variants (pass 0 for standard/non-proprietary PGNs)
- fieldIndex: the 1-based field index matching the source field order
For non-proprietary PGNs, the first (and usually only) variant is used. For proprietary PGNs, the variant matching manID is selected. If manID is 0 and multiple variants exist, an error is returned because the correct variant cannot be determined without a manufacturer code.
Returns an error if the PGN is unknown, the field index doesn't exist, or the variant cannot be disambiguated.
type FluidLevel ¶
type FluidLevel struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
Type *uint64 `json:"type,omitempty" n2k:"2"`
Level *int64 `json:"level,omitempty" n2k:"3"`
Capacity *uint64 `json:"capacity,omitempty" n2k:"4"`
}
func (*FluidLevel) CapacityValue ¶
func (m *FluidLevel) CapacityValue() (float64, bool)
CapacityValue returns Capacity as a physical value in L (value = raw * 0.1). The bool is false when Capacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FluidLevel) DecodePayload ¶
func (m *FluidLevel) DecodePayload(payload []uint8) error
func (*FluidLevel) EncodePayload ¶
func (m *FluidLevel) EncodePayload() ([]uint8, error)
func (*FluidLevel) LevelValue ¶
func (m *FluidLevel) LevelValue() (float64, bool)
LevelValue returns Level as a physical value in % (value = raw * 0.004). The bool is false when Level is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FluidLevel) MessageInfo ¶
func (m *FluidLevel) MessageInfo() MessageInfo
func (*FluidLevel) PGNNumber ¶
func (m *FluidLevel) PGNNumber() uint32
func (*FluidLevel) SetCapacityValue ¶
func (m *FluidLevel) SetCapacityValue(v float64)
SetCapacityValue sets Capacity from a physical value in L, rounded to the nearest wire tick of 0.1.
func (*FluidLevel) SetLevelValue ¶
func (m *FluidLevel) SetLevelValue(v float64)
SetLevelValue sets Level from a physical value in %, rounded to the nearest wire tick of 0.004.
func (*FluidLevel) SetMessageInfo ¶
func (m *FluidLevel) SetMessageInfo(info MessageInfo)
type FurunoDeadReckoningConfiguration ¶
type FurunoDeadReckoningConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
F4 *uint64 `json:"f4,omitempty" n2k:"4"`
F5 *uint64 `json:"f5,omitempty" n2k:"5"`
F6 *uint64 `json:"f6,omitempty" n2k:"6"`
F7 *uint64 `json:"f7,omitempty" n2k:"7"`
F8 *uint64 `json:"f8,omitempty" n2k:"8"`
DeadReckoningTime *uint64 `json:"deadReckoningTime,omitempty" n2k:"9"`
F10 *uint64 `json:"f10,omitempty" n2k:"10"`
F11 *uint64 `json:"f11,omitempty" n2k:"11"`
}
func (*FurunoDeadReckoningConfiguration) DecodePayload ¶
func (m *FurunoDeadReckoningConfiguration) DecodePayload(payload []uint8) error
func (*FurunoDeadReckoningConfiguration) EncodePayload ¶
func (m *FurunoDeadReckoningConfiguration) EncodePayload() ([]uint8, error)
func (*FurunoDeadReckoningConfiguration) MessageInfo ¶
func (m *FurunoDeadReckoningConfiguration) MessageInfo() MessageInfo
func (*FurunoDeadReckoningConfiguration) PGNNumber ¶
func (m *FurunoDeadReckoningConfiguration) PGNNumber() uint32
func (*FurunoDeadReckoningConfiguration) SetMessageInfo ¶
func (m *FurunoDeadReckoningConfiguration) SetMessageInfo(info MessageInfo)
type FurunoHeave ¶
type FurunoHeave struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Heave *int64 `json:"heave,omitempty" n2k:"4"`
}
func (*FurunoHeave) DecodePayload ¶
func (m *FurunoHeave) DecodePayload(payload []uint8) error
func (*FurunoHeave) EncodePayload ¶
func (m *FurunoHeave) EncodePayload() ([]uint8, error)
func (*FurunoHeave) HeaveValue ¶
func (m *FurunoHeave) HeaveValue() (float64, bool)
HeaveValue returns Heave as a physical value in m (value = raw * 0.001). The bool is false when Heave is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoHeave) MessageInfo ¶
func (m *FurunoHeave) MessageInfo() MessageInfo
func (*FurunoHeave) PGNNumber ¶
func (m *FurunoHeave) PGNNumber() uint32
func (*FurunoHeave) SetHeaveValue ¶
func (m *FurunoHeave) SetHeaveValue(v float64)
SetHeaveValue sets Heave from a physical value in m, rounded to the nearest wire tick of 0.001.
func (*FurunoHeave) SetMessageInfo ¶
func (m *FurunoHeave) SetMessageInfo(info MessageInfo)
type FurunoHeelAngleRollInformation ¶
type FurunoHeelAngleRollInformation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Heel *int64 `json:"heel,omitempty" n2k:"4"`
Field4 *int64 `json:"field4,omitempty" n2k:"5"`
Field6 *int64 `json:"field6,omitempty" n2k:"6"`
Field8 *int64 `json:"field8,omitempty" n2k:"7"`
}
func (*FurunoHeelAngleRollInformation) DecodePayload ¶
func (m *FurunoHeelAngleRollInformation) DecodePayload(payload []uint8) error
func (*FurunoHeelAngleRollInformation) EncodePayload ¶
func (m *FurunoHeelAngleRollInformation) EncodePayload() ([]uint8, error)
func (*FurunoHeelAngleRollInformation) Field4Value ¶
func (m *FurunoHeelAngleRollInformation) Field4Value() (float64, bool)
Field4Value returns Field4 as a physical value in rad (value = raw * 0.0001). The bool is false when Field4 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoHeelAngleRollInformation) Field6Value ¶
func (m *FurunoHeelAngleRollInformation) Field6Value() (float64, bool)
Field6Value returns Field6 as a physical value in rad (value = raw * 0.0001). The bool is false when Field6 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoHeelAngleRollInformation) Field8Value ¶
func (m *FurunoHeelAngleRollInformation) Field8Value() (float64, bool)
Field8Value returns Field8 as a physical value in rad (value = raw * 0.0001). The bool is false when Field8 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoHeelAngleRollInformation) HeelValue ¶
func (m *FurunoHeelAngleRollInformation) HeelValue() (float64, bool)
HeelValue returns Heel as a physical value in rad (value = raw * 0.0001). The bool is false when Heel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoHeelAngleRollInformation) MessageInfo ¶
func (m *FurunoHeelAngleRollInformation) MessageInfo() MessageInfo
func (*FurunoHeelAngleRollInformation) PGNNumber ¶
func (m *FurunoHeelAngleRollInformation) PGNNumber() uint32
func (*FurunoHeelAngleRollInformation) SetField4Value ¶
func (m *FurunoHeelAngleRollInformation) SetField4Value(v float64)
SetField4Value sets Field4 from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoHeelAngleRollInformation) SetField6Value ¶
func (m *FurunoHeelAngleRollInformation) SetField6Value(v float64)
SetField6Value sets Field6 from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoHeelAngleRollInformation) SetField8Value ¶
func (m *FurunoHeelAngleRollInformation) SetField8Value(v float64)
SetField8Value sets Field8 from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoHeelAngleRollInformation) SetHeelValue ¶
func (m *FurunoHeelAngleRollInformation) SetHeelValue(v float64)
SetHeelValue sets Heel from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoHeelAngleRollInformation) SetMessageInfo ¶
func (m *FurunoHeelAngleRollInformation) SetMessageInfo(info MessageInfo)
type FurunoMotionSensorStatusExtended ¶
type FurunoMotionSensorStatusExtended struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Status *uint64 `json:"status,omitempty" n2k:"4"`
Data []uint8 `json:"data,omitempty" n2k:"5"`
}
func (*FurunoMotionSensorStatusExtended) DecodePayload ¶
func (m *FurunoMotionSensorStatusExtended) DecodePayload(payload []uint8) error
func (*FurunoMotionSensorStatusExtended) EncodePayload ¶
func (m *FurunoMotionSensorStatusExtended) EncodePayload() ([]uint8, error)
func (*FurunoMotionSensorStatusExtended) MessageInfo ¶
func (m *FurunoMotionSensorStatusExtended) MessageInfo() MessageInfo
func (*FurunoMotionSensorStatusExtended) PGNNumber ¶
func (m *FurunoMotionSensorStatusExtended) PGNNumber() uint32
func (*FurunoMotionSensorStatusExtended) SetMessageInfo ¶
func (m *FurunoMotionSensorStatusExtended) SetMessageInfo(info MessageInfo)
type FurunoMultiSatsInViewExtended ¶
type FurunoMultiSatsInViewExtended struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ReportType *uint64 `json:"reportType,omitempty" n2k:"4"`
Antenna *uint64 `json:"antenna,omitempty" n2k:"5"`
PageType *uint64 `json:"pageType,omitempty" n2k:"6"`
Page *uint64 `json:"page,omitempty" n2k:"7"`
SatsInUse *uint64 `json:"satsInUse,omitempty" n2k:"9"`
SatsInView *uint64 `json:"satsInView,omitempty" n2k:"10"`
Repeating1 []FurunoMultiSatsInViewExtendedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*FurunoMultiSatsInViewExtended) DecodePayload ¶
func (m *FurunoMultiSatsInViewExtended) DecodePayload(payload []uint8) error
func (*FurunoMultiSatsInViewExtended) EncodePayload ¶
func (m *FurunoMultiSatsInViewExtended) EncodePayload() ([]uint8, error)
func (*FurunoMultiSatsInViewExtended) MessageInfo ¶
func (m *FurunoMultiSatsInViewExtended) MessageInfo() MessageInfo
func (*FurunoMultiSatsInViewExtended) PGNNumber ¶
func (m *FurunoMultiSatsInViewExtended) PGNNumber() uint32
func (*FurunoMultiSatsInViewExtended) SetMessageInfo ¶
func (m *FurunoMultiSatsInViewExtended) SetMessageInfo(info MessageInfo)
type FurunoMultiSatsInViewExtendedRepeating1 ¶
type FurunoMultiSatsInViewExtendedRepeating1 struct {
Prn *uint64 `json:"prn,omitempty" n2k:"11"`
Elevation *int64 `json:"elevation,omitempty" n2k:"12"`
Azimuth *int64 `json:"azimuth,omitempty" n2k:"13"`
Snr *int64 `json:"snr,omitempty" n2k:"14"`
RangeResidual *int64 `json:"rangeResidual,omitempty" n2k:"15"`
BaselineStatus *uint64 `json:"baselineStatus,omitempty" n2k:"16"`
}
func (*FurunoMultiSatsInViewExtendedRepeating1) AzimuthValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) AzimuthValue() (float64, bool)
AzimuthValue returns Azimuth as a physical value in rad (value = raw * 0.0001). The bool is false when Azimuth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoMultiSatsInViewExtendedRepeating1) ElevationValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) ElevationValue() (float64, bool)
ElevationValue returns Elevation as a physical value in rad (value = raw * 0.0001). The bool is false when Elevation is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoMultiSatsInViewExtendedRepeating1) RangeResidualValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) RangeResidualValue() (float64, bool)
RangeResidualValue returns RangeResidual as a physical value in m (value = raw * 1e-05). The bool is false when RangeResidual is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoMultiSatsInViewExtendedRepeating1) SetAzimuthValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) SetAzimuthValue(v float64)
SetAzimuthValue sets Azimuth from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoMultiSatsInViewExtendedRepeating1) SetElevationValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) SetElevationValue(v float64)
SetElevationValue sets Elevation from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoMultiSatsInViewExtendedRepeating1) SetRangeResidualValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) SetRangeResidualValue(v float64)
SetRangeResidualValue sets RangeResidual from a physical value in m, rounded to the nearest wire tick of 1e-05.
func (*FurunoMultiSatsInViewExtendedRepeating1) SetSnrValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) SetSnrValue(v float64)
SetSnrValue sets Snr from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*FurunoMultiSatsInViewExtendedRepeating1) SnrValue ¶
func (m *FurunoMultiSatsInViewExtendedRepeating1) SnrValue() (float64, bool)
SnrValue returns Snr as a physical value in dB (value = raw * 0.01). The bool is false when Snr is nil: the wire carried the field's null sentinel or the payload ended before the field.
type FurunoNavpilotStatus ¶
type FurunoNavpilotStatus struct {
}
func (*FurunoNavpilotStatus) CommandedCourseValue ¶
func (m *FurunoNavpilotStatus) CommandedCourseValue() (float64, bool)
CommandedCourseValue returns CommandedCourse as a physical value in rad (value = raw * 0.0001). The bool is false when CommandedCourse is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoNavpilotStatus) DecodePayload ¶
func (m *FurunoNavpilotStatus) DecodePayload(payload []uint8) error
func (*FurunoNavpilotStatus) EncodePayload ¶
func (m *FurunoNavpilotStatus) EncodePayload() ([]uint8, error)
func (*FurunoNavpilotStatus) MessageInfo ¶
func (m *FurunoNavpilotStatus) MessageInfo() MessageInfo
func (*FurunoNavpilotStatus) PGNNumber ¶
func (m *FurunoNavpilotStatus) PGNNumber() uint32
func (*FurunoNavpilotStatus) RudderAngleValue ¶
func (m *FurunoNavpilotStatus) RudderAngleValue() (float64, bool)
RudderAngleValue returns RudderAngle as a physical value in rad (value = raw * 0.0001). The bool is false when RudderAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoNavpilotStatus) SetCommandedCourseValue ¶
func (m *FurunoNavpilotStatus) SetCommandedCourseValue(v float64)
SetCommandedCourseValue sets CommandedCourse from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*FurunoNavpilotStatus) SetMessageInfo ¶
func (m *FurunoNavpilotStatus) SetMessageInfo(info MessageInfo)
func (*FurunoNavpilotStatus) SetRudderAngleValue ¶
func (m *FurunoNavpilotStatus) SetRudderAngleValue(v float64)
SetRudderAngleValue sets RudderAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
type FurunoSensorSetup ¶
type FurunoSensorSetup struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
RotationSmoothing *uint64 `json:"rotationSmoothing,omitempty" n2k:"4"`
HeadingOffset *int64 `json:"headingOffset,omitempty" n2k:"5"`
PitchOffset *int64 `json:"pitchOffset,omitempty" n2k:"6"`
RollOffset *int64 `json:"rollOffset,omitempty" n2k:"7"`
F8 *uint64 `json:"f8,omitempty" n2k:"8"`
F9 *uint64 `json:"f9,omitempty" n2k:"9"`
SogAndCogSmoothing *int64 `json:"sogAndCogSmoothing,omitempty" n2k:"10"`
Pgn3AxisSpeedSmoothing *int64 `json:"3AxisSpeedSmoothing,omitempty" n2k:"11"`
Fc *uint64 `json:"fc,omitempty" n2k:"12"`
Pgn3AxisOffset *int64 `json:"3AxisOffset,omitempty" n2k:"13"`
AirPressureOffset *int64 `json:"airPressureOffset,omitempty" n2k:"14"`
AirTemperatureOffset *int64 `json:"airTemperatureOffset,omitempty" n2k:"15"`
}
func (*FurunoSensorSetup) AirPressureOffsetValue ¶
func (m *FurunoSensorSetup) AirPressureOffsetValue() (float64, bool)
AirPressureOffsetValue returns AirPressureOffset as a physical value in Pa (value = raw * 10). The bool is false when AirPressureOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) AirTemperatureOffsetValue ¶
func (m *FurunoSensorSetup) AirTemperatureOffsetValue() (float64, bool)
AirTemperatureOffsetValue returns AirTemperatureOffset as a physical value in K (value = raw * 0.1). The bool is false when AirTemperatureOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) DecodePayload ¶
func (m *FurunoSensorSetup) DecodePayload(payload []uint8) error
func (*FurunoSensorSetup) EncodePayload ¶
func (m *FurunoSensorSetup) EncodePayload() ([]uint8, error)
func (*FurunoSensorSetup) HeadingOffsetValue ¶
func (m *FurunoSensorSetup) HeadingOffsetValue() (float64, bool)
HeadingOffsetValue returns HeadingOffset as a physical value in deg (value = raw * 0.1). The bool is false when HeadingOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) MessageInfo ¶
func (m *FurunoSensorSetup) MessageInfo() MessageInfo
func (*FurunoSensorSetup) PGNNumber ¶
func (m *FurunoSensorSetup) PGNNumber() uint32
func (*FurunoSensorSetup) Pgn3AxisOffsetValue ¶
func (m *FurunoSensorSetup) Pgn3AxisOffsetValue() (float64, bool)
Pgn3AxisOffsetValue returns Pgn3AxisOffset as a physical value in % (value = raw * 0.00032). The bool is false when Pgn3AxisOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) Pgn3AxisSpeedSmoothingValue ¶
func (m *FurunoSensorSetup) Pgn3AxisSpeedSmoothingValue() (float64, bool)
Pgn3AxisSpeedSmoothingValue returns Pgn3AxisSpeedSmoothing as a physical value in s (value = raw * 0.001). The bool is false when Pgn3AxisSpeedSmoothing is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) PitchOffsetValue ¶
func (m *FurunoSensorSetup) PitchOffsetValue() (float64, bool)
PitchOffsetValue returns PitchOffset as a physical value in deg (value = raw * 0.1). The bool is false when PitchOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) RollOffsetValue ¶
func (m *FurunoSensorSetup) RollOffsetValue() (float64, bool)
RollOffsetValue returns RollOffset as a physical value in deg (value = raw * 0.1). The bool is false when RollOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) RotationSmoothingValue ¶
func (m *FurunoSensorSetup) RotationSmoothingValue() (float64, bool)
RotationSmoothingValue returns RotationSmoothing as a physical value in s (value = raw * 0.1). The bool is false when RotationSmoothing is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSensorSetup) SetAirPressureOffsetValue ¶
func (m *FurunoSensorSetup) SetAirPressureOffsetValue(v float64)
SetAirPressureOffsetValue sets AirPressureOffset from a physical value in Pa, rounded to the nearest wire tick of 10.
func (*FurunoSensorSetup) SetAirTemperatureOffsetValue ¶
func (m *FurunoSensorSetup) SetAirTemperatureOffsetValue(v float64)
SetAirTemperatureOffsetValue sets AirTemperatureOffset from a physical value in K, rounded to the nearest wire tick of 0.1.
func (*FurunoSensorSetup) SetHeadingOffsetValue ¶
func (m *FurunoSensorSetup) SetHeadingOffsetValue(v float64)
SetHeadingOffsetValue sets HeadingOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.
func (*FurunoSensorSetup) SetMessageInfo ¶
func (m *FurunoSensorSetup) SetMessageInfo(info MessageInfo)
func (*FurunoSensorSetup) SetPgn3AxisOffsetValue ¶
func (m *FurunoSensorSetup) SetPgn3AxisOffsetValue(v float64)
SetPgn3AxisOffsetValue sets Pgn3AxisOffset from a physical value in %, rounded to the nearest wire tick of 0.00032.
func (*FurunoSensorSetup) SetPgn3AxisSpeedSmoothingValue ¶
func (m *FurunoSensorSetup) SetPgn3AxisSpeedSmoothingValue(v float64)
SetPgn3AxisSpeedSmoothingValue sets Pgn3AxisSpeedSmoothing from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*FurunoSensorSetup) SetPitchOffsetValue ¶
func (m *FurunoSensorSetup) SetPitchOffsetValue(v float64)
SetPitchOffsetValue sets PitchOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.
func (*FurunoSensorSetup) SetRollOffsetValue ¶
func (m *FurunoSensorSetup) SetRollOffsetValue(v float64)
SetRollOffsetValue sets RollOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.
func (*FurunoSensorSetup) SetRotationSmoothingValue ¶
func (m *FurunoSensorSetup) SetRotationSmoothingValue(v float64)
SetRotationSmoothingValue sets RotationSmoothing from a physical value in s, rounded to the nearest wire tick of 0.1.
func (*FurunoSensorSetup) SetSogAndCogSmoothingValue ¶
func (m *FurunoSensorSetup) SetSogAndCogSmoothingValue(v float64)
SetSogAndCogSmoothingValue sets SogAndCogSmoothing from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*FurunoSensorSetup) SogAndCogSmoothingValue ¶
func (m *FurunoSensorSetup) SogAndCogSmoothingValue() (float64, bool)
SogAndCogSmoothingValue returns SogAndCogSmoothing as a physical value in s (value = raw * 0.001). The bool is false when SogAndCogSmoothing is nil: the wire carried the field's null sentinel or the payload ended before the field.
type FurunoShipParametersAndAntennaPosition ¶
type FurunoShipParametersAndAntennaPosition struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
EquipmentIdentification *uint64 `json:"equipmentIdentification,omitempty" n2k:"4"`
AntennaPositionX *int64 `json:"antennaPositionX,omitempty" n2k:"5"`
AntennaPositionY *uint64 `json:"antennaPositionY,omitempty" n2k:"6"`
AntennaPositionZ *uint64 `json:"antennaPositionZ,omitempty" n2k:"7"`
ShipSWidth *uint64 `json:"shipSWidth,omitempty" n2k:"8"`
ShipSLength *uint64 `json:"shipSLength,omitempty" n2k:"9"`
ShipSHeight *uint64 `json:"shipSHeight,omitempty" n2k:"10"`
}
func (*FurunoShipParametersAndAntennaPosition) AntennaPositionXValue ¶
func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionXValue() (float64, bool)
AntennaPositionXValue returns AntennaPositionX as a physical value in m (value = raw * 0.01). The bool is false when AntennaPositionX is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoShipParametersAndAntennaPosition) AntennaPositionYValue ¶
func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionYValue() (float64, bool)
AntennaPositionYValue returns AntennaPositionY as a physical value in m (value = raw * 0.1). The bool is false when AntennaPositionY is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoShipParametersAndAntennaPosition) AntennaPositionZValue ¶
func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionZValue() (float64, bool)
AntennaPositionZValue returns AntennaPositionZ as a physical value in m (value = raw * 0.1). The bool is false when AntennaPositionZ is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoShipParametersAndAntennaPosition) DecodePayload ¶
func (m *FurunoShipParametersAndAntennaPosition) DecodePayload(payload []uint8) error
func (*FurunoShipParametersAndAntennaPosition) EncodePayload ¶
func (m *FurunoShipParametersAndAntennaPosition) EncodePayload() ([]uint8, error)
func (*FurunoShipParametersAndAntennaPosition) MessageInfo ¶
func (m *FurunoShipParametersAndAntennaPosition) MessageInfo() MessageInfo
func (*FurunoShipParametersAndAntennaPosition) PGNNumber ¶
func (m *FurunoShipParametersAndAntennaPosition) PGNNumber() uint32
func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionXValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionXValue(v float64)
SetAntennaPositionXValue sets AntennaPositionX from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionYValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionYValue(v float64)
SetAntennaPositionYValue sets AntennaPositionY from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionZValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionZValue(v float64)
SetAntennaPositionZValue sets AntennaPositionZ from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoShipParametersAndAntennaPosition) SetMessageInfo ¶
func (m *FurunoShipParametersAndAntennaPosition) SetMessageInfo(info MessageInfo)
func (*FurunoShipParametersAndAntennaPosition) SetShipSHeightValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetShipSHeightValue(v float64)
SetShipSHeightValue sets ShipSHeight from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoShipParametersAndAntennaPosition) SetShipSLengthValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetShipSLengthValue(v float64)
SetShipSLengthValue sets ShipSLength from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoShipParametersAndAntennaPosition) SetShipSWidthValue ¶
func (m *FurunoShipParametersAndAntennaPosition) SetShipSWidthValue(v float64)
SetShipSWidthValue sets ShipSWidth from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoShipParametersAndAntennaPosition) ShipSHeightValue ¶
func (m *FurunoShipParametersAndAntennaPosition) ShipSHeightValue() (float64, bool)
ShipSHeightValue returns ShipSHeight as a physical value in m (value = raw * 0.1). The bool is false when ShipSHeight is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoShipParametersAndAntennaPosition) ShipSLengthValue ¶
func (m *FurunoShipParametersAndAntennaPosition) ShipSLengthValue() (float64, bool)
ShipSLengthValue returns ShipSLength as a physical value in m (value = raw * 0.1). The bool is false when ShipSLength is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoShipParametersAndAntennaPosition) ShipSWidthValue ¶
func (m *FurunoShipParametersAndAntennaPosition) ShipSWidthValue() (float64, bool)
ShipSWidthValue returns ShipSWidth as a physical value in m (value = raw * 0.1). The bool is false when ShipSWidth is nil: the wire carried the field's null sentinel or the payload ended before the field.
type FurunoSixDegreesOfFreedomMovement ¶
type FurunoSixDegreesOfFreedomMovement struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
A *int64 `json:"a,omitempty" n2k:"4"`
B *int64 `json:"b,omitempty" n2k:"5"`
C *int64 `json:"c,omitempty" n2k:"6"`
D *int64 `json:"d,omitempty" n2k:"7"`
E *int64 `json:"e,omitempty" n2k:"8"`
F *int64 `json:"f,omitempty" n2k:"9"`
G *int64 `json:"g,omitempty" n2k:"10"`
H *int64 `json:"h,omitempty" n2k:"11"`
I *int64 `json:"i,omitempty" n2k:"12"`
}
func (*FurunoSixDegreesOfFreedomMovement) DecodePayload ¶
func (m *FurunoSixDegreesOfFreedomMovement) DecodePayload(payload []uint8) error
func (*FurunoSixDegreesOfFreedomMovement) EncodePayload ¶
func (m *FurunoSixDegreesOfFreedomMovement) EncodePayload() ([]uint8, error)
func (*FurunoSixDegreesOfFreedomMovement) MessageInfo ¶
func (m *FurunoSixDegreesOfFreedomMovement) MessageInfo() MessageInfo
func (*FurunoSixDegreesOfFreedomMovement) PGNNumber ¶
func (m *FurunoSixDegreesOfFreedomMovement) PGNNumber() uint32
func (*FurunoSixDegreesOfFreedomMovement) SetMessageInfo ¶
func (m *FurunoSixDegreesOfFreedomMovement) SetMessageInfo(info MessageInfo)
type FurunoSpeedCalculationPosition ¶
type FurunoSpeedCalculationPosition struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
PointIndex *uint64 `json:"pointIndex,omitempty" n2k:"4"`
PositionY *uint64 `json:"positionY,omitempty" n2k:"6"`
PositionZ *uint64 `json:"positionZ,omitempty" n2k:"7"`
}
func (*FurunoSpeedCalculationPosition) DecodePayload ¶
func (m *FurunoSpeedCalculationPosition) DecodePayload(payload []uint8) error
func (*FurunoSpeedCalculationPosition) EncodePayload ¶
func (m *FurunoSpeedCalculationPosition) EncodePayload() ([]uint8, error)
func (*FurunoSpeedCalculationPosition) MessageInfo ¶
func (m *FurunoSpeedCalculationPosition) MessageInfo() MessageInfo
func (*FurunoSpeedCalculationPosition) PGNNumber ¶
func (m *FurunoSpeedCalculationPosition) PGNNumber() uint32
func (*FurunoSpeedCalculationPosition) PositionYValue ¶
func (m *FurunoSpeedCalculationPosition) PositionYValue() (float64, bool)
PositionYValue returns PositionY as a physical value in m (value = raw * 0.1). The bool is false when PositionY is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSpeedCalculationPosition) PositionZValue ¶
func (m *FurunoSpeedCalculationPosition) PositionZValue() (float64, bool)
PositionZValue returns PositionZ as a physical value in m (value = raw * 0.1). The bool is false when PositionZ is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FurunoSpeedCalculationPosition) SetMessageInfo ¶
func (m *FurunoSpeedCalculationPosition) SetMessageInfo(info MessageInfo)
func (*FurunoSpeedCalculationPosition) SetPositionYValue ¶
func (m *FurunoSpeedCalculationPosition) SetPositionYValue(v float64)
SetPositionYValue sets PositionY from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*FurunoSpeedCalculationPosition) SetPositionZValue ¶
func (m *FurunoSpeedCalculationPosition) SetPositionZValue(v float64)
SetPositionZValue sets PositionZ from a physical value in m, rounded to the nearest wire tick of 0.1.
type FurunoStatusAndVersionReport ¶
type FurunoStatusAndVersionReport struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
A *uint64 `json:"a,omitempty" n2k:"5"`
Status string `json:"status,omitempty" n2k:"6"`
}
func (*FurunoStatusAndVersionReport) DecodePayload ¶
func (m *FurunoStatusAndVersionReport) DecodePayload(payload []uint8) error
func (*FurunoStatusAndVersionReport) EncodePayload ¶
func (m *FurunoStatusAndVersionReport) EncodePayload() ([]uint8, error)
func (*FurunoStatusAndVersionReport) MessageInfo ¶
func (m *FurunoStatusAndVersionReport) MessageInfo() MessageInfo
func (*FurunoStatusAndVersionReport) PGNNumber ¶
func (m *FurunoStatusAndVersionReport) PGNNumber() uint32
func (*FurunoStatusAndVersionReport) SetMessageInfo ¶
func (m *FurunoStatusAndVersionReport) SetMessageInfo(info MessageInfo)
type FurunoSvControl ¶
type FurunoSvControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
F4 []uint8 `json:"f4,omitempty" n2k:"4"`
F5 []uint8 `json:"f5,omitempty" n2k:"5"`
SbasMode *uint64 `json:"sbasMode,omitempty" n2k:"6"`
SbasSatellite *uint64 `json:"sbasSatellite,omitempty" n2k:"7"`
F8 []uint8 `json:"f8,omitempty" n2k:"8"`
GpsDisable *uint64 `json:"gpsDisable,omitempty" n2k:"9"`
GlonassDisable *uint64 `json:"glonassDisable,omitempty" n2k:"10"`
GalileoDisable *uint64 `json:"galileoDisable,omitempty" n2k:"11"`
QzssDisable *uint64 `json:"qzssDisable,omitempty" n2k:"12"`
}
func (*FurunoSvControl) DecodePayload ¶
func (m *FurunoSvControl) DecodePayload(payload []uint8) error
func (*FurunoSvControl) EncodePayload ¶
func (m *FurunoSvControl) EncodePayload() ([]uint8, error)
func (*FurunoSvControl) MessageInfo ¶
func (m *FurunoSvControl) MessageInfo() MessageInfo
func (*FurunoSvControl) PGNNumber ¶
func (m *FurunoSvControl) PGNNumber() uint32
func (*FurunoSvControl) SetMessageInfo ¶
func (m *FurunoSvControl) SetMessageInfo(info MessageInfo)
type FurunoUnknown130820 ¶
type FurunoUnknown130820 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
A *uint64 `json:"a,omitempty" n2k:"4"`
B *uint64 `json:"b,omitempty" n2k:"5"`
C *uint64 `json:"c,omitempty" n2k:"6"`
D *uint64 `json:"d,omitempty" n2k:"7"`
E *uint64 `json:"e,omitempty" n2k:"8"`
}
func (*FurunoUnknown130820) DecodePayload ¶
func (m *FurunoUnknown130820) DecodePayload(payload []uint8) error
func (*FurunoUnknown130820) EncodePayload ¶
func (m *FurunoUnknown130820) EncodePayload() ([]uint8, error)
func (*FurunoUnknown130820) MessageInfo ¶
func (m *FurunoUnknown130820) MessageInfo() MessageInfo
func (*FurunoUnknown130820) PGNNumber ¶
func (m *FurunoUnknown130820) PGNNumber() uint32
func (*FurunoUnknown130820) SetMessageInfo ¶
func (m *FurunoUnknown130820) SetMessageInfo(info MessageInfo)
type FurunoUnknown130821 ¶
type FurunoUnknown130821 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
A *uint64 `json:"a,omitempty" n2k:"5"`
B *uint64 `json:"b,omitempty" n2k:"6"`
C *uint64 `json:"c,omitempty" n2k:"7"`
D *uint64 `json:"d,omitempty" n2k:"8"`
E *uint64 `json:"e,omitempty" n2k:"9"`
F *uint64 `json:"f,omitempty" n2k:"10"`
G *uint64 `json:"g,omitempty" n2k:"11"`
H *uint64 `json:"h,omitempty" n2k:"12"`
I *uint64 `json:"i,omitempty" n2k:"13"`
}
func (*FurunoUnknown130821) DecodePayload ¶
func (m *FurunoUnknown130821) DecodePayload(payload []uint8) error
func (*FurunoUnknown130821) EncodePayload ¶
func (m *FurunoUnknown130821) EncodePayload() ([]uint8, error)
func (*FurunoUnknown130821) MessageInfo ¶
func (m *FurunoUnknown130821) MessageInfo() MessageInfo
func (*FurunoUnknown130821) PGNNumber ¶
func (m *FurunoUnknown130821) PGNNumber() uint32
func (*FurunoUnknown130821) SetMessageInfo ¶
func (m *FurunoUnknown130821) SetMessageInfo(info MessageInfo)
type FusionAlbumName ¶
type FusionAlbumName struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Index *uint64 `json:"index,omitempty" n2k:"6"`
Album string `json:"album,omitempty" n2k:"7"`
}
func (*FusionAlbumName) DecodePayload ¶
func (m *FusionAlbumName) DecodePayload(payload []uint8) error
func (*FusionAlbumName) EncodePayload ¶
func (m *FusionAlbumName) EncodePayload() ([]uint8, error)
func (*FusionAlbumName) MessageInfo ¶
func (m *FusionAlbumName) MessageInfo() MessageInfo
func (*FusionAlbumName) PGNNumber ¶
func (m *FusionAlbumName) PGNNumber() uint32
func (*FusionAlbumName) SetMessageInfo ¶
func (m *FusionAlbumName) SetMessageInfo(info MessageInfo)
type FusionArtistName ¶
type FusionArtistName struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Index *uint64 `json:"index,omitempty" n2k:"6"`
Artist string `json:"artist,omitempty" n2k:"7"`
}
func (*FusionArtistName) DecodePayload ¶
func (m *FusionArtistName) DecodePayload(payload []uint8) error
func (*FusionArtistName) EncodePayload ¶
func (m *FusionArtistName) EncodePayload() ([]uint8, error)
func (*FusionArtistName) MessageInfo ¶
func (m *FusionArtistName) MessageInfo() MessageInfo
func (*FusionArtistName) PGNNumber ¶
func (m *FusionArtistName) PGNNumber() uint32
func (*FusionArtistName) SetMessageInfo ¶
func (m *FusionArtistName) SetMessageInfo(info MessageInfo)
type FusionAuxGain ¶
type FusionAuxGain struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Gain *uint64 `json:"gain,omitempty" n2k:"6"`
}
func (*FusionAuxGain) DecodePayload ¶
func (m *FusionAuxGain) DecodePayload(payload []uint8) error
func (*FusionAuxGain) EncodePayload ¶
func (m *FusionAuxGain) EncodePayload() ([]uint8, error)
func (*FusionAuxGain) MessageInfo ¶
func (m *FusionAuxGain) MessageInfo() MessageInfo
func (*FusionAuxGain) PGNNumber ¶
func (m *FusionAuxGain) PGNNumber() uint32
func (*FusionAuxGain) SetMessageInfo ¶
func (m *FusionAuxGain) SetMessageInfo(info MessageInfo)
type FusionBalance ¶
type FusionBalance struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Value *uint64 `json:"value,omitempty" n2k:"6"`
}
func (*FusionBalance) DecodePayload ¶
func (m *FusionBalance) DecodePayload(payload []uint8) error
func (*FusionBalance) EncodePayload ¶
func (m *FusionBalance) EncodePayload() ([]uint8, error)
func (*FusionBalance) MessageInfo ¶
func (m *FusionBalance) MessageInfo() MessageInfo
func (*FusionBalance) PGNNumber ¶
func (m *FusionBalance) PGNNumber() uint32
func (*FusionBalance) SetMessageInfo ¶
func (m *FusionBalance) SetMessageInfo(info MessageInfo)
type FusionCapabilities ¶
type FusionCapabilities struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone1 *uint64 `json:"zone1,omitempty" n2k:"5"`
Zone2 *uint64 `json:"zone2,omitempty" n2k:"6"`
Zone3 *uint64 `json:"zone3,omitempty" n2k:"7"`
Zone4 *uint64 `json:"zone4,omitempty" n2k:"8"`
Global *uint64 `json:"global,omitempty" n2k:"9"`
}
func (*FusionCapabilities) DecodePayload ¶
func (m *FusionCapabilities) DecodePayload(payload []uint8) error
func (*FusionCapabilities) EncodePayload ¶
func (m *FusionCapabilities) EncodePayload() ([]uint8, error)
func (*FusionCapabilities) MessageInfo ¶
func (m *FusionCapabilities) MessageInfo() MessageInfo
func (*FusionCapabilities) PGNNumber ¶
func (m *FusionCapabilities) PGNNumber() uint32
func (*FusionCapabilities) SetMessageInfo ¶
func (m *FusionCapabilities) SetMessageInfo(info MessageInfo)
type FusionCommandConst ¶
type FusionCommandConst uint8
const ( Play_2 FusionCommandConst = 1 Pause_2 FusionCommandConst = 2 Next FusionCommandConst = 4 Prev FusionCommandConst = 6 )
func (FusionCommandConst) GoString ¶
func (e FusionCommandConst) GoString() string
func (FusionCommandConst) String ¶
func (e FusionCommandConst) String() string
type FusionDeviceName ¶
type FusionDeviceName struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Name string `json:"name,omitempty" n2k:"5"`
}
func (*FusionDeviceName) DecodePayload ¶
func (m *FusionDeviceName) DecodePayload(payload []uint8) error
func (*FusionDeviceName) EncodePayload ¶
func (m *FusionDeviceName) EncodePayload() ([]uint8, error)
func (*FusionDeviceName) MessageInfo ¶
func (m *FusionDeviceName) MessageInfo() MessageInfo
func (*FusionDeviceName) PGNNumber ¶
func (m *FusionDeviceName) PGNNumber() uint32
func (*FusionDeviceName) SetMessageInfo ¶
func (m *FusionDeviceName) SetMessageInfo(info MessageInfo)
type FusionEq ¶
type FusionEq struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Bass *int64 `json:"bass,omitempty" n2k:"6"`
Mid *int64 `json:"mid,omitempty" n2k:"7"`
Treble *int64 `json:"treble,omitempty" n2k:"8"`
}
func (*FusionEq) DecodePayload ¶
func (*FusionEq) EncodePayload ¶
func (*FusionEq) MessageInfo ¶
func (m *FusionEq) MessageInfo() MessageInfo
func (*FusionEq) SetMessageInfo ¶
func (m *FusionEq) SetMessageInfo(info MessageInfo)
type FusionIgnitionSwitchState ¶
type FusionIgnitionSwitchState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
State *uint64 `json:"state,omitempty" n2k:"5"`
}
func (*FusionIgnitionSwitchState) DecodePayload ¶
func (m *FusionIgnitionSwitchState) DecodePayload(payload []uint8) error
func (*FusionIgnitionSwitchState) EncodePayload ¶
func (m *FusionIgnitionSwitchState) EncodePayload() ([]uint8, error)
func (*FusionIgnitionSwitchState) MessageInfo ¶
func (m *FusionIgnitionSwitchState) MessageInfo() MessageInfo
func (*FusionIgnitionSwitchState) PGNNumber ¶
func (m *FusionIgnitionSwitchState) PGNNumber() uint32
func (*FusionIgnitionSwitchState) SetMessageInfo ¶
func (m *FusionIgnitionSwitchState) SetMessageInfo(info MessageInfo)
type FusionLineLevelControl ¶
type FusionLineLevelControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
}
func (*FusionLineLevelControl) DecodePayload ¶
func (m *FusionLineLevelControl) DecodePayload(payload []uint8) error
func (*FusionLineLevelControl) EncodePayload ¶
func (m *FusionLineLevelControl) EncodePayload() ([]uint8, error)
func (*FusionLineLevelControl) MessageInfo ¶
func (m *FusionLineLevelControl) MessageInfo() MessageInfo
func (*FusionLineLevelControl) PGNNumber ¶
func (m *FusionLineLevelControl) PGNNumber() uint32
func (*FusionLineLevelControl) SetMessageInfo ¶
func (m *FusionLineLevelControl) SetMessageInfo(info MessageInfo)
type FusionLowPassFilter ¶
type FusionLowPassFilter struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Filter *uint64 `json:"filter,omitempty" n2k:"6"`
}
func (*FusionLowPassFilter) DecodePayload ¶
func (m *FusionLowPassFilter) DecodePayload(payload []uint8) error
func (*FusionLowPassFilter) EncodePayload ¶
func (m *FusionLowPassFilter) EncodePayload() ([]uint8, error)
func (*FusionLowPassFilter) MessageInfo ¶
func (m *FusionLowPassFilter) MessageInfo() MessageInfo
func (*FusionLowPassFilter) PGNNumber ¶
func (m *FusionLowPassFilter) PGNNumber() uint32
func (*FusionLowPassFilter) SetMessageInfo ¶
func (m *FusionLowPassFilter) SetMessageInfo(info MessageInfo)
type FusionMarineScanMode ¶
type FusionMarineScanMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Scan *uint64 `json:"scan,omitempty" n2k:"6"`
}
func (*FusionMarineScanMode) DecodePayload ¶
func (m *FusionMarineScanMode) DecodePayload(payload []uint8) error
func (*FusionMarineScanMode) EncodePayload ¶
func (m *FusionMarineScanMode) EncodePayload() ([]uint8, error)
func (*FusionMarineScanMode) MessageInfo ¶
func (m *FusionMarineScanMode) MessageInfo() MessageInfo
func (*FusionMarineScanMode) PGNNumber ¶
func (m *FusionMarineScanMode) PGNNumber() uint32
func (*FusionMarineScanMode) SetMessageInfo ¶
func (m *FusionMarineScanMode) SetMessageInfo(info MessageInfo)
type FusionMarineSquelch ¶
type FusionMarineSquelch struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Squelch *uint64 `json:"squelch,omitempty" n2k:"6"`
}
func (*FusionMarineSquelch) DecodePayload ¶
func (m *FusionMarineSquelch) DecodePayload(payload []uint8) error
func (*FusionMarineSquelch) EncodePayload ¶
func (m *FusionMarineSquelch) EncodePayload() ([]uint8, error)
func (*FusionMarineSquelch) MessageInfo ¶
func (m *FusionMarineSquelch) MessageInfo() MessageInfo
func (*FusionMarineSquelch) PGNNumber ¶
func (m *FusionMarineSquelch) PGNNumber() uint32
func (*FusionMarineSquelch) SetMessageInfo ¶
func (m *FusionMarineSquelch) SetMessageInfo(info MessageInfo)
type FusionMarineTuner ¶
type FusionMarineTuner struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
SignalStrength *uint64 `json:"signalStrength,omitempty" n2k:"7"`
Name string `json:"name,omitempty" n2k:"8"`
}
func (*FusionMarineTuner) DecodePayload ¶
func (m *FusionMarineTuner) DecodePayload(payload []uint8) error
func (*FusionMarineTuner) EncodePayload ¶
func (m *FusionMarineTuner) EncodePayload() ([]uint8, error)
func (*FusionMarineTuner) MessageInfo ¶
func (m *FusionMarineTuner) MessageInfo() MessageInfo
func (*FusionMarineTuner) PGNNumber ¶
func (m *FusionMarineTuner) PGNNumber() uint32
func (*FusionMarineTuner) SetMessageInfo ¶
func (m *FusionMarineTuner) SetMessageInfo(info MessageInfo)
type FusionMedia ¶
type FusionMedia struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Flags *uint64 `json:"flags,omitempty" n2k:"6"`
Track *uint64 `json:"track,omitempty" n2k:"7"`
TrackCount *uint64 `json:"trackCount,omitempty" n2k:"8"`
Length *uint64 `json:"length,omitempty" n2k:"9"`
PositionInTrack *uint64 `json:"positionInTrack,omitempty" n2k:"10"`
}
func (*FusionMedia) DecodePayload ¶
func (m *FusionMedia) DecodePayload(payload []uint8) error
func (*FusionMedia) EncodePayload ¶
func (m *FusionMedia) EncodePayload() ([]uint8, error)
func (*FusionMedia) LengthValue ¶
func (m *FusionMedia) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in s (value = raw * 0.001). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FusionMedia) MessageInfo ¶
func (m *FusionMedia) MessageInfo() MessageInfo
func (*FusionMedia) PGNNumber ¶
func (m *FusionMedia) PGNNumber() uint32
func (*FusionMedia) PositionInTrackValue ¶
func (m *FusionMedia) PositionInTrackValue() (float64, bool)
PositionInTrackValue returns PositionInTrack as a physical value in s (value = raw * 0.001). The bool is false when PositionInTrack is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FusionMedia) SetLengthValue ¶
func (m *FusionMedia) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*FusionMedia) SetMessageInfo ¶
func (m *FusionMedia) SetMessageInfo(info MessageInfo)
func (*FusionMedia) SetPositionInTrackValue ¶
func (m *FusionMedia) SetPositionInTrackValue(v float64)
SetPositionInTrackValue sets PositionInTrack from a physical value in s, rounded to the nearest wire tick of 0.001.
type FusionMediaControl ¶
type FusionMediaControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Command *uint64 `json:"command,omitempty" n2k:"6"`
}
func (*FusionMediaControl) DecodePayload ¶
func (m *FusionMediaControl) DecodePayload(payload []uint8) error
func (*FusionMediaControl) EncodePayload ¶
func (m *FusionMediaControl) EncodePayload() ([]uint8, error)
func (*FusionMediaControl) MessageInfo ¶
func (m *FusionMediaControl) MessageInfo() MessageInfo
func (*FusionMediaControl) PGNNumber ¶
func (m *FusionMediaControl) PGNNumber() uint32
func (*FusionMediaControl) SetMessageInfo ¶
func (m *FusionMediaControl) SetMessageInfo(info MessageInfo)
type FusionMenuItem ¶
type FusionMenuItem struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
ItemIndex *uint64 `json:"itemIndex,omitempty" n2k:"6"`
Flags *uint64 `json:"flags,omitempty" n2k:"7"`
LockId *uint64 `json:"lockId,omitempty" n2k:"8"`
Text string `json:"text,omitempty" n2k:"9"`
}
func (*FusionMenuItem) DecodePayload ¶
func (m *FusionMenuItem) DecodePayload(payload []uint8) error
func (*FusionMenuItem) EncodePayload ¶
func (m *FusionMenuItem) EncodePayload() ([]uint8, error)
func (*FusionMenuItem) MessageInfo ¶
func (m *FusionMenuItem) MessageInfo() MessageInfo
func (*FusionMenuItem) PGNNumber ¶
func (m *FusionMenuItem) PGNNumber() uint32
func (*FusionMenuItem) SetMessageInfo ¶
func (m *FusionMenuItem) SetMessageInfo(info MessageInfo)
type FusionMenuLockId ¶
type FusionMenuLockId struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
LockId *uint64 `json:"lockId,omitempty" n2k:"5"`
Flags *uint64 `json:"flags,omitempty" n2k:"6"`
}
func (*FusionMenuLockId) DecodePayload ¶
func (m *FusionMenuLockId) DecodePayload(payload []uint8) error
func (*FusionMenuLockId) EncodePayload ¶
func (m *FusionMenuLockId) EncodePayload() ([]uint8, error)
func (*FusionMenuLockId) MessageInfo ¶
func (m *FusionMenuLockId) MessageInfo() MessageInfo
func (*FusionMenuLockId) PGNNumber ¶
func (m *FusionMenuLockId) PGNNumber() uint32
func (*FusionMenuLockId) SetMessageInfo ¶
func (m *FusionMenuLockId) SetMessageInfo(info MessageInfo)
type FusionMessageIdConst ¶
type FusionMessageIdConst uint8
const ( RequestStatus FusionMessageIdConst = 1 Source_2 FusionMessageIdConst = 2 TrackInfo FusionMessageIdConst = 4 TrackTitle FusionMessageIdConst = 5 TrackArtist FusionMessageIdConst = 6 TrackAlbum FusionMessageIdConst = 7 TrackProgress FusionMessageIdConst = 9 AMFMStation FusionMessageIdConst = 11 VHF FusionMessageIdConst = 12 Squelch FusionMessageIdConst = 13 Scan FusionMessageIdConst = 14 MenuItem_2 FusionMessageIdConst = 17 Replay FusionMessageIdConst = 20 Mute FusionMessageIdConst = 23 SetZoneVolume FusionMessageIdConst = 24 SetAllVolumes FusionMessageIdConst = 25 SubVolume FusionMessageIdConst = 26 Tone FusionMessageIdConst = 27 Volume_2 FusionMessageIdConst = 29 Power FusionMessageIdConst = 32 UnitName FusionMessageIdConst = 33 SiriusXMChannel FusionMessageIdConst = 36 SiriusXMTitle FusionMessageIdConst = 37 SiriusXMArtist FusionMessageIdConst = 38 SiriusXMGenre FusionMessageIdConst = 40 ZoneName FusionMessageIdConst = 45 )
func (FusionMessageIdConst) GoString ¶
func (e FusionMessageIdConst) GoString() string
func (FusionMessageIdConst) String ¶
func (e FusionMessageIdConst) String() string
type FusionMono ¶
type FusionMono struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"6"`
}
func (*FusionMono) DecodePayload ¶
func (m *FusionMono) DecodePayload(payload []uint8) error
func (*FusionMono) EncodePayload ¶
func (m *FusionMono) EncodePayload() ([]uint8, error)
func (*FusionMono) MessageInfo ¶
func (m *FusionMono) MessageInfo() MessageInfo
func (*FusionMono) PGNNumber ¶
func (m *FusionMono) PGNNumber() uint32
func (*FusionMono) SetMessageInfo ¶
func (m *FusionMono) SetMessageInfo(info MessageInfo)
type FusionMultiroom ¶
type FusionMultiroom struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"5"`
IpAddress1 *uint64 `json:"ipAddress1,omitempty" n2k:"6"`
IpAddress2 *uint64 `json:"ipAddress2,omitempty" n2k:"7"`
IpAddress3 *uint64 `json:"ipAddress3,omitempty" n2k:"8"`
IpAddress4 *uint64 `json:"ipAddress4,omitempty" n2k:"9"`
}
func (*FusionMultiroom) DecodePayload ¶
func (m *FusionMultiroom) DecodePayload(payload []uint8) error
func (*FusionMultiroom) EncodePayload ¶
func (m *FusionMultiroom) EncodePayload() ([]uint8, error)
func (*FusionMultiroom) MessageInfo ¶
func (m *FusionMultiroom) MessageInfo() MessageInfo
func (*FusionMultiroom) PGNNumber ¶
func (m *FusionMultiroom) PGNNumber() uint32
func (*FusionMultiroom) SetMessageInfo ¶
func (m *FusionMultiroom) SetMessageInfo(info MessageInfo)
type FusionMultiroomStatus ¶
type FusionMultiroomStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Available *uint64 `json:"available,omitempty" n2k:"5"`
}
func (*FusionMultiroomStatus) DecodePayload ¶
func (m *FusionMultiroomStatus) DecodePayload(payload []uint8) error
func (*FusionMultiroomStatus) EncodePayload ¶
func (m *FusionMultiroomStatus) EncodePayload() ([]uint8, error)
func (*FusionMultiroomStatus) MessageInfo ¶
func (m *FusionMultiroomStatus) MessageInfo() MessageInfo
func (*FusionMultiroomStatus) PGNNumber ¶
func (m *FusionMultiroomStatus) PGNNumber() uint32
func (*FusionMultiroomStatus) SetMessageInfo ¶
func (m *FusionMultiroomStatus) SetMessageInfo(info MessageInfo)
type FusionMute ¶
type FusionMute struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Mute *uint64 `json:"mute,omitempty" n2k:"5"`
}
func (*FusionMute) DecodePayload ¶
func (m *FusionMute) DecodePayload(payload []uint8) error
func (*FusionMute) EncodePayload ¶
func (m *FusionMute) EncodePayload() ([]uint8, error)
func (*FusionMute) MessageInfo ¶
func (m *FusionMute) MessageInfo() MessageInfo
func (*FusionMute) PGNNumber ¶
func (m *FusionMute) PGNNumber() uint32
func (*FusionMute) SetMessageInfo ¶
func (m *FusionMute) SetMessageInfo(info MessageInfo)
type FusionMuteCommandConst ¶
type FusionMuteCommandConst uint8
const ( MuteOn FusionMuteCommandConst = 1 MuteOff FusionMuteCommandConst = 2 )
func (FusionMuteCommandConst) GoString ¶
func (e FusionMuteCommandConst) GoString() string
func (FusionMuteCommandConst) String ¶
func (e FusionMuteCommandConst) String() string
type FusionPowerState ¶
type FusionPowerState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
State *uint64 `json:"state,omitempty" n2k:"5"`
}
func (*FusionPowerState) DecodePayload ¶
func (m *FusionPowerState) DecodePayload(payload []uint8) error
func (*FusionPowerState) EncodePayload ¶
func (m *FusionPowerState) EncodePayload() ([]uint8, error)
func (*FusionPowerState) MessageInfo ¶
func (m *FusionPowerState) MessageInfo() MessageInfo
func (*FusionPowerState) PGNNumber ¶
func (m *FusionPowerState) PGNNumber() uint32
func (*FusionPowerState) SetMessageInfo ¶
func (m *FusionPowerState) SetMessageInfo(info MessageInfo)
type FusionPowerStateConst ¶
type FusionPowerStateConst uint8
const ( On_2 FusionPowerStateConst = 1 Off_9 FusionPowerStateConst = 2 )
func (FusionPowerStateConst) GoString ¶
func (e FusionPowerStateConst) GoString() string
func (FusionPowerStateConst) String ¶
func (e FusionPowerStateConst) String() string
type FusionProcessingBypass ¶
type FusionProcessingBypass struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Bypass *uint64 `json:"bypass,omitempty" n2k:"5"`
}
func (*FusionProcessingBypass) DecodePayload ¶
func (m *FusionProcessingBypass) DecodePayload(payload []uint8) error
func (*FusionProcessingBypass) EncodePayload ¶
func (m *FusionProcessingBypass) EncodePayload() ([]uint8, error)
func (*FusionProcessingBypass) MessageInfo ¶
func (m *FusionProcessingBypass) MessageInfo() MessageInfo
func (*FusionProcessingBypass) PGNNumber ¶
func (m *FusionProcessingBypass) PGNNumber() uint32
func (*FusionProcessingBypass) SetMessageInfo ¶
func (m *FusionProcessingBypass) SetMessageInfo(info MessageInfo)
type FusionRadioSourceConst ¶
type FusionRadioSourceConst uint8
const ( AM_3 FusionRadioSourceConst = 0 FM_3 FusionRadioSourceConst = 1 )
func (FusionRadioSourceConst) GoString ¶
func (e FusionRadioSourceConst) GoString() string
func (FusionRadioSourceConst) String ¶
func (e FusionRadioSourceConst) String() string
type FusionRdsData ¶
type FusionRdsData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
RdsType *uint64 `json:"rdsType,omitempty" n2k:"6"`
ProgrammeType *uint64 `json:"programmeType,omitempty" n2k:"7"`
Rds string `json:"rds,omitempty" n2k:"8"`
}
func (*FusionRdsData) DecodePayload ¶
func (m *FusionRdsData) DecodePayload(payload []uint8) error
func (*FusionRdsData) EncodePayload ¶
func (m *FusionRdsData) EncodePayload() ([]uint8, error)
func (*FusionRdsData) MessageInfo ¶
func (m *FusionRdsData) MessageInfo() MessageInfo
func (*FusionRdsData) PGNNumber ¶
func (m *FusionRdsData) PGNNumber() uint32
func (*FusionRdsData) SetMessageInfo ¶
func (m *FusionRdsData) SetMessageInfo(info MessageInfo)
type FusionReplayModeConst ¶
type FusionReplayModeConst uint8
const ( USBRepeat FusionReplayModeConst = 9 USBShuffle FusionReplayModeConst = 10 IPodRepeat FusionReplayModeConst = 12 IPodShuffle FusionReplayModeConst = 13 )
func (FusionReplayModeConst) GoString ¶
func (e FusionReplayModeConst) GoString() string
func (FusionReplayModeConst) String ¶
func (e FusionReplayModeConst) String() string
type FusionReplayStatusConst ¶
type FusionReplayStatusConst uint8
const ( Off_8 FusionReplayStatusConst = 0 OneTrack FusionReplayStatusConst = 1 AllAlbum FusionReplayStatusConst = 2 )
func (FusionReplayStatusConst) GoString ¶
func (e FusionReplayStatusConst) GoString() string
func (FusionReplayStatusConst) String ¶
func (e FusionReplayStatusConst) String() string
type FusionRequestStatus ¶
type FusionRequestStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
}
func (*FusionRequestStatus) DecodePayload ¶
func (m *FusionRequestStatus) DecodePayload(payload []uint8) error
func (*FusionRequestStatus) EncodePayload ¶
func (m *FusionRequestStatus) EncodePayload() ([]uint8, error)
func (*FusionRequestStatus) MessageInfo ¶
func (m *FusionRequestStatus) MessageInfo() MessageInfo
func (*FusionRequestStatus) PGNNumber ¶
func (m *FusionRequestStatus) PGNNumber() uint32
func (*FusionRequestStatus) SetMessageInfo ¶
func (m *FusionRequestStatus) SetMessageInfo(info MessageInfo)
type FusionSetAllVolumes ¶
type FusionSetAllVolumes struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Zone1 *uint64 `json:"zone1,omitempty" n2k:"5"`
Zone2 *uint64 `json:"zone2,omitempty" n2k:"6"`
Zone3 *uint64 `json:"zone3,omitempty" n2k:"7"`
Zone4 *uint64 `json:"zone4,omitempty" n2k:"8"`
}
func (*FusionSetAllVolumes) DecodePayload ¶
func (m *FusionSetAllVolumes) DecodePayload(payload []uint8) error
func (*FusionSetAllVolumes) EncodePayload ¶
func (m *FusionSetAllVolumes) EncodePayload() ([]uint8, error)
func (*FusionSetAllVolumes) MessageInfo ¶
func (m *FusionSetAllVolumes) MessageInfo() MessageInfo
func (*FusionSetAllVolumes) PGNNumber ¶
func (m *FusionSetAllVolumes) PGNNumber() uint32
func (*FusionSetAllVolumes) SetMessageInfo ¶
func (m *FusionSetAllVolumes) SetMessageInfo(info MessageInfo)
type FusionSetMute ¶
type FusionSetMute struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
}
func (*FusionSetMute) DecodePayload ¶
func (m *FusionSetMute) DecodePayload(payload []uint8) error
func (*FusionSetMute) EncodePayload ¶
func (m *FusionSetMute) EncodePayload() ([]uint8, error)
func (*FusionSetMute) MessageInfo ¶
func (m *FusionSetMute) MessageInfo() MessageInfo
func (*FusionSetMute) PGNNumber ¶
func (m *FusionSetMute) PGNNumber() uint32
func (*FusionSetMute) SetMessageInfo ¶
func (m *FusionSetMute) SetMessageInfo(info MessageInfo)
type FusionSetPower ¶
type FusionSetPower struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Power *uint64 `json:"power,omitempty" n2k:"5"`
}
func (*FusionSetPower) DecodePayload ¶
func (m *FusionSetPower) DecodePayload(payload []uint8) error
func (*FusionSetPower) EncodePayload ¶
func (m *FusionSetPower) EncodePayload() ([]uint8, error)
func (*FusionSetPower) MessageInfo ¶
func (m *FusionSetPower) MessageInfo() MessageInfo
func (*FusionSetPower) PGNNumber ¶
func (m *FusionSetPower) PGNNumber() uint32
func (*FusionSetPower) SetMessageInfo ¶
func (m *FusionSetPower) SetMessageInfo(info MessageInfo)
type FusionSetSource ¶
type FusionSetSource struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
}
func (*FusionSetSource) DecodePayload ¶
func (m *FusionSetSource) DecodePayload(payload []uint8) error
func (*FusionSetSource) EncodePayload ¶
func (m *FusionSetSource) EncodePayload() ([]uint8, error)
func (*FusionSetSource) MessageInfo ¶
func (m *FusionSetSource) MessageInfo() MessageInfo
func (*FusionSetSource) PGNNumber ¶
func (m *FusionSetSource) PGNNumber() uint32
func (*FusionSetSource) SetMessageInfo ¶
func (m *FusionSetSource) SetMessageInfo(info MessageInfo)
type FusionSetZoneVolume ¶
type FusionSetZoneVolume struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Zone *uint64 `json:"zone,omitempty" n2k:"5"`
Volume *uint64 `json:"volume,omitempty" n2k:"6"`
}
func (*FusionSetZoneVolume) DecodePayload ¶
func (m *FusionSetZoneVolume) DecodePayload(payload []uint8) error
func (*FusionSetZoneVolume) EncodePayload ¶
func (m *FusionSetZoneVolume) EncodePayload() ([]uint8, error)
func (*FusionSetZoneVolume) MessageInfo ¶
func (m *FusionSetZoneVolume) MessageInfo() MessageInfo
func (*FusionSetZoneVolume) PGNNumber ¶
func (m *FusionSetZoneVolume) PGNNumber() uint32
func (*FusionSetZoneVolume) SetMessageInfo ¶
func (m *FusionSetZoneVolume) SetMessageInfo(info MessageInfo)
type FusionSetting ¶
type FusionSetting struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Id *uint64 `json:"id,omitempty" n2k:"5"`
Value *uint64 `json:"value,omitempty" n2k:"6"`
}
func (*FusionSetting) DecodePayload ¶
func (m *FusionSetting) DecodePayload(payload []uint8) error
func (*FusionSetting) EncodePayload ¶
func (m *FusionSetting) EncodePayload() ([]uint8, error)
func (*FusionSetting) MessageInfo ¶
func (m *FusionSetting) MessageInfo() MessageInfo
func (*FusionSetting) PGNNumber ¶
func (m *FusionSetting) PGNNumber() uint32
func (*FusionSetting) SetMessageInfo ¶
func (m *FusionSetting) SetMessageInfo(info MessageInfo)
type FusionSettings ¶
type FusionSettings struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Count *uint64 `json:"count,omitempty" n2k:"5"`
Repeating1 []FusionSettingsRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*FusionSettings) DecodePayload ¶
func (m *FusionSettings) DecodePayload(payload []uint8) error
func (*FusionSettings) EncodePayload ¶
func (m *FusionSettings) EncodePayload() ([]uint8, error)
func (*FusionSettings) MessageInfo ¶
func (m *FusionSettings) MessageInfo() MessageInfo
func (*FusionSettings) PGNNumber ¶
func (m *FusionSettings) PGNNumber() uint32
func (*FusionSettings) SetMessageInfo ¶
func (m *FusionSettings) SetMessageInfo(info MessageInfo)
type FusionSiriusCommandConst ¶
type FusionSiriusCommandConst uint8
const ( Next_2 FusionSiriusCommandConst = 1 Prev_2 FusionSiriusCommandConst = 2 )
func (FusionSiriusCommandConst) GoString ¶
func (e FusionSiriusCommandConst) GoString() string
func (FusionSiriusCommandConst) String ¶
func (e FusionSiriusCommandConst) String() string
type FusionSiriusControl ¶
type FusionSiriusControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Command *uint64 `json:"command,omitempty" n2k:"6"`
Data *uint64 `json:"data,omitempty" n2k:"7"`
}
func (*FusionSiriusControl) DecodePayload ¶
func (m *FusionSiriusControl) DecodePayload(payload []uint8) error
func (*FusionSiriusControl) EncodePayload ¶
func (m *FusionSiriusControl) EncodePayload() ([]uint8, error)
func (*FusionSiriusControl) MessageInfo ¶
func (m *FusionSiriusControl) MessageInfo() MessageInfo
func (*FusionSiriusControl) PGNNumber ¶
func (m *FusionSiriusControl) PGNNumber() uint32
func (*FusionSiriusControl) SetMessageInfo ¶
func (m *FusionSiriusControl) SetMessageInfo(info MessageInfo)
type FusionSiriusxm ¶
type FusionSiriusxm struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
ComState *uint64 `json:"comState,omitempty" n2k:"6"`
Alert *uint64 `json:"alert,omitempty" n2k:"7"`
AdvisoryChannel *uint64 `json:"advisoryChannel,omitempty" n2k:"8"`
TuningMode *uint64 `json:"tuningMode,omitempty" n2k:"9"`
}
func (*FusionSiriusxm) DecodePayload ¶
func (m *FusionSiriusxm) DecodePayload(payload []uint8) error
func (*FusionSiriusxm) EncodePayload ¶
func (m *FusionSiriusxm) EncodePayload() ([]uint8, error)
func (*FusionSiriusxm) MessageInfo ¶
func (m *FusionSiriusxm) MessageInfo() MessageInfo
func (*FusionSiriusxm) PGNNumber ¶
func (m *FusionSiriusxm) PGNNumber() uint32
func (*FusionSiriusxm) SetMessageInfo ¶
func (m *FusionSiriusxm) SetMessageInfo(info MessageInfo)
type FusionSiriusxmArtist ¶
type FusionSiriusxmArtist struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
Artist string `json:"artist,omitempty" n2k:"7"`
}
func (*FusionSiriusxmArtist) DecodePayload ¶
func (m *FusionSiriusxmArtist) DecodePayload(payload []uint8) error
func (*FusionSiriusxmArtist) EncodePayload ¶
func (m *FusionSiriusxmArtist) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmArtist) MessageInfo ¶
func (m *FusionSiriusxmArtist) MessageInfo() MessageInfo
func (*FusionSiriusxmArtist) PGNNumber ¶
func (m *FusionSiriusxmArtist) PGNNumber() uint32
func (*FusionSiriusxmArtist) SetMessageInfo ¶
func (m *FusionSiriusxmArtist) SetMessageInfo(info MessageInfo)
type FusionSiriusxmCategory ¶
type FusionSiriusxmCategory struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
Name string `json:"name,omitempty" n2k:"7"`
}
func (*FusionSiriusxmCategory) DecodePayload ¶
func (m *FusionSiriusxmCategory) DecodePayload(payload []uint8) error
func (*FusionSiriusxmCategory) EncodePayload ¶
func (m *FusionSiriusxmCategory) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmCategory) MessageInfo ¶
func (m *FusionSiriusxmCategory) MessageInfo() MessageInfo
func (*FusionSiriusxmCategory) PGNNumber ¶
func (m *FusionSiriusxmCategory) PGNNumber() uint32
func (*FusionSiriusxmCategory) SetMessageInfo ¶
func (m *FusionSiriusxmCategory) SetMessageInfo(info MessageInfo)
type FusionSiriusxmChannel ¶
type FusionSiriusxmChannel struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
ChannelNumber *uint64 `json:"channelNumber,omitempty" n2k:"6"`
Channel string `json:"channel,omitempty" n2k:"7"`
}
func (*FusionSiriusxmChannel) DecodePayload ¶
func (m *FusionSiriusxmChannel) DecodePayload(payload []uint8) error
func (*FusionSiriusxmChannel) EncodePayload ¶
func (m *FusionSiriusxmChannel) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmChannel) MessageInfo ¶
func (m *FusionSiriusxmChannel) MessageInfo() MessageInfo
func (*FusionSiriusxmChannel) PGNNumber ¶
func (m *FusionSiriusxmChannel) PGNNumber() uint32
func (*FusionSiriusxmChannel) SetMessageInfo ¶
func (m *FusionSiriusxmChannel) SetMessageInfo(info MessageInfo)
type FusionSiriusxmContentInfo ¶
type FusionSiriusxmContentInfo struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
Genre string `json:"genre,omitempty" n2k:"7"`
}
func (*FusionSiriusxmContentInfo) DecodePayload ¶
func (m *FusionSiriusxmContentInfo) DecodePayload(payload []uint8) error
func (*FusionSiriusxmContentInfo) EncodePayload ¶
func (m *FusionSiriusxmContentInfo) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmContentInfo) MessageInfo ¶
func (m *FusionSiriusxmContentInfo) MessageInfo() MessageInfo
func (*FusionSiriusxmContentInfo) PGNNumber ¶
func (m *FusionSiriusxmContentInfo) PGNNumber() uint32
func (*FusionSiriusxmContentInfo) SetMessageInfo ¶
func (m *FusionSiriusxmContentInfo) SetMessageInfo(info MessageInfo)
type FusionSiriusxmPresets ¶
type FusionSiriusxmPresets struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Count *uint64 `json:"count,omitempty" n2k:"6"`
Values []uint8 `json:"values,omitempty" n2k:"7"`
}
func (*FusionSiriusxmPresets) DecodePayload ¶
func (m *FusionSiriusxmPresets) DecodePayload(payload []uint8) error
func (*FusionSiriusxmPresets) EncodePayload ¶
func (m *FusionSiriusxmPresets) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmPresets) MessageInfo ¶
func (m *FusionSiriusxmPresets) MessageInfo() MessageInfo
func (*FusionSiriusxmPresets) PGNNumber ¶
func (m *FusionSiriusxmPresets) PGNNumber() uint32
func (*FusionSiriusxmPresets) SetMessageInfo ¶
func (m *FusionSiriusxmPresets) SetMessageInfo(info MessageInfo)
type FusionSiriusxmSignal ¶
type FusionSiriusxmSignal struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Signal *uint64 `json:"signal,omitempty" n2k:"6"`
}
func (*FusionSiriusxmSignal) DecodePayload ¶
func (m *FusionSiriusxmSignal) DecodePayload(payload []uint8) error
func (*FusionSiriusxmSignal) EncodePayload ¶
func (m *FusionSiriusxmSignal) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmSignal) MessageInfo ¶
func (m *FusionSiriusxmSignal) MessageInfo() MessageInfo
func (*FusionSiriusxmSignal) PGNNumber ¶
func (m *FusionSiriusxmSignal) PGNNumber() uint32
func (*FusionSiriusxmSignal) SetMessageInfo ¶
func (m *FusionSiriusxmSignal) SetMessageInfo(info MessageInfo)
type FusionSiriusxmTitle ¶
type FusionSiriusxmTitle struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
Title string `json:"title,omitempty" n2k:"7"`
}
func (*FusionSiriusxmTitle) DecodePayload ¶
func (m *FusionSiriusxmTitle) DecodePayload(payload []uint8) error
func (*FusionSiriusxmTitle) EncodePayload ¶
func (m *FusionSiriusxmTitle) EncodePayload() ([]uint8, error)
func (*FusionSiriusxmTitle) MessageInfo ¶
func (m *FusionSiriusxmTitle) MessageInfo() MessageInfo
func (*FusionSiriusxmTitle) PGNNumber ¶
func (m *FusionSiriusxmTitle) PGNNumber() uint32
func (*FusionSiriusxmTitle) SetMessageInfo ¶
func (m *FusionSiriusxmTitle) SetMessageInfo(info MessageInfo)
type FusionSource ¶
type FusionSource struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
CurrentSourceId *uint64 `json:"currentSourceId,omitempty" n2k:"6"`
SourceType *uint64 `json:"sourceType,omitempty" n2k:"7"`
Flags *uint64 `json:"flags,omitempty" n2k:"8"`
Source string `json:"source,omitempty" n2k:"9"`
}
func (*FusionSource) DecodePayload ¶
func (m *FusionSource) DecodePayload(payload []uint8) error
func (*FusionSource) EncodePayload ¶
func (m *FusionSource) EncodePayload() ([]uint8, error)
func (*FusionSource) MessageInfo ¶
func (m *FusionSource) MessageInfo() MessageInfo
func (*FusionSource) PGNNumber ¶
func (m *FusionSource) PGNNumber() uint32
func (*FusionSource) SetMessageInfo ¶
func (m *FusionSource) SetMessageInfo(info MessageInfo)
type FusionSourceCount ¶
type FusionSourceCount struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceCount *uint64 `json:"sourceCount,omitempty" n2k:"5"`
}
func (*FusionSourceCount) DecodePayload ¶
func (m *FusionSourceCount) DecodePayload(payload []uint8) error
func (*FusionSourceCount) EncodePayload ¶
func (m *FusionSourceCount) EncodePayload() ([]uint8, error)
func (*FusionSourceCount) MessageInfo ¶
func (m *FusionSourceCount) MessageInfo() MessageInfo
func (*FusionSourceCount) PGNNumber ¶
func (m *FusionSourceCount) PGNNumber() uint32
func (*FusionSourceCount) SetMessageInfo ¶
func (m *FusionSourceCount) SetMessageInfo(info MessageInfo)
type FusionSpeedVolumeCurrentSpeed ¶
type FusionSpeedVolumeCurrentSpeed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Speed *uint64 `json:"speed,omitempty" n2k:"6"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"7"`
}
func (*FusionSpeedVolumeCurrentSpeed) DecodePayload ¶
func (m *FusionSpeedVolumeCurrentSpeed) DecodePayload(payload []uint8) error
func (*FusionSpeedVolumeCurrentSpeed) EncodePayload ¶
func (m *FusionSpeedVolumeCurrentSpeed) EncodePayload() ([]uint8, error)
func (*FusionSpeedVolumeCurrentSpeed) MessageInfo ¶
func (m *FusionSpeedVolumeCurrentSpeed) MessageInfo() MessageInfo
func (*FusionSpeedVolumeCurrentSpeed) PGNNumber ¶
func (m *FusionSpeedVolumeCurrentSpeed) PGNNumber() uint32
func (*FusionSpeedVolumeCurrentSpeed) SetMessageInfo ¶
func (m *FusionSpeedVolumeCurrentSpeed) SetMessageInfo(info MessageInfo)
type FusionSublevels ¶
type FusionSublevels struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone1 *uint64 `json:"zone1,omitempty" n2k:"5"`
Zone2 *uint64 `json:"zone2,omitempty" n2k:"6"`
Zone3 *uint64 `json:"zone3,omitempty" n2k:"7"`
Zone4 *uint64 `json:"zone4,omitempty" n2k:"8"`
}
func (*FusionSublevels) DecodePayload ¶
func (m *FusionSublevels) DecodePayload(payload []uint8) error
func (*FusionSublevels) EncodePayload ¶
func (m *FusionSublevels) EncodePayload() ([]uint8, error)
func (*FusionSublevels) MessageInfo ¶
func (m *FusionSublevels) MessageInfo() MessageInfo
func (*FusionSublevels) PGNNumber ¶
func (m *FusionSublevels) PGNNumber() uint32
func (*FusionSublevels) SetMessageInfo ¶
func (m *FusionSublevels) SetMessageInfo(info MessageInfo)
type FusionTrackName ¶
type FusionTrackName struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Index *uint64 `json:"index,omitempty" n2k:"6"`
Track string `json:"track,omitempty" n2k:"7"`
}
func (*FusionTrackName) DecodePayload ¶
func (m *FusionTrackName) DecodePayload(payload []uint8) error
func (*FusionTrackName) EncodePayload ¶
func (m *FusionTrackName) EncodePayload() ([]uint8, error)
func (*FusionTrackName) MessageInfo ¶
func (m *FusionTrackName) MessageInfo() MessageInfo
func (*FusionTrackName) PGNNumber ¶
func (m *FusionTrackName) PGNNumber() uint32
func (*FusionTrackName) SetMessageInfo ¶
func (m *FusionTrackName) SetMessageInfo(info MessageInfo)
type FusionTrackPosition ¶
type FusionTrackPosition struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Progress *uint64 `json:"progress,omitempty" n2k:"6"`
}
func (*FusionTrackPosition) DecodePayload ¶
func (m *FusionTrackPosition) DecodePayload(payload []uint8) error
func (*FusionTrackPosition) EncodePayload ¶
func (m *FusionTrackPosition) EncodePayload() ([]uint8, error)
func (*FusionTrackPosition) MessageInfo ¶
func (m *FusionTrackPosition) MessageInfo() MessageInfo
func (*FusionTrackPosition) PGNNumber ¶
func (m *FusionTrackPosition) PGNNumber() uint32
func (*FusionTrackPosition) ProgressValue ¶
func (m *FusionTrackPosition) ProgressValue() (float64, bool)
ProgressValue returns Progress as a physical value in s (value = raw * 0.001). The bool is false when Progress is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FusionTrackPosition) SetMessageInfo ¶
func (m *FusionTrackPosition) SetMessageInfo(info MessageInfo)
func (*FusionTrackPosition) SetProgressValue ¶
func (m *FusionTrackPosition) SetProgressValue(v float64)
SetProgressValue sets Progress from a physical value in s, rounded to the nearest wire tick of 0.001.
type FusionTuner ¶
type FusionTuner struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"5"`
Scanning *uint64 `json:"scanning,omitempty" n2k:"6"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"7"`
SignalStrength *uint64 `json:"signalStrength,omitempty" n2k:"8"`
Track string `json:"track,omitempty" n2k:"9"`
}
func (*FusionTuner) DecodePayload ¶
func (m *FusionTuner) DecodePayload(payload []uint8) error
func (*FusionTuner) EncodePayload ¶
func (m *FusionTuner) EncodePayload() ([]uint8, error)
func (*FusionTuner) FrequencyValue ¶
func (m *FusionTuner) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*FusionTuner) MessageInfo ¶
func (m *FusionTuner) MessageInfo() MessageInfo
func (*FusionTuner) PGNNumber ¶
func (m *FusionTuner) PGNNumber() uint32
func (*FusionTuner) SetFrequencyValue ¶
func (m *FusionTuner) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*FusionTuner) SetMessageInfo ¶
func (m *FusionTuner) SetMessageInfo(info MessageInfo)
type FusionUsbRepeatStatus ¶
type FusionUsbRepeatStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Id *uint64 `json:"id,omitempty" n2k:"5"`
Status *uint64 `json:"status,omitempty" n2k:"6"`
}
func (*FusionUsbRepeatStatus) DecodePayload ¶
func (m *FusionUsbRepeatStatus) DecodePayload(payload []uint8) error
func (*FusionUsbRepeatStatus) EncodePayload ¶
func (m *FusionUsbRepeatStatus) EncodePayload() ([]uint8, error)
func (*FusionUsbRepeatStatus) MessageInfo ¶
func (m *FusionUsbRepeatStatus) MessageInfo() MessageInfo
func (*FusionUsbRepeatStatus) PGNNumber ¶
func (m *FusionUsbRepeatStatus) PGNNumber() uint32
func (*FusionUsbRepeatStatus) SetMessageInfo ¶
func (m *FusionUsbRepeatStatus) SetMessageInfo(info MessageInfo)
type FusionVersions ¶
type FusionVersions struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
HwVersionMajor *uint64 `json:"hwVersionMajor,omitempty" n2k:"5"`
HwVersionMinor *uint64 `json:"hwVersionMinor,omitempty" n2k:"6"`
SwVersionMajor *uint64 `json:"swVersionMajor,omitempty" n2k:"7"`
SwVersionMinor *uint64 `json:"swVersionMinor,omitempty" n2k:"8"`
BuildNumber *uint64 `json:"buildNumber,omitempty" n2k:"9"`
}
func (*FusionVersions) DecodePayload ¶
func (m *FusionVersions) DecodePayload(payload []uint8) error
func (*FusionVersions) EncodePayload ¶
func (m *FusionVersions) EncodePayload() ([]uint8, error)
func (*FusionVersions) MessageInfo ¶
func (m *FusionVersions) MessageInfo() MessageInfo
func (*FusionVersions) PGNNumber ¶
func (m *FusionVersions) PGNNumber() uint32
func (*FusionVersions) SetMessageInfo ¶
func (m *FusionVersions) SetMessageInfo(info MessageInfo)
type FusionVolumeLimits ¶
type FusionVolumeLimits struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone1VolumeLimit *uint64 `json:"zone1VolumeLimit,omitempty" n2k:"5"`
Zone2VolumeLimit *uint64 `json:"zone2VolumeLimit,omitempty" n2k:"6"`
Zone3VolumeLimit *uint64 `json:"zone3VolumeLimit,omitempty" n2k:"7"`
Zone4VolumeLimit *uint64 `json:"zone4VolumeLimit,omitempty" n2k:"8"`
}
func (*FusionVolumeLimits) DecodePayload ¶
func (m *FusionVolumeLimits) DecodePayload(payload []uint8) error
func (*FusionVolumeLimits) EncodePayload ¶
func (m *FusionVolumeLimits) EncodePayload() ([]uint8, error)
func (*FusionVolumeLimits) MessageInfo ¶
func (m *FusionVolumeLimits) MessageInfo() MessageInfo
func (*FusionVolumeLimits) PGNNumber ¶
func (m *FusionVolumeLimits) PGNNumber() uint32
func (*FusionVolumeLimits) SetMessageInfo ¶
func (m *FusionVolumeLimits) SetMessageInfo(info MessageInfo)
type FusionVolumes ¶
type FusionVolumes struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Zone1 *uint64 `json:"zone1,omitempty" n2k:"5"`
Zone2 *uint64 `json:"zone2,omitempty" n2k:"6"`
Zone3 *uint64 `json:"zone3,omitempty" n2k:"7"`
Zone4 *uint64 `json:"zone4,omitempty" n2k:"8"`
}
func (*FusionVolumes) DecodePayload ¶
func (m *FusionVolumes) DecodePayload(payload []uint8) error
func (*FusionVolumes) EncodePayload ¶
func (m *FusionVolumes) EncodePayload() ([]uint8, error)
func (*FusionVolumes) MessageInfo ¶
func (m *FusionVolumes) MessageInfo() MessageInfo
func (*FusionVolumes) PGNNumber ¶
func (m *FusionVolumes) PGNNumber() uint32
func (*FusionVolumes) SetMessageInfo ¶
func (m *FusionVolumes) SetMessageInfo(info MessageInfo)
type FusionZoneName ¶
type FusionZoneName struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Number *uint64 `json:"number,omitempty" n2k:"5"`
Name string `json:"name,omitempty" n2k:"6"`
}
func (*FusionZoneName) DecodePayload ¶
func (m *FusionZoneName) DecodePayload(payload []uint8) error
func (*FusionZoneName) EncodePayload ¶
func (m *FusionZoneName) EncodePayload() ([]uint8, error)
func (*FusionZoneName) MessageInfo ¶
func (m *FusionZoneName) MessageInfo() MessageInfo
func (*FusionZoneName) PGNNumber ¶
func (m *FusionZoneName) PGNNumber() uint32
func (*FusionZoneName) SetMessageInfo ¶
func (m *FusionZoneName) SetMessageInfo(info MessageInfo)
type GarminAhrsAttCogSourceValidFlag ¶
type GarminAhrsAttCogSourceValidFlag struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
AttMessageId *uint64 `json:"attMessageId,omitempty" n2k:"7"`
CogSourceFlags *uint64 `json:"cogSourceFlags,omitempty" n2k:"8"`
}
func (*GarminAhrsAttCogSourceValidFlag) DecodePayload ¶
func (m *GarminAhrsAttCogSourceValidFlag) DecodePayload(payload []uint8) error
func (*GarminAhrsAttCogSourceValidFlag) EncodePayload ¶
func (m *GarminAhrsAttCogSourceValidFlag) EncodePayload() ([]uint8, error)
func (*GarminAhrsAttCogSourceValidFlag) MessageInfo ¶
func (m *GarminAhrsAttCogSourceValidFlag) MessageInfo() MessageInfo
func (*GarminAhrsAttCogSourceValidFlag) PGNNumber ¶
func (m *GarminAhrsAttCogSourceValidFlag) PGNNumber() uint32
func (*GarminAhrsAttCogSourceValidFlag) SetMessageInfo ¶
func (m *GarminAhrsAttCogSourceValidFlag) SetMessageInfo(info MessageInfo)
type GarminAhrsAttDeviceFlags ¶
type GarminAhrsAttDeviceFlags struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
AttMessageId *uint64 `json:"attMessageId,omitempty" n2k:"7"`
DeviceFlags *uint64 `json:"deviceFlags,omitempty" n2k:"8"`
}
func (*GarminAhrsAttDeviceFlags) DecodePayload ¶
func (m *GarminAhrsAttDeviceFlags) DecodePayload(payload []uint8) error
func (*GarminAhrsAttDeviceFlags) EncodePayload ¶
func (m *GarminAhrsAttDeviceFlags) EncodePayload() ([]uint8, error)
func (*GarminAhrsAttDeviceFlags) MessageInfo ¶
func (m *GarminAhrsAttDeviceFlags) MessageInfo() MessageInfo
func (*GarminAhrsAttDeviceFlags) PGNNumber ¶
func (m *GarminAhrsAttDeviceFlags) PGNNumber() uint32
func (*GarminAhrsAttDeviceFlags) SetMessageInfo ¶
func (m *GarminAhrsAttDeviceFlags) SetMessageInfo(info MessageInfo)
type GarminAhrsAttNonDefaultCalibrationMatrixPresent ¶
type GarminAhrsAttNonDefaultCalibrationMatrixPresent struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
AttMessageId *uint64 `json:"attMessageId,omitempty" n2k:"7"`
CalibrationMatrixPresent *uint64 `json:"calibrationMatrixPresent,omitempty" n2k:"8"`
}
func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) DecodePayload ¶
func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) DecodePayload(payload []uint8) error
func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) EncodePayload ¶
func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) EncodePayload() ([]uint8, error)
func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) MessageInfo ¶
func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) MessageInfo() MessageInfo
func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) PGNNumber ¶
func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) PGNNumber() uint32
func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) SetMessageInfo ¶
func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) SetMessageInfo(info MessageInfo)
type GarminAhrsAttSetNorthState ¶
type GarminAhrsAttSetNorthState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
AttMessageId *uint64 `json:"attMessageId,omitempty" n2k:"7"`
SetNorthState *uint64 `json:"setNorthState,omitempty" n2k:"8"`
}
func (*GarminAhrsAttSetNorthState) DecodePayload ¶
func (m *GarminAhrsAttSetNorthState) DecodePayload(payload []uint8) error
func (*GarminAhrsAttSetNorthState) EncodePayload ¶
func (m *GarminAhrsAttSetNorthState) EncodePayload() ([]uint8, error)
func (*GarminAhrsAttSetNorthState) MessageInfo ¶
func (m *GarminAhrsAttSetNorthState) MessageInfo() MessageInfo
func (*GarminAhrsAttSetNorthState) PGNNumber ¶
func (m *GarminAhrsAttSetNorthState) PGNNumber() uint32
func (*GarminAhrsAttSetNorthState) SetMessageInfo ¶
func (m *GarminAhrsAttSetNorthState) SetMessageInfo(info MessageInfo)
type GarminAutopilotEngineRpmA ¶
type GarminAutopilotEngineRpmA struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
EngineSpeed *uint64 `json:"engineSpeed,omitempty" n2k:"10"`
}
func (*GarminAutopilotEngineRpmA) DecodePayload ¶
func (m *GarminAutopilotEngineRpmA) DecodePayload(payload []uint8) error
func (*GarminAutopilotEngineRpmA) EncodePayload ¶
func (m *GarminAutopilotEngineRpmA) EncodePayload() ([]uint8, error)
func (*GarminAutopilotEngineRpmA) EngineSpeedValue ¶
func (m *GarminAutopilotEngineRpmA) EngineSpeedValue() (float64, bool)
EngineSpeedValue returns EngineSpeed as a physical value in rpm (value = raw). The bool is false when EngineSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GarminAutopilotEngineRpmA) MessageInfo ¶
func (m *GarminAutopilotEngineRpmA) MessageInfo() MessageInfo
func (*GarminAutopilotEngineRpmA) PGNNumber ¶
func (m *GarminAutopilotEngineRpmA) PGNNumber() uint32
func (*GarminAutopilotEngineRpmA) SetEngineSpeedValue ¶
func (m *GarminAutopilotEngineRpmA) SetEngineSpeedValue(v float64)
SetEngineSpeedValue sets EngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 1.
func (*GarminAutopilotEngineRpmA) SetMessageInfo ¶
func (m *GarminAutopilotEngineRpmA) SetMessageInfo(info MessageInfo)
type GarminAutopilotEngineRpmB ¶
type GarminAutopilotEngineRpmB struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
EngineSpeed *uint64 `json:"engineSpeed,omitempty" n2k:"10"`
}
func (*GarminAutopilotEngineRpmB) DecodePayload ¶
func (m *GarminAutopilotEngineRpmB) DecodePayload(payload []uint8) error
func (*GarminAutopilotEngineRpmB) EncodePayload ¶
func (m *GarminAutopilotEngineRpmB) EncodePayload() ([]uint8, error)
func (*GarminAutopilotEngineRpmB) EngineSpeedValue ¶
func (m *GarminAutopilotEngineRpmB) EngineSpeedValue() (float64, bool)
EngineSpeedValue returns EngineSpeed as a physical value in rpm (value = raw). The bool is false when EngineSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GarminAutopilotEngineRpmB) MessageInfo ¶
func (m *GarminAutopilotEngineRpmB) MessageInfo() MessageInfo
func (*GarminAutopilotEngineRpmB) PGNNumber ¶
func (m *GarminAutopilotEngineRpmB) PGNNumber() uint32
func (*GarminAutopilotEngineRpmB) SetEngineSpeedValue ¶
func (m *GarminAutopilotEngineRpmB) SetEngineSpeedValue(v float64)
SetEngineSpeedValue sets EngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 1.
func (*GarminAutopilotEngineRpmB) SetMessageInfo ¶
func (m *GarminAutopilotEngineRpmB) SetMessageInfo(info MessageInfo)
type GarminAutopilotHeadingToSteer ¶
type GarminAutopilotHeadingToSteer struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
HeadingToSteer *float32 `json:"headingToSteer,omitempty" n2k:"10"`
}
func (*GarminAutopilotHeadingToSteer) DecodePayload ¶
func (m *GarminAutopilotHeadingToSteer) DecodePayload(payload []uint8) error
func (*GarminAutopilotHeadingToSteer) EncodePayload ¶
func (m *GarminAutopilotHeadingToSteer) EncodePayload() ([]uint8, error)
func (*GarminAutopilotHeadingToSteer) MessageInfo ¶
func (m *GarminAutopilotHeadingToSteer) MessageInfo() MessageInfo
func (*GarminAutopilotHeadingToSteer) PGNNumber ¶
func (m *GarminAutopilotHeadingToSteer) PGNNumber() uint32
func (*GarminAutopilotHeadingToSteer) SetMessageInfo ¶
func (m *GarminAutopilotHeadingToSteer) SetMessageInfo(info MessageInfo)
type GarminAutopilotHeartbeat ¶
type GarminAutopilotHeartbeat struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
HeartbeatData []uint8 `json:"heartbeatData,omitempty" n2k:"9"`
}
func (*GarminAutopilotHeartbeat) DecodePayload ¶
func (m *GarminAutopilotHeartbeat) DecodePayload(payload []uint8) error
func (*GarminAutopilotHeartbeat) EncodePayload ¶
func (m *GarminAutopilotHeartbeat) EncodePayload() ([]uint8, error)
func (*GarminAutopilotHeartbeat) MessageInfo ¶
func (m *GarminAutopilotHeartbeat) MessageInfo() MessageInfo
func (*GarminAutopilotHeartbeat) PGNNumber ¶
func (m *GarminAutopilotHeartbeat) PGNNumber() uint32
func (*GarminAutopilotHeartbeat) SetMessageInfo ¶
func (m *GarminAutopilotHeartbeat) SetMessageInfo(info MessageInfo)
type GarminAutopilotManeuver ¶
type GarminAutopilotManeuver struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
ManeuverCode *uint64 `json:"maneuverCode,omitempty" n2k:"8"`
Value *uint64 `json:"value,omitempty" n2k:"10"`
}
func (*GarminAutopilotManeuver) DecodePayload ¶
func (m *GarminAutopilotManeuver) DecodePayload(payload []uint8) error
func (*GarminAutopilotManeuver) EncodePayload ¶
func (m *GarminAutopilotManeuver) EncodePayload() ([]uint8, error)
func (*GarminAutopilotManeuver) MessageInfo ¶
func (m *GarminAutopilotManeuver) MessageInfo() MessageInfo
func (*GarminAutopilotManeuver) PGNNumber ¶
func (m *GarminAutopilotManeuver) PGNNumber() uint32
func (*GarminAutopilotManeuver) SetMessageInfo ¶
func (m *GarminAutopilotManeuver) SetMessageInfo(info MessageInfo)
type GarminAutopilotModeState ¶
type GarminAutopilotModeState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
ModeState *uint64 `json:"modeState,omitempty" n2k:"10"`
}
func (*GarminAutopilotModeState) DecodePayload ¶
func (m *GarminAutopilotModeState) DecodePayload(payload []uint8) error
func (*GarminAutopilotModeState) EncodePayload ¶
func (m *GarminAutopilotModeState) EncodePayload() ([]uint8, error)
func (*GarminAutopilotModeState) MessageInfo ¶
func (m *GarminAutopilotModeState) MessageInfo() MessageInfo
func (*GarminAutopilotModeState) PGNNumber ¶
func (m *GarminAutopilotModeState) PGNNumber() uint32
func (*GarminAutopilotModeState) SetMessageInfo ¶
func (m *GarminAutopilotModeState) SetMessageInfo(info MessageInfo)
type GarminAutopilotRateOfTurn ¶
type GarminAutopilotRateOfTurn struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
RateOfTurn *float32 `json:"rateOfTurn,omitempty" n2k:"10"`
}
func (*GarminAutopilotRateOfTurn) DecodePayload ¶
func (m *GarminAutopilotRateOfTurn) DecodePayload(payload []uint8) error
func (*GarminAutopilotRateOfTurn) EncodePayload ¶
func (m *GarminAutopilotRateOfTurn) EncodePayload() ([]uint8, error)
func (*GarminAutopilotRateOfTurn) MessageInfo ¶
func (m *GarminAutopilotRateOfTurn) MessageInfo() MessageInfo
func (*GarminAutopilotRateOfTurn) PGNNumber ¶
func (m *GarminAutopilotRateOfTurn) PGNNumber() uint32
func (*GarminAutopilotRateOfTurn) SetMessageInfo ¶
func (m *GarminAutopilotRateOfTurn) SetMessageInfo(info MessageInfo)
type GarminAutopilotRateOfTurnOrder ¶
type GarminAutopilotRateOfTurnOrder struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
RateOfTurnOrder *float32 `json:"rateOfTurnOrder,omitempty" n2k:"10"`
}
func (*GarminAutopilotRateOfTurnOrder) DecodePayload ¶
func (m *GarminAutopilotRateOfTurnOrder) DecodePayload(payload []uint8) error
func (*GarminAutopilotRateOfTurnOrder) EncodePayload ¶
func (m *GarminAutopilotRateOfTurnOrder) EncodePayload() ([]uint8, error)
func (*GarminAutopilotRateOfTurnOrder) MessageInfo ¶
func (m *GarminAutopilotRateOfTurnOrder) MessageInfo() MessageInfo
func (*GarminAutopilotRateOfTurnOrder) PGNNumber ¶
func (m *GarminAutopilotRateOfTurnOrder) PGNNumber() uint32
func (*GarminAutopilotRateOfTurnOrder) SetMessageInfo ¶
func (m *GarminAutopilotRateOfTurnOrder) SetMessageInfo(info MessageInfo)
type GarminAutopilotResponseSetting ¶
type GarminAutopilotResponseSetting struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
ResponseSetting *int64 `json:"responseSetting,omitempty" n2k:"10"`
}
func (*GarminAutopilotResponseSetting) DecodePayload ¶
func (m *GarminAutopilotResponseSetting) DecodePayload(payload []uint8) error
func (*GarminAutopilotResponseSetting) EncodePayload ¶
func (m *GarminAutopilotResponseSetting) EncodePayload() ([]uint8, error)
func (*GarminAutopilotResponseSetting) MessageInfo ¶
func (m *GarminAutopilotResponseSetting) MessageInfo() MessageInfo
func (*GarminAutopilotResponseSetting) PGNNumber ¶
func (m *GarminAutopilotResponseSetting) PGNNumber() uint32
func (*GarminAutopilotResponseSetting) SetMessageInfo ¶
func (m *GarminAutopilotResponseSetting) SetMessageInfo(info MessageInfo)
type GarminAutopilotSpeed ¶
type GarminAutopilotSpeed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
Speed *float32 `json:"speed,omitempty" n2k:"10"`
}
func (*GarminAutopilotSpeed) DecodePayload ¶
func (m *GarminAutopilotSpeed) DecodePayload(payload []uint8) error
func (*GarminAutopilotSpeed) EncodePayload ¶
func (m *GarminAutopilotSpeed) EncodePayload() ([]uint8, error)
func (*GarminAutopilotSpeed) MessageInfo ¶
func (m *GarminAutopilotSpeed) MessageInfo() MessageInfo
func (*GarminAutopilotSpeed) PGNNumber ¶
func (m *GarminAutopilotSpeed) PGNNumber() uint32
func (*GarminAutopilotSpeed) SetMessageInfo ¶
func (m *GarminAutopilotSpeed) SetMessageInfo(info MessageInfo)
type GarminAutopilotSystemVoltage ¶
type GarminAutopilotSystemVoltage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
SystemVoltage *uint64 `json:"systemVoltage,omitempty" n2k:"10"`
}
func (*GarminAutopilotSystemVoltage) DecodePayload ¶
func (m *GarminAutopilotSystemVoltage) DecodePayload(payload []uint8) error
func (*GarminAutopilotSystemVoltage) EncodePayload ¶
func (m *GarminAutopilotSystemVoltage) EncodePayload() ([]uint8, error)
func (*GarminAutopilotSystemVoltage) MessageInfo ¶
func (m *GarminAutopilotSystemVoltage) MessageInfo() MessageInfo
func (*GarminAutopilotSystemVoltage) PGNNumber ¶
func (m *GarminAutopilotSystemVoltage) PGNNumber() uint32
func (*GarminAutopilotSystemVoltage) SetMessageInfo ¶
func (m *GarminAutopilotSystemVoltage) SetMessageInfo(info MessageInfo)
func (*GarminAutopilotSystemVoltage) SetSystemVoltageValue ¶
func (m *GarminAutopilotSystemVoltage) SetSystemVoltageValue(v float64)
SetSystemVoltageValue sets SystemVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*GarminAutopilotSystemVoltage) SystemVoltageValue ¶
func (m *GarminAutopilotSystemVoltage) SystemVoltageValue() (float64, bool)
SystemVoltageValue returns SystemVoltage as a physical value in V (value = raw * 0.01). The bool is false when SystemVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GarminAutopilotTurnAngleMeasured ¶
type GarminAutopilotTurnAngleMeasured struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
TurnAngleMeasured *uint64 `json:"turnAngleMeasured,omitempty" n2k:"10"`
}
func (*GarminAutopilotTurnAngleMeasured) DecodePayload ¶
func (m *GarminAutopilotTurnAngleMeasured) DecodePayload(payload []uint8) error
func (*GarminAutopilotTurnAngleMeasured) EncodePayload ¶
func (m *GarminAutopilotTurnAngleMeasured) EncodePayload() ([]uint8, error)
func (*GarminAutopilotTurnAngleMeasured) MessageInfo ¶
func (m *GarminAutopilotTurnAngleMeasured) MessageInfo() MessageInfo
func (*GarminAutopilotTurnAngleMeasured) PGNNumber ¶
func (m *GarminAutopilotTurnAngleMeasured) PGNNumber() uint32
func (*GarminAutopilotTurnAngleMeasured) SetMessageInfo ¶
func (m *GarminAutopilotTurnAngleMeasured) SetMessageInfo(info MessageInfo)
func (*GarminAutopilotTurnAngleMeasured) SetTurnAngleMeasuredValue ¶
func (m *GarminAutopilotTurnAngleMeasured) SetTurnAngleMeasuredValue(v float64)
SetTurnAngleMeasuredValue sets TurnAngleMeasured from a physical value in rad, rounded to the nearest wire tick of 9.58738e-05.
func (*GarminAutopilotTurnAngleMeasured) TurnAngleMeasuredValue ¶
func (m *GarminAutopilotTurnAngleMeasured) TurnAngleMeasuredValue() (float64, bool)
TurnAngleMeasuredValue returns TurnAngleMeasured as a physical value in rad (value = raw * 9.58738e-05). The bool is false when TurnAngleMeasured is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GarminAutopilotTurnAngleOrder ¶
type GarminAutopilotTurnAngleOrder struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubProtocolId *uint64 `json:"subProtocolId,omitempty" n2k:"4"`
WrapperByte1 *uint64 `json:"wrapperByte1,omitempty" n2k:"5"`
WrapperByte2 *uint64 `json:"wrapperByte2,omitempty" n2k:"6"`
FieldGroup *uint64 `json:"fieldGroup,omitempty" n2k:"7"`
Field *uint64 `json:"field,omitempty" n2k:"8"`
TurnAngleOrder *uint64 `json:"turnAngleOrder,omitempty" n2k:"10"`
}
func (*GarminAutopilotTurnAngleOrder) DecodePayload ¶
func (m *GarminAutopilotTurnAngleOrder) DecodePayload(payload []uint8) error
func (*GarminAutopilotTurnAngleOrder) EncodePayload ¶
func (m *GarminAutopilotTurnAngleOrder) EncodePayload() ([]uint8, error)
func (*GarminAutopilotTurnAngleOrder) MessageInfo ¶
func (m *GarminAutopilotTurnAngleOrder) MessageInfo() MessageInfo
func (*GarminAutopilotTurnAngleOrder) PGNNumber ¶
func (m *GarminAutopilotTurnAngleOrder) PGNNumber() uint32
func (*GarminAutopilotTurnAngleOrder) SetMessageInfo ¶
func (m *GarminAutopilotTurnAngleOrder) SetMessageInfo(info MessageInfo)
func (*GarminAutopilotTurnAngleOrder) SetTurnAngleOrderValue ¶
func (m *GarminAutopilotTurnAngleOrder) SetTurnAngleOrderValue(v float64)
SetTurnAngleOrderValue sets TurnAngleOrder from a physical value in rad, rounded to the nearest wire tick of 9.58738e-05.
func (*GarminAutopilotTurnAngleOrder) TurnAngleOrderValue ¶
func (m *GarminAutopilotTurnAngleOrder) TurnAngleOrderValue() (float64, bool)
TurnAngleOrderValue returns TurnAngleOrder as a physical value in rad (value = raw * 9.58738e-05). The bool is false when TurnAngleOrder is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GarminBacklightLevelConst ¶
type GarminBacklightLevelConst uint8
const ( A0Percent GarminBacklightLevelConst = 0 A5Percent GarminBacklightLevelConst = 1 A10Percent GarminBacklightLevelConst = 2 A15Percent GarminBacklightLevelConst = 3 A20Percent_2 GarminBacklightLevelConst = 4 A25Percent GarminBacklightLevelConst = 5 A30Percent_2 GarminBacklightLevelConst = 6 A35Percent GarminBacklightLevelConst = 7 A40Percent_2 GarminBacklightLevelConst = 8 A45Percent GarminBacklightLevelConst = 9 A50Percent_2 GarminBacklightLevelConst = 10 A55Percent GarminBacklightLevelConst = 11 A60Percent_2 GarminBacklightLevelConst = 12 A65Percent GarminBacklightLevelConst = 13 A70Percent_2 GarminBacklightLevelConst = 14 A75Percent GarminBacklightLevelConst = 15 A80Percent_2 GarminBacklightLevelConst = 16 A85Percent GarminBacklightLevelConst = 17 A90Percent_2 GarminBacklightLevelConst = 18 A95Percent GarminBacklightLevelConst = 19 A100Percent GarminBacklightLevelConst = 20 )
func (GarminBacklightLevelConst) GoString ¶
func (e GarminBacklightLevelConst) GoString() string
func (GarminBacklightLevelConst) String ¶
func (e GarminBacklightLevelConst) String() string
type GarminColorConst ¶
type GarminColorConst uint8
const ( DayFullColor GarminColorConst = 0 DayHighContrast GarminColorConst = 1 NightFullColor GarminColorConst = 2 NightRedBlack GarminColorConst = 3 NightGreenBlack GarminColorConst = 4 )
func (GarminColorConst) GoString ¶
func (e GarminColorConst) GoString() string
func (GarminColorConst) String ¶
func (e GarminColorConst) String() string
type GarminColorMode ¶
type GarminColorMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
UnknownId1 *uint64 `json:"unknownId1,omitempty" n2k:"4"`
UnknownId2 *uint64 `json:"unknownId2,omitempty" n2k:"5"`
UnknownId3 *uint64 `json:"unknownId3,omitempty" n2k:"6"`
UnknownId4 *uint64 `json:"unknownId4,omitempty" n2k:"7"`
Mode *uint64 `json:"mode,omitempty" n2k:"9"`
Color *uint64 `json:"color,omitempty" n2k:"11"`
}
func (*GarminColorMode) DecodePayload ¶
func (m *GarminColorMode) DecodePayload(payload []uint8) error
func (*GarminColorMode) EncodePayload ¶
func (m *GarminColorMode) EncodePayload() ([]uint8, error)
func (*GarminColorMode) MessageInfo ¶
func (m *GarminColorMode) MessageInfo() MessageInfo
func (*GarminColorMode) PGNNumber ¶
func (m *GarminColorMode) PGNNumber() uint32
func (*GarminColorMode) SetMessageInfo ¶
func (m *GarminColorMode) SetMessageInfo(info MessageInfo)
type GarminColorModeConst ¶
type GarminColorModeConst uint8
const ( Day_2 GarminColorModeConst = 0 Night_2 GarminColorModeConst = 1 Color GarminColorModeConst = 13 )
func (GarminColorModeConst) GoString ¶
func (e GarminColorModeConst) GoString() string
func (GarminColorModeConst) String ¶
func (e GarminColorModeConst) String() string
type GarminDayMode ¶
type GarminDayMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
UnknownId1 *uint64 `json:"unknownId1,omitempty" n2k:"4"`
UnknownId2 *uint64 `json:"unknownId2,omitempty" n2k:"5"`
UnknownId3 *uint64 `json:"unknownId3,omitempty" n2k:"6"`
UnknownId4 *uint64 `json:"unknownId4,omitempty" n2k:"7"`
Mode *uint64 `json:"mode,omitempty" n2k:"9"`
Backlight *uint64 `json:"backlight,omitempty" n2k:"11"`
}
func (*GarminDayMode) DecodePayload ¶
func (m *GarminDayMode) DecodePayload(payload []uint8) error
func (*GarminDayMode) EncodePayload ¶
func (m *GarminDayMode) EncodePayload() ([]uint8, error)
func (*GarminDayMode) MessageInfo ¶
func (m *GarminDayMode) MessageInfo() MessageInfo
func (*GarminDayMode) PGNNumber ¶
func (m *GarminDayMode) PGNNumber() uint32
func (*GarminDayMode) SetMessageInfo ¶
func (m *GarminDayMode) SetMessageInfo(info MessageInfo)
type GarminNightMode ¶
type GarminNightMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
UnknownId1 *uint64 `json:"unknownId1,omitempty" n2k:"4"`
UnknownId2 *uint64 `json:"unknownId2,omitempty" n2k:"5"`
UnknownId3 *uint64 `json:"unknownId3,omitempty" n2k:"6"`
UnknownId4 *uint64 `json:"unknownId4,omitempty" n2k:"7"`
Mode *uint64 `json:"mode,omitempty" n2k:"9"`
Backlight *uint64 `json:"backlight,omitempty" n2k:"11"`
}
func (*GarminNightMode) DecodePayload ¶
func (m *GarminNightMode) DecodePayload(payload []uint8) error
func (*GarminNightMode) EncodePayload ¶
func (m *GarminNightMode) EncodePayload() ([]uint8, error)
func (*GarminNightMode) MessageInfo ¶
func (m *GarminNightMode) MessageInfo() MessageInfo
func (*GarminNightMode) PGNNumber ¶
func (m *GarminNightMode) PGNNumber() uint32
func (*GarminNightMode) SetMessageInfo ¶
func (m *GarminNightMode) SetMessageInfo(info MessageInfo)
type GearStatusConst ¶
type GearStatusConst uint8
const ( Forward GearStatusConst = 0 Neutral GearStatusConst = 1 Reverse GearStatusConst = 2 )
func (GearStatusConst) GoString ¶
func (e GearStatusConst) GoString() string
func (GearStatusConst) String ¶
func (e GearStatusConst) String() string
type GeneratorAverageBasicAcQuantities ¶
type GeneratorAverageBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*GeneratorAverageBasicAcQuantities) AcFrequencyValue ¶
func (m *GeneratorAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorAverageBasicAcQuantities) AcRmsCurrentValue ¶
func (m *GeneratorAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorAverageBasicAcQuantities) DecodePayload ¶
func (m *GeneratorAverageBasicAcQuantities) DecodePayload(payload []uint8) error
func (*GeneratorAverageBasicAcQuantities) EncodePayload ¶
func (m *GeneratorAverageBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*GeneratorAverageBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *GeneratorAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *GeneratorAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorAverageBasicAcQuantities) MessageInfo ¶
func (m *GeneratorAverageBasicAcQuantities) MessageInfo() MessageInfo
func (*GeneratorAverageBasicAcQuantities) PGNNumber ¶
func (m *GeneratorAverageBasicAcQuantities) PGNNumber() uint32
func (*GeneratorAverageBasicAcQuantities) SetAcFrequencyValue ¶
func (m *GeneratorAverageBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*GeneratorAverageBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *GeneratorAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*GeneratorAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *GeneratorAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *GeneratorAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorAverageBasicAcQuantities) SetMessageInfo ¶
func (m *GeneratorAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
type GeneratorPhaseAAcPower ¶
type GeneratorPhaseAAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*GeneratorPhaseAAcPower) ApparentPowerValue ¶
func (m *GeneratorPhaseAAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseAAcPower) DecodePayload ¶
func (m *GeneratorPhaseAAcPower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseAAcPower) EncodePayload ¶
func (m *GeneratorPhaseAAcPower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseAAcPower) MessageInfo ¶
func (m *GeneratorPhaseAAcPower) MessageInfo() MessageInfo
func (*GeneratorPhaseAAcPower) PGNNumber ¶
func (m *GeneratorPhaseAAcPower) PGNNumber() uint32
func (*GeneratorPhaseAAcPower) RealPowerValue ¶
func (m *GeneratorPhaseAAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseAAcPower) SetApparentPowerValue ¶
func (m *GeneratorPhaseAAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseAAcPower) SetMessageInfo ¶
func (m *GeneratorPhaseAAcPower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseAAcPower) SetRealPowerValue ¶
func (m *GeneratorPhaseAAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type GeneratorPhaseAAcReactivePower ¶
type GeneratorPhaseAAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*GeneratorPhaseAAcReactivePower) DecodePayload ¶
func (m *GeneratorPhaseAAcReactivePower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseAAcReactivePower) EncodePayload ¶
func (m *GeneratorPhaseAAcReactivePower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseAAcReactivePower) MessageInfo ¶
func (m *GeneratorPhaseAAcReactivePower) MessageInfo() MessageInfo
func (*GeneratorPhaseAAcReactivePower) PGNNumber ¶
func (m *GeneratorPhaseAAcReactivePower) PGNNumber() uint32
func (*GeneratorPhaseAAcReactivePower) PowerFactorValue ¶
func (m *GeneratorPhaseAAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseAAcReactivePower) ReactivePowerValue ¶
func (m *GeneratorPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseAAcReactivePower) SetMessageInfo ¶
func (m *GeneratorPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseAAcReactivePower) SetPowerFactorValue ¶
func (m *GeneratorPhaseAAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*GeneratorPhaseAAcReactivePower) SetReactivePowerValue ¶
func (m *GeneratorPhaseAAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type GeneratorPhaseABasicAcQuantities ¶
type GeneratorPhaseABasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*GeneratorPhaseABasicAcQuantities) AcFrequencyValue ¶
func (m *GeneratorPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseABasicAcQuantities) AcRmsCurrentValue ¶
func (m *GeneratorPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseABasicAcQuantities) DecodePayload ¶
func (m *GeneratorPhaseABasicAcQuantities) DecodePayload(payload []uint8) error
func (*GeneratorPhaseABasicAcQuantities) EncodePayload ¶
func (m *GeneratorPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseABasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseABasicAcQuantities) MessageInfo ¶
func (m *GeneratorPhaseABasicAcQuantities) MessageInfo() MessageInfo
func (*GeneratorPhaseABasicAcQuantities) PGNNumber ¶
func (m *GeneratorPhaseABasicAcQuantities) PGNNumber() uint32
func (*GeneratorPhaseABasicAcQuantities) SetAcFrequencyValue ¶
func (m *GeneratorPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*GeneratorPhaseABasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *GeneratorPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseABasicAcQuantities) SetMessageInfo ¶
func (m *GeneratorPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
type GeneratorPhaseBAcPower ¶
type GeneratorPhaseBAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*GeneratorPhaseBAcPower) ApparentPowerValue ¶
func (m *GeneratorPhaseBAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBAcPower) DecodePayload ¶
func (m *GeneratorPhaseBAcPower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseBAcPower) EncodePayload ¶
func (m *GeneratorPhaseBAcPower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseBAcPower) MessageInfo ¶
func (m *GeneratorPhaseBAcPower) MessageInfo() MessageInfo
func (*GeneratorPhaseBAcPower) PGNNumber ¶
func (m *GeneratorPhaseBAcPower) PGNNumber() uint32
func (*GeneratorPhaseBAcPower) RealPowerValue ¶
func (m *GeneratorPhaseBAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBAcPower) SetApparentPowerValue ¶
func (m *GeneratorPhaseBAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseBAcPower) SetMessageInfo ¶
func (m *GeneratorPhaseBAcPower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseBAcPower) SetRealPowerValue ¶
func (m *GeneratorPhaseBAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type GeneratorPhaseBAcReactivePower ¶
type GeneratorPhaseBAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*GeneratorPhaseBAcReactivePower) DecodePayload ¶
func (m *GeneratorPhaseBAcReactivePower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseBAcReactivePower) EncodePayload ¶
func (m *GeneratorPhaseBAcReactivePower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseBAcReactivePower) MessageInfo ¶
func (m *GeneratorPhaseBAcReactivePower) MessageInfo() MessageInfo
func (*GeneratorPhaseBAcReactivePower) PGNNumber ¶
func (m *GeneratorPhaseBAcReactivePower) PGNNumber() uint32
func (*GeneratorPhaseBAcReactivePower) PowerFactorValue ¶
func (m *GeneratorPhaseBAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBAcReactivePower) ReactivePowerValue ¶
func (m *GeneratorPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBAcReactivePower) SetMessageInfo ¶
func (m *GeneratorPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseBAcReactivePower) SetPowerFactorValue ¶
func (m *GeneratorPhaseBAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*GeneratorPhaseBAcReactivePower) SetReactivePowerValue ¶
func (m *GeneratorPhaseBAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type GeneratorPhaseBBasicAcQuantities ¶
type GeneratorPhaseBBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*GeneratorPhaseBBasicAcQuantities) AcFrequencyValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBBasicAcQuantities) AcRmsCurrentValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBBasicAcQuantities) DecodePayload ¶
func (m *GeneratorPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
func (*GeneratorPhaseBBasicAcQuantities) EncodePayload ¶
func (m *GeneratorPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseBBasicAcQuantities) MessageInfo ¶
func (m *GeneratorPhaseBBasicAcQuantities) MessageInfo() MessageInfo
func (*GeneratorPhaseBBasicAcQuantities) PGNNumber ¶
func (m *GeneratorPhaseBBasicAcQuantities) PGNNumber() uint32
func (*GeneratorPhaseBBasicAcQuantities) SetAcFrequencyValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*GeneratorPhaseBBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseBBasicAcQuantities) SetMessageInfo ¶
func (m *GeneratorPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
type GeneratorPhaseCAcPower ¶
type GeneratorPhaseCAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*GeneratorPhaseCAcPower) ApparentPowerValue ¶
func (m *GeneratorPhaseCAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VAR (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCAcPower) DecodePayload ¶
func (m *GeneratorPhaseCAcPower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseCAcPower) EncodePayload ¶
func (m *GeneratorPhaseCAcPower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseCAcPower) MessageInfo ¶
func (m *GeneratorPhaseCAcPower) MessageInfo() MessageInfo
func (*GeneratorPhaseCAcPower) PGNNumber ¶
func (m *GeneratorPhaseCAcPower) PGNNumber() uint32
func (*GeneratorPhaseCAcPower) RealPowerValue ¶
func (m *GeneratorPhaseCAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCAcPower) SetApparentPowerValue ¶
func (m *GeneratorPhaseCAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VAR, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseCAcPower) SetMessageInfo ¶
func (m *GeneratorPhaseCAcPower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseCAcPower) SetRealPowerValue ¶
func (m *GeneratorPhaseCAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type GeneratorPhaseCAcReactivePower ¶
type GeneratorPhaseCAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*GeneratorPhaseCAcReactivePower) DecodePayload ¶
func (m *GeneratorPhaseCAcReactivePower) DecodePayload(payload []uint8) error
func (*GeneratorPhaseCAcReactivePower) EncodePayload ¶
func (m *GeneratorPhaseCAcReactivePower) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseCAcReactivePower) MessageInfo ¶
func (m *GeneratorPhaseCAcReactivePower) MessageInfo() MessageInfo
func (*GeneratorPhaseCAcReactivePower) PGNNumber ¶
func (m *GeneratorPhaseCAcReactivePower) PGNNumber() uint32
func (*GeneratorPhaseCAcReactivePower) PowerFactorValue ¶
func (m *GeneratorPhaseCAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCAcReactivePower) ReactivePowerValue ¶
func (m *GeneratorPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCAcReactivePower) SetMessageInfo ¶
func (m *GeneratorPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)
func (*GeneratorPhaseCAcReactivePower) SetPowerFactorValue ¶
func (m *GeneratorPhaseCAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*GeneratorPhaseCAcReactivePower) SetReactivePowerValue ¶
func (m *GeneratorPhaseCAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type GeneratorPhaseCBasicAcQuantities ¶
type GeneratorPhaseCBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*GeneratorPhaseCBasicAcQuantities) AcFrequencyValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCBasicAcQuantities) AcRmsCurrentValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCBasicAcQuantities) DecodePayload ¶
func (m *GeneratorPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
func (*GeneratorPhaseCBasicAcQuantities) EncodePayload ¶
func (m *GeneratorPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*GeneratorPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorPhaseCBasicAcQuantities) MessageInfo ¶
func (m *GeneratorPhaseCBasicAcQuantities) MessageInfo() MessageInfo
func (*GeneratorPhaseCBasicAcQuantities) PGNNumber ¶
func (m *GeneratorPhaseCBasicAcQuantities) PGNNumber() uint32
func (*GeneratorPhaseCBasicAcQuantities) SetAcFrequencyValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*GeneratorPhaseCBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *GeneratorPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*GeneratorPhaseCBasicAcQuantities) SetMessageInfo ¶
func (m *GeneratorPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
type GeneratorTotalAcEnergy ¶
type GeneratorTotalAcEnergy struct {
Info MessageInfo `json:"info"`
TotalEnergyExport *uint64 `json:"totalEnergyExport,omitempty" n2k:"1"`
TotalEnergyImport *uint64 `json:"totalEnergyImport,omitempty" n2k:"2"`
}
func (*GeneratorTotalAcEnergy) DecodePayload ¶
func (m *GeneratorTotalAcEnergy) DecodePayload(payload []uint8) error
func (*GeneratorTotalAcEnergy) EncodePayload ¶
func (m *GeneratorTotalAcEnergy) EncodePayload() ([]uint8, error)
func (*GeneratorTotalAcEnergy) MessageInfo ¶
func (m *GeneratorTotalAcEnergy) MessageInfo() MessageInfo
func (*GeneratorTotalAcEnergy) PGNNumber ¶
func (m *GeneratorTotalAcEnergy) PGNNumber() uint32
func (*GeneratorTotalAcEnergy) SetMessageInfo ¶
func (m *GeneratorTotalAcEnergy) SetMessageInfo(info MessageInfo)
func (*GeneratorTotalAcEnergy) SetTotalEnergyExportValue ¶
func (m *GeneratorTotalAcEnergy) SetTotalEnergyExportValue(v float64)
SetTotalEnergyExportValue sets TotalEnergyExport from a physical value in kWh, rounded to the nearest wire tick of 1.
func (*GeneratorTotalAcEnergy) SetTotalEnergyImportValue ¶
func (m *GeneratorTotalAcEnergy) SetTotalEnergyImportValue(v float64)
SetTotalEnergyImportValue sets TotalEnergyImport from a physical value in kWh, rounded to the nearest wire tick of 1.
func (*GeneratorTotalAcEnergy) TotalEnergyExportValue ¶
func (m *GeneratorTotalAcEnergy) TotalEnergyExportValue() (float64, bool)
TotalEnergyExportValue returns TotalEnergyExport as a physical value in kWh (value = raw). The bool is false when TotalEnergyExport is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorTotalAcEnergy) TotalEnergyImportValue ¶
func (m *GeneratorTotalAcEnergy) TotalEnergyImportValue() (float64, bool)
TotalEnergyImportValue returns TotalEnergyImport as a physical value in kWh (value = raw). The bool is false when TotalEnergyImport is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GeneratorTotalAcPower ¶
type GeneratorTotalAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*GeneratorTotalAcPower) ApparentPowerValue ¶
func (m *GeneratorTotalAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorTotalAcPower) DecodePayload ¶
func (m *GeneratorTotalAcPower) DecodePayload(payload []uint8) error
func (*GeneratorTotalAcPower) EncodePayload ¶
func (m *GeneratorTotalAcPower) EncodePayload() ([]uint8, error)
func (*GeneratorTotalAcPower) MessageInfo ¶
func (m *GeneratorTotalAcPower) MessageInfo() MessageInfo
func (*GeneratorTotalAcPower) PGNNumber ¶
func (m *GeneratorTotalAcPower) PGNNumber() uint32
func (*GeneratorTotalAcPower) RealPowerValue ¶
func (m *GeneratorTotalAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorTotalAcPower) SetApparentPowerValue ¶
func (m *GeneratorTotalAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*GeneratorTotalAcPower) SetMessageInfo ¶
func (m *GeneratorTotalAcPower) SetMessageInfo(info MessageInfo)
func (*GeneratorTotalAcPower) SetRealPowerValue ¶
func (m *GeneratorTotalAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type GeneratorTotalAcReactivePower ¶
type GeneratorTotalAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*GeneratorTotalAcReactivePower) DecodePayload ¶
func (m *GeneratorTotalAcReactivePower) DecodePayload(payload []uint8) error
func (*GeneratorTotalAcReactivePower) EncodePayload ¶
func (m *GeneratorTotalAcReactivePower) EncodePayload() ([]uint8, error)
func (*GeneratorTotalAcReactivePower) MessageInfo ¶
func (m *GeneratorTotalAcReactivePower) MessageInfo() MessageInfo
func (*GeneratorTotalAcReactivePower) PGNNumber ¶
func (m *GeneratorTotalAcReactivePower) PGNNumber() uint32
func (*GeneratorTotalAcReactivePower) PowerFactorValue ¶
func (m *GeneratorTotalAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorTotalAcReactivePower) ReactivePowerValue ¶
func (m *GeneratorTotalAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GeneratorTotalAcReactivePower) SetMessageInfo ¶
func (m *GeneratorTotalAcReactivePower) SetMessageInfo(info MessageInfo)
func (*GeneratorTotalAcReactivePower) SetPowerFactorValue ¶
func (m *GeneratorTotalAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*GeneratorTotalAcReactivePower) SetReactivePowerValue ¶
func (m *GeneratorTotalAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type GlonassAlmanacData ¶
type GlonassAlmanacData struct {
Info MessageInfo `json:"info"`
Prn *uint64 `json:"prn,omitempty" n2k:"1"`
Na *uint64 `json:"na,omitempty" n2k:"2"`
Cna *uint64 `json:"cna,omitempty" n2k:"4"`
Hna *uint64 `json:"hna,omitempty" n2k:"5"`
EpsilonNa *uint64 `json:"EpsilonNa,omitempty" n2k:"6"`
DeltatnaDot *uint64 `json:"DeltatnaDot,omitempty" n2k:"7"`
OmegaNa *uint64 `json:"OmegaNa,omitempty" n2k:"8"`
DeltaTna *uint64 `json:"DeltaTna,omitempty" n2k:"9"`
Tna *uint64 `json:"tna,omitempty" n2k:"10"`
LambdaNa *uint64 `json:"LambdaNa,omitempty" n2k:"11"`
DeltaIna *uint64 `json:"DeltaIna,omitempty" n2k:"12"`
TauCa *uint64 `json:"TauCa,omitempty" n2k:"13"`
TauNa *uint64 `json:"TauNa,omitempty" n2k:"14"`
}
func (*GlonassAlmanacData) DecodePayload ¶
func (m *GlonassAlmanacData) DecodePayload(payload []uint8) error
func (*GlonassAlmanacData) EncodePayload ¶
func (m *GlonassAlmanacData) EncodePayload() ([]uint8, error)
func (*GlonassAlmanacData) MessageInfo ¶
func (m *GlonassAlmanacData) MessageInfo() MessageInfo
func (*GlonassAlmanacData) PGNNumber ¶
func (m *GlonassAlmanacData) PGNNumber() uint32
func (*GlonassAlmanacData) SetMessageInfo ¶
func (m *GlonassAlmanacData) SetMessageInfo(info MessageInfo)
type GnsIntegrityConst ¶
type GnsIntegrityConst uint8
const ( NoIntegrityChecking GnsIntegrityConst = 0 Safe GnsIntegrityConst = 1 Caution GnsIntegrityConst = 2 )
func (GnsIntegrityConst) GoString ¶
func (e GnsIntegrityConst) GoString() string
func (GnsIntegrityConst) String ¶
func (e GnsIntegrityConst) String() string
type GnsMethodConst ¶
type GnsMethodConst uint8
const ( NoGNSS GnsMethodConst = 0 GNSSFix GnsMethodConst = 1 DGNSSFix GnsMethodConst = 2 PreciseGNSS GnsMethodConst = 3 RTKFixedInteger GnsMethodConst = 4 RTKFloat GnsMethodConst = 5 EstimatedDRMode GnsMethodConst = 6 ManualInput GnsMethodConst = 7 SimulateMode GnsMethodConst = 8 )
func (GnsMethodConst) GoString ¶
func (e GnsMethodConst) GoString() string
func (GnsMethodConst) String ¶
func (e GnsMethodConst) String() string
type GnssControlStatus ¶
type GnssControlStatus struct {
Info MessageInfo `json:"info"`
SvElevationMask *int64 `json:"svElevationMask,omitempty" n2k:"1"`
PdopMask *int64 `json:"pdopMask,omitempty" n2k:"2"`
PdopSwitch *int64 `json:"pdopSwitch,omitempty" n2k:"3"`
SnrMask *int64 `json:"snrMask,omitempty" n2k:"4"`
GnssModeDesired *uint64 `json:"gnssModeDesired,omitempty" n2k:"5"`
DgnssModeDesired *uint64 `json:"dgnssModeDesired,omitempty" n2k:"6"`
PositionVelocityFilter *uint64 `json:"positionVelocityFilter,omitempty" n2k:"7"`
MaxCorrectionAge *uint64 `json:"maxCorrectionAge,omitempty" n2k:"8"`
AntennaAltitudeFor2dMode *int64 `json:"antennaAltitudeFor2dMode,omitempty" n2k:"9"`
UseAntennaAltitudeFor2dMode *uint64 `json:"useAntennaAltitudeFor2dMode,omitempty" n2k:"10"`
}
func (*GnssControlStatus) AntennaAltitudeFor2dModeValue ¶
func (m *GnssControlStatus) AntennaAltitudeFor2dModeValue() (float64, bool)
AntennaAltitudeFor2dModeValue returns AntennaAltitudeFor2dMode as a physical value in m (value = raw * 0.01). The bool is false when AntennaAltitudeFor2dMode is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssControlStatus) DecodePayload ¶
func (m *GnssControlStatus) DecodePayload(payload []uint8) error
func (*GnssControlStatus) EncodePayload ¶
func (m *GnssControlStatus) EncodePayload() ([]uint8, error)
func (*GnssControlStatus) MaxCorrectionAgeValue ¶
func (m *GnssControlStatus) MaxCorrectionAgeValue() (float64, bool)
MaxCorrectionAgeValue returns MaxCorrectionAge as a physical value in s (value = raw * 0.01). The bool is false when MaxCorrectionAge is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssControlStatus) MessageInfo ¶
func (m *GnssControlStatus) MessageInfo() MessageInfo
func (*GnssControlStatus) PGNNumber ¶
func (m *GnssControlStatus) PGNNumber() uint32
func (*GnssControlStatus) PdopMaskValue ¶
func (m *GnssControlStatus) PdopMaskValue() (float64, bool)
PdopMaskValue returns PdopMask as a physical value (value = raw * 0.01). The bool is false when PdopMask is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssControlStatus) PdopSwitchValue ¶
func (m *GnssControlStatus) PdopSwitchValue() (float64, bool)
PdopSwitchValue returns PdopSwitch as a physical value (value = raw * 0.01). The bool is false when PdopSwitch is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssControlStatus) SetAntennaAltitudeFor2dModeValue ¶
func (m *GnssControlStatus) SetAntennaAltitudeFor2dModeValue(v float64)
SetAntennaAltitudeFor2dModeValue sets AntennaAltitudeFor2dMode from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssControlStatus) SetMaxCorrectionAgeValue ¶
func (m *GnssControlStatus) SetMaxCorrectionAgeValue(v float64)
SetMaxCorrectionAgeValue sets MaxCorrectionAge from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*GnssControlStatus) SetMessageInfo ¶
func (m *GnssControlStatus) SetMessageInfo(info MessageInfo)
func (*GnssControlStatus) SetPdopMaskValue ¶
func (m *GnssControlStatus) SetPdopMaskValue(v float64)
SetPdopMaskValue sets PdopMask from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssControlStatus) SetPdopSwitchValue ¶
func (m *GnssControlStatus) SetPdopSwitchValue(v float64)
SetPdopSwitchValue sets PdopSwitch from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssControlStatus) SetSnrMaskValue ¶
func (m *GnssControlStatus) SetSnrMaskValue(v float64)
SetSnrMaskValue sets SnrMask from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*GnssControlStatus) SetSvElevationMaskValue ¶
func (m *GnssControlStatus) SetSvElevationMaskValue(v float64)
SetSvElevationMaskValue sets SvElevationMask from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*GnssControlStatus) SnrMaskValue ¶
func (m *GnssControlStatus) SnrMaskValue() (float64, bool)
SnrMaskValue returns SnrMask as a physical value in dB (value = raw * 0.01). The bool is false when SnrMask is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssControlStatus) SvElevationMaskValue ¶
func (m *GnssControlStatus) SvElevationMaskValue() (float64, bool)
SvElevationMaskValue returns SvElevationMask as a physical value in rad (value = raw * 0.0001). The bool is false when SvElevationMask is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssDifferentialCorrectionReceiverInterface ¶
type GnssDifferentialCorrectionReceiverInterface struct {
Info MessageInfo `json:"info"`
Channel *uint64 `json:"channel,omitempty" n2k:"1"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"2"`
SerialInterfaceBitRate *uint64 `json:"serialInterfaceBitRate,omitempty" n2k:"3"`
SerialInterfaceDetectionMode *uint64 `json:"serialInterfaceDetectionMode,omitempty" n2k:"4"`
DifferentialSource *uint64 `json:"differentialSource,omitempty" n2k:"5"`
DifferentialOperationMode *uint64 `json:"differentialOperationMode,omitempty" n2k:"6"`
}
func (*GnssDifferentialCorrectionReceiverInterface) DecodePayload ¶
func (m *GnssDifferentialCorrectionReceiverInterface) DecodePayload(payload []uint8) error
func (*GnssDifferentialCorrectionReceiverInterface) EncodePayload ¶
func (m *GnssDifferentialCorrectionReceiverInterface) EncodePayload() ([]uint8, error)
func (*GnssDifferentialCorrectionReceiverInterface) FrequencyValue ¶
func (m *GnssDifferentialCorrectionReceiverInterface) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 10). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssDifferentialCorrectionReceiverInterface) MessageInfo ¶
func (m *GnssDifferentialCorrectionReceiverInterface) MessageInfo() MessageInfo
func (*GnssDifferentialCorrectionReceiverInterface) PGNNumber ¶
func (m *GnssDifferentialCorrectionReceiverInterface) PGNNumber() uint32
func (*GnssDifferentialCorrectionReceiverInterface) SetFrequencyValue ¶
func (m *GnssDifferentialCorrectionReceiverInterface) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 10.
func (*GnssDifferentialCorrectionReceiverInterface) SetMessageInfo ¶
func (m *GnssDifferentialCorrectionReceiverInterface) SetMessageInfo(info MessageInfo)
type GnssDifferentialCorrectionReceiverSignal ¶
type GnssDifferentialCorrectionReceiverSignal struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Channel *uint64 `json:"channel,omitempty" n2k:"2"`
SignalStrength *int64 `json:"signalStrength,omitempty" n2k:"3"`
SignalSnr *int64 `json:"signalSnr,omitempty" n2k:"4"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"5"`
StationType *uint64 `json:"stationType,omitempty" n2k:"6"`
ReferenceStationId *uint64 `json:"referenceStationId,omitempty" n2k:"7"`
DifferentialSignalBitRate *uint64 `json:"differentialSignalBitRate,omitempty" n2k:"8"`
DifferentialSignalDetectionMode *uint64 `json:"differentialSignalDetectionMode,omitempty" n2k:"9"`
UsedAsCorrectionSource *uint64 `json:"usedAsCorrectionSource,omitempty" n2k:"10"`
DifferentialSource *uint64 `json:"differentialSource,omitempty" n2k:"12"`
TimeSinceLastSatDifferentialSync *uint64 `json:"timeSinceLastSatDifferentialSync,omitempty" n2k:"13"`
SatelliteServiceIdNo *uint64 `json:"satelliteServiceIdNo,omitempty" n2k:"14"`
}
func (*GnssDifferentialCorrectionReceiverSignal) DecodePayload ¶
func (m *GnssDifferentialCorrectionReceiverSignal) DecodePayload(payload []uint8) error
func (*GnssDifferentialCorrectionReceiverSignal) EncodePayload ¶
func (m *GnssDifferentialCorrectionReceiverSignal) EncodePayload() ([]uint8, error)
func (*GnssDifferentialCorrectionReceiverSignal) FrequencyValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw * 10). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssDifferentialCorrectionReceiverSignal) MessageInfo ¶
func (m *GnssDifferentialCorrectionReceiverSignal) MessageInfo() MessageInfo
func (*GnssDifferentialCorrectionReceiverSignal) PGNNumber ¶
func (m *GnssDifferentialCorrectionReceiverSignal) PGNNumber() uint32
func (*GnssDifferentialCorrectionReceiverSignal) SetFrequencyValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 10.
func (*GnssDifferentialCorrectionReceiverSignal) SetMessageInfo ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SetMessageInfo(info MessageInfo)
func (*GnssDifferentialCorrectionReceiverSignal) SetSignalSnrValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalSnrValue(v float64)
SetSignalSnrValue sets SignalSnr from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*GnssDifferentialCorrectionReceiverSignal) SetSignalStrengthValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalStrengthValue(v float64)
SetSignalStrengthValue sets SignalStrength from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*GnssDifferentialCorrectionReceiverSignal) SetTimeSinceLastSatDifferentialSyncValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SetTimeSinceLastSatDifferentialSyncValue(v float64)
SetTimeSinceLastSatDifferentialSyncValue sets TimeSinceLastSatDifferentialSync from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*GnssDifferentialCorrectionReceiverSignal) SignalSnrValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SignalSnrValue() (float64, bool)
SignalSnrValue returns SignalSnr as a physical value in dB (value = raw * 0.01). The bool is false when SignalSnr is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssDifferentialCorrectionReceiverSignal) SignalStrengthValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) SignalStrengthValue() (float64, bool)
SignalStrengthValue returns SignalStrength as a physical value in dB (value = raw * 0.01). The bool is false when SignalStrength is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssDifferentialCorrectionReceiverSignal) TimeSinceLastSatDifferentialSyncValue ¶
func (m *GnssDifferentialCorrectionReceiverSignal) TimeSinceLastSatDifferentialSyncValue() (float64, bool)
TimeSinceLastSatDifferentialSyncValue returns TimeSinceLastSatDifferentialSync as a physical value in s (value = raw * 0.01). The bool is false when TimeSinceLastSatDifferentialSync is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssDops ¶
type GnssDops struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
DesiredMode *uint64 `json:"desiredMode,omitempty" n2k:"2"`
ActualMode *uint64 `json:"actualMode,omitempty" n2k:"3"`
Hdop *int64 `json:"hdop,omitempty" n2k:"5"`
Vdop *int64 `json:"vdop,omitempty" n2k:"6"`
Tdop *int64 `json:"tdop,omitempty" n2k:"7"`
}
func (*GnssDops) DecodePayload ¶
func (*GnssDops) EncodePayload ¶
func (*GnssDops) HdopValue ¶
HdopValue returns Hdop as a physical value (value = raw * 0.01). The bool is false when Hdop is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssDops) MessageInfo ¶
func (m *GnssDops) MessageInfo() MessageInfo
func (*GnssDops) SetHdopValue ¶
SetHdopValue sets Hdop from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssDops) SetMessageInfo ¶
func (m *GnssDops) SetMessageInfo(info MessageInfo)
func (*GnssDops) SetTdopValue ¶
SetTdopValue sets Tdop from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssDops) SetVdopValue ¶
SetVdopValue sets Vdop from a physical value, rounded to the nearest wire tick of 0.01.
type GnssModeConst ¶
type GnssModeConst uint8
const ( A1D GnssModeConst = 0 A2D GnssModeConst = 1 A3D GnssModeConst = 2 Auto_4 GnssModeConst = 3 )
func (GnssModeConst) GoString ¶
func (e GnssModeConst) GoString() string
func (GnssModeConst) String ¶
func (e GnssModeConst) String() string
type GnssPositionData ¶
type GnssPositionData struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Date *uint64 `json:"date,omitempty" n2k:"2"`
Time *uint64 `json:"time,omitempty" n2k:"3"`
Latitude *int64 `json:"latitude,omitempty" n2k:"4"`
Longitude *int64 `json:"longitude,omitempty" n2k:"5"`
Altitude *int64 `json:"altitude,omitempty" n2k:"6"`
GnssType *uint64 `json:"gnssType,omitempty" n2k:"7"`
Method *uint64 `json:"method,omitempty" n2k:"8"`
Integrity *uint64 `json:"integrity,omitempty" n2k:"9"`
NumberOfSvs *uint64 `json:"numberOfSvs,omitempty" n2k:"11"`
Hdop *int64 `json:"hdop,omitempty" n2k:"12"`
Pdop *int64 `json:"pdop,omitempty" n2k:"13"`
GeoidalSeparation *int64 `json:"geoidalSeparation,omitempty" n2k:"14"`
ReferenceStations *uint64 `json:"referenceStations,omitempty" n2k:"15"`
Repeating1 []GnssPositionDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*GnssPositionData) AltitudeValue ¶
func (m *GnssPositionData) AltitudeValue() (float64, bool)
AltitudeValue returns Altitude as a physical value in m (value = raw * 1e-06). The bool is false when Altitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) DateValue ¶
func (m *GnssPositionData) DateValue() (float64, bool)
DateValue returns Date as a physical value in d (value = raw). The bool is false when Date is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) DecodePayload ¶
func (m *GnssPositionData) DecodePayload(payload []uint8) error
func (*GnssPositionData) EncodePayload ¶
func (m *GnssPositionData) EncodePayload() ([]uint8, error)
func (*GnssPositionData) GeoidalSeparationValue ¶
func (m *GnssPositionData) GeoidalSeparationValue() (float64, bool)
GeoidalSeparationValue returns GeoidalSeparation as a physical value in m (value = raw * 0.01). The bool is false when GeoidalSeparation is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) HdopValue ¶
func (m *GnssPositionData) HdopValue() (float64, bool)
HdopValue returns Hdop as a physical value (value = raw * 0.01). The bool is false when Hdop is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) LatitudeValue ¶
func (m *GnssPositionData) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-16). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) LongitudeValue ¶
func (m *GnssPositionData) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-16). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) MessageInfo ¶
func (m *GnssPositionData) MessageInfo() MessageInfo
func (*GnssPositionData) PGNNumber ¶
func (m *GnssPositionData) PGNNumber() uint32
func (*GnssPositionData) PdopValue ¶
func (m *GnssPositionData) PdopValue() (float64, bool)
PdopValue returns Pdop as a physical value (value = raw * 0.01). The bool is false when Pdop is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionData) SetAltitudeValue ¶
func (m *GnssPositionData) SetAltitudeValue(v float64)
SetAltitudeValue sets Altitude from a physical value in m, rounded to the nearest wire tick of 1e-06.
func (*GnssPositionData) SetDateValue ¶
func (m *GnssPositionData) SetDateValue(v float64)
SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.
func (*GnssPositionData) SetGeoidalSeparationValue ¶
func (m *GnssPositionData) SetGeoidalSeparationValue(v float64)
SetGeoidalSeparationValue sets GeoidalSeparation from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPositionData) SetHdopValue ¶
func (m *GnssPositionData) SetHdopValue(v float64)
SetHdopValue sets Hdop from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssPositionData) SetLatitudeValue ¶
func (m *GnssPositionData) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-16.
func (*GnssPositionData) SetLongitudeValue ¶
func (m *GnssPositionData) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-16.
func (*GnssPositionData) SetMessageInfo ¶
func (m *GnssPositionData) SetMessageInfo(info MessageInfo)
func (*GnssPositionData) SetPdopValue ¶
func (m *GnssPositionData) SetPdopValue(v float64)
SetPdopValue sets Pdop from a physical value, rounded to the nearest wire tick of 0.01.
func (*GnssPositionData) SetTimeValue ¶
func (m *GnssPositionData) SetTimeValue(v float64)
SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*GnssPositionData) TimeValue ¶
func (m *GnssPositionData) TimeValue() (float64, bool)
TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false when Time is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssPositionDataRepeating1 ¶
type GnssPositionDataRepeating1 struct {
ReferenceStationType *uint64 `json:"referenceStationType,omitempty" n2k:"16"`
ReferenceStationId *uint64 `json:"referenceStationId,omitempty" n2k:"17"`
AgeOfDgnssCorrections *uint64 `json:"ageOfDgnssCorrections,omitempty" n2k:"18"`
}
func (*GnssPositionDataRepeating1) AgeOfDgnssCorrectionsValue ¶
func (m *GnssPositionDataRepeating1) AgeOfDgnssCorrectionsValue() (float64, bool)
AgeOfDgnssCorrectionsValue returns AgeOfDgnssCorrections as a physical value in s (value = raw * 0.01). The bool is false when AgeOfDgnssCorrections is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPositionDataRepeating1) SetAgeOfDgnssCorrectionsValue ¶
func (m *GnssPositionDataRepeating1) SetAgeOfDgnssCorrectionsValue(v float64)
SetAgeOfDgnssCorrectionsValue sets AgeOfDgnssCorrections from a physical value in s, rounded to the nearest wire tick of 0.01.
type GnssPseudorangeErrorStatistics ¶
type GnssPseudorangeErrorStatistics struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
RmsStdDevOfRangeInputs *uint64 `json:"rmsStdDevOfRangeInputs,omitempty" n2k:"2"`
StdDevOfMajorErrorEllipse *uint64 `json:"stdDevOfMajorErrorEllipse,omitempty" n2k:"3"`
StdDevOfMinorErrorEllipse *uint64 `json:"stdDevOfMinorErrorEllipse,omitempty" n2k:"4"`
OrientationOfErrorEllipse *uint64 `json:"orientationOfErrorEllipse,omitempty" n2k:"5"`
StdDevLatError *uint64 `json:"stdDevLatError,omitempty" n2k:"6"`
StdDevLonError *uint64 `json:"stdDevLonError,omitempty" n2k:"7"`
StdDevAltError *uint64 `json:"stdDevAltError,omitempty" n2k:"8"`
}
func (*GnssPseudorangeErrorStatistics) DecodePayload ¶
func (m *GnssPseudorangeErrorStatistics) DecodePayload(payload []uint8) error
func (*GnssPseudorangeErrorStatistics) EncodePayload ¶
func (m *GnssPseudorangeErrorStatistics) EncodePayload() ([]uint8, error)
func (*GnssPseudorangeErrorStatistics) MessageInfo ¶
func (m *GnssPseudorangeErrorStatistics) MessageInfo() MessageInfo
func (*GnssPseudorangeErrorStatistics) OrientationOfErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) OrientationOfErrorEllipseValue() (float64, bool)
OrientationOfErrorEllipseValue returns OrientationOfErrorEllipse as a physical value in rad (value = raw * 0.0001). The bool is false when OrientationOfErrorEllipse is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) PGNNumber ¶
func (m *GnssPseudorangeErrorStatistics) PGNNumber() uint32
func (*GnssPseudorangeErrorStatistics) RmsStdDevOfRangeInputsValue ¶
func (m *GnssPseudorangeErrorStatistics) RmsStdDevOfRangeInputsValue() (float64, bool)
RmsStdDevOfRangeInputsValue returns RmsStdDevOfRangeInputs as a physical value in m (value = raw * 0.01). The bool is false when RmsStdDevOfRangeInputs is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) SetMessageInfo ¶
func (m *GnssPseudorangeErrorStatistics) SetMessageInfo(info MessageInfo)
func (*GnssPseudorangeErrorStatistics) SetOrientationOfErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) SetOrientationOfErrorEllipseValue(v float64)
SetOrientationOfErrorEllipseValue sets OrientationOfErrorEllipse from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*GnssPseudorangeErrorStatistics) SetRmsStdDevOfRangeInputsValue ¶
func (m *GnssPseudorangeErrorStatistics) SetRmsStdDevOfRangeInputsValue(v float64)
SetRmsStdDevOfRangeInputsValue sets RmsStdDevOfRangeInputs from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) SetStdDevAltErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) SetStdDevAltErrorValue(v float64)
SetStdDevAltErrorValue sets StdDevAltError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) SetStdDevLatErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) SetStdDevLatErrorValue(v float64)
SetStdDevLatErrorValue sets StdDevLatError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) SetStdDevLonErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) SetStdDevLonErrorValue(v float64)
SetStdDevLonErrorValue sets StdDevLonError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) SetStdDevOfMajorErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMajorErrorEllipseValue(v float64)
SetStdDevOfMajorErrorEllipseValue sets StdDevOfMajorErrorEllipse from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) SetStdDevOfMinorErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMinorErrorEllipseValue(v float64)
SetStdDevOfMinorErrorEllipseValue sets StdDevOfMinorErrorEllipse from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeErrorStatistics) StdDevAltErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) StdDevAltErrorValue() (float64, bool)
StdDevAltErrorValue returns StdDevAltError as a physical value in m (value = raw * 0.01). The bool is false when StdDevAltError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) StdDevLatErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) StdDevLatErrorValue() (float64, bool)
StdDevLatErrorValue returns StdDevLatError as a physical value in m (value = raw * 0.01). The bool is false when StdDevLatError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) StdDevLonErrorValue ¶
func (m *GnssPseudorangeErrorStatistics) StdDevLonErrorValue() (float64, bool)
StdDevLonErrorValue returns StdDevLonError as a physical value in m (value = raw * 0.01). The bool is false when StdDevLonError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) StdDevOfMajorErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) StdDevOfMajorErrorEllipseValue() (float64, bool)
StdDevOfMajorErrorEllipseValue returns StdDevOfMajorErrorEllipse as a physical value in m (value = raw * 0.01). The bool is false when StdDevOfMajorErrorEllipse is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeErrorStatistics) StdDevOfMinorErrorEllipseValue ¶
func (m *GnssPseudorangeErrorStatistics) StdDevOfMinorErrorEllipseValue() (float64, bool)
StdDevOfMinorErrorEllipseValue returns StdDevOfMinorErrorEllipse as a physical value in m (value = raw * 0.01). The bool is false when StdDevOfMinorErrorEllipse is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssPseudorangeNoiseStatistics ¶
type GnssPseudorangeNoiseStatistics struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
RmsOfPositionUncertainty *uint64 `json:"rmsOfPositionUncertainty,omitempty" n2k:"2"`
StdOfMajorAxis *uint64 `json:"stdOfMajorAxis,omitempty" n2k:"3"`
StdOfMinorAxis *uint64 `json:"stdOfMinorAxis,omitempty" n2k:"4"`
OrientationOfMajorAxis *uint64 `json:"orientationOfMajorAxis,omitempty" n2k:"5"`
StdOfLatError *uint64 `json:"stdOfLatError,omitempty" n2k:"6"`
StdOfLonError *uint64 `json:"stdOfLonError,omitempty" n2k:"7"`
StdOfAltError *uint64 `json:"stdOfAltError,omitempty" n2k:"8"`
}
func (*GnssPseudorangeNoiseStatistics) DecodePayload ¶
func (m *GnssPseudorangeNoiseStatistics) DecodePayload(payload []uint8) error
func (*GnssPseudorangeNoiseStatistics) EncodePayload ¶
func (m *GnssPseudorangeNoiseStatistics) EncodePayload() ([]uint8, error)
func (*GnssPseudorangeNoiseStatistics) MessageInfo ¶
func (m *GnssPseudorangeNoiseStatistics) MessageInfo() MessageInfo
func (*GnssPseudorangeNoiseStatistics) OrientationOfMajorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) OrientationOfMajorAxisValue() (float64, bool)
OrientationOfMajorAxisValue returns OrientationOfMajorAxis as a physical value in rad (value = raw * 0.0001). The bool is false when OrientationOfMajorAxis is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) PGNNumber ¶
func (m *GnssPseudorangeNoiseStatistics) PGNNumber() uint32
func (*GnssPseudorangeNoiseStatistics) RmsOfPositionUncertaintyValue ¶
func (m *GnssPseudorangeNoiseStatistics) RmsOfPositionUncertaintyValue() (float64, bool)
RmsOfPositionUncertaintyValue returns RmsOfPositionUncertainty as a physical value in m (value = raw * 0.01). The bool is false when RmsOfPositionUncertainty is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) SetMessageInfo ¶
func (m *GnssPseudorangeNoiseStatistics) SetMessageInfo(info MessageInfo)
func (*GnssPseudorangeNoiseStatistics) SetOrientationOfMajorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetOrientationOfMajorAxisValue(v float64)
SetOrientationOfMajorAxisValue sets OrientationOfMajorAxis from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*GnssPseudorangeNoiseStatistics) SetRmsOfPositionUncertaintyValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetRmsOfPositionUncertaintyValue(v float64)
SetRmsOfPositionUncertaintyValue sets RmsOfPositionUncertainty from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) SetStdOfAltErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetStdOfAltErrorValue(v float64)
SetStdOfAltErrorValue sets StdOfAltError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) SetStdOfLatErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetStdOfLatErrorValue(v float64)
SetStdOfLatErrorValue sets StdOfLatError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) SetStdOfLonErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetStdOfLonErrorValue(v float64)
SetStdOfLonErrorValue sets StdOfLonError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) SetStdOfMajorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetStdOfMajorAxisValue(v float64)
SetStdOfMajorAxisValue sets StdOfMajorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) SetStdOfMinorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) SetStdOfMinorAxisValue(v float64)
SetStdOfMinorAxisValue sets StdOfMinorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssPseudorangeNoiseStatistics) StdOfAltErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) StdOfAltErrorValue() (float64, bool)
StdOfAltErrorValue returns StdOfAltError as a physical value in m (value = raw * 0.01). The bool is false when StdOfAltError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) StdOfLatErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) StdOfLatErrorValue() (float64, bool)
StdOfLatErrorValue returns StdOfLatError as a physical value in m (value = raw * 0.01). The bool is false when StdOfLatError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) StdOfLonErrorValue ¶
func (m *GnssPseudorangeNoiseStatistics) StdOfLonErrorValue() (float64, bool)
StdOfLonErrorValue returns StdOfLonError as a physical value in m (value = raw * 0.01). The bool is false when StdOfLonError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) StdOfMajorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) StdOfMajorAxisValue() (float64, bool)
StdOfMajorAxisValue returns StdOfMajorAxis as a physical value in m (value = raw * 0.01). The bool is false when StdOfMajorAxis is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssPseudorangeNoiseStatistics) StdOfMinorAxisValue ¶
func (m *GnssPseudorangeNoiseStatistics) StdOfMinorAxisValue() (float64, bool)
StdOfMinorAxisValue returns StdOfMinorAxis as a physical value in m (value = raw * 0.01). The bool is false when StdOfMinorAxis is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssRaimOutput ¶
type GnssRaimOutput struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
IntegrityFlag *uint64 `json:"integrityFlag,omitempty" n2k:"2"`
LatitudeExpectedError *int64 `json:"latitudeExpectedError,omitempty" n2k:"4"`
LongitudeExpectedError *int64 `json:"longitudeExpectedError,omitempty" n2k:"5"`
AltitudeExpectedError *int64 `json:"altitudeExpectedError,omitempty" n2k:"6"`
SvIdOfMostLikelyFailedSat *uint64 `json:"svIdOfMostLikelyFailedSat,omitempty" n2k:"7"`
ProbabilityOfMissedDetection *int64 `json:"probabilityOfMissedDetection,omitempty" n2k:"8"`
EstimateOfPseudorangeBias *int64 `json:"estimateOfPseudorangeBias,omitempty" n2k:"9"`
StdDeviationOfBias *int64 `json:"stdDeviationOfBias,omitempty" n2k:"10"`
}
func (*GnssRaimOutput) AltitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) AltitudeExpectedErrorValue() (float64, bool)
AltitudeExpectedErrorValue returns AltitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false when AltitudeExpectedError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimOutput) DecodePayload ¶
func (m *GnssRaimOutput) DecodePayload(payload []uint8) error
func (*GnssRaimOutput) EncodePayload ¶
func (m *GnssRaimOutput) EncodePayload() ([]uint8, error)
func (*GnssRaimOutput) EstimateOfPseudorangeBiasValue ¶
func (m *GnssRaimOutput) EstimateOfPseudorangeBiasValue() (float64, bool)
EstimateOfPseudorangeBiasValue returns EstimateOfPseudorangeBias as a physical value in m (value = raw * 0.01). The bool is false when EstimateOfPseudorangeBias is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimOutput) LatitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) LatitudeExpectedErrorValue() (float64, bool)
LatitudeExpectedErrorValue returns LatitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false when LatitudeExpectedError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimOutput) LongitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) LongitudeExpectedErrorValue() (float64, bool)
LongitudeExpectedErrorValue returns LongitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false when LongitudeExpectedError is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimOutput) MessageInfo ¶
func (m *GnssRaimOutput) MessageInfo() MessageInfo
func (*GnssRaimOutput) PGNNumber ¶
func (m *GnssRaimOutput) PGNNumber() uint32
func (*GnssRaimOutput) ProbabilityOfMissedDetectionValue ¶
func (m *GnssRaimOutput) ProbabilityOfMissedDetectionValue() (float64, bool)
ProbabilityOfMissedDetectionValue returns ProbabilityOfMissedDetection as a physical value in m (value = raw * 0.01). The bool is false when ProbabilityOfMissedDetection is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimOutput) SetAltitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) SetAltitudeExpectedErrorValue(v float64)
SetAltitudeExpectedErrorValue sets AltitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) SetEstimateOfPseudorangeBiasValue ¶
func (m *GnssRaimOutput) SetEstimateOfPseudorangeBiasValue(v float64)
SetEstimateOfPseudorangeBiasValue sets EstimateOfPseudorangeBias from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) SetLatitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) SetLatitudeExpectedErrorValue(v float64)
SetLatitudeExpectedErrorValue sets LatitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) SetLongitudeExpectedErrorValue ¶
func (m *GnssRaimOutput) SetLongitudeExpectedErrorValue(v float64)
SetLongitudeExpectedErrorValue sets LongitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) SetMessageInfo ¶
func (m *GnssRaimOutput) SetMessageInfo(info MessageInfo)
func (*GnssRaimOutput) SetProbabilityOfMissedDetectionValue ¶
func (m *GnssRaimOutput) SetProbabilityOfMissedDetectionValue(v float64)
SetProbabilityOfMissedDetectionValue sets ProbabilityOfMissedDetection from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) SetStdDeviationOfBiasValue ¶
func (m *GnssRaimOutput) SetStdDeviationOfBiasValue(v float64)
SetStdDeviationOfBiasValue sets StdDeviationOfBias from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*GnssRaimOutput) StdDeviationOfBiasValue ¶
func (m *GnssRaimOutput) StdDeviationOfBiasValue() (float64, bool)
StdDeviationOfBiasValue returns StdDeviationOfBias as a physical value in m (value = raw * 0.01). The bool is false when StdDeviationOfBias is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GnssRaimSettings ¶
type GnssRaimSettings struct {
Info MessageInfo `json:"info"`
RadialPositionErrorMaximumThreshold *uint64 `json:"radialPositionErrorMaximumThreshold,omitempty" n2k:"1"`
ProbabilityOfFalseAlarm *int64 `json:"probabilityOfFalseAlarm,omitempty" n2k:"2"`
ProbabilityOfMissedDetection *int64 `json:"probabilityOfMissedDetection,omitempty" n2k:"3"`
PseudorangeResidualFilteringTimeConstant *uint64 `json:"pseudorangeResidualFilteringTimeConstant,omitempty" n2k:"4"`
}
func (*GnssRaimSettings) DecodePayload ¶
func (m *GnssRaimSettings) DecodePayload(payload []uint8) error
func (*GnssRaimSettings) EncodePayload ¶
func (m *GnssRaimSettings) EncodePayload() ([]uint8, error)
func (*GnssRaimSettings) MessageInfo ¶
func (m *GnssRaimSettings) MessageInfo() MessageInfo
func (*GnssRaimSettings) PGNNumber ¶
func (m *GnssRaimSettings) PGNNumber() uint32
func (*GnssRaimSettings) ProbabilityOfFalseAlarmValue ¶
func (m *GnssRaimSettings) ProbabilityOfFalseAlarmValue() (float64, bool)
ProbabilityOfFalseAlarmValue returns ProbabilityOfFalseAlarm as a physical value in % (value = raw). The bool is false when ProbabilityOfFalseAlarm is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimSettings) ProbabilityOfMissedDetectionValue ¶
func (m *GnssRaimSettings) ProbabilityOfMissedDetectionValue() (float64, bool)
ProbabilityOfMissedDetectionValue returns ProbabilityOfMissedDetection as a physical value in % (value = raw). The bool is false when ProbabilityOfMissedDetection is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimSettings) PseudorangeResidualFilteringTimeConstantValue ¶
func (m *GnssRaimSettings) PseudorangeResidualFilteringTimeConstantValue() (float64, bool)
PseudorangeResidualFilteringTimeConstantValue returns PseudorangeResidualFilteringTimeConstant as a physical value in s (value = raw). The bool is false when PseudorangeResidualFilteringTimeConstant is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimSettings) RadialPositionErrorMaximumThresholdValue ¶
func (m *GnssRaimSettings) RadialPositionErrorMaximumThresholdValue() (float64, bool)
RadialPositionErrorMaximumThresholdValue returns RadialPositionErrorMaximumThreshold as a physical value in m (value = raw * 0.01). The bool is false when RadialPositionErrorMaximumThreshold is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssRaimSettings) SetMessageInfo ¶
func (m *GnssRaimSettings) SetMessageInfo(info MessageInfo)
func (*GnssRaimSettings) SetProbabilityOfFalseAlarmValue ¶
func (m *GnssRaimSettings) SetProbabilityOfFalseAlarmValue(v float64)
SetProbabilityOfFalseAlarmValue sets ProbabilityOfFalseAlarm from a physical value in %, rounded to the nearest wire tick of 1.
func (*GnssRaimSettings) SetProbabilityOfMissedDetectionValue ¶
func (m *GnssRaimSettings) SetProbabilityOfMissedDetectionValue(v float64)
SetProbabilityOfMissedDetectionValue sets ProbabilityOfMissedDetection from a physical value in %, rounded to the nearest wire tick of 1.
func (*GnssRaimSettings) SetPseudorangeResidualFilteringTimeConstantValue ¶
func (m *GnssRaimSettings) SetPseudorangeResidualFilteringTimeConstantValue(v float64)
SetPseudorangeResidualFilteringTimeConstantValue sets PseudorangeResidualFilteringTimeConstant from a physical value in s, rounded to the nearest wire tick of 1.
func (*GnssRaimSettings) SetRadialPositionErrorMaximumThresholdValue ¶
func (m *GnssRaimSettings) SetRadialPositionErrorMaximumThresholdValue(v float64)
SetRadialPositionErrorMaximumThresholdValue sets RadialPositionErrorMaximumThreshold from a physical value in m, rounded to the nearest wire tick of 0.01.
type GnssSatsInView ¶
type GnssSatsInView struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
RangeResidualMode *uint64 `json:"rangeResidualMode,omitempty" n2k:"2"`
SatsInView *uint64 `json:"satsInView,omitempty" n2k:"4"`
Repeating1 []GnssSatsInViewRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*GnssSatsInView) DecodePayload ¶
func (m *GnssSatsInView) DecodePayload(payload []uint8) error
func (*GnssSatsInView) EncodePayload ¶
func (m *GnssSatsInView) EncodePayload() ([]uint8, error)
func (*GnssSatsInView) MessageInfo ¶
func (m *GnssSatsInView) MessageInfo() MessageInfo
func (*GnssSatsInView) PGNNumber ¶
func (m *GnssSatsInView) PGNNumber() uint32
func (*GnssSatsInView) SetMessageInfo ¶
func (m *GnssSatsInView) SetMessageInfo(info MessageInfo)
type GnssSatsInViewRepeating1 ¶
type GnssSatsInViewRepeating1 struct {
Prn *uint64 `json:"prn,omitempty" n2k:"5"`
Elevation *int64 `json:"elevation,omitempty" n2k:"6"`
Azimuth *uint64 `json:"azimuth,omitempty" n2k:"7"`
Snr *int64 `json:"snr,omitempty" n2k:"8"`
RangeResiduals *int64 `json:"rangeResiduals,omitempty" n2k:"9"`
Status *uint64 `json:"status,omitempty" n2k:"10"`
}
func (*GnssSatsInViewRepeating1) AzimuthValue ¶
func (m *GnssSatsInViewRepeating1) AzimuthValue() (float64, bool)
AzimuthValue returns Azimuth as a physical value in rad (value = raw * 0.0001). The bool is false when Azimuth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssSatsInViewRepeating1) ElevationValue ¶
func (m *GnssSatsInViewRepeating1) ElevationValue() (float64, bool)
ElevationValue returns Elevation as a physical value in rad (value = raw * 0.0001). The bool is false when Elevation is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssSatsInViewRepeating1) RangeResidualsValue ¶
func (m *GnssSatsInViewRepeating1) RangeResidualsValue() (float64, bool)
RangeResidualsValue returns RangeResiduals as a physical value in m (value = raw * 1e-05). The bool is false when RangeResiduals is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GnssSatsInViewRepeating1) SetAzimuthValue ¶
func (m *GnssSatsInViewRepeating1) SetAzimuthValue(v float64)
SetAzimuthValue sets Azimuth from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*GnssSatsInViewRepeating1) SetElevationValue ¶
func (m *GnssSatsInViewRepeating1) SetElevationValue(v float64)
SetElevationValue sets Elevation from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*GnssSatsInViewRepeating1) SetRangeResidualsValue ¶
func (m *GnssSatsInViewRepeating1) SetRangeResidualsValue(v float64)
SetRangeResidualsValue sets RangeResiduals from a physical value in m, rounded to the nearest wire tick of 1e-05.
func (*GnssSatsInViewRepeating1) SetSnrValue ¶
func (m *GnssSatsInViewRepeating1) SetSnrValue(v float64)
SetSnrValue sets Snr from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*GnssSatsInViewRepeating1) SnrValue ¶
func (m *GnssSatsInViewRepeating1) SnrValue() (float64, bool)
SnrValue returns Snr as a physical value in dB (value = raw * 0.01). The bool is false when Snr is nil: the wire carried the field's null sentinel or the payload ended before the field.
type GoodWarningErrorConst ¶
type GoodWarningErrorConst uint8
const ( Good_3 GoodWarningErrorConst = 0 Warning_3 GoodWarningErrorConst = 1 Error_3 GoodWarningErrorConst = 2 )
func (GoodWarningErrorConst) GoString ¶
func (e GoodWarningErrorConst) GoString() string
func (GoodWarningErrorConst) String ¶
func (e GoodWarningErrorConst) String() string
type GpsAlmanacData ¶
type GpsAlmanacData struct {
Info MessageInfo `json:"info"`
Prn *uint64 `json:"prn,omitempty" n2k:"1"`
GpsWeekNumber *uint64 `json:"gpsWeekNumber,omitempty" n2k:"2"`
SvHealthBits []uint8 `json:"svHealthBits,omitempty" n2k:"3"`
Eccentricity *uint64 `json:"eccentricity,omitempty" n2k:"4"`
AlmanacReferenceTime *uint64 `json:"almanacReferenceTime,omitempty" n2k:"5"`
InclinationAngle *int64 `json:"inclinationAngle,omitempty" n2k:"6"`
RateOfRightAscension *int64 `json:"rateOfRightAscension,omitempty" n2k:"7"`
RootOfSemiMajorAxis *uint64 `json:"rootOfSemiMajorAxis,omitempty" n2k:"8"`
ArgumentOfPerigee *int64 `json:"argumentOfPerigee,omitempty" n2k:"9"`
LongitudeOfAscensionNode *int64 `json:"longitudeOfAscensionNode,omitempty" n2k:"10"`
MeanAnomaly *int64 `json:"meanAnomaly,omitempty" n2k:"11"`
ClockParameter1 *int64 `json:"clockParameter1,omitempty" n2k:"12"`
ClockParameter2 *int64 `json:"clockParameter2,omitempty" n2k:"13"`
}
func (*GpsAlmanacData) AlmanacReferenceTimeValue ¶
func (m *GpsAlmanacData) AlmanacReferenceTimeValue() (float64, bool)
AlmanacReferenceTimeValue returns AlmanacReferenceTime as a physical value in s (value = raw * 4096). The bool is false when AlmanacReferenceTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) ArgumentOfPerigeeValue ¶
func (m *GpsAlmanacData) ArgumentOfPerigeeValue() (float64, bool)
ArgumentOfPerigeeValue returns ArgumentOfPerigee as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false when ArgumentOfPerigee is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) ClockParameter1Value ¶
func (m *GpsAlmanacData) ClockParameter1Value() (float64, bool)
ClockParameter1Value returns ClockParameter1 as a physical value in s (value = raw * 9.53674e-07). The bool is false when ClockParameter1 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) ClockParameter2Value ¶
func (m *GpsAlmanacData) ClockParameter2Value() (float64, bool)
ClockParameter2Value returns ClockParameter2 as a physical value in s/s (value = raw * 3.63798e-12). The bool is false when ClockParameter2 is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) DecodePayload ¶
func (m *GpsAlmanacData) DecodePayload(payload []uint8) error
func (*GpsAlmanacData) EccentricityValue ¶
func (m *GpsAlmanacData) EccentricityValue() (float64, bool)
EccentricityValue returns Eccentricity as a physical value in m/m (value = raw * 4.76837e-07). The bool is false when Eccentricity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) EncodePayload ¶
func (m *GpsAlmanacData) EncodePayload() ([]uint8, error)
func (*GpsAlmanacData) InclinationAngleValue ¶
func (m *GpsAlmanacData) InclinationAngleValue() (float64, bool)
InclinationAngleValue returns InclinationAngle as a physical value in semi-circle (value = raw * 1.90735e-06). The bool is false when InclinationAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) LongitudeOfAscensionNodeValue ¶
func (m *GpsAlmanacData) LongitudeOfAscensionNodeValue() (float64, bool)
LongitudeOfAscensionNodeValue returns LongitudeOfAscensionNode as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false when LongitudeOfAscensionNode is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) MeanAnomalyValue ¶
func (m *GpsAlmanacData) MeanAnomalyValue() (float64, bool)
MeanAnomalyValue returns MeanAnomaly as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false when MeanAnomaly is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) MessageInfo ¶
func (m *GpsAlmanacData) MessageInfo() MessageInfo
func (*GpsAlmanacData) PGNNumber ¶
func (m *GpsAlmanacData) PGNNumber() uint32
func (*GpsAlmanacData) RateOfRightAscensionValue ¶
func (m *GpsAlmanacData) RateOfRightAscensionValue() (float64, bool)
RateOfRightAscensionValue returns RateOfRightAscension as a physical value in semi-circle/s (value = raw * 3.63798e-12). The bool is false when RateOfRightAscension is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) RootOfSemiMajorAxisValue ¶
func (m *GpsAlmanacData) RootOfSemiMajorAxisValue() (float64, bool)
RootOfSemiMajorAxisValue returns RootOfSemiMajorAxis as a physical value in sqrt(m) (value = raw * 0.000488281). The bool is false when RootOfSemiMajorAxis is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*GpsAlmanacData) SetAlmanacReferenceTimeValue ¶
func (m *GpsAlmanacData) SetAlmanacReferenceTimeValue(v float64)
SetAlmanacReferenceTimeValue sets AlmanacReferenceTime from a physical value in s, rounded to the nearest wire tick of 4096.
func (*GpsAlmanacData) SetArgumentOfPerigeeValue ¶
func (m *GpsAlmanacData) SetArgumentOfPerigeeValue(v float64)
SetArgumentOfPerigeeValue sets ArgumentOfPerigee from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.
func (*GpsAlmanacData) SetClockParameter1Value ¶
func (m *GpsAlmanacData) SetClockParameter1Value(v float64)
SetClockParameter1Value sets ClockParameter1 from a physical value in s, rounded to the nearest wire tick of 9.53674e-07.
func (*GpsAlmanacData) SetClockParameter2Value ¶
func (m *GpsAlmanacData) SetClockParameter2Value(v float64)
SetClockParameter2Value sets ClockParameter2 from a physical value in s/s, rounded to the nearest wire tick of 3.63798e-12.
func (*GpsAlmanacData) SetEccentricityValue ¶
func (m *GpsAlmanacData) SetEccentricityValue(v float64)
SetEccentricityValue sets Eccentricity from a physical value in m/m, rounded to the nearest wire tick of 4.76837e-07.
func (*GpsAlmanacData) SetInclinationAngleValue ¶
func (m *GpsAlmanacData) SetInclinationAngleValue(v float64)
SetInclinationAngleValue sets InclinationAngle from a physical value in semi-circle, rounded to the nearest wire tick of 1.90735e-06.
func (*GpsAlmanacData) SetLongitudeOfAscensionNodeValue ¶
func (m *GpsAlmanacData) SetLongitudeOfAscensionNodeValue(v float64)
SetLongitudeOfAscensionNodeValue sets LongitudeOfAscensionNode from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.
func (*GpsAlmanacData) SetMeanAnomalyValue ¶
func (m *GpsAlmanacData) SetMeanAnomalyValue(v float64)
SetMeanAnomalyValue sets MeanAnomaly from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.
func (*GpsAlmanacData) SetMessageInfo ¶
func (m *GpsAlmanacData) SetMessageInfo(info MessageInfo)
func (*GpsAlmanacData) SetRateOfRightAscensionValue ¶
func (m *GpsAlmanacData) SetRateOfRightAscensionValue(v float64)
SetRateOfRightAscensionValue sets RateOfRightAscension from a physical value in semi-circle/s, rounded to the nearest wire tick of 3.63798e-12.
func (*GpsAlmanacData) SetRootOfSemiMajorAxisValue ¶
func (m *GpsAlmanacData) SetRootOfSemiMajorAxisValue(v float64)
SetRootOfSemiMajorAxisValue sets RootOfSemiMajorAxis from a physical value in sqrt(m), rounded to the nearest wire tick of 0.000488281.
type GroupFunctionConst ¶
type GroupFunctionConst uint8
const ( Request GroupFunctionConst = 0 Command GroupFunctionConst = 1 Acknowledge_4 GroupFunctionConst = 2 ReadFields GroupFunctionConst = 3 ReadFieldsReply GroupFunctionConst = 4 WriteFields GroupFunctionConst = 5 WriteFieldsReply GroupFunctionConst = 6 )
func (GroupFunctionConst) GoString ¶
func (e GroupFunctionConst) GoString() string
func (GroupFunctionConst) String ¶
func (e GroupFunctionConst) String() string
type HeadingTrackControl ¶
type HeadingTrackControl struct {
Info MessageInfo `json:"info"`
RudderLimitExceeded *uint64 `json:"rudderLimitExceeded,omitempty" n2k:"1"`
OffHeadingLimitExceeded *uint64 `json:"offHeadingLimitExceeded,omitempty" n2k:"2"`
OffTrackLimitExceeded *uint64 `json:"offTrackLimitExceeded,omitempty" n2k:"3"`
Override *uint64 `json:"override,omitempty" n2k:"4"`
SteeringMode *uint64 `json:"steeringMode,omitempty" n2k:"5"`
TurnMode *uint64 `json:"turnMode,omitempty" n2k:"6"`
HeadingReference *uint64 `json:"headingReference,omitempty" n2k:"7"`
CommandedRudderDirection *uint64 `json:"commandedRudderDirection,omitempty" n2k:"9"`
CommandedRudderAngle *int64 `json:"commandedRudderAngle,omitempty" n2k:"10"`
HeadingToSteerCourse *uint64 `json:"headingToSteerCourse,omitempty" n2k:"11"`
Track *uint64 `json:"track,omitempty" n2k:"12"`
RudderLimit *uint64 `json:"rudderLimit,omitempty" n2k:"13"`
OffHeadingLimit *uint64 `json:"offHeadingLimit,omitempty" n2k:"14"`
RadiusOfTurnOrder *int64 `json:"radiusOfTurnOrder,omitempty" n2k:"15"`
RateOfTurnOrder *int64 `json:"rateOfTurnOrder,omitempty" n2k:"16"`
OffTrackLimit *int64 `json:"offTrackLimit,omitempty" n2k:"17"`
VesselHeading *uint64 `json:"vesselHeading,omitempty" n2k:"18"`
}
func (*HeadingTrackControl) CommandedRudderAngleValue ¶
func (m *HeadingTrackControl) CommandedRudderAngleValue() (float64, bool)
CommandedRudderAngleValue returns CommandedRudderAngle as a physical value in rad (value = raw * 0.0001). The bool is false when CommandedRudderAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) DecodePayload ¶
func (m *HeadingTrackControl) DecodePayload(payload []uint8) error
func (*HeadingTrackControl) EncodePayload ¶
func (m *HeadingTrackControl) EncodePayload() ([]uint8, error)
func (*HeadingTrackControl) HeadingToSteerCourseValue ¶
func (m *HeadingTrackControl) HeadingToSteerCourseValue() (float64, bool)
HeadingToSteerCourseValue returns HeadingToSteerCourse as a physical value in rad (value = raw * 0.0001). The bool is false when HeadingToSteerCourse is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) MessageInfo ¶
func (m *HeadingTrackControl) MessageInfo() MessageInfo
func (*HeadingTrackControl) OffHeadingLimitValue ¶
func (m *HeadingTrackControl) OffHeadingLimitValue() (float64, bool)
OffHeadingLimitValue returns OffHeadingLimit as a physical value in rad (value = raw * 0.0001). The bool is false when OffHeadingLimit is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) OffTrackLimitValue ¶
func (m *HeadingTrackControl) OffTrackLimitValue() (float64, bool)
OffTrackLimitValue returns OffTrackLimit as a physical value in m (value = raw). The bool is false when OffTrackLimit is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) PGNNumber ¶
func (m *HeadingTrackControl) PGNNumber() uint32
func (*HeadingTrackControl) RadiusOfTurnOrderValue ¶
func (m *HeadingTrackControl) RadiusOfTurnOrderValue() (float64, bool)
RadiusOfTurnOrderValue returns RadiusOfTurnOrder as a physical value in m (value = raw). The bool is false when RadiusOfTurnOrder is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) RateOfTurnOrderValue ¶
func (m *HeadingTrackControl) RateOfTurnOrderValue() (float64, bool)
RateOfTurnOrderValue returns RateOfTurnOrder as a physical value in rad/s (value = raw * 3.125e-05). The bool is false when RateOfTurnOrder is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) RudderLimitValue ¶
func (m *HeadingTrackControl) RudderLimitValue() (float64, bool)
RudderLimitValue returns RudderLimit as a physical value in rad (value = raw * 0.0001). The bool is false when RudderLimit is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) SetCommandedRudderAngleValue ¶
func (m *HeadingTrackControl) SetCommandedRudderAngleValue(v float64)
SetCommandedRudderAngleValue sets CommandedRudderAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) SetHeadingToSteerCourseValue ¶
func (m *HeadingTrackControl) SetHeadingToSteerCourseValue(v float64)
SetHeadingToSteerCourseValue sets HeadingToSteerCourse from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) SetMessageInfo ¶
func (m *HeadingTrackControl) SetMessageInfo(info MessageInfo)
func (*HeadingTrackControl) SetOffHeadingLimitValue ¶
func (m *HeadingTrackControl) SetOffHeadingLimitValue(v float64)
SetOffHeadingLimitValue sets OffHeadingLimit from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) SetOffTrackLimitValue ¶
func (m *HeadingTrackControl) SetOffTrackLimitValue(v float64)
SetOffTrackLimitValue sets OffTrackLimit from a physical value in m, rounded to the nearest wire tick of 1.
func (*HeadingTrackControl) SetRadiusOfTurnOrderValue ¶
func (m *HeadingTrackControl) SetRadiusOfTurnOrderValue(v float64)
SetRadiusOfTurnOrderValue sets RadiusOfTurnOrder from a physical value in m, rounded to the nearest wire tick of 1.
func (*HeadingTrackControl) SetRateOfTurnOrderValue ¶
func (m *HeadingTrackControl) SetRateOfTurnOrderValue(v float64)
SetRateOfTurnOrderValue sets RateOfTurnOrder from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-05.
func (*HeadingTrackControl) SetRudderLimitValue ¶
func (m *HeadingTrackControl) SetRudderLimitValue(v float64)
SetRudderLimitValue sets RudderLimit from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) SetTrackValue ¶
func (m *HeadingTrackControl) SetTrackValue(v float64)
SetTrackValue sets Track from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) SetVesselHeadingValue ¶
func (m *HeadingTrackControl) SetVesselHeadingValue(v float64)
SetVesselHeadingValue sets VesselHeading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*HeadingTrackControl) TrackValue ¶
func (m *HeadingTrackControl) TrackValue() (float64, bool)
TrackValue returns Track as a physical value in rad (value = raw * 0.0001). The bool is false when Track is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HeadingTrackControl) VesselHeadingValue ¶
func (m *HeadingTrackControl) VesselHeadingValue() (float64, bool)
VesselHeadingValue returns VesselHeading as a physical value in rad (value = raw * 0.0001). The bool is false when VesselHeading is nil: the wire carried the field's null sentinel or the payload ended before the field.
type Heartbeat ¶
type Heartbeat struct {
Info MessageInfo `json:"info"`
DataTransmitOffset *uint64 `json:"dataTransmitOffset,omitempty" n2k:"1"`
SequenceCounter *uint64 `json:"sequenceCounter,omitempty" n2k:"2"`
Controller1State *uint64 `json:"controller1State,omitempty" n2k:"3"`
Controller2State *uint64 `json:"controller2State,omitempty" n2k:"4"`
EquipmentStatus *uint64 `json:"equipmentStatus,omitempty" n2k:"5"`
}
func (*Heartbeat) DataTransmitOffsetValue ¶
DataTransmitOffsetValue returns DataTransmitOffset as a physical value in s (value = raw * 0.001). The bool is false when DataTransmitOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Heartbeat) DecodePayload ¶
func (*Heartbeat) EncodePayload ¶
func (*Heartbeat) MessageInfo ¶
func (m *Heartbeat) MessageInfo() MessageInfo
func (*Heartbeat) SetDataTransmitOffsetValue ¶
SetDataTransmitOffsetValue sets DataTransmitOffset from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*Heartbeat) SetMessageInfo ¶
func (m *Heartbeat) SetMessageInfo(info MessageInfo)
type Heave ¶
type Heave struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Heave *int64 `json:"heave,omitempty" n2k:"2"`
}
func (*Heave) DecodePayload ¶
func (*Heave) EncodePayload ¶
func (*Heave) HeaveValue ¶
HeaveValue returns Heave as a physical value in m (value = raw * 0.01). The bool is false when Heave is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Heave) MessageInfo ¶
func (m *Heave) MessageInfo() MessageInfo
func (*Heave) SetHeaveValue ¶
SetHeaveValue sets Heave from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*Heave) SetMessageInfo ¶
func (m *Heave) SetMessageInfo(info MessageInfo)
type HondaEngineAlerts ¶
type HondaEngineAlerts struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*HondaEngineAlerts) DecodePayload ¶
func (m *HondaEngineAlerts) DecodePayload(payload []uint8) error
func (*HondaEngineAlerts) EncodePayload ¶
func (m *HondaEngineAlerts) EncodePayload() ([]uint8, error)
func (*HondaEngineAlerts) MessageInfo ¶
func (m *HondaEngineAlerts) MessageInfo() MessageInfo
func (*HondaEngineAlerts) PGNNumber ¶
func (m *HondaEngineAlerts) PGNNumber() uint32
func (*HondaEngineAlerts) SetMessageInfo ¶
func (m *HondaEngineAlerts) SetMessageInfo(info MessageInfo)
type HondaEngineData ¶
type HondaEngineData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*HondaEngineData) DecodePayload ¶
func (m *HondaEngineData) DecodePayload(payload []uint8) error
func (*HondaEngineData) EncodePayload ¶
func (m *HondaEngineData) EncodePayload() ([]uint8, error)
func (*HondaEngineData) MessageInfo ¶
func (m *HondaEngineData) MessageInfo() MessageInfo
func (*HondaEngineData) PGNNumber ¶
func (m *HondaEngineData) PGNNumber() uint32
func (*HondaEngineData) SetMessageInfo ¶
func (m *HondaEngineData) SetMessageInfo(info MessageInfo)
type HondaEngineStatus ¶
type HondaEngineStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*HondaEngineStatus) DecodePayload ¶
func (m *HondaEngineStatus) DecodePayload(payload []uint8) error
func (*HondaEngineStatus) EncodePayload ¶
func (m *HondaEngineStatus) EncodePayload() ([]uint8, error)
func (*HondaEngineStatus) MessageInfo ¶
func (m *HondaEngineStatus) MessageInfo() MessageInfo
func (*HondaEngineStatus) PGNNumber ¶
func (m *HondaEngineStatus) PGNNumber() uint32
func (*HondaEngineStatus) SetMessageInfo ¶
func (m *HondaEngineStatus) SetMessageInfo(info MessageInfo)
type Humidity ¶
type Humidity struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
Source *uint64 `json:"source,omitempty" n2k:"3"`
ActualHumidity *int64 `json:"actualHumidity,omitempty" n2k:"4"`
SetHumidity *int64 `json:"setHumidity,omitempty" n2k:"5"`
}
func (*Humidity) ActualHumidityValue ¶
ActualHumidityValue returns ActualHumidity as a physical value in % (value = raw * 0.004). The bool is false when ActualHumidity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Humidity) DecodePayload ¶
func (*Humidity) EncodePayload ¶
func (*Humidity) MessageInfo ¶
func (m *Humidity) MessageInfo() MessageInfo
func (*Humidity) SetActualHumidityValue ¶
SetActualHumidityValue sets ActualHumidity from a physical value in %, rounded to the nearest wire tick of 0.004.
func (*Humidity) SetHumidityValue ¶
SetHumidityValue returns SetHumidity as a physical value in % (value = raw * 0.004). The bool is false when SetHumidity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Humidity) SetMessageInfo ¶
func (m *Humidity) SetMessageInfo(info MessageInfo)
func (*Humidity) SetSetHumidityValue ¶
SetSetHumidityValue sets SetHumidity from a physical value in %, rounded to the nearest wire tick of 0.004.
type HumiditySourceConst ¶
type HumiditySourceConst uint8
const ( Inside HumiditySourceConst = 0 Outside HumiditySourceConst = 1 )
func (HumiditySourceConst) GoString ¶
func (e HumiditySourceConst) GoString() string
func (HumiditySourceConst) String ¶
func (e HumiditySourceConst) String() string
type HvacStatus ¶
type HvacStatus struct {
Info MessageInfo `json:"info"`
HvacIdentifier *uint64 `json:"hvacIdentifier,omitempty" n2k:"1"`
Location *uint64 `json:"location,omitempty" n2k:"2"`
OperatingMode *uint64 `json:"operatingMode,omitempty" n2k:"3"`
ControlOperatingState *uint64 `json:"controlOperatingState,omitempty" n2k:"4"`
Power *uint64 `json:"power,omitempty" n2k:"5"`
FanSpeedModeChangeable *uint64 `json:"fanSpeedModeChangeable,omitempty" n2k:"6"`
FanSpeedMode *uint64 `json:"fanSpeedMode,omitempty" n2k:"7"`
FanOperationMode *uint64 `json:"fanOperationMode,omitempty" n2k:"8"`
FanSpeedAvailable *uint64 `json:"fanSpeedAvailable,omitempty" n2k:"9"`
FanSpeed *uint64 `json:"fanSpeed,omitempty" n2k:"10"`
SetpointType *uint64 `json:"setpointType,omitempty" n2k:"11"`
LowerTemperatureSetpoint *uint64 `json:"lowerTemperatureSetpoint,omitempty" n2k:"12"`
UpperTemperatureSetpoint *uint64 `json:"upperTemperatureSetpoint,omitempty" n2k:"13"`
LowerHumiditySetpoint *int64 `json:"lowerHumiditySetpoint,omitempty" n2k:"14"`
UpperHumiditySetpoint *int64 `json:"upperHumiditySetpoint,omitempty" n2k:"15"`
AuxiliaryHeatControlSupported *uint64 `json:"auxiliaryHeatControlSupported,omitempty" n2k:"16"`
AuxiliaryHeatAutomaticMode *uint64 `json:"auxiliaryHeatAutomaticMode,omitempty" n2k:"17"`
AuxiliaryHeatState *uint64 `json:"auxiliaryHeatState,omitempty" n2k:"18"`
CurrentTemperature *uint64 `json:"currentTemperature,omitempty" n2k:"19"`
CurrentHumidity *int64 `json:"currentHumidity,omitempty" n2k:"20"`
SupportedModes *uint64 `json:"supportedModes,omitempty" n2k:"21"`
SeaWaterTemperature *uint64 `json:"seaWaterTemperature,omitempty" n2k:"22"`
LoopTemperature *uint64 `json:"loopTemperature,omitempty" n2k:"23"`
EvaporatorTemperature *uint64 `json:"evaporatorTemperature,omitempty" n2k:"24"`
InletTemperature *uint64 `json:"inletTemperature,omitempty" n2k:"25"`
InletHumidity *int64 `json:"inletHumidity,omitempty" n2k:"26"`
}
func (*HvacStatus) CurrentTemperatureValue ¶
func (m *HvacStatus) CurrentTemperatureValue() (float64, bool)
CurrentTemperatureValue returns CurrentTemperature as a physical value in K (value = raw * 0.01). The bool is false when CurrentTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) DecodePayload ¶
func (m *HvacStatus) DecodePayload(payload []uint8) error
func (*HvacStatus) EncodePayload ¶
func (m *HvacStatus) EncodePayload() ([]uint8, error)
func (*HvacStatus) EvaporatorTemperatureValue ¶
func (m *HvacStatus) EvaporatorTemperatureValue() (float64, bool)
EvaporatorTemperatureValue returns EvaporatorTemperature as a physical value in K (value = raw * 0.01). The bool is false when EvaporatorTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) InletTemperatureValue ¶
func (m *HvacStatus) InletTemperatureValue() (float64, bool)
InletTemperatureValue returns InletTemperature as a physical value in K (value = raw * 0.01). The bool is false when InletTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) LoopTemperatureValue ¶
func (m *HvacStatus) LoopTemperatureValue() (float64, bool)
LoopTemperatureValue returns LoopTemperature as a physical value in K (value = raw * 0.01). The bool is false when LoopTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) LowerTemperatureSetpointValue ¶
func (m *HvacStatus) LowerTemperatureSetpointValue() (float64, bool)
LowerTemperatureSetpointValue returns LowerTemperatureSetpoint as a physical value in K (value = raw * 0.01). The bool is false when LowerTemperatureSetpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) MessageInfo ¶
func (m *HvacStatus) MessageInfo() MessageInfo
func (*HvacStatus) PGNNumber ¶
func (m *HvacStatus) PGNNumber() uint32
func (*HvacStatus) SeaWaterTemperatureValue ¶
func (m *HvacStatus) SeaWaterTemperatureValue() (float64, bool)
SeaWaterTemperatureValue returns SeaWaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when SeaWaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*HvacStatus) SetCurrentTemperatureValue ¶
func (m *HvacStatus) SetCurrentTemperatureValue(v float64)
SetCurrentTemperatureValue sets CurrentTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetEvaporatorTemperatureValue ¶
func (m *HvacStatus) SetEvaporatorTemperatureValue(v float64)
SetEvaporatorTemperatureValue sets EvaporatorTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetInletTemperatureValue ¶
func (m *HvacStatus) SetInletTemperatureValue(v float64)
SetInletTemperatureValue sets InletTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetLoopTemperatureValue ¶
func (m *HvacStatus) SetLoopTemperatureValue(v float64)
SetLoopTemperatureValue sets LoopTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetLowerTemperatureSetpointValue ¶
func (m *HvacStatus) SetLowerTemperatureSetpointValue(v float64)
SetLowerTemperatureSetpointValue sets LowerTemperatureSetpoint from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetMessageInfo ¶
func (m *HvacStatus) SetMessageInfo(info MessageInfo)
func (*HvacStatus) SetSeaWaterTemperatureValue ¶
func (m *HvacStatus) SetSeaWaterTemperatureValue(v float64)
SetSeaWaterTemperatureValue sets SeaWaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) SetUpperTemperatureSetpointValue ¶
func (m *HvacStatus) SetUpperTemperatureSetpointValue(v float64)
SetUpperTemperatureSetpointValue sets UpperTemperatureSetpoint from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*HvacStatus) UpperTemperatureSetpointValue ¶
func (m *HvacStatus) UpperTemperatureSetpointValue() (float64, bool)
UpperTemperatureSetpointValue returns UpperTemperatureSetpoint as a physical value in K (value = raw * 0.01). The bool is false when UpperTemperatureSetpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
type IndustryCodeConst ¶
type IndustryCodeConst uint8
const ( Global IndustryCodeConst = 0 Highway IndustryCodeConst = 1 Agriculture IndustryCodeConst = 2 Construction IndustryCodeConst = 3 Marine IndustryCodeConst = 4 Industrial IndustryCodeConst = 5 )
func (IndustryCodeConst) GoString ¶
func (e IndustryCodeConst) GoString() string
func (IndustryCodeConst) String ¶
func (e IndustryCodeConst) String() string
type InverterConfigurationStatus ¶
type InverterConfigurationStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
AcInstance *uint64 `json:"acInstance,omitempty" n2k:"2"`
DcInstance *uint64 `json:"dcInstance,omitempty" n2k:"3"`
InverterEnableDisable *uint64 `json:"inverterEnableDisable,omitempty" n2k:"4"`
InverterMode *uint64 `json:"inverterMode,omitempty" n2k:"5"`
LoadSenseEnableDisable *uint64 `json:"loadSenseEnableDisable,omitempty" n2k:"6"`
LoadSensePowerThreshold *uint64 `json:"loadSensePowerThreshold,omitempty" n2k:"7"`
LoadSenseInterval *uint64 `json:"loadSenseInterval,omitempty" n2k:"8"`
}
func (*InverterConfigurationStatus) DecodePayload ¶
func (m *InverterConfigurationStatus) DecodePayload(payload []uint8) error
func (*InverterConfigurationStatus) EncodePayload ¶
func (m *InverterConfigurationStatus) EncodePayload() ([]uint8, error)
func (*InverterConfigurationStatus) LoadSenseIntervalValue ¶
func (m *InverterConfigurationStatus) LoadSenseIntervalValue() (float64, bool)
LoadSenseIntervalValue returns LoadSenseInterval as a physical value in s (value = raw * 0.01). The bool is false when LoadSenseInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*InverterConfigurationStatus) LoadSensePowerThresholdValue ¶
func (m *InverterConfigurationStatus) LoadSensePowerThresholdValue() (float64, bool)
LoadSensePowerThresholdValue returns LoadSensePowerThreshold as a physical value in W (value = raw). The bool is false when LoadSensePowerThreshold is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*InverterConfigurationStatus) MessageInfo ¶
func (m *InverterConfigurationStatus) MessageInfo() MessageInfo
func (*InverterConfigurationStatus) PGNNumber ¶
func (m *InverterConfigurationStatus) PGNNumber() uint32
func (*InverterConfigurationStatus) SetLoadSenseIntervalValue ¶
func (m *InverterConfigurationStatus) SetLoadSenseIntervalValue(v float64)
SetLoadSenseIntervalValue sets LoadSenseInterval from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*InverterConfigurationStatus) SetLoadSensePowerThresholdValue ¶
func (m *InverterConfigurationStatus) SetLoadSensePowerThresholdValue(v float64)
SetLoadSensePowerThresholdValue sets LoadSensePowerThreshold from a physical value in W, rounded to the nearest wire tick of 1.
func (*InverterConfigurationStatus) SetMessageInfo ¶
func (m *InverterConfigurationStatus) SetMessageInfo(info MessageInfo)
type InverterStateConst ¶
type InverterStateConst uint8
const ( Invert InverterStateConst = 0 ACPassthru InverterStateConst = 1 LoadSense InverterStateConst = 2 Fault_4 InverterStateConst = 3 Disabled_4 InverterStateConst = 4 )
func (InverterStateConst) GoString ¶
func (e InverterStateConst) GoString() string
func (InverterStateConst) String ¶
func (e InverterStateConst) String() string
type InverterStatus ¶
type InverterStatus struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
AcInstance *uint64 `json:"acInstance,omitempty" n2k:"2"`
DcInstance *uint64 `json:"dcInstance,omitempty" n2k:"3"`
OperatingState *uint64 `json:"operatingState,omitempty" n2k:"4"`
InverterEnable *uint64 `json:"inverterEnable,omitempty" n2k:"5"`
}
func (*InverterStatus) DecodePayload ¶
func (m *InverterStatus) DecodePayload(payload []uint8) error
func (*InverterStatus) EncodePayload ¶
func (m *InverterStatus) EncodePayload() ([]uint8, error)
func (*InverterStatus) MessageInfo ¶
func (m *InverterStatus) MessageInfo() MessageInfo
func (*InverterStatus) PGNNumber ¶
func (m *InverterStatus) PGNNumber() uint32
func (*InverterStatus) SetMessageInfo ¶
func (m *InverterStatus) SetMessageInfo(info MessageInfo)
type IsoAcknowledgement ¶
type IsoAcknowledgement struct {
Info MessageInfo `json:"info"`
Control *uint64 `json:"control,omitempty" n2k:"1"`
GroupFunction *uint64 `json:"groupFunction,omitempty" n2k:"2"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"4"`
}
func (*IsoAcknowledgement) DecodePayload ¶
func (m *IsoAcknowledgement) DecodePayload(payload []uint8) error
func (*IsoAcknowledgement) EncodePayload ¶
func (m *IsoAcknowledgement) EncodePayload() ([]uint8, error)
func (*IsoAcknowledgement) MessageInfo ¶
func (m *IsoAcknowledgement) MessageInfo() MessageInfo
func (*IsoAcknowledgement) PGNNumber ¶
func (m *IsoAcknowledgement) PGNNumber() uint32
func (*IsoAcknowledgement) SetMessageInfo ¶
func (m *IsoAcknowledgement) SetMessageInfo(info MessageInfo)
type IsoAddressClaim ¶
type IsoAddressClaim struct {
Info MessageInfo `json:"info"`
UniqueNumber *uint64 `json:"uniqueNumber,omitempty" n2k:"1"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"2"`
DeviceInstanceLower *uint64 `json:"deviceInstanceLower,omitempty" n2k:"3"`
DeviceInstanceUpper *uint64 `json:"deviceInstanceUpper,omitempty" n2k:"4"`
DeviceFunction *uint64 `json:"deviceFunction,omitempty" n2k:"5"`
DeviceClass *uint64 `json:"deviceClass,omitempty" n2k:"7"`
SystemInstance *uint64 `json:"systemInstance,omitempty" n2k:"8"`
IndustryGroup *uint64 `json:"industryGroup,omitempty" n2k:"9"`
ArbitraryAddressCapable *uint64 `json:"arbitraryAddressCapable,omitempty" n2k:"10"`
}
func (*IsoAddressClaim) DecodePayload ¶
func (m *IsoAddressClaim) DecodePayload(payload []uint8) error
func (*IsoAddressClaim) EncodePayload ¶
func (m *IsoAddressClaim) EncodePayload() ([]uint8, error)
func (*IsoAddressClaim) MessageInfo ¶
func (m *IsoAddressClaim) MessageInfo() MessageInfo
func (*IsoAddressClaim) PGNNumber ¶
func (m *IsoAddressClaim) PGNNumber() uint32
func (*IsoAddressClaim) SetMessageInfo ¶
func (m *IsoAddressClaim) SetMessageInfo(info MessageInfo)
type IsoCommandConst ¶
type IsoCommandConst uint8
const ( ACK_2 IsoCommandConst = 0 RTS IsoCommandConst = 16 CTS IsoCommandConst = 17 EOM IsoCommandConst = 19 BAM IsoCommandConst = 32 Abort IsoCommandConst = 255 )
func (IsoCommandConst) GoString ¶
func (e IsoCommandConst) GoString() string
func (IsoCommandConst) String ¶
func (e IsoCommandConst) String() string
type IsoCommandedAddress ¶
type IsoCommandedAddress struct {
Info MessageInfo `json:"info"`
UniqueNumber []uint8 `json:"uniqueNumber,omitempty" n2k:"1"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"2"`
DeviceInstanceLower *uint64 `json:"deviceInstanceLower,omitempty" n2k:"3"`
DeviceInstanceUpper *uint64 `json:"deviceInstanceUpper,omitempty" n2k:"4"`
DeviceFunction *uint64 `json:"deviceFunction,omitempty" n2k:"5"`
DeviceClass *uint64 `json:"deviceClass,omitempty" n2k:"7"`
SystemInstance *uint64 `json:"systemInstance,omitempty" n2k:"8"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"9"`
NewSourceAddress *uint64 `json:"newSourceAddress,omitempty" n2k:"11"`
}
func (*IsoCommandedAddress) DecodePayload ¶
func (m *IsoCommandedAddress) DecodePayload(payload []uint8) error
func (*IsoCommandedAddress) EncodePayload ¶
func (m *IsoCommandedAddress) EncodePayload() ([]uint8, error)
func (*IsoCommandedAddress) MessageInfo ¶
func (m *IsoCommandedAddress) MessageInfo() MessageInfo
func (*IsoCommandedAddress) PGNNumber ¶
func (m *IsoCommandedAddress) PGNNumber() uint32
func (*IsoCommandedAddress) SetMessageInfo ¶
func (m *IsoCommandedAddress) SetMessageInfo(info MessageInfo)
type IsoControlConst ¶
type IsoControlConst uint8
const ( ACK IsoControlConst = 0 NAK IsoControlConst = 1 AccessDenied_3 IsoControlConst = 2 AddressBusy IsoControlConst = 3 )
func (IsoControlConst) GoString ¶
func (e IsoControlConst) GoString() string
func (IsoControlConst) String ¶
func (e IsoControlConst) String() string
type IsoRequest ¶
type IsoRequest struct {
Info MessageInfo `json:"info"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"1"`
}
func (*IsoRequest) DecodePayload ¶
func (m *IsoRequest) DecodePayload(payload []uint8) error
func (*IsoRequest) EncodePayload ¶
func (m *IsoRequest) EncodePayload() ([]uint8, error)
func (*IsoRequest) MessageInfo ¶
func (m *IsoRequest) MessageInfo() MessageInfo
func (*IsoRequest) PGNNumber ¶
func (m *IsoRequest) PGNNumber() uint32
func (*IsoRequest) SetMessageInfo ¶
func (m *IsoRequest) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolConnectionManagementAbort ¶
type IsoTransportProtocolConnectionManagementAbort struct {
Info MessageInfo `json:"info"`
GroupFunctionCode *uint64 `json:"groupFunctionCode,omitempty" n2k:"1"`
Reason []uint8 `json:"reason,omitempty" n2k:"2"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"4"`
}
func (*IsoTransportProtocolConnectionManagementAbort) DecodePayload ¶
func (m *IsoTransportProtocolConnectionManagementAbort) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolConnectionManagementAbort) EncodePayload ¶
func (m *IsoTransportProtocolConnectionManagementAbort) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolConnectionManagementAbort) MessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementAbort) MessageInfo() MessageInfo
func (*IsoTransportProtocolConnectionManagementAbort) PGNNumber ¶
func (m *IsoTransportProtocolConnectionManagementAbort) PGNNumber() uint32
func (*IsoTransportProtocolConnectionManagementAbort) SetMessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementAbort) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolConnectionManagementBroadcastAnnounce ¶
type IsoTransportProtocolConnectionManagementBroadcastAnnounce struct {
Info MessageInfo `json:"info"`
GroupFunctionCode *uint64 `json:"groupFunctionCode,omitempty" n2k:"1"`
MessageSize *uint64 `json:"messageSize,omitempty" n2k:"2"`
Packets *uint64 `json:"packets,omitempty" n2k:"3"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"5"`
}
func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) DecodePayload ¶
func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) EncodePayload ¶
func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) MessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) MessageInfo() MessageInfo
func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) PGNNumber ¶
func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) PGNNumber() uint32
func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) SetMessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementBroadcastAnnounce) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolConnectionManagementClearToSend ¶
type IsoTransportProtocolConnectionManagementClearToSend struct {
Info MessageInfo `json:"info"`
GroupFunctionCode *uint64 `json:"groupFunctionCode,omitempty" n2k:"1"`
MaxPackets *uint64 `json:"maxPackets,omitempty" n2k:"2"`
NextSid *uint64 `json:"nextSid,omitempty" n2k:"3"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"5"`
}
func (*IsoTransportProtocolConnectionManagementClearToSend) DecodePayload ¶
func (m *IsoTransportProtocolConnectionManagementClearToSend) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolConnectionManagementClearToSend) EncodePayload ¶
func (m *IsoTransportProtocolConnectionManagementClearToSend) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolConnectionManagementClearToSend) MessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementClearToSend) MessageInfo() MessageInfo
func (*IsoTransportProtocolConnectionManagementClearToSend) PGNNumber ¶
func (m *IsoTransportProtocolConnectionManagementClearToSend) PGNNumber() uint32
func (*IsoTransportProtocolConnectionManagementClearToSend) SetMessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementClearToSend) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolConnectionManagementEndOfMessage ¶
type IsoTransportProtocolConnectionManagementEndOfMessage struct {
Info MessageInfo `json:"info"`
GroupFunctionCode *uint64 `json:"groupFunctionCode,omitempty" n2k:"1"`
TotalMessageSize *uint64 `json:"totalMessageSize,omitempty" n2k:"2"`
TotalNumberOfFramesReceived *uint64 `json:"totalNumberOfFramesReceived,omitempty" n2k:"3"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"5"`
}
func (*IsoTransportProtocolConnectionManagementEndOfMessage) DecodePayload ¶
func (m *IsoTransportProtocolConnectionManagementEndOfMessage) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolConnectionManagementEndOfMessage) EncodePayload ¶
func (m *IsoTransportProtocolConnectionManagementEndOfMessage) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolConnectionManagementEndOfMessage) MessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementEndOfMessage) MessageInfo() MessageInfo
func (*IsoTransportProtocolConnectionManagementEndOfMessage) PGNNumber ¶
func (m *IsoTransportProtocolConnectionManagementEndOfMessage) PGNNumber() uint32
func (*IsoTransportProtocolConnectionManagementEndOfMessage) SetMessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementEndOfMessage) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolConnectionManagementRequestToSend ¶
type IsoTransportProtocolConnectionManagementRequestToSend struct {
Info MessageInfo `json:"info"`
GroupFunctionCode *uint64 `json:"groupFunctionCode,omitempty" n2k:"1"`
MessageSize *uint64 `json:"messageSize,omitempty" n2k:"2"`
Packets *uint64 `json:"packets,omitempty" n2k:"3"`
PacketsReply *uint64 `json:"packetsReply,omitempty" n2k:"4"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"5"`
}
func (*IsoTransportProtocolConnectionManagementRequestToSend) DecodePayload ¶
func (m *IsoTransportProtocolConnectionManagementRequestToSend) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolConnectionManagementRequestToSend) EncodePayload ¶
func (m *IsoTransportProtocolConnectionManagementRequestToSend) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolConnectionManagementRequestToSend) MessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementRequestToSend) MessageInfo() MessageInfo
func (*IsoTransportProtocolConnectionManagementRequestToSend) PGNNumber ¶
func (m *IsoTransportProtocolConnectionManagementRequestToSend) PGNNumber() uint32
func (*IsoTransportProtocolConnectionManagementRequestToSend) SetMessageInfo ¶
func (m *IsoTransportProtocolConnectionManagementRequestToSend) SetMessageInfo(info MessageInfo)
type IsoTransportProtocolDataTransfer ¶
type IsoTransportProtocolDataTransfer struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Data []uint8 `json:"data,omitempty" n2k:"2"`
}
func (*IsoTransportProtocolDataTransfer) DecodePayload ¶
func (m *IsoTransportProtocolDataTransfer) DecodePayload(payload []uint8) error
func (*IsoTransportProtocolDataTransfer) EncodePayload ¶
func (m *IsoTransportProtocolDataTransfer) EncodePayload() ([]uint8, error)
func (*IsoTransportProtocolDataTransfer) MessageInfo ¶
func (m *IsoTransportProtocolDataTransfer) MessageInfo() MessageInfo
func (*IsoTransportProtocolDataTransfer) PGNNumber ¶
func (m *IsoTransportProtocolDataTransfer) PGNNumber() uint32
func (*IsoTransportProtocolDataTransfer) SetMessageInfo ¶
func (m *IsoTransportProtocolDataTransfer) SetMessageInfo(info MessageInfo)
type Label ¶
type Label struct {
Info MessageInfo `json:"info"`
HardwareChannelId *uint64 `json:"hardwareChannelId,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
DataSourceInstanceFieldNumber *uint64 `json:"dataSourceInstanceFieldNumber,omitempty" n2k:"3"`
DataSourceInstanceValue *uint64 `json:"dataSourceInstanceValue,omitempty" n2k:"4"`
SecondaryEnumerationFieldNumber *uint64 `json:"secondaryEnumerationFieldNumber,omitempty" n2k:"5"`
SecondaryEnumerationFieldValue *uint64 `json:"secondaryEnumerationFieldValue,omitempty" n2k:"6"`
ParameterFieldNumber *uint64 `json:"parameterFieldNumber,omitempty" n2k:"7"`
Label string `json:"label,omitempty" n2k:"8"`
}
func (*Label) DecodePayload ¶
func (*Label) EncodePayload ¶
func (*Label) MessageInfo ¶
func (m *Label) MessageInfo() MessageInfo
func (*Label) SetMessageInfo ¶
func (m *Label) SetMessageInfo(info MessageInfo)
type LeewayAngle ¶
type LeewayAngle struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
LeewayAngle *int64 `json:"leewayAngle,omitempty" n2k:"2"`
}
func (*LeewayAngle) DecodePayload ¶
func (m *LeewayAngle) DecodePayload(payload []uint8) error
func (*LeewayAngle) EncodePayload ¶
func (m *LeewayAngle) EncodePayload() ([]uint8, error)
func (*LeewayAngle) LeewayAngleValue ¶
func (m *LeewayAngle) LeewayAngleValue() (float64, bool)
LeewayAngleValue returns LeewayAngle as a physical value in rad (value = raw * 0.0001). The bool is false when LeewayAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LeewayAngle) MessageInfo ¶
func (m *LeewayAngle) MessageInfo() MessageInfo
func (*LeewayAngle) PGNNumber ¶
func (m *LeewayAngle) PGNNumber() uint32
func (*LeewayAngle) SetLeewayAngleValue ¶
func (m *LeewayAngle) SetLeewayAngleValue(v float64)
SetLeewayAngleValue sets LeewayAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*LeewayAngle) SetMessageInfo ¶
func (m *LeewayAngle) SetMessageInfo(info MessageInfo)
type LibraryDataFile ¶
type LibraryDataFile struct {
Info MessageInfo `json:"info"`
Source *uint64 `json:"source,omitempty" n2k:"1"`
Number *uint64 `json:"number,omitempty" n2k:"2"`
Id *uint64 `json:"id,omitempty" n2k:"3"`
Type *uint64 `json:"type,omitempty" n2k:"4"`
Name string `json:"name,omitempty" n2k:"5"`
Track *uint64 `json:"track,omitempty" n2k:"6"`
Station *uint64 `json:"station,omitempty" n2k:"7"`
Favorite *uint64 `json:"favorite,omitempty" n2k:"8"`
RadioFrequency *uint64 `json:"radioFrequency,omitempty" n2k:"9"`
HdFrequency *uint64 `json:"hdFrequency,omitempty" n2k:"10"`
Zone *uint64 `json:"zone,omitempty" n2k:"11"`
InPlayQueue *uint64 `json:"inPlayQueue,omitempty" n2k:"12"`
Locked *uint64 `json:"locked,omitempty" n2k:"13"`
ArtistName string `json:"artistName,omitempty" n2k:"15"`
AlbumName string `json:"albumName,omitempty" n2k:"16"`
StationName string `json:"stationName,omitempty" n2k:"17"`
}
func (*LibraryDataFile) DecodePayload ¶
func (m *LibraryDataFile) DecodePayload(payload []uint8) error
func (*LibraryDataFile) EncodePayload ¶
func (m *LibraryDataFile) EncodePayload() ([]uint8, error)
func (*LibraryDataFile) MessageInfo ¶
func (m *LibraryDataFile) MessageInfo() MessageInfo
func (*LibraryDataFile) PGNNumber ¶
func (m *LibraryDataFile) PGNNumber() uint32
func (*LibraryDataFile) RadioFrequencyValue ¶
func (m *LibraryDataFile) RadioFrequencyValue() (float64, bool)
RadioFrequencyValue returns RadioFrequency as a physical value in Hz (value = raw * 10). The bool is false when RadioFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LibraryDataFile) SetMessageInfo ¶
func (m *LibraryDataFile) SetMessageInfo(info MessageInfo)
func (*LibraryDataFile) SetRadioFrequencyValue ¶
func (m *LibraryDataFile) SetRadioFrequencyValue(v float64)
SetRadioFrequencyValue sets RadioFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.
type LibraryDataGroup ¶
type LibraryDataGroup struct {
Info MessageInfo `json:"info"`
Source *uint64 `json:"source,omitempty" n2k:"1"`
Number *uint64 `json:"number,omitempty" n2k:"2"`
Type *uint64 `json:"type,omitempty" n2k:"3"`
Zone *uint64 `json:"zone,omitempty" n2k:"4"`
GroupId *uint64 `json:"groupId,omitempty" n2k:"5"`
IdOffset *uint64 `json:"idOffset,omitempty" n2k:"6"`
IdCount *uint64 `json:"idCount,omitempty" n2k:"7"`
TotalIdCount *uint64 `json:"totalIdCount,omitempty" n2k:"8"`
Artist string `json:"artist,omitempty" n2k:"12"`
Repeating1 []LibraryDataGroupRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*LibraryDataGroup) DecodePayload ¶
func (m *LibraryDataGroup) DecodePayload(payload []uint8) error
func (*LibraryDataGroup) EncodePayload ¶
func (m *LibraryDataGroup) EncodePayload() ([]uint8, error)
func (*LibraryDataGroup) MessageInfo ¶
func (m *LibraryDataGroup) MessageInfo() MessageInfo
func (*LibraryDataGroup) PGNNumber ¶
func (m *LibraryDataGroup) PGNNumber() uint32
func (*LibraryDataGroup) SetMessageInfo ¶
func (m *LibraryDataGroup) SetMessageInfo(info MessageInfo)
type LibraryDataSearch ¶
type LibraryDataSearch struct {
Info MessageInfo `json:"info"`
Source *uint64 `json:"source,omitempty" n2k:"1"`
Number *uint64 `json:"number,omitempty" n2k:"2"`
GroupId *uint64 `json:"groupId,omitempty" n2k:"3"`
GroupType1 *uint64 `json:"groupType1,omitempty" n2k:"4"`
GroupName1 string `json:"groupName1,omitempty" n2k:"5"`
GroupType2 *uint64 `json:"groupType2,omitempty" n2k:"6"`
GroupName2 string `json:"groupName2,omitempty" n2k:"7"`
GroupType3 *uint64 `json:"groupType3,omitempty" n2k:"8"`
GroupName3 string `json:"groupName3,omitempty" n2k:"9"`
}
func (*LibraryDataSearch) DecodePayload ¶
func (m *LibraryDataSearch) DecodePayload(payload []uint8) error
func (*LibraryDataSearch) EncodePayload ¶
func (m *LibraryDataSearch) EncodePayload() ([]uint8, error)
func (*LibraryDataSearch) MessageInfo ¶
func (m *LibraryDataSearch) MessageInfo() MessageInfo
func (*LibraryDataSearch) PGNNumber ¶
func (m *LibraryDataSearch) PGNNumber() uint32
func (*LibraryDataSearch) SetMessageInfo ¶
func (m *LibraryDataSearch) SetMessageInfo(info MessageInfo)
type LightingColorSequence ¶
type LightingColorSequence struct {
Info MessageInfo `json:"info"`
SequenceIndex *uint64 `json:"sequenceIndex,omitempty" n2k:"1"`
ColorCount *uint64 `json:"colorCount,omitempty" n2k:"2"`
Repeating1 []LightingColorSequenceRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*LightingColorSequence) DecodePayload ¶
func (m *LightingColorSequence) DecodePayload(payload []uint8) error
func (*LightingColorSequence) EncodePayload ¶
func (m *LightingColorSequence) EncodePayload() ([]uint8, error)
func (*LightingColorSequence) MessageInfo ¶
func (m *LightingColorSequence) MessageInfo() MessageInfo
func (*LightingColorSequence) PGNNumber ¶
func (m *LightingColorSequence) PGNNumber() uint32
func (*LightingColorSequence) SetMessageInfo ¶
func (m *LightingColorSequence) SetMessageInfo(info MessageInfo)
type LightingColorSequenceRepeating1 ¶
type LightingColorSequenceRepeating1 struct {
ColorIndex *uint64 `json:"colorIndex,omitempty" n2k:"3"`
RedComponent *uint64 `json:"redComponent,omitempty" n2k:"4"`
GreenComponent *uint64 `json:"greenComponent,omitempty" n2k:"5"`
BlueComponent *uint64 `json:"blueComponent,omitempty" n2k:"6"`
ColorTemperature *uint64 `json:"colorTemperature,omitempty" n2k:"7"`
Intensity *uint64 `json:"intensity,omitempty" n2k:"8"`
}
type LightingCommandConst ¶
type LightingCommandConst uint8
const ( Idle LightingCommandConst = 0 DetectDevices LightingCommandConst = 1 Reboot LightingCommandConst = 2 FactoryReset LightingCommandConst = 3 PoweringUp LightingCommandConst = 4 )
func (LightingCommandConst) GoString ¶
func (e LightingCommandConst) GoString() string
func (LightingCommandConst) String ¶
func (e LightingCommandConst) String() string
type LightingDevice ¶
type LightingDevice struct {
Info MessageInfo `json:"info"`
DeviceId *uint64 `json:"deviceId,omitempty" n2k:"1"`
DeviceCapabilities *uint64 `json:"deviceCapabilities,omitempty" n2k:"2"`
ColorCapabilities *uint64 `json:"colorCapabilities,omitempty" n2k:"3"`
ZoneIndex *uint64 `json:"zoneIndex,omitempty" n2k:"4"`
NameOfLightingDevice string `json:"nameOfLightingDevice,omitempty" n2k:"5"`
Status *uint64 `json:"status,omitempty" n2k:"6"`
RedComponent *uint64 `json:"redComponent,omitempty" n2k:"7"`
GreenComponent *uint64 `json:"greenComponent,omitempty" n2k:"8"`
BlueComponent *uint64 `json:"blueComponent,omitempty" n2k:"9"`
ColorTemperature *uint64 `json:"colorTemperature,omitempty" n2k:"10"`
Intensity *uint64 `json:"intensity,omitempty" n2k:"11"`
ProgramId *uint64 `json:"programId,omitempty" n2k:"12"`
ProgramColorSequenceIndex *uint64 `json:"programColorSequenceIndex,omitempty" n2k:"13"`
ProgramIntensity *uint64 `json:"programIntensity,omitempty" n2k:"14"`
ProgramRate *uint64 `json:"programRate,omitempty" n2k:"15"`
ProgramColorSequenceRate *uint64 `json:"programColorSequenceRate,omitempty" n2k:"16"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"17"`
}
func (*LightingDevice) DecodePayload ¶
func (m *LightingDevice) DecodePayload(payload []uint8) error
func (*LightingDevice) EncodePayload ¶
func (m *LightingDevice) EncodePayload() ([]uint8, error)
func (*LightingDevice) MessageInfo ¶
func (m *LightingDevice) MessageInfo() MessageInfo
func (*LightingDevice) PGNNumber ¶
func (m *LightingDevice) PGNNumber() uint32
func (*LightingDevice) SetMessageInfo ¶
func (m *LightingDevice) SetMessageInfo(info MessageInfo)
type LightingDeviceEnumeration ¶
type LightingDeviceEnumeration struct {
Info MessageInfo `json:"info"`
IndexOfFirstDevice *uint64 `json:"indexOfFirstDevice,omitempty" n2k:"1"`
TotalNumberOfDevices *uint64 `json:"totalNumberOfDevices,omitempty" n2k:"2"`
NumberOfDevices *uint64 `json:"numberOfDevices,omitempty" n2k:"3"`
Repeating1 []LightingDeviceEnumerationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*LightingDeviceEnumeration) DecodePayload ¶
func (m *LightingDeviceEnumeration) DecodePayload(payload []uint8) error
func (*LightingDeviceEnumeration) EncodePayload ¶
func (m *LightingDeviceEnumeration) EncodePayload() ([]uint8, error)
func (*LightingDeviceEnumeration) MessageInfo ¶
func (m *LightingDeviceEnumeration) MessageInfo() MessageInfo
func (*LightingDeviceEnumeration) PGNNumber ¶
func (m *LightingDeviceEnumeration) PGNNumber() uint32
func (*LightingDeviceEnumeration) SetMessageInfo ¶
func (m *LightingDeviceEnumeration) SetMessageInfo(info MessageInfo)
type LightingProgram ¶
type LightingProgram struct {
Info MessageInfo `json:"info"`
ProgramId *uint64 `json:"programId,omitempty" n2k:"1"`
NameOfProgram string `json:"nameOfProgram,omitempty" n2k:"2"`
Description string `json:"description,omitempty" n2k:"3"`
ProgramCapabilities *uint64 `json:"programCapabilities,omitempty" n2k:"4"`
}
func (*LightingProgram) DecodePayload ¶
func (m *LightingProgram) DecodePayload(payload []uint8) error
func (*LightingProgram) EncodePayload ¶
func (m *LightingProgram) EncodePayload() ([]uint8, error)
func (*LightingProgram) MessageInfo ¶
func (m *LightingProgram) MessageInfo() MessageInfo
func (*LightingProgram) PGNNumber ¶
func (m *LightingProgram) PGNNumber() uint32
func (*LightingProgram) SetMessageInfo ¶
func (m *LightingProgram) SetMessageInfo(info MessageInfo)
type LightingScene ¶
type LightingScene struct {
Info MessageInfo `json:"info"`
SceneIndex *uint64 `json:"sceneIndex,omitempty" n2k:"1"`
ZoneName string `json:"zoneName,omitempty" n2k:"2"`
Control *uint64 `json:"control,omitempty" n2k:"3"`
ConfigurationCount *uint64 `json:"configurationCount,omitempty" n2k:"4"`
Repeating1 []LightingSceneRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*LightingScene) DecodePayload ¶
func (m *LightingScene) DecodePayload(payload []uint8) error
func (*LightingScene) EncodePayload ¶
func (m *LightingScene) EncodePayload() ([]uint8, error)
func (*LightingScene) MessageInfo ¶
func (m *LightingScene) MessageInfo() MessageInfo
func (*LightingScene) PGNNumber ¶
func (m *LightingScene) PGNNumber() uint32
func (*LightingScene) SetMessageInfo ¶
func (m *LightingScene) SetMessageInfo(info MessageInfo)
type LightingSceneRepeating1 ¶
type LightingSceneRepeating1 struct {
ConfigurationIndex *uint64 `json:"configurationIndex,omitempty" n2k:"5"`
ZoneIndex *uint64 `json:"zoneIndex,omitempty" n2k:"6"`
DevicesId *uint64 `json:"devicesId,omitempty" n2k:"7"`
ProgramIndex *uint64 `json:"programIndex,omitempty" n2k:"8"`
ProgramColorSequenceIndex *uint64 `json:"programColorSequenceIndex,omitempty" n2k:"9"`
ProgramIntensity *uint64 `json:"programIntensity,omitempty" n2k:"10"`
ProgramRate *uint64 `json:"programRate,omitempty" n2k:"11"`
ProgramColorSequenceRate *uint64 `json:"programColorSequenceRate,omitempty" n2k:"12"`
}
type LightingSystemSettings ¶
type LightingSystemSettings struct {
Info MessageInfo `json:"info"`
GlobalEnable *uint64 `json:"globalEnable,omitempty" n2k:"1"`
DefaultSettingsCommand *uint64 `json:"defaultSettingsCommand,omitempty" n2k:"2"`
NameOfTheLightingController string `json:"nameOfTheLightingController,omitempty" n2k:"4"`
MaxScenes *uint64 `json:"maxScenes,omitempty" n2k:"5"`
MaxSceneConfigurationCount *uint64 `json:"maxSceneConfigurationCount,omitempty" n2k:"6"`
MaxZones *uint64 `json:"maxZones,omitempty" n2k:"7"`
MaxColorSequences *uint64 `json:"maxColorSequences,omitempty" n2k:"8"`
MaxColorSequenceColorCount *uint64 `json:"maxColorSequenceColorCount,omitempty" n2k:"9"`
NumberOfPrograms *uint64 `json:"numberOfPrograms,omitempty" n2k:"10"`
ControllerCapabilities *uint64 `json:"controllerCapabilities,omitempty" n2k:"11"`
IdentifyDevice *uint64 `json:"identifyDevice,omitempty" n2k:"12"`
}
func (*LightingSystemSettings) DecodePayload ¶
func (m *LightingSystemSettings) DecodePayload(payload []uint8) error
func (*LightingSystemSettings) EncodePayload ¶
func (m *LightingSystemSettings) EncodePayload() ([]uint8, error)
func (*LightingSystemSettings) MessageInfo ¶
func (m *LightingSystemSettings) MessageInfo() MessageInfo
func (*LightingSystemSettings) PGNNumber ¶
func (m *LightingSystemSettings) PGNNumber() uint32
func (*LightingSystemSettings) SetMessageInfo ¶
func (m *LightingSystemSettings) SetMessageInfo(info MessageInfo)
type LightingZone ¶
type LightingZone struct {
Info MessageInfo `json:"info"`
ZoneIndex *uint64 `json:"zoneIndex,omitempty" n2k:"1"`
ZoneName string `json:"zoneName,omitempty" n2k:"2"`
RedComponent *uint64 `json:"redComponent,omitempty" n2k:"3"`
GreenComponent *uint64 `json:"greenComponent,omitempty" n2k:"4"`
BlueComponent *uint64 `json:"blueComponent,omitempty" n2k:"5"`
ColorTemperature *uint64 `json:"colorTemperature,omitempty" n2k:"6"`
Intensity *uint64 `json:"intensity,omitempty" n2k:"7"`
ProgramId *uint64 `json:"programId,omitempty" n2k:"8"`
ProgramColorSequenceIndex *uint64 `json:"programColorSequenceIndex,omitempty" n2k:"9"`
ProgramIntensity *uint64 `json:"programIntensity,omitempty" n2k:"10"`
ProgramRate *uint64 `json:"programRate,omitempty" n2k:"11"`
ProgramColorSequence *uint64 `json:"programColorSequence,omitempty" n2k:"12"`
ZoneEnabled *uint64 `json:"zoneEnabled,omitempty" n2k:"13"`
}
func (*LightingZone) DecodePayload ¶
func (m *LightingZone) DecodePayload(payload []uint8) error
func (*LightingZone) EncodePayload ¶
func (m *LightingZone) EncodePayload() ([]uint8, error)
func (*LightingZone) MessageInfo ¶
func (m *LightingZone) MessageInfo() MessageInfo
func (*LightingZone) PGNNumber ¶
func (m *LightingZone) PGNNumber() uint32
func (*LightingZone) SetMessageInfo ¶
func (m *LightingZone) SetMessageInfo(info MessageInfo)
type LinearActuatorControlStatus ¶
type LinearActuatorControlStatus struct {
Info MessageInfo `json:"info"`
ActuatorIdentifier *uint64 `json:"actuatorIdentifier,omitempty" n2k:"1"`
CommandedDevicePosition *uint64 `json:"commandedDevicePosition,omitempty" n2k:"2"`
DevicePosition *uint64 `json:"devicePosition,omitempty" n2k:"3"`
MaximumDeviceTravel *uint64 `json:"maximumDeviceTravel,omitempty" n2k:"4"`
DirectionOfTravel *uint64 `json:"directionOfTravel,omitempty" n2k:"5"`
}
func (*LinearActuatorControlStatus) DecodePayload ¶
func (m *LinearActuatorControlStatus) DecodePayload(payload []uint8) error
func (*LinearActuatorControlStatus) EncodePayload ¶
func (m *LinearActuatorControlStatus) EncodePayload() ([]uint8, error)
func (*LinearActuatorControlStatus) MessageInfo ¶
func (m *LinearActuatorControlStatus) MessageInfo() MessageInfo
func (*LinearActuatorControlStatus) PGNNumber ¶
func (m *LinearActuatorControlStatus) PGNNumber() uint32
func (*LinearActuatorControlStatus) SetMessageInfo ¶
func (m *LinearActuatorControlStatus) SetMessageInfo(info MessageInfo)
type LoadControllerConnectionStateControl ¶
type LoadControllerConnectionStateControl struct {
Info MessageInfo `json:"info"`
SequenceId *uint64 `json:"sequenceId,omitempty" n2k:"1"`
ConnectionId *uint64 `json:"connectionId,omitempty" n2k:"2"`
State *uint64 `json:"state,omitempty" n2k:"3"`
Status *uint64 `json:"status,omitempty" n2k:"4"`
OperationalStatusControl *uint64 `json:"operationalStatusControl,omitempty" n2k:"5"`
PwmDutyCycle *uint64 `json:"pwmDutyCycle,omitempty" n2k:"6"`
Timeon *uint64 `json:"timeon,omitempty" n2k:"7"`
Timeoff *uint64 `json:"timeoff,omitempty" n2k:"8"`
}
func (*LoadControllerConnectionStateControl) DecodePayload ¶
func (m *LoadControllerConnectionStateControl) DecodePayload(payload []uint8) error
func (*LoadControllerConnectionStateControl) EncodePayload ¶
func (m *LoadControllerConnectionStateControl) EncodePayload() ([]uint8, error)
func (*LoadControllerConnectionStateControl) MessageInfo ¶
func (m *LoadControllerConnectionStateControl) MessageInfo() MessageInfo
func (*LoadControllerConnectionStateControl) PGNNumber ¶
func (m *LoadControllerConnectionStateControl) PGNNumber() uint32
func (*LoadControllerConnectionStateControl) SetMessageInfo ¶
func (m *LoadControllerConnectionStateControl) SetMessageInfo(info MessageInfo)
type LoranCRangeData ¶
type LoranCRangeData struct {
Info MessageInfo `json:"info"`
GroupRepetitionIntervalGri *int64 `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
MasterRange *int64 `json:"masterRange,omitempty" n2k:"2"`
VSecondaryRange *int64 `json:"vSecondaryRange,omitempty" n2k:"3"`
WSecondaryRange *int64 `json:"wSecondaryRange,omitempty" n2k:"4"`
XSecondaryRange *int64 `json:"xSecondaryRange,omitempty" n2k:"5"`
YSecondaryRange *int64 `json:"ySecondaryRange,omitempty" n2k:"6"`
ZSecondaryRange *int64 `json:"zSecondaryRange,omitempty" n2k:"7"`
StationStatusMaster *uint64 `json:"stationStatusMaster,omitempty" n2k:"8"`
StationStatusV *uint64 `json:"stationStatusV,omitempty" n2k:"9"`
StationStatusW *uint64 `json:"stationStatusW,omitempty" n2k:"10"`
StationStatusX *uint64 `json:"stationStatusX,omitempty" n2k:"11"`
StationStatusY *uint64 `json:"stationStatusY,omitempty" n2k:"12"`
StationStatusZ *uint64 `json:"stationStatusZ,omitempty" n2k:"13"`
Mode *uint64 `json:"mode,omitempty" n2k:"14"`
}
func (*LoranCRangeData) DecodePayload ¶
func (m *LoranCRangeData) DecodePayload(payload []uint8) error
func (*LoranCRangeData) EncodePayload ¶
func (m *LoranCRangeData) EncodePayload() ([]uint8, error)
func (*LoranCRangeData) GroupRepetitionIntervalGriValue ¶
func (m *LoranCRangeData) GroupRepetitionIntervalGriValue() (float64, bool)
GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false when GroupRepetitionIntervalGri is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) MasterRangeValue ¶
func (m *LoranCRangeData) MasterRangeValue() (float64, bool)
MasterRangeValue returns MasterRange as a physical value in s (value = raw * 1e-09). The bool is false when MasterRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) MessageInfo ¶
func (m *LoranCRangeData) MessageInfo() MessageInfo
func (*LoranCRangeData) PGNNumber ¶
func (m *LoranCRangeData) PGNNumber() uint32
func (*LoranCRangeData) SetGroupRepetitionIntervalGriValue ¶
func (m *LoranCRangeData) SetGroupRepetitionIntervalGriValue(v float64)
SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetMasterRangeValue ¶
func (m *LoranCRangeData) SetMasterRangeValue(v float64)
SetMasterRangeValue sets MasterRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetMessageInfo ¶
func (m *LoranCRangeData) SetMessageInfo(info MessageInfo)
func (*LoranCRangeData) SetVSecondaryRangeValue ¶
func (m *LoranCRangeData) SetVSecondaryRangeValue(v float64)
SetVSecondaryRangeValue sets VSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetWSecondaryRangeValue ¶
func (m *LoranCRangeData) SetWSecondaryRangeValue(v float64)
SetWSecondaryRangeValue sets WSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetXSecondaryRangeValue ¶
func (m *LoranCRangeData) SetXSecondaryRangeValue(v float64)
SetXSecondaryRangeValue sets XSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetYSecondaryRangeValue ¶
func (m *LoranCRangeData) SetYSecondaryRangeValue(v float64)
SetYSecondaryRangeValue sets YSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) SetZSecondaryRangeValue ¶
func (m *LoranCRangeData) SetZSecondaryRangeValue(v float64)
SetZSecondaryRangeValue sets ZSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCRangeData) VSecondaryRangeValue ¶
func (m *LoranCRangeData) VSecondaryRangeValue() (float64, bool)
VSecondaryRangeValue returns VSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false when VSecondaryRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) WSecondaryRangeValue ¶
func (m *LoranCRangeData) WSecondaryRangeValue() (float64, bool)
WSecondaryRangeValue returns WSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false when WSecondaryRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) XSecondaryRangeValue ¶
func (m *LoranCRangeData) XSecondaryRangeValue() (float64, bool)
XSecondaryRangeValue returns XSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false when XSecondaryRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) YSecondaryRangeValue ¶
func (m *LoranCRangeData) YSecondaryRangeValue() (float64, bool)
YSecondaryRangeValue returns YSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false when YSecondaryRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCRangeData) ZSecondaryRangeValue ¶
func (m *LoranCRangeData) ZSecondaryRangeValue() (float64, bool)
ZSecondaryRangeValue returns ZSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false when ZSecondaryRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
type LoranCSignalData ¶
type LoranCSignalData struct {
Info MessageInfo `json:"info"`
GroupRepetitionIntervalGri *int64 `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
StationIdentifier string `json:"stationIdentifier,omitempty" n2k:"2"`
StationSnr *int64 `json:"stationSnr,omitempty" n2k:"3"`
StationEcd *int64 `json:"stationEcd,omitempty" n2k:"4"`
StationAsf *int64 `json:"stationAsf,omitempty" n2k:"5"`
}
func (*LoranCSignalData) DecodePayload ¶
func (m *LoranCSignalData) DecodePayload(payload []uint8) error
func (*LoranCSignalData) EncodePayload ¶
func (m *LoranCSignalData) EncodePayload() ([]uint8, error)
func (*LoranCSignalData) GroupRepetitionIntervalGriValue ¶
func (m *LoranCSignalData) GroupRepetitionIntervalGriValue() (float64, bool)
GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false when GroupRepetitionIntervalGri is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCSignalData) MessageInfo ¶
func (m *LoranCSignalData) MessageInfo() MessageInfo
func (*LoranCSignalData) PGNNumber ¶
func (m *LoranCSignalData) PGNNumber() uint32
func (*LoranCSignalData) SetGroupRepetitionIntervalGriValue ¶
func (m *LoranCSignalData) SetGroupRepetitionIntervalGriValue(v float64)
SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCSignalData) SetMessageInfo ¶
func (m *LoranCSignalData) SetMessageInfo(info MessageInfo)
func (*LoranCSignalData) SetStationAsfValue ¶
func (m *LoranCSignalData) SetStationAsfValue(v float64)
SetStationAsfValue sets StationAsf from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCSignalData) SetStationEcdValue ¶
func (m *LoranCSignalData) SetStationEcdValue(v float64)
SetStationEcdValue sets StationEcd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCSignalData) SetStationSnrValue ¶
func (m *LoranCSignalData) SetStationSnrValue(v float64)
SetStationSnrValue sets StationSnr from a physical value in dB, rounded to the nearest wire tick of 0.01.
func (*LoranCSignalData) StationAsfValue ¶
func (m *LoranCSignalData) StationAsfValue() (float64, bool)
StationAsfValue returns StationAsf as a physical value in s (value = raw * 1e-09). The bool is false when StationAsf is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCSignalData) StationEcdValue ¶
func (m *LoranCSignalData) StationEcdValue() (float64, bool)
StationEcdValue returns StationEcd as a physical value in s (value = raw * 1e-09). The bool is false when StationEcd is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCSignalData) StationSnrValue ¶
func (m *LoranCSignalData) StationSnrValue() (float64, bool)
StationSnrValue returns StationSnr as a physical value in dB (value = raw * 0.01). The bool is false when StationSnr is nil: the wire carried the field's null sentinel or the payload ended before the field.
type LoranCTdData ¶
type LoranCTdData struct {
Info MessageInfo `json:"info"`
GroupRepetitionIntervalGri *int64 `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
MasterRange *int64 `json:"masterRange,omitempty" n2k:"2"`
VSecondaryTd *int64 `json:"vSecondaryTd,omitempty" n2k:"3"`
WSecondaryTd *int64 `json:"wSecondaryTd,omitempty" n2k:"4"`
XSecondaryTd *int64 `json:"xSecondaryTd,omitempty" n2k:"5"`
YSecondaryTd *int64 `json:"ySecondaryTd,omitempty" n2k:"6"`
ZSecondaryTd *int64 `json:"zSecondaryTd,omitempty" n2k:"7"`
StationStatusMaster *uint64 `json:"stationStatusMaster,omitempty" n2k:"8"`
StationStatusV *uint64 `json:"stationStatusV,omitempty" n2k:"9"`
StationStatusW *uint64 `json:"stationStatusW,omitempty" n2k:"10"`
StationStatusX *uint64 `json:"stationStatusX,omitempty" n2k:"11"`
StationStatusY *uint64 `json:"stationStatusY,omitempty" n2k:"12"`
StationStatusZ *uint64 `json:"stationStatusZ,omitempty" n2k:"13"`
Mode *uint64 `json:"mode,omitempty" n2k:"14"`
}
func (*LoranCTdData) DecodePayload ¶
func (m *LoranCTdData) DecodePayload(payload []uint8) error
func (*LoranCTdData) EncodePayload ¶
func (m *LoranCTdData) EncodePayload() ([]uint8, error)
func (*LoranCTdData) GroupRepetitionIntervalGriValue ¶
func (m *LoranCTdData) GroupRepetitionIntervalGriValue() (float64, bool)
GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false when GroupRepetitionIntervalGri is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) MasterRangeValue ¶
func (m *LoranCTdData) MasterRangeValue() (float64, bool)
MasterRangeValue returns MasterRange as a physical value in s (value = raw * 1e-09). The bool is false when MasterRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) MessageInfo ¶
func (m *LoranCTdData) MessageInfo() MessageInfo
func (*LoranCTdData) PGNNumber ¶
func (m *LoranCTdData) PGNNumber() uint32
func (*LoranCTdData) SetGroupRepetitionIntervalGriValue ¶
func (m *LoranCTdData) SetGroupRepetitionIntervalGriValue(v float64)
SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetMasterRangeValue ¶
func (m *LoranCTdData) SetMasterRangeValue(v float64)
SetMasterRangeValue sets MasterRange from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetMessageInfo ¶
func (m *LoranCTdData) SetMessageInfo(info MessageInfo)
func (*LoranCTdData) SetVSecondaryTdValue ¶
func (m *LoranCTdData) SetVSecondaryTdValue(v float64)
SetVSecondaryTdValue sets VSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetWSecondaryTdValue ¶
func (m *LoranCTdData) SetWSecondaryTdValue(v float64)
SetWSecondaryTdValue sets WSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetXSecondaryTdValue ¶
func (m *LoranCTdData) SetXSecondaryTdValue(v float64)
SetXSecondaryTdValue sets XSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetYSecondaryTdValue ¶
func (m *LoranCTdData) SetYSecondaryTdValue(v float64)
SetYSecondaryTdValue sets YSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) SetZSecondaryTdValue ¶
func (m *LoranCTdData) SetZSecondaryTdValue(v float64)
SetZSecondaryTdValue sets ZSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.
func (*LoranCTdData) VSecondaryTdValue ¶
func (m *LoranCTdData) VSecondaryTdValue() (float64, bool)
VSecondaryTdValue returns VSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false when VSecondaryTd is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) WSecondaryTdValue ¶
func (m *LoranCTdData) WSecondaryTdValue() (float64, bool)
WSecondaryTdValue returns WSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false when WSecondaryTd is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) XSecondaryTdValue ¶
func (m *LoranCTdData) XSecondaryTdValue() (float64, bool)
XSecondaryTdValue returns XSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false when XSecondaryTd is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) YSecondaryTdValue ¶
func (m *LoranCTdData) YSecondaryTdValue() (float64, bool)
YSecondaryTdValue returns YSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false when YSecondaryTd is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LoranCTdData) ZSecondaryTdValue ¶
func (m *LoranCTdData) ZSecondaryTdValue() (float64, bool)
ZSecondaryTdValue returns ZSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false when ZSecondaryTd is nil: the wire carried the field's null sentinel or the payload ended before the field.
type LowBatteryConst ¶
type LowBatteryConst uint8
const ( Good LowBatteryConst = 0 Low_2 LowBatteryConst = 1 )
func (LowBatteryConst) GoString ¶
func (e LowBatteryConst) GoString() string
func (LowBatteryConst) String ¶
func (e LowBatteryConst) String() string
type LowranceGpsConfiguration ¶
type LowranceGpsConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
A *uint64 `json:"a,omitempty" n2k:"4"`
B *uint64 `json:"b,omitempty" n2k:"5"`
C *uint64 `json:"c,omitempty" n2k:"6"`
D *uint64 `json:"d,omitempty" n2k:"7"`
E *uint64 `json:"e,omitempty" n2k:"9"`
F *uint64 `json:"f,omitempty" n2k:"10"`
G *uint64 `json:"g,omitempty" n2k:"11"`
H *uint64 `json:"h,omitempty" n2k:"13"`
I *uint64 `json:"i,omitempty" n2k:"14"`
}
func (*LowranceGpsConfiguration) DecodePayload ¶
func (m *LowranceGpsConfiguration) DecodePayload(payload []uint8) error
func (*LowranceGpsConfiguration) EncodePayload ¶
func (m *LowranceGpsConfiguration) EncodePayload() ([]uint8, error)
func (*LowranceGpsConfiguration) MessageInfo ¶
func (m *LowranceGpsConfiguration) MessageInfo() MessageInfo
func (*LowranceGpsConfiguration) PGNNumber ¶
func (m *LowranceGpsConfiguration) PGNNumber() uint32
func (*LowranceGpsConfiguration) SetMessageInfo ¶
func (m *LowranceGpsConfiguration) SetMessageInfo(info MessageInfo)
type LowranceProductInformation ¶
type LowranceProductInformation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProductCode *uint64 `json:"productCode,omitempty" n2k:"4"`
Model string `json:"model,omitempty" n2k:"5"`
A *uint64 `json:"a,omitempty" n2k:"6"`
B *uint64 `json:"b,omitempty" n2k:"7"`
C *uint64 `json:"c,omitempty" n2k:"8"`
FirmwareVersion string `json:"firmwareVersion,omitempty" n2k:"9"`
FirmwareDate string `json:"firmwareDate,omitempty" n2k:"10"`
FirmwareTime string `json:"firmwareTime,omitempty" n2k:"11"`
}
func (*LowranceProductInformation) DecodePayload ¶
func (m *LowranceProductInformation) DecodePayload(payload []uint8) error
func (*LowranceProductInformation) EncodePayload ¶
func (m *LowranceProductInformation) EncodePayload() ([]uint8, error)
func (*LowranceProductInformation) MessageInfo ¶
func (m *LowranceProductInformation) MessageInfo() MessageInfo
func (*LowranceProductInformation) PGNNumber ¶
func (m *LowranceProductInformation) PGNNumber() uint32
func (*LowranceProductInformation) SetMessageInfo ¶
func (m *LowranceProductInformation) SetMessageInfo(info MessageInfo)
type LowranceTemperature ¶
type LowranceTemperature struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
TemperatureSource *uint64 `json:"temperatureSource,omitempty" n2k:"4"`
ActualTemperature *uint64 `json:"actualTemperature,omitempty" n2k:"5"`
}
func (*LowranceTemperature) ActualTemperatureValue ¶
func (m *LowranceTemperature) ActualTemperatureValue() (float64, bool)
ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.01). The bool is false when ActualTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*LowranceTemperature) DecodePayload ¶
func (m *LowranceTemperature) DecodePayload(payload []uint8) error
func (*LowranceTemperature) EncodePayload ¶
func (m *LowranceTemperature) EncodePayload() ([]uint8, error)
func (*LowranceTemperature) MessageInfo ¶
func (m *LowranceTemperature) MessageInfo() MessageInfo
func (*LowranceTemperature) PGNNumber ¶
func (m *LowranceTemperature) PGNNumber() uint32
func (*LowranceTemperature) SetActualTemperatureValue ¶
func (m *LowranceTemperature) SetActualTemperatureValue(v float64)
SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*LowranceTemperature) SetMessageInfo ¶
func (m *LowranceTemperature) SetMessageInfo(info MessageInfo)
type LowranceUnknown ¶
type LowranceUnknown struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
A *uint64 `json:"a,omitempty" n2k:"4"`
B *uint64 `json:"b,omitempty" n2k:"5"`
C *uint64 `json:"c,omitempty" n2k:"6"`
D *uint64 `json:"d,omitempty" n2k:"7"`
E *uint64 `json:"e,omitempty" n2k:"8"`
F *uint64 `json:"f,omitempty" n2k:"9"`
}
func (*LowranceUnknown) DecodePayload ¶
func (m *LowranceUnknown) DecodePayload(payload []uint8) error
func (*LowranceUnknown) EncodePayload ¶
func (m *LowranceUnknown) EncodePayload() ([]uint8, error)
func (*LowranceUnknown) MessageInfo ¶
func (m *LowranceUnknown) MessageInfo() MessageInfo
func (*LowranceUnknown) PGNNumber ¶
func (m *LowranceUnknown) PGNNumber() uint32
func (*LowranceUnknown) SetMessageInfo ¶
func (m *LowranceUnknown) SetMessageInfo(info MessageInfo)
type LowranceVesselSetupEngineAndTankConfiguration ¶
type LowranceVesselSetupEngineAndTankConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
NumberOfEngines *uint64 `json:"numberOfEngines,omitempty" n2k:"4"`
NumberOfFuelTanks *uint64 `json:"numberOfFuelTanks,omitempty" n2k:"5"`
TotalFuelCapacity *uint64 `json:"totalFuelCapacity,omitempty" n2k:"6"`
}
func (*LowranceVesselSetupEngineAndTankConfiguration) DecodePayload ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) DecodePayload(payload []uint8) error
func (*LowranceVesselSetupEngineAndTankConfiguration) EncodePayload ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
func (*LowranceVesselSetupEngineAndTankConfiguration) MessageInfo ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) MessageInfo() MessageInfo
func (*LowranceVesselSetupEngineAndTankConfiguration) PGNNumber ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) PGNNumber() uint32
func (*LowranceVesselSetupEngineAndTankConfiguration) SetMessageInfo ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
func (*LowranceVesselSetupEngineAndTankConfiguration) SetTotalFuelCapacityValue ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) SetTotalFuelCapacityValue(v float64)
SetTotalFuelCapacityValue sets TotalFuelCapacity from a physical value in L, rounded to the nearest wire tick of 0.1.
func (*LowranceVesselSetupEngineAndTankConfiguration) TotalFuelCapacityValue ¶
func (m *LowranceVesselSetupEngineAndTankConfiguration) TotalFuelCapacityValue() (float64, bool)
TotalFuelCapacityValue returns TotalFuelCapacity as a physical value in L (value = raw * 0.1). The bool is false when TotalFuelCapacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
type LowranceVesselSetupEngineAndTankConfigurationBroadcast ¶
type LowranceVesselSetupEngineAndTankConfigurationBroadcast struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
NumberOfEngines *uint64 `json:"numberOfEngines,omitempty" n2k:"4"`
NumberOfFuelTanks *uint64 `json:"numberOfFuelTanks,omitempty" n2k:"5"`
TotalFuelCapacity *uint64 `json:"totalFuelCapacity,omitempty" n2k:"6"`
}
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) DecodePayload ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) DecodePayload(payload []uint8) error
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) EncodePayload ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) EncodePayload() ([]uint8, error)
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) MessageInfo ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) MessageInfo() MessageInfo
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) PGNNumber ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) PGNNumber() uint32
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetMessageInfo ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetMessageInfo(info MessageInfo)
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetTotalFuelCapacityValue ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetTotalFuelCapacityValue(v float64)
SetTotalFuelCapacityValue sets TotalFuelCapacity from a physical value in L, rounded to the nearest wire tick of 0.1.
func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) TotalFuelCapacityValue ¶
func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) TotalFuelCapacityValue() (float64, bool)
TotalFuelCapacityValue returns TotalFuelCapacity as a physical value in L (value = raw * 0.1). The bool is false when TotalFuelCapacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
type LumishoreLightControl ¶
type LumishoreLightControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ZoneIndex *uint64 `json:"zoneIndex,omitempty" n2k:"4"`
Red *uint64 `json:"red,omitempty" n2k:"5"`
Green *uint64 `json:"green,omitempty" n2k:"6"`
Blue *uint64 `json:"blue,omitempty" n2k:"7"`
ColdWhite *uint64 `json:"coldWhite,omitempty" n2k:"8"`
WarmWhite *uint64 `json:"warmWhite,omitempty" n2k:"9"`
Intensity *uint64 `json:"intensity,omitempty" n2k:"10"`
OnOff *uint64 `json:"onOff,omitempty" n2k:"11"`
Status *uint64 `json:"status,omitempty" n2k:"12"`
}
func (*LumishoreLightControl) DecodePayload ¶
func (m *LumishoreLightControl) DecodePayload(payload []uint8) error
func (*LumishoreLightControl) EncodePayload ¶
func (m *LumishoreLightControl) EncodePayload() ([]uint8, error)
func (*LumishoreLightControl) MessageInfo ¶
func (m *LumishoreLightControl) MessageInfo() MessageInfo
func (*LumishoreLightControl) PGNNumber ¶
func (m *LumishoreLightControl) PGNNumber() uint32
func (*LumishoreLightControl) SetMessageInfo ¶
func (m *LumishoreLightControl) SetMessageInfo(info MessageInfo)
type LumishoreLightStatus ¶
type LumishoreLightStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ZoneIndex *uint64 `json:"zoneIndex,omitempty" n2k:"4"`
Red *uint64 `json:"red,omitempty" n2k:"5"`
Green *uint64 `json:"green,omitempty" n2k:"6"`
Blue *uint64 `json:"blue,omitempty" n2k:"7"`
ColdWhite *uint64 `json:"coldWhite,omitempty" n2k:"8"`
WarmWhite *uint64 `json:"warmWhite,omitempty" n2k:"9"`
}
func (*LumishoreLightStatus) DecodePayload ¶
func (m *LumishoreLightStatus) DecodePayload(payload []uint8) error
func (*LumishoreLightStatus) EncodePayload ¶
func (m *LumishoreLightStatus) EncodePayload() ([]uint8, error)
func (*LumishoreLightStatus) MessageInfo ¶
func (m *LumishoreLightStatus) MessageInfo() MessageInfo
func (*LumishoreLightStatus) PGNNumber ¶
func (m *LumishoreLightStatus) PGNNumber() uint32
func (*LumishoreLightStatus) SetMessageInfo ¶
func (m *LumishoreLightStatus) SetMessageInfo(info MessageInfo)
type LumishoreProprietary ¶
type LumishoreProprietary struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*LumishoreProprietary) DecodePayload ¶
func (m *LumishoreProprietary) DecodePayload(payload []uint8) error
func (*LumishoreProprietary) EncodePayload ¶
func (m *LumishoreProprietary) EncodePayload() ([]uint8, error)
func (*LumishoreProprietary) MessageInfo ¶
func (m *LumishoreProprietary) MessageInfo() MessageInfo
func (*LumishoreProprietary) PGNNumber ¶
func (m *LumishoreProprietary) PGNNumber() uint32
func (*LumishoreProprietary) SetMessageInfo ¶
func (m *LumishoreProprietary) SetMessageInfo(info MessageInfo)
type MagneticVariation ¶
type MagneticVariation struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Source *uint64 `json:"source,omitempty" n2k:"2"`
AgeOfService *uint64 `json:"ageOfService,omitempty" n2k:"4"`
Variation *int64 `json:"variation,omitempty" n2k:"5"`
}
func (*MagneticVariation) AgeOfServiceValue ¶
func (m *MagneticVariation) AgeOfServiceValue() (float64, bool)
AgeOfServiceValue returns AgeOfService as a physical value in d (value = raw). The bool is false when AgeOfService is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MagneticVariation) DecodePayload ¶
func (m *MagneticVariation) DecodePayload(payload []uint8) error
func (*MagneticVariation) EncodePayload ¶
func (m *MagneticVariation) EncodePayload() ([]uint8, error)
func (*MagneticVariation) MessageInfo ¶
func (m *MagneticVariation) MessageInfo() MessageInfo
func (*MagneticVariation) PGNNumber ¶
func (m *MagneticVariation) PGNNumber() uint32
func (*MagneticVariation) SetAgeOfServiceValue ¶
func (m *MagneticVariation) SetAgeOfServiceValue(v float64)
SetAgeOfServiceValue sets AgeOfService from a physical value in d, rounded to the nearest wire tick of 1.
func (*MagneticVariation) SetMessageInfo ¶
func (m *MagneticVariation) SetMessageInfo(info MessageInfo)
func (*MagneticVariation) SetVariationValue ¶
func (m *MagneticVariation) SetVariationValue(v float64)
SetVariationValue sets Variation from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*MagneticVariation) VariationValue ¶
func (m *MagneticVariation) VariationValue() (float64, bool)
VariationValue returns Variation as a physical value in rad (value = raw * 0.0001). The bool is false when Variation is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MagneticVariationConst ¶
type MagneticVariationConst uint8
const ( Manual MagneticVariationConst = 0 AutomaticChart MagneticVariationConst = 1 AutomaticTable MagneticVariationConst = 2 AutomaticCalculation MagneticVariationConst = 3 WMM2000 MagneticVariationConst = 4 WMM2005 MagneticVariationConst = 5 WMM2010 MagneticVariationConst = 6 WMM2015 MagneticVariationConst = 7 WMM2020 MagneticVariationConst = 8 )
func (MagneticVariationConst) GoString ¶
func (e MagneticVariationConst) GoString() string
func (MagneticVariationConst) String ¶
func (e MagneticVariationConst) String() string
type ManOverboardNotification ¶
type ManOverboardNotification struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
MobEmitterId *uint64 `json:"mobEmitterId,omitempty" n2k:"2"`
ManOverboardStatus *uint64 `json:"manOverboardStatus,omitempty" n2k:"3"`
ActivationTime *uint64 `json:"activationTime,omitempty" n2k:"5"`
PositionSource *uint64 `json:"positionSource,omitempty" n2k:"6"`
PositionDate *uint64 `json:"positionDate,omitempty" n2k:"8"`
PositionTime *uint64 `json:"positionTime,omitempty" n2k:"9"`
Latitude *int64 `json:"latitude,omitempty" n2k:"10"`
Longitude *int64 `json:"longitude,omitempty" n2k:"11"`
CogReference *uint64 `json:"cogReference,omitempty" n2k:"12"`
Cog *uint64 `json:"cog,omitempty" n2k:"14"`
Sog *uint64 `json:"sog,omitempty" n2k:"15"`
MmsiOfVesselOfOrigin *uint64 `json:"mmsiOfVesselOfOrigin,omitempty" n2k:"16"`
MobEmitterBatteryLowStatus *uint64 `json:"mobEmitterBatteryLowStatus,omitempty" n2k:"17"`
}
func (*ManOverboardNotification) ActivationTimeValue ¶
func (m *ManOverboardNotification) ActivationTimeValue() (float64, bool)
ActivationTimeValue returns ActivationTime as a physical value in s (value = raw * 0.0001). The bool is false when ActivationTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) CogValue ¶
func (m *ManOverboardNotification) CogValue() (float64, bool)
CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false when Cog is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) DecodePayload ¶
func (m *ManOverboardNotification) DecodePayload(payload []uint8) error
func (*ManOverboardNotification) EncodePayload ¶
func (m *ManOverboardNotification) EncodePayload() ([]uint8, error)
func (*ManOverboardNotification) LatitudeValue ¶
func (m *ManOverboardNotification) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) LongitudeValue ¶
func (m *ManOverboardNotification) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) MessageInfo ¶
func (m *ManOverboardNotification) MessageInfo() MessageInfo
func (*ManOverboardNotification) PGNNumber ¶
func (m *ManOverboardNotification) PGNNumber() uint32
func (*ManOverboardNotification) PositionDateValue ¶
func (m *ManOverboardNotification) PositionDateValue() (float64, bool)
PositionDateValue returns PositionDate as a physical value in d (value = raw). The bool is false when PositionDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) PositionTimeValue ¶
func (m *ManOverboardNotification) PositionTimeValue() (float64, bool)
PositionTimeValue returns PositionTime as a physical value in s (value = raw * 0.0001). The bool is false when PositionTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ManOverboardNotification) SetActivationTimeValue ¶
func (m *ManOverboardNotification) SetActivationTimeValue(v float64)
SetActivationTimeValue sets ActivationTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*ManOverboardNotification) SetCogValue ¶
func (m *ManOverboardNotification) SetCogValue(v float64)
SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*ManOverboardNotification) SetLatitudeValue ¶
func (m *ManOverboardNotification) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*ManOverboardNotification) SetLongitudeValue ¶
func (m *ManOverboardNotification) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*ManOverboardNotification) SetMessageInfo ¶
func (m *ManOverboardNotification) SetMessageInfo(info MessageInfo)
func (*ManOverboardNotification) SetPositionDateValue ¶
func (m *ManOverboardNotification) SetPositionDateValue(v float64)
SetPositionDateValue sets PositionDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*ManOverboardNotification) SetPositionTimeValue ¶
func (m *ManOverboardNotification) SetPositionTimeValue(v float64)
SetPositionTimeValue sets PositionTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*ManOverboardNotification) SetSogValue ¶
func (m *ManOverboardNotification) SetSogValue(v float64)
SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*ManOverboardNotification) SogValue ¶
func (m *ManOverboardNotification) SogValue() (float64, bool)
SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false when Sog is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ManufacturerCodeConst ¶
type ManufacturerCodeConst uint16
const ( ARKSEnterprisesInc ManufacturerCodeConst = 69 FWMurphyEnovationControls ManufacturerCodeConst = 78 TwinDisc ManufacturerCodeConst = 80 KohlerPowerSystems ManufacturerCodeConst = 85 HemisphereGPSInc ManufacturerCodeConst = 88 BEPMarine ManufacturerCodeConst = 116 Airmar ManufacturerCodeConst = 135 Maretron ManufacturerCodeConst = 137 Lowrance ManufacturerCodeConst = 140 MercuryMarine ManufacturerCodeConst = 144 NautibusElectronicGmbH ManufacturerCodeConst = 147 BlueWaterData ManufacturerCodeConst = 148 Westerbeke ManufacturerCodeConst = 154 OffshoreSystemsUKLtd ManufacturerCodeConst = 161 EvinrudeBRP ManufacturerCodeConst = 163 CPACSystemsAB ManufacturerCodeConst = 165 XantrexTechnologyInc ManufacturerCodeConst = 168 YanmarMarine ManufacturerCodeConst = 172 VolvoPenta ManufacturerCodeConst = 174 HondaMarine ManufacturerCodeConst = 175 CarlingTechnologiesIncMoritzAerospace ManufacturerCodeConst = 176 BeedeInstruments ManufacturerCodeConst = 185 FloscanInstrumentCoInc ManufacturerCodeConst = 192 Nobletec ManufacturerCodeConst = 193 MysticValleyCommunications ManufacturerCodeConst = 198 Actia ManufacturerCodeConst = 199 HondaMarine_2 ManufacturerCodeConst = 200 DisenosYTechnologia ManufacturerCodeConst = 201 DigitalSwitchingSystems ManufacturerCodeConst = 211 XintexAtena ManufacturerCodeConst = 215 EMMINETWORKSL ManufacturerCodeConst = 224 HondaMarine_3 ManufacturerCodeConst = 225 ZF ManufacturerCodeConst = 228 Garmin ManufacturerCodeConst = 229 YachtMonitoringSolutions ManufacturerCodeConst = 233 SailormadeMarineTelemetryTetraTechnologyLTD ManufacturerCodeConst = 235 Eride ManufacturerCodeConst = 243 HondaMarine_4 ManufacturerCodeConst = 250 HondaMotorCompanyLTD ManufacturerCodeConst = 257 Groco ManufacturerCodeConst = 272 Actisense ManufacturerCodeConst = 273 AmphenolLTWTechnology ManufacturerCodeConst = 274 HamiltonJet ManufacturerCodeConst = 283 SeaRecovery ManufacturerCodeConst = 285 CoelmoSRLItaly ManufacturerCodeConst = 286 BEPMarine_2 ManufacturerCodeConst = 295 EmpirBus ManufacturerCodeConst = 304 NovAtel ManufacturerCodeConst = 305 SleipnerMotorAS ManufacturerCodeConst = 306 MBWTechnologies ManufacturerCodeConst = 307 FischerPanda ManufacturerCodeConst = 311 ICOM ManufacturerCodeConst = 315 Qwerty ManufacturerCodeConst = 328 Dief ManufacturerCodeConst = 329 BöningAutomationstechnologieGmbHAndCoKG ManufacturerCodeConst = 341 KoreanMaritimeUniversity ManufacturerCodeConst = 345 ThraneAndThrane ManufacturerCodeConst = 351 Mastervolt ManufacturerCodeConst = 355 FischerPandaGenerators ManufacturerCodeConst = 356 VictronEnergy ManufacturerCodeConst = 358 RollsRoyceMarine ManufacturerCodeConst = 370 ElectronicDesign ManufacturerCodeConst = 373 NorthernLights ManufacturerCodeConst = 374 Glendinning ManufacturerCodeConst = 378 BAndG ManufacturerCodeConst = 381 Capi2 ManufacturerCodeConst = 394 BeyondMeasure ManufacturerCodeConst = 396 LivorsiMarine ManufacturerCodeConst = 400 Chetco ManufacturerCodeConst = 409 FusionElectronics ManufacturerCodeConst = 419 StandardHorizon ManufacturerCodeConst = 421 TrueHeadingAB ManufacturerCodeConst = 422 EgersundMarineElectronicsAS ManufacturerCodeConst = 426 EmTrakMarineElectronics ManufacturerCodeConst = 427 TohatsuCoJP ManufacturerCodeConst = 431 DigitalYacht ManufacturerCodeConst = 437 ComarSystemsLimited ManufacturerCodeConst = 438 Cummins ManufacturerCodeConst = 440 VDOAkaContinentalCorporation ManufacturerCodeConst = 443 ParkerHannifinAkaVillageMarineTech ManufacturerCodeConst = 451 AlltekMarineElectronicsCorp ManufacturerCodeConst = 459 SANGIORGIOSEIN ManufacturerCodeConst = 460 VeethreeElectronicsAndMarine ManufacturerCodeConst = 466 HumminbirdMarineElectronics ManufacturerCodeConst = 467 SITEXMarineElectronics ManufacturerCodeConst = 470 SeaCrossMarineAB ManufacturerCodeConst = 471 GMEAkaStandardCommunicationsPtyLTD ManufacturerCodeConst = 475 HumminbirdMarineElectronics_2 ManufacturerCodeConst = 476 OceanSatBV ManufacturerCodeConst = 478 ChetcoDigitialInstruments ManufacturerCodeConst = 481 Watcheye ManufacturerCodeConst = 493 LcjCapteurs ManufacturerCodeConst = 499 AttwoodMarine ManufacturerCodeConst = 502 VesperMarineLtd ManufacturerCodeConst = 504 MarinesoftCoLTD ManufacturerCodeConst = 510 NoLandEngineering ManufacturerCodeConst = 517 TransasUSA ManufacturerCodeConst = 518 NationalInstrumentsKorea ManufacturerCodeConst = 529 OnwaMarine ManufacturerCodeConst = 532 MarinecraftSouthKorea ManufacturerCodeConst = 571 McMurdoGroupAkaOroliaLTD ManufacturerCodeConst = 573 Advansea ManufacturerCodeConst = 578 KVH ManufacturerCodeConst = 579 SanJoseTechnology ManufacturerCodeConst = 580 YachtControl ManufacturerCodeConst = 583 SuzukiMotorCorporation ManufacturerCodeConst = 586 USCoastGuard ManufacturerCodeConst = 591 ShipModuleAkaCustomware ManufacturerCodeConst = 595 AquaticAV ManufacturerCodeConst = 600 AventicsGmbH ManufacturerCodeConst = 605 Intellian ManufacturerCodeConst = 606 SamwonIT ManufacturerCodeConst = 612 ArltTecnologies ManufacturerCodeConst = 614 BavariaYacts ManufacturerCodeConst = 637 DiverseYachtServices ManufacturerCodeConst = 641 WemaUSADbaKUS ManufacturerCodeConst = 644 Garmin_2 ManufacturerCodeConst = 645 ShenzhenJiuzhouHimunication ManufacturerCodeConst = 658 RockfordCorp ManufacturerCodeConst = 688 JLAudio ManufacturerCodeConst = 704 Autonnic ManufacturerCodeConst = 715 YachtDevices ManufacturerCodeConst = 717 REAPSystems ManufacturerCodeConst = 734 AuElectronicsGroup ManufacturerCodeConst = 735 DaeMyung ManufacturerCodeConst = 743 Woosung ManufacturerCodeConst = 744 ClarionUS ManufacturerCodeConst = 773 HMISystems ManufacturerCodeConst = 776 OceanSignal ManufacturerCodeConst = 777 Seekeeper ManufacturerCodeConst = 778 PolyPlanar ManufacturerCodeConst = 781 FischerPandaDE ManufacturerCodeConst = 785 BroydaIndustries ManufacturerCodeConst = 795 CanadianAutomotive ManufacturerCodeConst = 796 TidesMarine ManufacturerCodeConst = 797 Lumishore ManufacturerCodeConst = 798 StillWaterDesignsAndAudio ManufacturerCodeConst = 799 BJTechnologiesBeneteau ManufacturerCodeConst = 802 GillSensors ManufacturerCodeConst = 803 BlueWaterDesalination ManufacturerCodeConst = 811 FLIR ManufacturerCodeConst = 815 UndheimSystems ManufacturerCodeConst = 824 TeamSurv ManufacturerCodeConst = 838 FellMarine ManufacturerCodeConst = 844 Oceanvolt ManufacturerCodeConst = 847 Prospec ManufacturerCodeConst = 862 DataPanelCorp ManufacturerCodeConst = 868 L3Technologies ManufacturerCodeConst = 890 RhodanMarineSystems ManufacturerCodeConst = 894 NexfourSolutions ManufacturerCodeConst = 896 ASAElectronics ManufacturerCodeConst = 905 MarinesCoSouthKorea ManufacturerCodeConst = 909 NauticOn ManufacturerCodeConst = 911 Ecotronix ManufacturerCodeConst = 930 TimbolierIndustries ManufacturerCodeConst = 962 TJCMicro ManufacturerCodeConst = 963 CoxPowertrain ManufacturerCodeConst = 968 BlueSeas ManufacturerCodeConst = 969 TeleflexMarineSeaStarSolutions ManufacturerCodeConst = 1850 Raymarine ManufacturerCodeConst = 1851 JapanRadioCo ManufacturerCodeConst = 1853 NorthstarTechnologies ManufacturerCodeConst = 1854 Furuno ManufacturerCodeConst = 1855 Trimble ManufacturerCodeConst = 1856 Simrad ManufacturerCodeConst = 1857 Litton ManufacturerCodeConst = 1858 KvasarAB ManufacturerCodeConst = 1859 MMP ManufacturerCodeConst = 1860 VectorCantech ManufacturerCodeConst = 1861 YamahaMarine ManufacturerCodeConst = 1862 FariaInstruments ManufacturerCodeConst = 1863 )
func (ManufacturerCodeConst) GoString ¶
func (e ManufacturerCodeConst) GoString() string
func (ManufacturerCodeConst) String ¶
func (e ManufacturerCodeConst) String() string
type Maretron010V ¶
type Maretron010V struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DataInstance *uint64 `json:"dataInstance,omitempty" n2k:"5"`
Pgn010VData *uint64 `json:"010VData,omitempty" n2k:"6"`
}
func (*Maretron010V) DecodePayload ¶
func (m *Maretron010V) DecodePayload(payload []uint8) error
func (*Maretron010V) EncodePayload ¶
func (m *Maretron010V) EncodePayload() ([]uint8, error)
func (*Maretron010V) MessageInfo ¶
func (m *Maretron010V) MessageInfo() MessageInfo
func (*Maretron010V) PGNNumber ¶
func (m *Maretron010V) PGNNumber() uint32
func (*Maretron010V) Pgn010VDataValue ¶
func (m *Maretron010V) Pgn010VDataValue() (float64, bool)
Pgn010VDataValue returns Pgn010VData as a physical value (value = raw * 0.000244141). The bool is false when Pgn010VData is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Maretron010V) SetMessageInfo ¶
func (m *Maretron010V) SetMessageInfo(info MessageInfo)
func (*Maretron010V) SetPgn010VDataValue ¶
func (m *Maretron010V) SetPgn010VDataValue(v float64)
SetPgn010VDataValue sets Pgn010VData from a physical value, rounded to the nearest wire tick of 0.000244141.
type Maretron420Ma ¶
type Maretron420Ma struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DataInstance *uint64 `json:"dataInstance,omitempty" n2k:"5"`
Pgn420MaData *uint64 `json:"420MaData,omitempty" n2k:"6"`
}
func (*Maretron420Ma) DecodePayload ¶
func (m *Maretron420Ma) DecodePayload(payload []uint8) error
func (*Maretron420Ma) EncodePayload ¶
func (m *Maretron420Ma) EncodePayload() ([]uint8, error)
func (*Maretron420Ma) MessageInfo ¶
func (m *Maretron420Ma) MessageInfo() MessageInfo
func (*Maretron420Ma) PGNNumber ¶
func (m *Maretron420Ma) PGNNumber() uint32
func (*Maretron420Ma) SetMessageInfo ¶
func (m *Maretron420Ma) SetMessageInfo(info MessageInfo)
type MaretronAlertControl ¶
type MaretronAlertControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"4"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"5"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"6"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"7"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"8"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"10"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"11"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
MaretronExtension []uint8 `json:"maretronExtension,omitempty" n2k:"13"`
}
func (*MaretronAlertControl) DecodePayload ¶
func (m *MaretronAlertControl) DecodePayload(payload []uint8) error
func (*MaretronAlertControl) EncodePayload ¶
func (m *MaretronAlertControl) EncodePayload() ([]uint8, error)
func (*MaretronAlertControl) MessageInfo ¶
func (m *MaretronAlertControl) MessageInfo() MessageInfo
func (*MaretronAlertControl) PGNNumber ¶
func (m *MaretronAlertControl) PGNNumber() uint32
func (*MaretronAlertControl) SetMessageInfo ¶
func (m *MaretronAlertControl) SetMessageInfo(info MessageInfo)
type MaretronAlertResponse ¶
type MaretronAlertResponse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"4"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"5"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"6"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"7"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"8"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"10"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"11"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
AcknowledgeSourceNetworkIdName *uint64 `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"13"`
ResponseCommand *uint64 `json:"responseCommand,omitempty" n2k:"14"`
}
func (*MaretronAlertResponse) DecodePayload ¶
func (m *MaretronAlertResponse) DecodePayload(payload []uint8) error
func (*MaretronAlertResponse) EncodePayload ¶
func (m *MaretronAlertResponse) EncodePayload() ([]uint8, error)
func (*MaretronAlertResponse) MessageInfo ¶
func (m *MaretronAlertResponse) MessageInfo() MessageInfo
func (*MaretronAlertResponse) PGNNumber ¶
func (m *MaretronAlertResponse) PGNNumber() uint32
func (*MaretronAlertResponse) SetMessageInfo ¶
func (m *MaretronAlertResponse) SetMessageInfo(info MessageInfo)
type MaretronAlertText ¶
type MaretronAlertText struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"4"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"5"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"6"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"7"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"8"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"10"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"11"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
LanguageId *uint64 `json:"languageId,omitempty" n2k:"13"`
AlertTextDescription string `json:"alertTextDescription,omitempty" n2k:"14"`
AlertLocationTextDescription string `json:"alertLocationTextDescription,omitempty" n2k:"15"`
}
func (*MaretronAlertText) DecodePayload ¶
func (m *MaretronAlertText) DecodePayload(payload []uint8) error
func (*MaretronAlertText) EncodePayload ¶
func (m *MaretronAlertText) EncodePayload() ([]uint8, error)
func (*MaretronAlertText) MessageInfo ¶
func (m *MaretronAlertText) MessageInfo() MessageInfo
func (*MaretronAlertText) PGNNumber ¶
func (m *MaretronAlertText) PGNNumber() uint32
func (*MaretronAlertText) SetMessageInfo ¶
func (m *MaretronAlertText) SetMessageInfo(info MessageInfo)
type MaretronAlertTransmission ¶
type MaretronAlertTransmission struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlertType *uint64 `json:"alertType,omitempty" n2k:"4"`
AlertCategory *uint64 `json:"alertCategory,omitempty" n2k:"5"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"6"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"7"`
AlertId *uint64 `json:"alertId,omitempty" n2k:"8"`
DataSourceNetworkIdName *uint64 `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
DataSourceInstance *uint64 `json:"dataSourceInstance,omitempty" n2k:"10"`
DataSourceIndexSource *uint64 `json:"dataSourceIndexSource,omitempty" n2k:"11"`
AlertOccurrenceNumber *uint64 `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
MaretronExtension []uint8 `json:"maretronExtension,omitempty" n2k:"13"`
}
func (*MaretronAlertTransmission) DecodePayload ¶
func (m *MaretronAlertTransmission) DecodePayload(payload []uint8) error
func (*MaretronAlertTransmission) EncodePayload ¶
func (m *MaretronAlertTransmission) EncodePayload() ([]uint8, error)
func (*MaretronAlertTransmission) MessageInfo ¶
func (m *MaretronAlertTransmission) MessageInfo() MessageInfo
func (*MaretronAlertTransmission) PGNNumber ¶
func (m *MaretronAlertTransmission) PGNNumber() uint32
func (*MaretronAlertTransmission) SetMessageInfo ¶
func (m *MaretronAlertTransmission) SetMessageInfo(info MessageInfo)
type MaretronAnnunciator ¶
type MaretronAnnunciator struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Field4 *uint64 `json:"field4,omitempty" n2k:"4"`
Field5 *uint64 `json:"field5,omitempty" n2k:"5"`
Field6 *uint64 `json:"field6,omitempty" n2k:"6"`
Field7 *uint64 `json:"field7,omitempty" n2k:"7"`
Field8 *uint64 `json:"field8,omitempty" n2k:"8"`
}
func (*MaretronAnnunciator) DecodePayload ¶
func (m *MaretronAnnunciator) DecodePayload(payload []uint8) error
func (*MaretronAnnunciator) EncodePayload ¶
func (m *MaretronAnnunciator) EncodePayload() ([]uint8, error)
func (*MaretronAnnunciator) MessageInfo ¶
func (m *MaretronAnnunciator) MessageInfo() MessageInfo
func (*MaretronAnnunciator) PGNNumber ¶
func (m *MaretronAnnunciator) PGNNumber() uint32
func (*MaretronAnnunciator) SetMessageInfo ¶
func (m *MaretronAnnunciator) SetMessageInfo(info MessageInfo)
type MaretronAnnunciatorCapabilities ¶
type MaretronAnnunciatorCapabilities struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AnnunciatorInstance *uint64 `json:"annunciatorInstance,omitempty" n2k:"4"`
NumberOfTones *uint64 `json:"numberOfTones,omitempty" n2k:"5"`
Repeating1 []MaretronAnnunciatorCapabilitiesRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*MaretronAnnunciatorCapabilities) DecodePayload ¶
func (m *MaretronAnnunciatorCapabilities) DecodePayload(payload []uint8) error
func (*MaretronAnnunciatorCapabilities) EncodePayload ¶
func (m *MaretronAnnunciatorCapabilities) EncodePayload() ([]uint8, error)
func (*MaretronAnnunciatorCapabilities) MessageInfo ¶
func (m *MaretronAnnunciatorCapabilities) MessageInfo() MessageInfo
func (*MaretronAnnunciatorCapabilities) PGNNumber ¶
func (m *MaretronAnnunciatorCapabilities) PGNNumber() uint32
func (*MaretronAnnunciatorCapabilities) SetMessageInfo ¶
func (m *MaretronAnnunciatorCapabilities) SetMessageInfo(info MessageInfo)
type MaretronAnnunciatorCapabilitiesRepeating1 ¶
type MaretronAnnunciatorCapabilitiesRepeating1 struct {
Tone *uint64 `json:"tone,omitempty" n2k:"6"`
}
type MaretronAutomationFunctionMaster ¶
type MaretronAutomationFunctionMaster struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronAutomationFunctionMaster) DecodePayload ¶
func (m *MaretronAutomationFunctionMaster) DecodePayload(payload []uint8) error
func (*MaretronAutomationFunctionMaster) EncodePayload ¶
func (m *MaretronAutomationFunctionMaster) EncodePayload() ([]uint8, error)
func (*MaretronAutomationFunctionMaster) MessageInfo ¶
func (m *MaretronAutomationFunctionMaster) MessageInfo() MessageInfo
func (*MaretronAutomationFunctionMaster) PGNNumber ¶
func (m *MaretronAutomationFunctionMaster) PGNNumber() uint32
func (*MaretronAutomationFunctionMaster) SetMessageInfo ¶
func (m *MaretronAutomationFunctionMaster) SetMessageInfo(info MessageInfo)
type MaretronBatteryAmpHourRecord ¶
type MaretronBatteryAmpHourRecord struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronBatteryAmpHourRecord) DecodePayload ¶
func (m *MaretronBatteryAmpHourRecord) DecodePayload(payload []uint8) error
func (*MaretronBatteryAmpHourRecord) EncodePayload ¶
func (m *MaretronBatteryAmpHourRecord) EncodePayload() ([]uint8, error)
func (*MaretronBatteryAmpHourRecord) MessageInfo ¶
func (m *MaretronBatteryAmpHourRecord) MessageInfo() MessageInfo
func (*MaretronBatteryAmpHourRecord) PGNNumber ¶
func (m *MaretronBatteryAmpHourRecord) PGNNumber() uint32
func (*MaretronBatteryAmpHourRecord) SetMessageInfo ¶
func (m *MaretronBatteryAmpHourRecord) SetMessageInfo(info MessageInfo)
type MaretronBnwas ¶
type MaretronBnwas struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronBnwas) DecodePayload ¶
func (m *MaretronBnwas) DecodePayload(payload []uint8) error
func (*MaretronBnwas) EncodePayload ¶
func (m *MaretronBnwas) EncodePayload() ([]uint8, error)
func (*MaretronBnwas) MessageInfo ¶
func (m *MaretronBnwas) MessageInfo() MessageInfo
func (*MaretronBnwas) PGNNumber ¶
func (m *MaretronBnwas) PGNNumber() uint32
func (*MaretronBnwas) SetMessageInfo ¶
func (m *MaretronBnwas) SetMessageInfo(info MessageInfo)
type MaretronCanFrameForwarding ¶
type MaretronCanFrameForwarding struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronCanFrameForwarding) DecodePayload ¶
func (m *MaretronCanFrameForwarding) DecodePayload(payload []uint8) error
func (*MaretronCanFrameForwarding) EncodePayload ¶
func (m *MaretronCanFrameForwarding) EncodePayload() ([]uint8, error)
func (*MaretronCanFrameForwarding) MessageInfo ¶
func (m *MaretronCanFrameForwarding) MessageInfo() MessageInfo
func (*MaretronCanFrameForwarding) PGNNumber ¶
func (m *MaretronCanFrameForwarding) PGNNumber() uint32
func (*MaretronCanFrameForwarding) SetMessageInfo ¶
func (m *MaretronCanFrameForwarding) SetMessageInfo(info MessageInfo)
type MaretronDataInstanceChannelCorrelation ¶
type MaretronDataInstanceChannelCorrelation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"4"`
HardwareChannel *uint64 `json:"hardwareChannel,omitempty" n2k:"5"`
Instance *uint64 `json:"instance,omitempty" n2k:"6"`
DataSource *uint64 `json:"dataSource,omitempty" n2k:"7"`
DataIndicator *uint64 `json:"dataIndicator,omitempty" n2k:"8"`
}
func (*MaretronDataInstanceChannelCorrelation) DecodePayload ¶
func (m *MaretronDataInstanceChannelCorrelation) DecodePayload(payload []uint8) error
func (*MaretronDataInstanceChannelCorrelation) EncodePayload ¶
func (m *MaretronDataInstanceChannelCorrelation) EncodePayload() ([]uint8, error)
func (*MaretronDataInstanceChannelCorrelation) MessageInfo ¶
func (m *MaretronDataInstanceChannelCorrelation) MessageInfo() MessageInfo
func (*MaretronDataInstanceChannelCorrelation) PGNNumber ¶
func (m *MaretronDataInstanceChannelCorrelation) PGNNumber() uint32
func (*MaretronDataInstanceChannelCorrelation) SetMessageInfo ¶
func (m *MaretronDataInstanceChannelCorrelation) SetMessageInfo(info MessageInfo)
type MaretronDcEnergy ¶
type MaretronDcEnergy struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronDcEnergy) DecodePayload ¶
func (m *MaretronDcEnergy) DecodePayload(payload []uint8) error
func (*MaretronDcEnergy) EncodePayload ¶
func (m *MaretronDcEnergy) EncodePayload() ([]uint8, error)
func (*MaretronDcEnergy) MessageInfo ¶
func (m *MaretronDcEnergy) MessageInfo() MessageInfo
func (*MaretronDcEnergy) PGNNumber ¶
func (m *MaretronDcEnergy) PGNNumber() uint32
func (*MaretronDcEnergy) SetMessageInfo ¶
func (m *MaretronDcEnergy) SetMessageInfo(info MessageInfo)
type MaretronDeviationCalibrationResponse ¶
type MaretronDeviationCalibrationResponse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProductCode *uint64 `json:"productCode,omitempty" n2k:"4"`
SoftwareCode *uint64 `json:"softwareCode,omitempty" n2k:"5"`
Command *uint64 `json:"command,omitempty" n2k:"6"`
Status *uint64 `json:"status,omitempty" n2k:"7"`
}
func (*MaretronDeviationCalibrationResponse) DecodePayload ¶
func (m *MaretronDeviationCalibrationResponse) DecodePayload(payload []uint8) error
func (*MaretronDeviationCalibrationResponse) EncodePayload ¶
func (m *MaretronDeviationCalibrationResponse) EncodePayload() ([]uint8, error)
func (*MaretronDeviationCalibrationResponse) MessageInfo ¶
func (m *MaretronDeviationCalibrationResponse) MessageInfo() MessageInfo
func (*MaretronDeviationCalibrationResponse) PGNNumber ¶
func (m *MaretronDeviationCalibrationResponse) PGNNumber() uint32
func (*MaretronDeviationCalibrationResponse) SetMessageInfo ¶
func (m *MaretronDeviationCalibrationResponse) SetMessageInfo(info MessageInfo)
type MaretronDometicHvacControlStatus ¶
type MaretronDometicHvacControlStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
CanId *uint64 `json:"canId,omitempty" n2k:"4"`
ConfigurationMode *uint64 `json:"configurationMode,omitempty" n2k:"5"`
Status *uint64 `json:"status,omitempty" n2k:"6"`
FanModeSpeed *uint64 `json:"fanModeSpeed,omitempty" n2k:"7"`
SetpointTemperature *uint64 `json:"setpointTemperature,omitempty" n2k:"8"`
AmbientTemperature *uint64 `json:"ambientTemperature,omitempty" n2k:"9"`
OutdoorTemperature *uint64 `json:"outdoorTemperature,omitempty" n2k:"10"`
FaultStatus *uint64 `json:"faultStatus,omitempty" n2k:"11"`
AdditionalSensorTemperature *uint64 `json:"additionalSensorTemperature,omitempty" n2k:"12"`
}
func (*MaretronDometicHvacControlStatus) DecodePayload ¶
func (m *MaretronDometicHvacControlStatus) DecodePayload(payload []uint8) error
func (*MaretronDometicHvacControlStatus) EncodePayload ¶
func (m *MaretronDometicHvacControlStatus) EncodePayload() ([]uint8, error)
func (*MaretronDometicHvacControlStatus) MessageInfo ¶
func (m *MaretronDometicHvacControlStatus) MessageInfo() MessageInfo
func (*MaretronDometicHvacControlStatus) PGNNumber ¶
func (m *MaretronDometicHvacControlStatus) PGNNumber() uint32
func (*MaretronDometicHvacControlStatus) SetMessageInfo ¶
func (m *MaretronDometicHvacControlStatus) SetMessageInfo(info MessageInfo)
type MaretronDometicHvacStatus ¶
type MaretronDometicHvacStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AdditionalSensorTemperature *uint64 `json:"additionalSensorTemperature,omitempty" n2k:"4"`
CanId *uint64 `json:"canId,omitempty" n2k:"5"`
State *uint64 `json:"state,omitempty" n2k:"6"`
HardwareStatus *uint64 `json:"hardwareStatus,omitempty" n2k:"7"`
Faults *uint64 `json:"faults,omitempty" n2k:"8"`
LineVoltage *uint64 `json:"lineVoltage,omitempty" n2k:"9"`
CompressorCurrent *uint64 `json:"compressorCurrent,omitempty" n2k:"10"`
}
func (*MaretronDometicHvacStatus) DecodePayload ¶
func (m *MaretronDometicHvacStatus) DecodePayload(payload []uint8) error
func (*MaretronDometicHvacStatus) EncodePayload ¶
func (m *MaretronDometicHvacStatus) EncodePayload() ([]uint8, error)
func (*MaretronDometicHvacStatus) MessageInfo ¶
func (m *MaretronDometicHvacStatus) MessageInfo() MessageInfo
func (*MaretronDometicHvacStatus) PGNNumber ¶
func (m *MaretronDometicHvacStatus) PGNNumber() uint32
func (*MaretronDometicHvacStatus) SetMessageInfo ¶
func (m *MaretronDometicHvacStatus) SetMessageInfo(info MessageInfo)
type MaretronFluidFlowRate ¶
type MaretronFluidFlowRate struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
FlowRateInstance *uint64 `json:"flowRateInstance,omitempty" n2k:"5"`
FluidType *uint64 `json:"fluidType,omitempty" n2k:"6"`
FluidFlowRate *int64 `json:"fluidFlowRate,omitempty" n2k:"8"`
}
func (*MaretronFluidFlowRate) DecodePayload ¶
func (m *MaretronFluidFlowRate) DecodePayload(payload []uint8) error
func (*MaretronFluidFlowRate) EncodePayload ¶
func (m *MaretronFluidFlowRate) EncodePayload() ([]uint8, error)
func (*MaretronFluidFlowRate) FluidFlowRateValue ¶
func (m *MaretronFluidFlowRate) FluidFlowRateValue() (float64, bool)
FluidFlowRateValue returns FluidFlowRate as a physical value (value = raw * 0.0001). The bool is false when FluidFlowRate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronFluidFlowRate) MessageInfo ¶
func (m *MaretronFluidFlowRate) MessageInfo() MessageInfo
func (*MaretronFluidFlowRate) PGNNumber ¶
func (m *MaretronFluidFlowRate) PGNNumber() uint32
func (*MaretronFluidFlowRate) SetFluidFlowRateValue ¶
func (m *MaretronFluidFlowRate) SetFluidFlowRateValue(v float64)
SetFluidFlowRateValue sets FluidFlowRate from a physical value, rounded to the nearest wire tick of 0.0001.
func (*MaretronFluidFlowRate) SetMessageInfo ¶
func (m *MaretronFluidFlowRate) SetMessageInfo(info MessageInfo)
type MaretronGenericSensor ¶
type MaretronGenericSensor struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DataInstance *uint64 `json:"dataInstance,omitempty" n2k:"4"`
DataFormat *uint64 `json:"dataFormat,omitempty" n2k:"5"`
Value []uint8 `json:"value,omitempty" n2k:"6"`
}
func (*MaretronGenericSensor) DecodePayload ¶
func (m *MaretronGenericSensor) DecodePayload(payload []uint8) error
func (*MaretronGenericSensor) EncodePayload ¶
func (m *MaretronGenericSensor) EncodePayload() ([]uint8, error)
func (*MaretronGenericSensor) MessageInfo ¶
func (m *MaretronGenericSensor) MessageInfo() MessageInfo
func (*MaretronGenericSensor) PGNNumber ¶
func (m *MaretronGenericSensor) PGNNumber() uint32
func (*MaretronGenericSensor) SetMessageInfo ¶
func (m *MaretronGenericSensor) SetMessageInfo(info MessageInfo)
type MaretronKeelPosition ¶
type MaretronKeelPosition struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronKeelPosition) DecodePayload ¶
func (m *MaretronKeelPosition) DecodePayload(payload []uint8) error
func (*MaretronKeelPosition) EncodePayload ¶
func (m *MaretronKeelPosition) EncodePayload() ([]uint8, error)
func (*MaretronKeelPosition) MessageInfo ¶
func (m *MaretronKeelPosition) MessageInfo() MessageInfo
func (*MaretronKeelPosition) PGNNumber ¶
func (m *MaretronKeelPosition) PGNNumber() uint32
func (*MaretronKeelPosition) SetMessageInfo ¶
func (m *MaretronKeelPosition) SetMessageInfo(info MessageInfo)
type MaretronLabel ¶
type MaretronLabel struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Instance *uint64 `json:"instance,omitempty" n2k:"4"`
DataSource *uint64 `json:"dataSource,omitempty" n2k:"5"`
DataIndicator *uint64 `json:"dataIndicator,omitempty" n2k:"6"`
Label string `json:"label,omitempty" n2k:"7"`
HardwareChannel *uint64 `json:"hardwareChannel,omitempty" n2k:"8"`
}
func (*MaretronLabel) DecodePayload ¶
func (m *MaretronLabel) DecodePayload(payload []uint8) error
func (*MaretronLabel) EncodePayload ¶
func (m *MaretronLabel) EncodePayload() ([]uint8, error)
func (*MaretronLabel) MessageInfo ¶
func (m *MaretronLabel) MessageInfo() MessageInfo
func (*MaretronLabel) PGNNumber ¶
func (m *MaretronLabel) PGNNumber() uint32
func (*MaretronLabel) SetMessageInfo ¶
func (m *MaretronLabel) SetMessageInfo(info MessageInfo)
type MaretronNumberOfChannels ¶
type MaretronNumberOfChannels struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"4"`
NumberOfChannels *uint64 `json:"numberOfChannels,omitempty" n2k:"5"`
}
func (*MaretronNumberOfChannels) DecodePayload ¶
func (m *MaretronNumberOfChannels) DecodePayload(payload []uint8) error
func (*MaretronNumberOfChannels) EncodePayload ¶
func (m *MaretronNumberOfChannels) EncodePayload() ([]uint8, error)
func (*MaretronNumberOfChannels) MessageInfo ¶
func (m *MaretronNumberOfChannels) MessageInfo() MessageInfo
func (*MaretronNumberOfChannels) PGNNumber ¶
func (m *MaretronNumberOfChannels) PGNNumber() uint32
func (*MaretronNumberOfChannels) SetMessageInfo ¶
func (m *MaretronNumberOfChannels) SetMessageInfo(info MessageInfo)
type MaretronProprietaryConfiguration ¶
type MaretronProprietaryConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProductCode *uint64 `json:"productCode,omitempty" n2k:"4"`
SoftwareCode *uint64 `json:"softwareCode,omitempty" n2k:"5"`
Opcode *uint64 `json:"opcode,omitempty" n2k:"6"`
Payload []uint8 `json:"payload,omitempty" n2k:"7"`
}
func (*MaretronProprietaryConfiguration) DecodePayload ¶
func (m *MaretronProprietaryConfiguration) DecodePayload(payload []uint8) error
func (*MaretronProprietaryConfiguration) EncodePayload ¶
func (m *MaretronProprietaryConfiguration) EncodePayload() ([]uint8, error)
func (*MaretronProprietaryConfiguration) MessageInfo ¶
func (m *MaretronProprietaryConfiguration) MessageInfo() MessageInfo
func (*MaretronProprietaryConfiguration) PGNNumber ¶
func (m *MaretronProprietaryConfiguration) PGNNumber() uint32
func (*MaretronProprietaryConfiguration) SetMessageInfo ¶
func (m *MaretronProprietaryConfiguration) SetMessageInfo(info MessageInfo)
type MaretronProprietaryDcBreakerCurrent ¶
type MaretronProprietaryDcBreakerCurrent struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
BankInstance *uint64 `json:"bankInstance,omitempty" n2k:"4"`
IndicatorNumber *uint64 `json:"indicatorNumber,omitempty" n2k:"5"`
BreakerCurrent *int64 `json:"breakerCurrent,omitempty" n2k:"6"`
}
func (*MaretronProprietaryDcBreakerCurrent) BreakerCurrentValue ¶
func (m *MaretronProprietaryDcBreakerCurrent) BreakerCurrentValue() (float64, bool)
BreakerCurrentValue returns BreakerCurrent as a physical value in A (value = raw * 0.1). The bool is false when BreakerCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronProprietaryDcBreakerCurrent) DecodePayload ¶
func (m *MaretronProprietaryDcBreakerCurrent) DecodePayload(payload []uint8) error
func (*MaretronProprietaryDcBreakerCurrent) EncodePayload ¶
func (m *MaretronProprietaryDcBreakerCurrent) EncodePayload() ([]uint8, error)
func (*MaretronProprietaryDcBreakerCurrent) MessageInfo ¶
func (m *MaretronProprietaryDcBreakerCurrent) MessageInfo() MessageInfo
func (*MaretronProprietaryDcBreakerCurrent) PGNNumber ¶
func (m *MaretronProprietaryDcBreakerCurrent) PGNNumber() uint32
func (*MaretronProprietaryDcBreakerCurrent) SetBreakerCurrentValue ¶
func (m *MaretronProprietaryDcBreakerCurrent) SetBreakerCurrentValue(v float64)
SetBreakerCurrentValue sets BreakerCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*MaretronProprietaryDcBreakerCurrent) SetMessageInfo ¶
func (m *MaretronProprietaryDcBreakerCurrent) SetMessageInfo(info MessageInfo)
type MaretronProprietaryTemperatureHighRange ¶
type MaretronProprietaryTemperatureHighRange struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
Instance *uint64 `json:"instance,omitempty" n2k:"5"`
Source *uint64 `json:"source,omitempty" n2k:"6"`
ActualTemperature *uint64 `json:"actualTemperature,omitempty" n2k:"7"`
SetTemperature *uint64 `json:"setTemperature,omitempty" n2k:"8"`
}
func (*MaretronProprietaryTemperatureHighRange) ActualTemperatureValue ¶
func (m *MaretronProprietaryTemperatureHighRange) ActualTemperatureValue() (float64, bool)
ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.1). The bool is false when ActualTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronProprietaryTemperatureHighRange) DecodePayload ¶
func (m *MaretronProprietaryTemperatureHighRange) DecodePayload(payload []uint8) error
func (*MaretronProprietaryTemperatureHighRange) EncodePayload ¶
func (m *MaretronProprietaryTemperatureHighRange) EncodePayload() ([]uint8, error)
func (*MaretronProprietaryTemperatureHighRange) MessageInfo ¶
func (m *MaretronProprietaryTemperatureHighRange) MessageInfo() MessageInfo
func (*MaretronProprietaryTemperatureHighRange) PGNNumber ¶
func (m *MaretronProprietaryTemperatureHighRange) PGNNumber() uint32
func (*MaretronProprietaryTemperatureHighRange) SetActualTemperatureValue ¶
func (m *MaretronProprietaryTemperatureHighRange) SetActualTemperatureValue(v float64)
SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.
func (*MaretronProprietaryTemperatureHighRange) SetMessageInfo ¶
func (m *MaretronProprietaryTemperatureHighRange) SetMessageInfo(info MessageInfo)
func (*MaretronProprietaryTemperatureHighRange) SetSetTemperatureValue ¶
func (m *MaretronProprietaryTemperatureHighRange) SetSetTemperatureValue(v float64)
SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.
func (*MaretronProprietaryTemperatureHighRange) SetTemperatureValue ¶
func (m *MaretronProprietaryTemperatureHighRange) SetTemperatureValue() (float64, bool)
SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.1). The bool is false when SetTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MaretronResistance ¶
type MaretronResistance struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DataInstance *uint64 `json:"dataInstance,omitempty" n2k:"5"`
Resistance *uint64 `json:"resistance,omitempty" n2k:"6"`
}
func (*MaretronResistance) DecodePayload ¶
func (m *MaretronResistance) DecodePayload(payload []uint8) error
func (*MaretronResistance) EncodePayload ¶
func (m *MaretronResistance) EncodePayload() ([]uint8, error)
func (*MaretronResistance) MessageInfo ¶
func (m *MaretronResistance) MessageInfo() MessageInfo
func (*MaretronResistance) PGNNumber ¶
func (m *MaretronResistance) PGNNumber() uint32
func (*MaretronResistance) ResistanceValue ¶
func (m *MaretronResistance) ResistanceValue() (float64, bool)
ResistanceValue returns Resistance as a physical value (value = raw * 0.01). The bool is false when Resistance is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronResistance) SetMessageInfo ¶
func (m *MaretronResistance) SetMessageInfo(info MessageInfo)
func (*MaretronResistance) SetResistanceValue ¶
func (m *MaretronResistance) SetResistanceValue(v float64)
SetResistanceValue sets Resistance from a physical value, rounded to the nearest wire tick of 0.01.
type MaretronRotationalRate ¶
type MaretronRotationalRate struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
DataInstance *uint64 `json:"dataInstance,omitempty" n2k:"5"`
RotationalRate *int64 `json:"rotationalRate,omitempty" n2k:"6"`
}
func (*MaretronRotationalRate) DecodePayload ¶
func (m *MaretronRotationalRate) DecodePayload(payload []uint8) error
func (*MaretronRotationalRate) EncodePayload ¶
func (m *MaretronRotationalRate) EncodePayload() ([]uint8, error)
func (*MaretronRotationalRate) MessageInfo ¶
func (m *MaretronRotationalRate) MessageInfo() MessageInfo
func (*MaretronRotationalRate) PGNNumber ¶
func (m *MaretronRotationalRate) PGNNumber() uint32
func (*MaretronRotationalRate) RotationalRateValue ¶
func (m *MaretronRotationalRate) RotationalRateValue() (float64, bool)
RotationalRateValue returns RotationalRate as a physical value (value = raw * 0.25). The bool is false when RotationalRate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronRotationalRate) SetMessageInfo ¶
func (m *MaretronRotationalRate) SetMessageInfo(info MessageInfo)
func (*MaretronRotationalRate) SetRotationalRateValue ¶
func (m *MaretronRotationalRate) SetRotationalRateValue(v float64)
SetRotationalRateValue sets RotationalRate from a physical value, rounded to the nearest wire tick of 0.25.
type MaretronSmsStatus ¶
type MaretronSmsStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SimCardStatus *uint64 `json:"simCardStatus,omitempty" n2k:"4"`
GsmBand *uint64 `json:"gsmBand,omitempty" n2k:"5"`
SignalStrength *uint64 `json:"signalStrength,omitempty" n2k:"6"`
BitErrorRate *uint64 `json:"bitErrorRate,omitempty" n2k:"7"`
SimCardPhoneNumber string `json:"simCardPhoneNumber,omitempty" n2k:"8"`
NetworkOperatorName string `json:"networkOperatorName,omitempty" n2k:"9"`
}
func (*MaretronSmsStatus) DecodePayload ¶
func (m *MaretronSmsStatus) DecodePayload(payload []uint8) error
func (*MaretronSmsStatus) EncodePayload ¶
func (m *MaretronSmsStatus) EncodePayload() ([]uint8, error)
func (*MaretronSmsStatus) MessageInfo ¶
func (m *MaretronSmsStatus) MessageInfo() MessageInfo
func (*MaretronSmsStatus) PGNNumber ¶
func (m *MaretronSmsStatus) PGNNumber() uint32
func (*MaretronSmsStatus) SetMessageInfo ¶
func (m *MaretronSmsStatus) SetMessageInfo(info MessageInfo)
type MaretronSmsTextMessage ¶
type MaretronSmsTextMessage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageType *uint64 `json:"messageType,omitempty" n2k:"4"`
PhoneNumber string `json:"phoneNumber,omitempty" n2k:"5"`
Message string `json:"message,omitempty" n2k:"6"`
}
func (*MaretronSmsTextMessage) DecodePayload ¶
func (m *MaretronSmsTextMessage) DecodePayload(payload []uint8) error
func (*MaretronSmsTextMessage) EncodePayload ¶
func (m *MaretronSmsTextMessage) EncodePayload() ([]uint8, error)
func (*MaretronSmsTextMessage) MessageInfo ¶
func (m *MaretronSmsTextMessage) MessageInfo() MessageInfo
func (*MaretronSmsTextMessage) PGNNumber ¶
func (m *MaretronSmsTextMessage) PGNNumber() uint32
func (*MaretronSmsTextMessage) SetMessageInfo ¶
func (m *MaretronSmsTextMessage) SetMessageInfo(info MessageInfo)
type MaretronSwitchIndicatorStatus ¶
type MaretronSwitchIndicatorStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
IndicatorBankInstance *uint64 `json:"indicatorBankInstance,omitempty" n2k:"4"`
NumberOfStatusFields *uint64 `json:"numberOfStatusFields,omitempty" n2k:"5"`
Repeating1 []MaretronSwitchIndicatorStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*MaretronSwitchIndicatorStatus) DecodePayload ¶
func (m *MaretronSwitchIndicatorStatus) DecodePayload(payload []uint8) error
func (*MaretronSwitchIndicatorStatus) EncodePayload ¶
func (m *MaretronSwitchIndicatorStatus) EncodePayload() ([]uint8, error)
func (*MaretronSwitchIndicatorStatus) MessageInfo ¶
func (m *MaretronSwitchIndicatorStatus) MessageInfo() MessageInfo
func (*MaretronSwitchIndicatorStatus) PGNNumber ¶
func (m *MaretronSwitchIndicatorStatus) PGNNumber() uint32
func (*MaretronSwitchIndicatorStatus) SetMessageInfo ¶
func (m *MaretronSwitchIndicatorStatus) SetMessageInfo(info MessageInfo)
type MaretronSwitchIndicatorStatusRepeating1 ¶
type MaretronSwitchIndicatorStatusRepeating1 struct {
IndicatorStatus *uint64 `json:"indicatorStatus,omitempty" n2k:"6"`
}
type MaretronSwitchStatusCounter ¶
type MaretronSwitchStatusCounter struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Instance *uint64 `json:"instance,omitempty" n2k:"4"`
IndicatorNumber *uint64 `json:"indicatorNumber,omitempty" n2k:"5"`
StartDate *uint64 `json:"startDate,omitempty" n2k:"6"`
StartTime *uint64 `json:"startTime,omitempty" n2k:"7"`
OffCounter *uint64 `json:"offCounter,omitempty" n2k:"8"`
OnCounter *uint64 `json:"onCounter,omitempty" n2k:"9"`
ErrorCounter *uint64 `json:"errorCounter,omitempty" n2k:"10"`
SwitchStatus *uint64 `json:"switchStatus,omitempty" n2k:"11"`
}
func (*MaretronSwitchStatusCounter) DecodePayload ¶
func (m *MaretronSwitchStatusCounter) DecodePayload(payload []uint8) error
func (*MaretronSwitchStatusCounter) EncodePayload ¶
func (m *MaretronSwitchStatusCounter) EncodePayload() ([]uint8, error)
func (*MaretronSwitchStatusCounter) MessageInfo ¶
func (m *MaretronSwitchStatusCounter) MessageInfo() MessageInfo
func (*MaretronSwitchStatusCounter) PGNNumber ¶
func (m *MaretronSwitchStatusCounter) PGNNumber() uint32
func (*MaretronSwitchStatusCounter) SetMessageInfo ¶
func (m *MaretronSwitchStatusCounter) SetMessageInfo(info MessageInfo)
func (*MaretronSwitchStatusCounter) SetStartDateValue ¶
func (m *MaretronSwitchStatusCounter) SetStartDateValue(v float64)
SetStartDateValue sets StartDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*MaretronSwitchStatusCounter) SetStartTimeValue ¶
func (m *MaretronSwitchStatusCounter) SetStartTimeValue(v float64)
SetStartTimeValue sets StartTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*MaretronSwitchStatusCounter) StartDateValue ¶
func (m *MaretronSwitchStatusCounter) StartDateValue() (float64, bool)
StartDateValue returns StartDate as a physical value in d (value = raw). The bool is false when StartDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronSwitchStatusCounter) StartTimeValue ¶
func (m *MaretronSwitchStatusCounter) StartTimeValue() (float64, bool)
StartTimeValue returns StartTime as a physical value in s (value = raw * 0.0001). The bool is false when StartTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MaretronSwitchStatusTimer ¶
type MaretronSwitchStatusTimer struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Instance *uint64 `json:"instance,omitempty" n2k:"4"`
IndicatorNumber *uint64 `json:"indicatorNumber,omitempty" n2k:"5"`
StartDate *uint64 `json:"startDate,omitempty" n2k:"6"`
StartTime *uint64 `json:"startTime,omitempty" n2k:"7"`
AccumulatedOffPeriod *uint64 `json:"accumulatedOffPeriod,omitempty" n2k:"8"`
AccumulatedOnPeriod *uint64 `json:"accumulatedOnPeriod,omitempty" n2k:"9"`
AccumulatedErrorPeriod *uint64 `json:"accumulatedErrorPeriod,omitempty" n2k:"10"`
SwitchStatus *uint64 `json:"switchStatus,omitempty" n2k:"11"`
}
func (*MaretronSwitchStatusTimer) AccumulatedErrorPeriodValue ¶
func (m *MaretronSwitchStatusTimer) AccumulatedErrorPeriodValue() (float64, bool)
AccumulatedErrorPeriodValue returns AccumulatedErrorPeriod as a physical value in s (value = raw). The bool is false when AccumulatedErrorPeriod is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronSwitchStatusTimer) AccumulatedOffPeriodValue ¶
func (m *MaretronSwitchStatusTimer) AccumulatedOffPeriodValue() (float64, bool)
AccumulatedOffPeriodValue returns AccumulatedOffPeriod as a physical value in s (value = raw). The bool is false when AccumulatedOffPeriod is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronSwitchStatusTimer) AccumulatedOnPeriodValue ¶
func (m *MaretronSwitchStatusTimer) AccumulatedOnPeriodValue() (float64, bool)
AccumulatedOnPeriodValue returns AccumulatedOnPeriod as a physical value in s (value = raw). The bool is false when AccumulatedOnPeriod is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronSwitchStatusTimer) DecodePayload ¶
func (m *MaretronSwitchStatusTimer) DecodePayload(payload []uint8) error
func (*MaretronSwitchStatusTimer) EncodePayload ¶
func (m *MaretronSwitchStatusTimer) EncodePayload() ([]uint8, error)
func (*MaretronSwitchStatusTimer) MessageInfo ¶
func (m *MaretronSwitchStatusTimer) MessageInfo() MessageInfo
func (*MaretronSwitchStatusTimer) PGNNumber ¶
func (m *MaretronSwitchStatusTimer) PGNNumber() uint32
func (*MaretronSwitchStatusTimer) SetAccumulatedErrorPeriodValue ¶
func (m *MaretronSwitchStatusTimer) SetAccumulatedErrorPeriodValue(v float64)
SetAccumulatedErrorPeriodValue sets AccumulatedErrorPeriod from a physical value in s, rounded to the nearest wire tick of 1.
func (*MaretronSwitchStatusTimer) SetAccumulatedOffPeriodValue ¶
func (m *MaretronSwitchStatusTimer) SetAccumulatedOffPeriodValue(v float64)
SetAccumulatedOffPeriodValue sets AccumulatedOffPeriod from a physical value in s, rounded to the nearest wire tick of 1.
func (*MaretronSwitchStatusTimer) SetAccumulatedOnPeriodValue ¶
func (m *MaretronSwitchStatusTimer) SetAccumulatedOnPeriodValue(v float64)
SetAccumulatedOnPeriodValue sets AccumulatedOnPeriod from a physical value in s, rounded to the nearest wire tick of 1.
func (*MaretronSwitchStatusTimer) SetMessageInfo ¶
func (m *MaretronSwitchStatusTimer) SetMessageInfo(info MessageInfo)
func (*MaretronSwitchStatusTimer) SetStartDateValue ¶
func (m *MaretronSwitchStatusTimer) SetStartDateValue(v float64)
SetStartDateValue sets StartDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*MaretronSwitchStatusTimer) SetStartTimeValue ¶
func (m *MaretronSwitchStatusTimer) SetStartTimeValue(v float64)
SetStartTimeValue sets StartTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*MaretronSwitchStatusTimer) StartDateValue ¶
func (m *MaretronSwitchStatusTimer) StartDateValue() (float64, bool)
StartDateValue returns StartDate as a physical value in d (value = raw). The bool is false when StartDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MaretronSwitchStatusTimer) StartTimeValue ¶
func (m *MaretronSwitchStatusTimer) StartTimeValue() (float64, bool)
StartTimeValue returns StartTime as a physical value in s (value = raw * 0.0001). The bool is false when StartTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MaretronTripVolume ¶
type MaretronTripVolume struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
VolumeInstance *uint64 `json:"volumeInstance,omitempty" n2k:"5"`
FluidType *uint64 `json:"fluidType,omitempty" n2k:"6"`
TripVolume *uint64 `json:"tripVolume,omitempty" n2k:"8"`
}
func (*MaretronTripVolume) DecodePayload ¶
func (m *MaretronTripVolume) DecodePayload(payload []uint8) error
func (*MaretronTripVolume) EncodePayload ¶
func (m *MaretronTripVolume) EncodePayload() ([]uint8, error)
func (*MaretronTripVolume) MessageInfo ¶
func (m *MaretronTripVolume) MessageInfo() MessageInfo
func (*MaretronTripVolume) PGNNumber ¶
func (m *MaretronTripVolume) PGNNumber() uint32
func (*MaretronTripVolume) SetMessageInfo ¶
func (m *MaretronTripVolume) SetMessageInfo(info MessageInfo)
func (*MaretronTripVolume) SetTripVolumeValue ¶
func (m *MaretronTripVolume) SetTripVolumeValue(v float64)
SetTripVolumeValue sets TripVolume from a physical value, rounded to the nearest wire tick of 0.001.
func (*MaretronTripVolume) TripVolumeValue ¶
func (m *MaretronTripVolume) TripVolumeValue() (float64, bool)
TripVolumeValue returns TripVolume as a physical value (value = raw * 0.001). The bool is false when TripVolume is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MaretronUniversalConfigurationFp ¶
type MaretronUniversalConfigurationFp struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronUniversalConfigurationFp) DecodePayload ¶
func (m *MaretronUniversalConfigurationFp) DecodePayload(payload []uint8) error
func (*MaretronUniversalConfigurationFp) EncodePayload ¶
func (m *MaretronUniversalConfigurationFp) EncodePayload() ([]uint8, error)
func (*MaretronUniversalConfigurationFp) MessageInfo ¶
func (m *MaretronUniversalConfigurationFp) MessageInfo() MessageInfo
func (*MaretronUniversalConfigurationFp) PGNNumber ¶
func (m *MaretronUniversalConfigurationFp) PGNNumber() uint32
func (*MaretronUniversalConfigurationFp) SetMessageInfo ¶
func (m *MaretronUniversalConfigurationFp) SetMessageInfo(info MessageInfo)
type MaretronUniversalConfigurationSf ¶
type MaretronUniversalConfigurationSf struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronUniversalConfigurationSf) DecodePayload ¶
func (m *MaretronUniversalConfigurationSf) DecodePayload(payload []uint8) error
func (*MaretronUniversalConfigurationSf) EncodePayload ¶
func (m *MaretronUniversalConfigurationSf) EncodePayload() ([]uint8, error)
func (*MaretronUniversalConfigurationSf) MessageInfo ¶
func (m *MaretronUniversalConfigurationSf) MessageInfo() MessageInfo
func (*MaretronUniversalConfigurationSf) PGNNumber ¶
func (m *MaretronUniversalConfigurationSf) PGNNumber() uint32
func (*MaretronUniversalConfigurationSf) SetMessageInfo ¶
func (m *MaretronUniversalConfigurationSf) SetMessageInfo(info MessageInfo)
type MaretronVesselDataRecorderStatus ¶
type MaretronVesselDataRecorderStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
VdrRecordingStatus *uint64 `json:"vdrRecordingStatus,omitempty" n2k:"4"`
MemoryCapacity *uint64 `json:"memoryCapacity,omitempty" n2k:"5"`
MemoryUsed *uint64 `json:"memoryUsed,omitempty" n2k:"6"`
}
func (*MaretronVesselDataRecorderStatus) DecodePayload ¶
func (m *MaretronVesselDataRecorderStatus) DecodePayload(payload []uint8) error
func (*MaretronVesselDataRecorderStatus) EncodePayload ¶
func (m *MaretronVesselDataRecorderStatus) EncodePayload() ([]uint8, error)
func (*MaretronVesselDataRecorderStatus) MessageInfo ¶
func (m *MaretronVesselDataRecorderStatus) MessageInfo() MessageInfo
func (*MaretronVesselDataRecorderStatus) PGNNumber ¶
func (m *MaretronVesselDataRecorderStatus) PGNNumber() uint32
func (*MaretronVesselDataRecorderStatus) SetMessageInfo ¶
func (m *MaretronVesselDataRecorderStatus) SetMessageInfo(info MessageInfo)
type MaretronVesselOperatingMode ¶
type MaretronVesselOperatingMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlertSystem *uint64 `json:"alertSystem,omitempty" n2k:"4"`
AlertSubSystem *uint64 `json:"alertSubSystem,omitempty" n2k:"5"`
AlertSystemInstance *uint64 `json:"alertSystemInstance,omitempty" n2k:"6"`
OperatingMode *uint64 `json:"operatingMode,omitempty" n2k:"7"`
GeneratingGlobalAlerts *uint64 `json:"generatingGlobalAlerts,omitempty" n2k:"8"`
UserChanged *uint64 `json:"userChanged,omitempty" n2k:"9"`
InIndependentMode *uint64 `json:"inIndependentMode,omitempty" n2k:"10"`
}
func (*MaretronVesselOperatingMode) DecodePayload ¶
func (m *MaretronVesselOperatingMode) DecodePayload(payload []uint8) error
func (*MaretronVesselOperatingMode) EncodePayload ¶
func (m *MaretronVesselOperatingMode) EncodePayload() ([]uint8, error)
func (*MaretronVesselOperatingMode) MessageInfo ¶
func (m *MaretronVesselOperatingMode) MessageInfo() MessageInfo
func (*MaretronVesselOperatingMode) PGNNumber ¶
func (m *MaretronVesselOperatingMode) PGNNumber() uint32
func (*MaretronVesselOperatingMode) SetMessageInfo ¶
func (m *MaretronVesselOperatingMode) SetMessageInfo(info MessageInfo)
type MaretronWindlassControlCommand ¶
type MaretronWindlassControlCommand struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MaretronWindlassControlCommand) DecodePayload ¶
func (m *MaretronWindlassControlCommand) DecodePayload(payload []uint8) error
func (*MaretronWindlassControlCommand) EncodePayload ¶
func (m *MaretronWindlassControlCommand) EncodePayload() ([]uint8, error)
func (*MaretronWindlassControlCommand) MessageInfo ¶
func (m *MaretronWindlassControlCommand) MessageInfo() MessageInfo
func (*MaretronWindlassControlCommand) PGNNumber ¶
func (m *MaretronWindlassControlCommand) PGNNumber() uint32
func (*MaretronWindlassControlCommand) SetMessageInfo ¶
func (m *MaretronWindlassControlCommand) SetMessageInfo(info MessageInfo)
type MaretronWindlassOperatingStatus ¶
type MaretronWindlassOperatingStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
WindlassOperatingEvents *uint64 `json:"windlassOperatingEvents,omitempty" n2k:"4"`
WindlassInstance *uint64 `json:"windlassInstance,omitempty" n2k:"5"`
WindlassDirectionControl *uint64 `json:"windlassDirectionControl,omitempty" n2k:"6"`
SpeedControl *uint64 `json:"speedControl,omitempty" n2k:"7"`
PowerEnable *uint64 `json:"powerEnable,omitempty" n2k:"8"`
MechanicalEnable *uint64 `json:"mechanicalEnable,omitempty" n2k:"9"`
AnchorDockingControl *uint64 `json:"anchorDockingControl,omitempty" n2k:"10"`
DeckAndAnchorWash *uint64 `json:"deckAndAnchorWash,omitempty" n2k:"11"`
AnchorLight *uint64 `json:"anchorLight,omitempty" n2k:"12"`
AuxiliaryAControl *uint64 `json:"auxiliaryAControl,omitempty" n2k:"13"`
AuxiliaryBControl *uint64 `json:"auxiliaryBControl,omitempty" n2k:"14"`
AuxiliaryCControl *uint64 `json:"auxiliaryCControl,omitempty" n2k:"15"`
AuxiliaryDControl *uint64 `json:"auxiliaryDControl,omitempty" n2k:"16"`
}
func (*MaretronWindlassOperatingStatus) DecodePayload ¶
func (m *MaretronWindlassOperatingStatus) DecodePayload(payload []uint8) error
func (*MaretronWindlassOperatingStatus) EncodePayload ¶
func (m *MaretronWindlassOperatingStatus) EncodePayload() ([]uint8, error)
func (*MaretronWindlassOperatingStatus) MessageInfo ¶
func (m *MaretronWindlassOperatingStatus) MessageInfo() MessageInfo
func (*MaretronWindlassOperatingStatus) PGNNumber ¶
func (m *MaretronWindlassOperatingStatus) PGNNumber() uint32
func (*MaretronWindlassOperatingStatus) SetMessageInfo ¶
func (m *MaretronWindlassOperatingStatus) SetMessageInfo(info MessageInfo)
type MarkTypeConst ¶
type MarkTypeConst uint8
const ( Collision_2 MarkTypeConst = 0 TurningPoint MarkTypeConst = 1 Reference MarkTypeConst = 2 Wheelover MarkTypeConst = 3 Waypoint MarkTypeConst = 4 )
func (MarkTypeConst) GoString ¶
func (e MarkTypeConst) GoString() string
func (MarkTypeConst) String ¶
func (e MarkTypeConst) String() string
type MercuryBamDigitalDataProxy ¶
type MercuryBamDigitalDataProxy struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Type *uint64 `json:"type,omitempty" n2k:"4"`
Instance *uint64 `json:"instance,omitempty" n2k:"5"`
Field4 *uint64 `json:"field4,omitempty" n2k:"6"`
Flag *uint64 `json:"flag,omitempty" n2k:"8"`
Data []uint8 `json:"data,omitempty" n2k:"9"`
}
func (*MercuryBamDigitalDataProxy) DecodePayload ¶
func (m *MercuryBamDigitalDataProxy) DecodePayload(payload []uint8) error
func (*MercuryBamDigitalDataProxy) EncodePayload ¶
func (m *MercuryBamDigitalDataProxy) EncodePayload() ([]uint8, error)
func (*MercuryBamDigitalDataProxy) MessageInfo ¶
func (m *MercuryBamDigitalDataProxy) MessageInfo() MessageInfo
func (*MercuryBamDigitalDataProxy) PGNNumber ¶
func (m *MercuryBamDigitalDataProxy) PGNNumber() uint32
func (*MercuryBamDigitalDataProxy) SetMessageInfo ¶
func (m *MercuryBamDigitalDataProxy) SetMessageInfo(info MessageInfo)
type MercuryCommandResponse ¶
type MercuryCommandResponse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Opcode *uint64 `json:"opcode,omitempty" n2k:"4"`
Data []uint8 `json:"data,omitempty" n2k:"5"`
}
func (*MercuryCommandResponse) DecodePayload ¶
func (m *MercuryCommandResponse) DecodePayload(payload []uint8) error
func (*MercuryCommandResponse) EncodePayload ¶
func (m *MercuryCommandResponse) EncodePayload() ([]uint8, error)
func (*MercuryCommandResponse) MessageInfo ¶
func (m *MercuryCommandResponse) MessageInfo() MessageInfo
func (*MercuryCommandResponse) PGNNumber ¶
func (m *MercuryCommandResponse) PGNNumber() uint32
func (*MercuryCommandResponse) SetMessageInfo ¶
func (m *MercuryCommandResponse) SetMessageInfo(info MessageInfo)
type MercuryCruiseControlData ¶
type MercuryCruiseControlData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Opcode *uint64 `json:"opcode,omitempty" n2k:"4"`
EngineInstance *uint64 `json:"engineInstance,omitempty" n2k:"5"`
CruiseState *uint64 `json:"cruiseState,omitempty" n2k:"7"`
CruiseRpmSetpoint *uint64 `json:"cruiseRpmSetpoint,omitempty" n2k:"8"`
CruiseSpeedSetpoint *uint64 `json:"cruiseSpeedSetpoint,omitempty" n2k:"9"`
}
func (*MercuryCruiseControlData) CruiseRpmSetpointValue ¶
func (m *MercuryCruiseControlData) CruiseRpmSetpointValue() (float64, bool)
CruiseRpmSetpointValue returns CruiseRpmSetpoint as a physical value in rpm (value = raw). The bool is false when CruiseRpmSetpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MercuryCruiseControlData) CruiseSpeedSetpointValue ¶
func (m *MercuryCruiseControlData) CruiseSpeedSetpointValue() (float64, bool)
CruiseSpeedSetpointValue returns CruiseSpeedSetpoint as a physical value in km/h (value = raw * 0.01). The bool is false when CruiseSpeedSetpoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MercuryCruiseControlData) DecodePayload ¶
func (m *MercuryCruiseControlData) DecodePayload(payload []uint8) error
func (*MercuryCruiseControlData) EncodePayload ¶
func (m *MercuryCruiseControlData) EncodePayload() ([]uint8, error)
func (*MercuryCruiseControlData) MessageInfo ¶
func (m *MercuryCruiseControlData) MessageInfo() MessageInfo
func (*MercuryCruiseControlData) PGNNumber ¶
func (m *MercuryCruiseControlData) PGNNumber() uint32
func (*MercuryCruiseControlData) SetCruiseRpmSetpointValue ¶
func (m *MercuryCruiseControlData) SetCruiseRpmSetpointValue(v float64)
SetCruiseRpmSetpointValue sets CruiseRpmSetpoint from a physical value in rpm, rounded to the nearest wire tick of 1.
func (*MercuryCruiseControlData) SetCruiseSpeedSetpointValue ¶
func (m *MercuryCruiseControlData) SetCruiseSpeedSetpointValue(v float64)
SetCruiseSpeedSetpointValue sets CruiseSpeedSetpoint from a physical value in km/h, rounded to the nearest wire tick of 0.01.
func (*MercuryCruiseControlData) SetMessageInfo ¶
func (m *MercuryCruiseControlData) SetMessageInfo(info MessageInfo)
type MercuryEngineData ¶
type MercuryEngineData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*MercuryEngineData) DecodePayload ¶
func (m *MercuryEngineData) DecodePayload(payload []uint8) error
func (*MercuryEngineData) EncodePayload ¶
func (m *MercuryEngineData) EncodePayload() ([]uint8, error)
func (*MercuryEngineData) MessageInfo ¶
func (m *MercuryEngineData) MessageInfo() MessageInfo
func (*MercuryEngineData) PGNNumber ¶
func (m *MercuryEngineData) PGNNumber() uint32
func (*MercuryEngineData) SetMessageInfo ¶
func (m *MercuryEngineData) SetMessageInfo(info MessageInfo)
type MercuryEngineKeyValueData ¶
type MercuryEngineKeyValueData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Repeating1 []MercuryEngineKeyValueDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*MercuryEngineKeyValueData) DecodePayload ¶
func (m *MercuryEngineKeyValueData) DecodePayload(payload []uint8) error
func (*MercuryEngineKeyValueData) EncodePayload ¶
func (m *MercuryEngineKeyValueData) EncodePayload() ([]uint8, error)
func (*MercuryEngineKeyValueData) MessageInfo ¶
func (m *MercuryEngineKeyValueData) MessageInfo() MessageInfo
func (*MercuryEngineKeyValueData) PGNNumber ¶
func (m *MercuryEngineKeyValueData) PGNNumber() uint32
func (*MercuryEngineKeyValueData) SetMessageInfo ¶
func (m *MercuryEngineKeyValueData) SetMessageInfo(info MessageInfo)
type MercuryEngineStatus ¶
type MercuryEngineStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
FieldA []uint8 `json:"fieldA,omitempty" n2k:"5"`
SubHelm []uint8 `json:"subHelm,omitempty" n2k:"6"`
Helm []uint8 `json:"helm,omitempty" n2k:"7"`
Capabilities []uint8 `json:"capabilities,omitempty" n2k:"8"`
}
func (*MercuryEngineStatus) DecodePayload ¶
func (m *MercuryEngineStatus) DecodePayload(payload []uint8) error
func (*MercuryEngineStatus) EncodePayload ¶
func (m *MercuryEngineStatus) EncodePayload() ([]uint8, error)
func (*MercuryEngineStatus) MessageInfo ¶
func (m *MercuryEngineStatus) MessageInfo() MessageInfo
func (*MercuryEngineStatus) PGNNumber ¶
func (m *MercuryEngineStatus) PGNNumber() uint32
func (*MercuryEngineStatus) SetMessageInfo ¶
func (m *MercuryEngineStatus) SetMessageInfo(info MessageInfo)
type MercuryEngineTelemetryLowSpeed ¶
type MercuryEngineTelemetryLowSpeed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
EngineInstance *uint64 `json:"engineInstance,omitempty" n2k:"4"`
MalfunctionIndicator *uint64 `json:"malfunctionIndicator,omitempty" n2k:"5"`
IntakeAirTemperature *uint64 `json:"intakeAirTemperature,omitempty" n2k:"6"`
ExhaustGasTemperature *uint64 `json:"exhaustGasTemperature,omitempty" n2k:"7"`
Gpl *uint64 `json:"gpl,omitempty" n2k:"8"`
EngineState *uint64 `json:"engineState,omitempty" n2k:"9"`
}
func (*MercuryEngineTelemetryLowSpeed) DecodePayload ¶
func (m *MercuryEngineTelemetryLowSpeed) DecodePayload(payload []uint8) error
func (*MercuryEngineTelemetryLowSpeed) EncodePayload ¶
func (m *MercuryEngineTelemetryLowSpeed) EncodePayload() ([]uint8, error)
func (*MercuryEngineTelemetryLowSpeed) MessageInfo ¶
func (m *MercuryEngineTelemetryLowSpeed) MessageInfo() MessageInfo
func (*MercuryEngineTelemetryLowSpeed) PGNNumber ¶
func (m *MercuryEngineTelemetryLowSpeed) PGNNumber() uint32
func (*MercuryEngineTelemetryLowSpeed) SetMessageInfo ¶
func (m *MercuryEngineTelemetryLowSpeed) SetMessageInfo(info MessageInfo)
type Message0x1ed000x1ee00StandardizedFastPacketAddressed ¶
type Message0x1ed000x1ee00StandardizedFastPacketAddressed struct {
Info MessageInfo `json:"info"`
Data []uint8 `json:"data,omitempty" n2k:"1"`
}
func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) DecodePayload ¶
func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) DecodePayload(payload []uint8) error
func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) EncodePayload ¶
func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) EncodePayload() ([]uint8, error)
func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) MessageInfo ¶
func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) MessageInfo() MessageInfo
func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) PGNNumber ¶
func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) PGNNumber() uint32
func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) SetMessageInfo ¶
func (m *Message0x1ed000x1ee00StandardizedFastPacketAddressed) SetMessageInfo(info MessageInfo)
type Message0x1ef00ManufacturerProprietaryFastPacketAddressed ¶
type Message0x1ef00ManufacturerProprietaryFastPacketAddressed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) DecodePayload ¶
func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) DecodePayload(payload []uint8) error
func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) EncodePayload ¶
func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) EncodePayload() ([]uint8, error)
func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) MessageInfo ¶
func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) MessageInfo() MessageInfo
func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) PGNNumber ¶
func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) PGNNumber() uint32
func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) SetMessageInfo ¶
func (m *Message0x1ef00ManufacturerProprietaryFastPacketAddressed) SetMessageInfo(info MessageInfo)
type Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed ¶
type Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed struct {
Info MessageInfo `json:"info"`
Data []uint8 `json:"data,omitempty" n2k:"1"`
}
func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) DecodePayload ¶
func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) DecodePayload(payload []uint8) error
func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) EncodePayload ¶
func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) EncodePayload() ([]uint8, error)
func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) MessageInfo ¶
func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) MessageInfo() MessageInfo
func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) PGNNumber ¶
func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) PGNNumber() uint32
func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) SetMessageInfo ¶
func (m *Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) SetMessageInfo(info MessageInfo)
type Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed ¶
type Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) DecodePayload ¶
func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) DecodePayload(payload []uint8) error
func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) EncodePayload ¶
func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) EncodePayload() ([]uint8, error)
func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) MessageInfo ¶
func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) MessageInfo() MessageInfo
func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) PGNNumber ¶
func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) PGNNumber() uint32
func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) SetMessageInfo ¶
func (m *Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) SetMessageInfo(info MessageInfo)
type Message0xe8000xee00StandardizedSingleFrameAddressed ¶
type Message0xe8000xee00StandardizedSingleFrameAddressed struct {
Info MessageInfo `json:"info"`
Data []uint8 `json:"data,omitempty" n2k:"1"`
}
func (*Message0xe8000xee00StandardizedSingleFrameAddressed) DecodePayload ¶
func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) DecodePayload(payload []uint8) error
func (*Message0xe8000xee00StandardizedSingleFrameAddressed) EncodePayload ¶
func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) EncodePayload() ([]uint8, error)
func (*Message0xe8000xee00StandardizedSingleFrameAddressed) MessageInfo ¶
func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) MessageInfo() MessageInfo
func (*Message0xe8000xee00StandardizedSingleFrameAddressed) PGNNumber ¶
func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) PGNNumber() uint32
func (*Message0xe8000xee00StandardizedSingleFrameAddressed) SetMessageInfo ¶
func (m *Message0xe8000xee00StandardizedSingleFrameAddressed) SetMessageInfo(info MessageInfo)
type Message0xef00ManufacturerProprietarySingleFrameAddressed ¶
type Message0xef00ManufacturerProprietarySingleFrameAddressed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) DecodePayload ¶
func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) DecodePayload(payload []uint8) error
func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) EncodePayload ¶
func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) EncodePayload() ([]uint8, error)
func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) MessageInfo ¶
func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) MessageInfo() MessageInfo
func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) PGNNumber ¶
func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) PGNNumber() uint32
func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) SetMessageInfo ¶
func (m *Message0xef00ManufacturerProprietarySingleFrameAddressed) SetMessageInfo(info MessageInfo)
type Message0xf0000xfeffStandardizedSingleFrameNonAddressed ¶
type Message0xf0000xfeffStandardizedSingleFrameNonAddressed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) DecodePayload ¶
func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) DecodePayload(payload []uint8) error
func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) EncodePayload ¶
func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) EncodePayload() ([]uint8, error)
func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) MessageInfo ¶
func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) MessageInfo() MessageInfo
func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) PGNNumber ¶
func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) PGNNumber() uint32
func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) SetMessageInfo ¶
func (m *Message0xf0000xfeffStandardizedSingleFrameNonAddressed) SetMessageInfo(info MessageInfo)
type Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed ¶
type Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) DecodePayload ¶
func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) DecodePayload(payload []uint8) error
func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) EncodePayload ¶
func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) EncodePayload() ([]uint8, error)
func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) MessageInfo ¶
func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) MessageInfo() MessageInfo
func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) PGNNumber ¶
func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) PGNNumber() uint32
func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) SetMessageInfo ¶
func (m *Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) SetMessageInfo(info MessageInfo)
type MessageInfo ¶
type MessageInfo struct {
Timestamp time.Time `json:"timestamp"`
ReceivedAt time.Time `json:"receivedAt,omitempty"`
TransportTimestamp time.Duration `json:"transportTimestamp,omitempty"`
HasTransportTimestamp bool `json:"hasTransportTimestamp,omitempty"`
AdapterID string `json:"adapterId,omitempty"`
NetworkID string `json:"networkId,omitempty"`
Direction raw.Direction `json:"direction,omitempty"`
Priority *uint8 `json:"priority"`
PGN uint32 `json:"pgn"`
SourceId uint8 `json:"sourceId"`
TargetId *uint8 `json:"targetId"`
// contains filtered or unexported fields
}
MessageInfo carries the CAN bus header metadata that accompanies every NMEA 2000 message. It is extracted from the CAN frame's 29-bit identifier and timestamp before the payload is passed to a PGN decoder. Every PGN struct embeds a MessageInfo as its "info" field, with an exported MessageInfo() accessor.
type MeteorologicalStationData ¶
type MeteorologicalStationData struct {
Info MessageInfo `json:"info"`
Mode *uint64 `json:"mode,omitempty" n2k:"1"`
MeasurementDate *uint64 `json:"measurementDate,omitempty" n2k:"3"`
MeasurementTime *uint64 `json:"measurementTime,omitempty" n2k:"4"`
StationLatitude *int64 `json:"stationLatitude,omitempty" n2k:"5"`
StationLongitude *int64 `json:"stationLongitude,omitempty" n2k:"6"`
WindSpeed *uint64 `json:"windSpeed,omitempty" n2k:"7"`
WindDirection *uint64 `json:"windDirection,omitempty" n2k:"8"`
WindReference *uint64 `json:"windReference,omitempty" n2k:"9"`
WindGusts *uint64 `json:"windGusts,omitempty" n2k:"11"`
AtmosphericPressure *uint64 `json:"atmosphericPressure,omitempty" n2k:"12"`
AmbientTemperature *uint64 `json:"ambientTemperature,omitempty" n2k:"13"`
StationId string `json:"stationId,omitempty" n2k:"14"`
StationName string `json:"stationName,omitempty" n2k:"15"`
}
func (*MeteorologicalStationData) AmbientTemperatureValue ¶
func (m *MeteorologicalStationData) AmbientTemperatureValue() (float64, bool)
AmbientTemperatureValue returns AmbientTemperature as a physical value in K (value = raw * 0.01). The bool is false when AmbientTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) AtmosphericPressureValue ¶
func (m *MeteorologicalStationData) AtmosphericPressureValue() (float64, bool)
AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false when AtmosphericPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) DecodePayload ¶
func (m *MeteorologicalStationData) DecodePayload(payload []uint8) error
func (*MeteorologicalStationData) EncodePayload ¶
func (m *MeteorologicalStationData) EncodePayload() ([]uint8, error)
func (*MeteorologicalStationData) MeasurementDateValue ¶
func (m *MeteorologicalStationData) MeasurementDateValue() (float64, bool)
MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false when MeasurementDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) MeasurementTimeValue ¶
func (m *MeteorologicalStationData) MeasurementTimeValue() (float64, bool)
MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false when MeasurementTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) MessageInfo ¶
func (m *MeteorologicalStationData) MessageInfo() MessageInfo
func (*MeteorologicalStationData) PGNNumber ¶
func (m *MeteorologicalStationData) PGNNumber() uint32
func (*MeteorologicalStationData) SetAmbientTemperatureValue ¶
func (m *MeteorologicalStationData) SetAmbientTemperatureValue(v float64)
SetAmbientTemperatureValue sets AmbientTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*MeteorologicalStationData) SetAtmosphericPressureValue ¶
func (m *MeteorologicalStationData) SetAtmosphericPressureValue(v float64)
SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*MeteorologicalStationData) SetMeasurementDateValue ¶
func (m *MeteorologicalStationData) SetMeasurementDateValue(v float64)
SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*MeteorologicalStationData) SetMeasurementTimeValue ¶
func (m *MeteorologicalStationData) SetMeasurementTimeValue(v float64)
SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*MeteorologicalStationData) SetMessageInfo ¶
func (m *MeteorologicalStationData) SetMessageInfo(info MessageInfo)
func (*MeteorologicalStationData) SetStationLatitudeValue ¶
func (m *MeteorologicalStationData) SetStationLatitudeValue(v float64)
SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*MeteorologicalStationData) SetStationLongitudeValue ¶
func (m *MeteorologicalStationData) SetStationLongitudeValue(v float64)
SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*MeteorologicalStationData) SetWindDirectionValue ¶
func (m *MeteorologicalStationData) SetWindDirectionValue(v float64)
SetWindDirectionValue sets WindDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*MeteorologicalStationData) SetWindGustsValue ¶
func (m *MeteorologicalStationData) SetWindGustsValue(v float64)
SetWindGustsValue sets WindGusts from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*MeteorologicalStationData) SetWindSpeedValue ¶
func (m *MeteorologicalStationData) SetWindSpeedValue(v float64)
SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*MeteorologicalStationData) StationLatitudeValue ¶
func (m *MeteorologicalStationData) StationLatitudeValue() (float64, bool)
StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) StationLongitudeValue ¶
func (m *MeteorologicalStationData) StationLongitudeValue() (float64, bool)
StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) WindDirectionValue ¶
func (m *MeteorologicalStationData) WindDirectionValue() (float64, bool)
WindDirectionValue returns WindDirection as a physical value in rad (value = raw * 0.0001). The bool is false when WindDirection is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) WindGustsValue ¶
func (m *MeteorologicalStationData) WindGustsValue() (float64, bool)
WindGustsValue returns WindGusts as a physical value in m/s (value = raw * 0.01). The bool is false when WindGusts is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MeteorologicalStationData) WindSpeedValue ¶
func (m *MeteorologicalStationData) WindSpeedValue() (float64, bool)
WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when WindSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
type MobPositionSourceConst ¶
type MobPositionSourceConst uint8
const ( PositionEstimatedByTheVessel MobPositionSourceConst = 0 PositionReportedByMOBEmitter MobPositionSourceConst = 1 )
func (MobPositionSourceConst) GoString ¶
func (e MobPositionSourceConst) GoString() string
func (MobPositionSourceConst) String ¶
func (e MobPositionSourceConst) String() string
type MobStatusConst ¶
type MobStatusConst uint8
const ( MOBEmitterActivated MobStatusConst = 0 ManualOnBoardMOBButtonActivation MobStatusConst = 1 TestMode MobStatusConst = 2 )
func (MobStatusConst) GoString ¶
func (e MobStatusConst) GoString() string
func (MobStatusConst) String ¶
func (e MobStatusConst) String() string
type MooredBuoyStationData ¶
type MooredBuoyStationData struct {
Info MessageInfo `json:"info"`
Mode *uint64 `json:"mode,omitempty" n2k:"1"`
MeasurementDate *uint64 `json:"measurementDate,omitempty" n2k:"3"`
MeasurementTime *uint64 `json:"measurementTime,omitempty" n2k:"4"`
StationLatitude *int64 `json:"stationLatitude,omitempty" n2k:"5"`
StationLongitude *int64 `json:"stationLongitude,omitempty" n2k:"6"`
WindSpeed *uint64 `json:"windSpeed,omitempty" n2k:"7"`
WindDirection *uint64 `json:"windDirection,omitempty" n2k:"8"`
WindReference *uint64 `json:"windReference,omitempty" n2k:"9"`
WindGusts *uint64 `json:"windGusts,omitempty" n2k:"11"`
WaveHeight *uint64 `json:"waveHeight,omitempty" n2k:"12"`
DominantWavePeriod *uint64 `json:"dominantWavePeriod,omitempty" n2k:"13"`
AtmosphericPressure *uint64 `json:"atmosphericPressure,omitempty" n2k:"14"`
PressureTendencyRate *int64 `json:"pressureTendencyRate,omitempty" n2k:"15"`
AirTemperature *uint64 `json:"airTemperature,omitempty" n2k:"16"`
WaterTemperature *uint64 `json:"waterTemperature,omitempty" n2k:"17"`
StationId string `json:"stationId,omitempty" n2k:"18"`
}
func (*MooredBuoyStationData) AirTemperatureValue ¶
func (m *MooredBuoyStationData) AirTemperatureValue() (float64, bool)
AirTemperatureValue returns AirTemperature as a physical value in K (value = raw * 0.01). The bool is false when AirTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) AtmosphericPressureValue ¶
func (m *MooredBuoyStationData) AtmosphericPressureValue() (float64, bool)
AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false when AtmosphericPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) DecodePayload ¶
func (m *MooredBuoyStationData) DecodePayload(payload []uint8) error
func (*MooredBuoyStationData) DominantWavePeriodValue ¶
func (m *MooredBuoyStationData) DominantWavePeriodValue() (float64, bool)
DominantWavePeriodValue returns DominantWavePeriod as a physical value in s (value = raw * 0.01). The bool is false when DominantWavePeriod is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) EncodePayload ¶
func (m *MooredBuoyStationData) EncodePayload() ([]uint8, error)
func (*MooredBuoyStationData) MeasurementDateValue ¶
func (m *MooredBuoyStationData) MeasurementDateValue() (float64, bool)
MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false when MeasurementDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) MeasurementTimeValue ¶
func (m *MooredBuoyStationData) MeasurementTimeValue() (float64, bool)
MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false when MeasurementTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) MessageInfo ¶
func (m *MooredBuoyStationData) MessageInfo() MessageInfo
func (*MooredBuoyStationData) PGNNumber ¶
func (m *MooredBuoyStationData) PGNNumber() uint32
func (*MooredBuoyStationData) PressureTendencyRateValue ¶
func (m *MooredBuoyStationData) PressureTendencyRateValue() (float64, bool)
PressureTendencyRateValue returns PressureTendencyRate as a physical value in Pa/hr (value = raw * 10). The bool is false when PressureTendencyRate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) SetAirTemperatureValue ¶
func (m *MooredBuoyStationData) SetAirTemperatureValue(v float64)
SetAirTemperatureValue sets AirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) SetAtmosphericPressureValue ¶
func (m *MooredBuoyStationData) SetAtmosphericPressureValue(v float64)
SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*MooredBuoyStationData) SetDominantWavePeriodValue ¶
func (m *MooredBuoyStationData) SetDominantWavePeriodValue(v float64)
SetDominantWavePeriodValue sets DominantWavePeriod from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) SetMeasurementDateValue ¶
func (m *MooredBuoyStationData) SetMeasurementDateValue(v float64)
SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*MooredBuoyStationData) SetMeasurementTimeValue ¶
func (m *MooredBuoyStationData) SetMeasurementTimeValue(v float64)
SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*MooredBuoyStationData) SetMessageInfo ¶
func (m *MooredBuoyStationData) SetMessageInfo(info MessageInfo)
func (*MooredBuoyStationData) SetPressureTendencyRateValue ¶
func (m *MooredBuoyStationData) SetPressureTendencyRateValue(v float64)
SetPressureTendencyRateValue sets PressureTendencyRate from a physical value in Pa/hr, rounded to the nearest wire tick of 10.
func (*MooredBuoyStationData) SetStationLatitudeValue ¶
func (m *MooredBuoyStationData) SetStationLatitudeValue(v float64)
SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*MooredBuoyStationData) SetStationLongitudeValue ¶
func (m *MooredBuoyStationData) SetStationLongitudeValue(v float64)
SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*MooredBuoyStationData) SetWaterTemperatureValue ¶
func (m *MooredBuoyStationData) SetWaterTemperatureValue(v float64)
SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) SetWaveHeightValue ¶
func (m *MooredBuoyStationData) SetWaveHeightValue(v float64)
SetWaveHeightValue sets WaveHeight from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) SetWindDirectionValue ¶
func (m *MooredBuoyStationData) SetWindDirectionValue(v float64)
SetWindDirectionValue sets WindDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*MooredBuoyStationData) SetWindGustsValue ¶
func (m *MooredBuoyStationData) SetWindGustsValue(v float64)
SetWindGustsValue sets WindGusts from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) SetWindSpeedValue ¶
func (m *MooredBuoyStationData) SetWindSpeedValue(v float64)
SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*MooredBuoyStationData) StationLatitudeValue ¶
func (m *MooredBuoyStationData) StationLatitudeValue() (float64, bool)
StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) StationLongitudeValue ¶
func (m *MooredBuoyStationData) StationLongitudeValue() (float64, bool)
StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) WaterTemperatureValue ¶
func (m *MooredBuoyStationData) WaterTemperatureValue() (float64, bool)
WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when WaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) WaveHeightValue ¶
func (m *MooredBuoyStationData) WaveHeightValue() (float64, bool)
WaveHeightValue returns WaveHeight as a physical value in m (value = raw * 0.01). The bool is false when WaveHeight is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) WindDirectionValue ¶
func (m *MooredBuoyStationData) WindDirectionValue() (float64, bool)
WindDirectionValue returns WindDirection as a physical value in rad (value = raw * 0.0001). The bool is false when WindDirection is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) WindGustsValue ¶
func (m *MooredBuoyStationData) WindGustsValue() (float64, bool)
WindGustsValue returns WindGusts as a physical value in m/s (value = raw * 0.01). The bool is false when WindGusts is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*MooredBuoyStationData) WindSpeedValue ¶
func (m *MooredBuoyStationData) WindSpeedValue() (float64, bool)
WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when WindSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NavStatusConst ¶
type NavStatusConst uint8
const ( UnderWayUsingEngine NavStatusConst = 0 AtAnchor NavStatusConst = 1 NotUnderCommand NavStatusConst = 2 RestrictedManeuverability NavStatusConst = 3 ConstrainedByHerDraught NavStatusConst = 4 Moored NavStatusConst = 5 Aground NavStatusConst = 6 EngagedInFishing NavStatusConst = 7 UnderWaySailing NavStatusConst = 8 HazardousMaterialHighSpeed NavStatusConst = 9 HazardousMaterialWingInGround NavStatusConst = 10 PowerDrivenVesslTowingAstern NavStatusConst = 11 PowerDrivenVesslPushingAheadOrTowingAlongside NavStatusConst = 12 AISSART NavStatusConst = 14 )
func (NavStatusConst) GoString ¶
func (e NavStatusConst) GoString() string
func (NavStatusConst) String ¶
func (e NavStatusConst) String() string
type NavicoAlarm ¶
type NavicoAlarm struct {
}
func (*NavicoAlarm) DecodePayload ¶
func (m *NavicoAlarm) DecodePayload(payload []uint8) error
func (*NavicoAlarm) EncodePayload ¶
func (m *NavicoAlarm) EncodePayload() ([]uint8, error)
func (*NavicoAlarm) MessageInfo ¶
func (m *NavicoAlarm) MessageInfo() MessageInfo
func (*NavicoAlarm) PGNNumber ¶
func (m *NavicoAlarm) PGNNumber() uint32
func (*NavicoAlarm) SetMessageInfo ¶
func (m *NavicoAlarm) SetMessageInfo(info MessageInfo)
type NavicoAsciiData ¶
type NavicoAsciiData struct {
}
func (*NavicoAsciiData) DecodePayload ¶
func (m *NavicoAsciiData) DecodePayload(payload []uint8) error
func (*NavicoAsciiData) EncodePayload ¶
func (m *NavicoAsciiData) EncodePayload() ([]uint8, error)
func (*NavicoAsciiData) MessageInfo ¶
func (m *NavicoAsciiData) MessageInfo() MessageInfo
func (*NavicoAsciiData) PGNNumber ¶
func (m *NavicoAsciiData) PGNNumber() uint32
func (*NavicoAsciiData) SetMessageInfo ¶
func (m *NavicoAsciiData) SetMessageInfo(info MessageInfo)
type NavicoAsciiIdentifier ¶
type NavicoAsciiIdentifier struct {
}
func (*NavicoAsciiIdentifier) DecodePayload ¶
func (m *NavicoAsciiIdentifier) DecodePayload(payload []uint8) error
func (*NavicoAsciiIdentifier) EncodePayload ¶
func (m *NavicoAsciiIdentifier) EncodePayload() ([]uint8, error)
func (*NavicoAsciiIdentifier) MessageInfo ¶
func (m *NavicoAsciiIdentifier) MessageInfo() MessageInfo
func (*NavicoAsciiIdentifier) PGNNumber ¶
func (m *NavicoAsciiIdentifier) PGNNumber() uint32
func (*NavicoAsciiIdentifier) SetMessageInfo ¶
func (m *NavicoAsciiIdentifier) SetMessageInfo(info MessageInfo)
type NavicoBoatSpeedPolarTable ¶
type NavicoBoatSpeedPolarTable struct {
}
func (*NavicoBoatSpeedPolarTable) DecodePayload ¶
func (m *NavicoBoatSpeedPolarTable) DecodePayload(payload []uint8) error
func (*NavicoBoatSpeedPolarTable) EncodePayload ¶
func (m *NavicoBoatSpeedPolarTable) EncodePayload() ([]uint8, error)
func (*NavicoBoatSpeedPolarTable) MessageInfo ¶
func (m *NavicoBoatSpeedPolarTable) MessageInfo() MessageInfo
func (*NavicoBoatSpeedPolarTable) PGNNumber ¶
func (m *NavicoBoatSpeedPolarTable) PGNNumber() uint32
func (*NavicoBoatSpeedPolarTable) SetMessageInfo ¶
func (m *NavicoBoatSpeedPolarTable) SetMessageInfo(info MessageInfo)
type NavicoConfigurationSet ¶
type NavicoConfigurationSet struct {
}
func (*NavicoConfigurationSet) DecodePayload ¶
func (m *NavicoConfigurationSet) DecodePayload(payload []uint8) error
func (*NavicoConfigurationSet) EncodePayload ¶
func (m *NavicoConfigurationSet) EncodePayload() ([]uint8, error)
func (*NavicoConfigurationSet) MessageInfo ¶
func (m *NavicoConfigurationSet) MessageInfo() MessageInfo
func (*NavicoConfigurationSet) PGNNumber ¶
func (m *NavicoConfigurationSet) PGNNumber() uint32
func (*NavicoConfigurationSet) SetMessageInfo ¶
func (m *NavicoConfigurationSet) SetMessageInfo(info MessageInfo)
type NavicoDataTypeSourceDirectory ¶
type NavicoDataTypeSourceDirectory struct {
}
func (*NavicoDataTypeSourceDirectory) DecodePayload ¶
func (m *NavicoDataTypeSourceDirectory) DecodePayload(payload []uint8) error
func (*NavicoDataTypeSourceDirectory) EncodePayload ¶
func (m *NavicoDataTypeSourceDirectory) EncodePayload() ([]uint8, error)
func (*NavicoDataTypeSourceDirectory) MessageInfo ¶
func (m *NavicoDataTypeSourceDirectory) MessageInfo() MessageInfo
func (*NavicoDataTypeSourceDirectory) PGNNumber ¶
func (m *NavicoDataTypeSourceDirectory) PGNNumber() uint32
func (*NavicoDataTypeSourceDirectory) SetMessageInfo ¶
func (m *NavicoDataTypeSourceDirectory) SetMessageInfo(info MessageInfo)
type NavicoDataTypeSourceDirectoryFullReport ¶
type NavicoDataTypeSourceDirectoryFullReport struct {
}
func (*NavicoDataTypeSourceDirectoryFullReport) DecodePayload ¶
func (m *NavicoDataTypeSourceDirectoryFullReport) DecodePayload(payload []uint8) error
func (*NavicoDataTypeSourceDirectoryFullReport) EncodePayload ¶
func (m *NavicoDataTypeSourceDirectoryFullReport) EncodePayload() ([]uint8, error)
func (*NavicoDataTypeSourceDirectoryFullReport) MessageInfo ¶
func (m *NavicoDataTypeSourceDirectoryFullReport) MessageInfo() MessageInfo
func (*NavicoDataTypeSourceDirectoryFullReport) PGNNumber ¶
func (m *NavicoDataTypeSourceDirectoryFullReport) PGNNumber() uint32
func (*NavicoDataTypeSourceDirectoryFullReport) SetMessageInfo ¶
func (m *NavicoDataTypeSourceDirectoryFullReport) SetMessageInfo(info MessageInfo)
type NavicoDataTypeSourceDirectoryFullReportRepeating1 ¶
type NavicoDataTypeSourceDirectoryFullReportRepeating1 struct {
}
type NavicoDataTypeSourceDirectoryRepeating1 ¶
type NavicoDataTypeSourceDirectoryRepeating1 struct {
}
type NavicoDepthQuality ¶
type NavicoDepthQuality struct {
}
func (*NavicoDepthQuality) DecodePayload ¶
func (m *NavicoDepthQuality) DecodePayload(payload []uint8) error
func (*NavicoDepthQuality) DepthQualityValue ¶
func (m *NavicoDepthQuality) DepthQualityValue() (float64, bool)
DepthQualityValue returns DepthQuality as a physical value (value = raw * 0.01). The bool is false when DepthQuality is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavicoDepthQuality) EncodePayload ¶
func (m *NavicoDepthQuality) EncodePayload() ([]uint8, error)
func (*NavicoDepthQuality) MessageInfo ¶
func (m *NavicoDepthQuality) MessageInfo() MessageInfo
func (*NavicoDepthQuality) PGNNumber ¶
func (m *NavicoDepthQuality) PGNNumber() uint32
func (*NavicoDepthQuality) SetDepthQualityValue ¶
func (m *NavicoDepthQuality) SetDepthQualityValue(v float64)
SetDepthQualityValue sets DepthQuality from a physical value, rounded to the nearest wire tick of 0.01.
func (*NavicoDepthQuality) SetMessageInfo ¶
func (m *NavicoDepthQuality) SetMessageInfo(info MessageInfo)
type NavicoDeviceStatus ¶
type NavicoDeviceStatus struct {
}
func (*NavicoDeviceStatus) DecodePayload ¶
func (m *NavicoDeviceStatus) DecodePayload(payload []uint8) error
func (*NavicoDeviceStatus) EncodePayload ¶
func (m *NavicoDeviceStatus) EncodePayload() ([]uint8, error)
func (*NavicoDeviceStatus) MessageInfo ¶
func (m *NavicoDeviceStatus) MessageInfo() MessageInfo
func (*NavicoDeviceStatus) PGNNumber ¶
func (m *NavicoDeviceStatus) PGNNumber() uint32
func (*NavicoDeviceStatus) SetMessageInfo ¶
func (m *NavicoDeviceStatus) SetMessageInfo(info MessageInfo)
type NavicoDiagnosticData ¶
type NavicoDiagnosticData struct {
}
func (*NavicoDiagnosticData) DecodePayload ¶
func (m *NavicoDiagnosticData) DecodePayload(payload []uint8) error
func (*NavicoDiagnosticData) EncodePayload ¶
func (m *NavicoDiagnosticData) EncodePayload() ([]uint8, error)
func (*NavicoDiagnosticData) MessageInfo ¶
func (m *NavicoDiagnosticData) MessageInfo() MessageInfo
func (*NavicoDiagnosticData) PGNNumber ¶
func (m *NavicoDiagnosticData) PGNNumber() uint32
func (*NavicoDiagnosticData) SetMessageInfo ¶
func (m *NavicoDiagnosticData) SetMessageInfo(info MessageInfo)
type NavicoDiagnosticDataRepeating1 ¶
type NavicoDiagnosticDataRepeating1 struct {
}
type NavicoFeatureUnlock ¶
type NavicoFeatureUnlock struct {
}
func (*NavicoFeatureUnlock) DecodePayload ¶
func (m *NavicoFeatureUnlock) DecodePayload(payload []uint8) error
func (*NavicoFeatureUnlock) EncodePayload ¶
func (m *NavicoFeatureUnlock) EncodePayload() ([]uint8, error)
func (*NavicoFeatureUnlock) MessageInfo ¶
func (m *NavicoFeatureUnlock) MessageInfo() MessageInfo
func (*NavicoFeatureUnlock) PGNNumber ¶
func (m *NavicoFeatureUnlock) PGNNumber() uint32
func (*NavicoFeatureUnlock) SetMessageInfo ¶
func (m *NavicoFeatureUnlock) SetMessageInfo(info MessageInfo)
type NavicoNaviopSwitchControl ¶
type NavicoNaviopSwitchControl struct {
}
func (*NavicoNaviopSwitchControl) DecodePayload ¶
func (m *NavicoNaviopSwitchControl) DecodePayload(payload []uint8) error
func (*NavicoNaviopSwitchControl) EncodePayload ¶
func (m *NavicoNaviopSwitchControl) EncodePayload() ([]uint8, error)
func (*NavicoNaviopSwitchControl) MessageInfo ¶
func (m *NavicoNaviopSwitchControl) MessageInfo() MessageInfo
func (*NavicoNaviopSwitchControl) PGNNumber ¶
func (m *NavicoNaviopSwitchControl) PGNNumber() uint32
func (*NavicoNaviopSwitchControl) SetMessageInfo ¶
func (m *NavicoNaviopSwitchControl) SetMessageInfo(info MessageInfo)
type NavicoNaviopSwitchStatus ¶
type NavicoNaviopSwitchStatus struct {
}
func (*NavicoNaviopSwitchStatus) DecodePayload ¶
func (m *NavicoNaviopSwitchStatus) DecodePayload(payload []uint8) error
func (*NavicoNaviopSwitchStatus) EncodePayload ¶
func (m *NavicoNaviopSwitchStatus) EncodePayload() ([]uint8, error)
func (*NavicoNaviopSwitchStatus) MessageInfo ¶
func (m *NavicoNaviopSwitchStatus) MessageInfo() MessageInfo
func (*NavicoNaviopSwitchStatus) PGNNumber ¶
func (m *NavicoNaviopSwitchStatus) PGNNumber() uint32
func (*NavicoNaviopSwitchStatus) SetMessageInfo ¶
func (m *NavicoNaviopSwitchStatus) SetMessageInfo(info MessageInfo)
type NavicoProprietary2 ¶
type NavicoProprietary2 struct {
}
func (*NavicoProprietary2) DecodePayload ¶
func (m *NavicoProprietary2) DecodePayload(payload []uint8) error
func (*NavicoProprietary2) EncodePayload ¶
func (m *NavicoProprietary2) EncodePayload() ([]uint8, error)
func (*NavicoProprietary2) MessageInfo ¶
func (m *NavicoProprietary2) MessageInfo() MessageInfo
func (*NavicoProprietary2) PGNNumber ¶
func (m *NavicoProprietary2) PGNNumber() uint32
func (*NavicoProprietary2) SetMessageInfo ¶
func (m *NavicoProprietary2) SetMessageInfo(info MessageInfo)
type NavicoProprietaryFp ¶
type NavicoProprietaryFp struct {
}
func (*NavicoProprietaryFp) DecodePayload ¶
func (m *NavicoProprietaryFp) DecodePayload(payload []uint8) error
func (*NavicoProprietaryFp) EncodePayload ¶
func (m *NavicoProprietaryFp) EncodePayload() ([]uint8, error)
func (*NavicoProprietaryFp) MessageInfo ¶
func (m *NavicoProprietaryFp) MessageInfo() MessageInfo
func (*NavicoProprietaryFp) PGNNumber ¶
func (m *NavicoProprietaryFp) PGNNumber() uint32
func (*NavicoProprietaryFp) SetMessageInfo ¶
func (m *NavicoProprietaryFp) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseBulkReport2 ¶
type NavicoUdbDatabaseBulkReport2 struct {
}
func (*NavicoUdbDatabaseBulkReport2) DecodePayload ¶
func (m *NavicoUdbDatabaseBulkReport2) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseBulkReport2) EncodePayload ¶
func (m *NavicoUdbDatabaseBulkReport2) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseBulkReport2) MessageInfo ¶
func (m *NavicoUdbDatabaseBulkReport2) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseBulkReport2) PGNNumber ¶
func (m *NavicoUdbDatabaseBulkReport2) PGNNumber() uint32
func (*NavicoUdbDatabaseBulkReport2) SetMessageInfo ¶
func (m *NavicoUdbDatabaseBulkReport2) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseBulkReport4 ¶
type NavicoUdbDatabaseBulkReport4 struct {
}
func (*NavicoUdbDatabaseBulkReport4) DecodePayload ¶
func (m *NavicoUdbDatabaseBulkReport4) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseBulkReport4) EncodePayload ¶
func (m *NavicoUdbDatabaseBulkReport4) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseBulkReport4) MessageInfo ¶
func (m *NavicoUdbDatabaseBulkReport4) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseBulkReport4) PGNNumber ¶
func (m *NavicoUdbDatabaseBulkReport4) PGNNumber() uint32
func (*NavicoUdbDatabaseBulkReport4) SetMessageInfo ¶
func (m *NavicoUdbDatabaseBulkReport4) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseObjectDump ¶
type NavicoUdbDatabaseObjectDump struct {
}
func (*NavicoUdbDatabaseObjectDump) DecodePayload ¶
func (m *NavicoUdbDatabaseObjectDump) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseObjectDump) EncodePayload ¶
func (m *NavicoUdbDatabaseObjectDump) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseObjectDump) MessageInfo ¶
func (m *NavicoUdbDatabaseObjectDump) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseObjectDump) PGNNumber ¶
func (m *NavicoUdbDatabaseObjectDump) PGNNumber() uint32
func (*NavicoUdbDatabaseObjectDump) SetMessageInfo ¶
func (m *NavicoUdbDatabaseObjectDump) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseObjectDumpRepeating1 ¶
type NavicoUdbDatabaseObjectDumpRepeating1 struct {
}
type NavicoUdbDatabaseObjectPing ¶
type NavicoUdbDatabaseObjectPing struct {
}
func (*NavicoUdbDatabaseObjectPing) DecodePayload ¶
func (m *NavicoUdbDatabaseObjectPing) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseObjectPing) EncodePayload ¶
func (m *NavicoUdbDatabaseObjectPing) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseObjectPing) MessageInfo ¶
func (m *NavicoUdbDatabaseObjectPing) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseObjectPing) PGNNumber ¶
func (m *NavicoUdbDatabaseObjectPing) PGNNumber() uint32
func (*NavicoUdbDatabaseObjectPing) SetMessageInfo ¶
func (m *NavicoUdbDatabaseObjectPing) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseShortReport5 ¶
type NavicoUdbDatabaseShortReport5 struct {
}
func (*NavicoUdbDatabaseShortReport5) DecodePayload ¶
func (m *NavicoUdbDatabaseShortReport5) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseShortReport5) EncodePayload ¶
func (m *NavicoUdbDatabaseShortReport5) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseShortReport5) MessageInfo ¶
func (m *NavicoUdbDatabaseShortReport5) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseShortReport5) PGNNumber ¶
func (m *NavicoUdbDatabaseShortReport5) PGNNumber() uint32
func (*NavicoUdbDatabaseShortReport5) SetMessageInfo ¶
func (m *NavicoUdbDatabaseShortReport5) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseShortReport7 ¶
type NavicoUdbDatabaseShortReport7 struct {
}
func (*NavicoUdbDatabaseShortReport7) DecodePayload ¶
func (m *NavicoUdbDatabaseShortReport7) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseShortReport7) EncodePayload ¶
func (m *NavicoUdbDatabaseShortReport7) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseShortReport7) MessageInfo ¶
func (m *NavicoUdbDatabaseShortReport7) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseShortReport7) PGNNumber ¶
func (m *NavicoUdbDatabaseShortReport7) PGNNumber() uint32
func (*NavicoUdbDatabaseShortReport7) SetMessageInfo ¶
func (m *NavicoUdbDatabaseShortReport7) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseSourceReport ¶
type NavicoUdbDatabaseSourceReport struct {
}
func (*NavicoUdbDatabaseSourceReport) DecodePayload ¶
func (m *NavicoUdbDatabaseSourceReport) DecodePayload(payload []uint8) error
func (*NavicoUdbDatabaseSourceReport) EncodePayload ¶
func (m *NavicoUdbDatabaseSourceReport) EncodePayload() ([]uint8, error)
func (*NavicoUdbDatabaseSourceReport) MessageInfo ¶
func (m *NavicoUdbDatabaseSourceReport) MessageInfo() MessageInfo
func (*NavicoUdbDatabaseSourceReport) PGNNumber ¶
func (m *NavicoUdbDatabaseSourceReport) PGNNumber() uint32
func (*NavicoUdbDatabaseSourceReport) SetMessageInfo ¶
func (m *NavicoUdbDatabaseSourceReport) SetMessageInfo(info MessageInfo)
type NavicoWirelessBatteryStatus ¶
type NavicoWirelessBatteryStatus struct {
}
func (*NavicoWirelessBatteryStatus) BatteryChargeStatusValue ¶
func (m *NavicoWirelessBatteryStatus) BatteryChargeStatusValue() (float64, bool)
BatteryChargeStatusValue returns BatteryChargeStatus as a physical value in % (value = raw). The bool is false when BatteryChargeStatus is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavicoWirelessBatteryStatus) BatteryStatusValue ¶
func (m *NavicoWirelessBatteryStatus) BatteryStatusValue() (float64, bool)
BatteryStatusValue returns BatteryStatus as a physical value in % (value = raw). The bool is false when BatteryStatus is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavicoWirelessBatteryStatus) DecodePayload ¶
func (m *NavicoWirelessBatteryStatus) DecodePayload(payload []uint8) error
func (*NavicoWirelessBatteryStatus) EncodePayload ¶
func (m *NavicoWirelessBatteryStatus) EncodePayload() ([]uint8, error)
func (*NavicoWirelessBatteryStatus) MessageInfo ¶
func (m *NavicoWirelessBatteryStatus) MessageInfo() MessageInfo
func (*NavicoWirelessBatteryStatus) PGNNumber ¶
func (m *NavicoWirelessBatteryStatus) PGNNumber() uint32
func (*NavicoWirelessBatteryStatus) SetBatteryChargeStatusValue ¶
func (m *NavicoWirelessBatteryStatus) SetBatteryChargeStatusValue(v float64)
SetBatteryChargeStatusValue sets BatteryChargeStatus from a physical value in %, rounded to the nearest wire tick of 1.
func (*NavicoWirelessBatteryStatus) SetBatteryStatusValue ¶
func (m *NavicoWirelessBatteryStatus) SetBatteryStatusValue(v float64)
SetBatteryStatusValue sets BatteryStatus from a physical value in %, rounded to the nearest wire tick of 1.
func (*NavicoWirelessBatteryStatus) SetMessageInfo ¶
func (m *NavicoWirelessBatteryStatus) SetMessageInfo(info MessageInfo)
type NavicoWirelessSignalStatus ¶
type NavicoWirelessSignalStatus struct {
}
func (*NavicoWirelessSignalStatus) DecodePayload ¶
func (m *NavicoWirelessSignalStatus) DecodePayload(payload []uint8) error
func (*NavicoWirelessSignalStatus) EncodePayload ¶
func (m *NavicoWirelessSignalStatus) EncodePayload() ([]uint8, error)
func (*NavicoWirelessSignalStatus) MessageInfo ¶
func (m *NavicoWirelessSignalStatus) MessageInfo() MessageInfo
func (*NavicoWirelessSignalStatus) PGNNumber ¶
func (m *NavicoWirelessSignalStatus) PGNNumber() uint32
func (*NavicoWirelessSignalStatus) SetMessageInfo ¶
func (m *NavicoWirelessSignalStatus) SetMessageInfo(info MessageInfo)
func (*NavicoWirelessSignalStatus) SetSignalStrengthValue ¶
func (m *NavicoWirelessSignalStatus) SetSignalStrengthValue(v float64)
SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.
func (*NavicoWirelessSignalStatus) SignalStrengthValue ¶
func (m *NavicoWirelessSignalStatus) SignalStrengthValue() (float64, bool)
SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false when SignalStrength is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NavigationData ¶
type NavigationData struct {
}
func (*NavigationData) BearingOriginToDestinationWaypointValue ¶
func (m *NavigationData) BearingOriginToDestinationWaypointValue() (float64, bool)
BearingOriginToDestinationWaypointValue returns BearingOriginToDestinationWaypoint as a physical value in rad (value = raw * 0.0001). The bool is false when BearingOriginToDestinationWaypoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) BearingPositionToDestinationWaypointValue ¶
func (m *NavigationData) BearingPositionToDestinationWaypointValue() (float64, bool)
BearingPositionToDestinationWaypointValue returns BearingPositionToDestinationWaypoint as a physical value in rad (value = raw * 0.0001). The bool is false when BearingPositionToDestinationWaypoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) DecodePayload ¶
func (m *NavigationData) DecodePayload(payload []uint8) error
func (*NavigationData) DestinationLatitudeValue ¶
func (m *NavigationData) DestinationLatitudeValue() (float64, bool)
DestinationLatitudeValue returns DestinationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when DestinationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) DestinationLongitudeValue ¶
func (m *NavigationData) DestinationLongitudeValue() (float64, bool)
DestinationLongitudeValue returns DestinationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when DestinationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) DistanceToWaypointValue ¶
func (m *NavigationData) DistanceToWaypointValue() (float64, bool)
DistanceToWaypointValue returns DistanceToWaypoint as a physical value in m (value = raw * 0.01). The bool is false when DistanceToWaypoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) EncodePayload ¶
func (m *NavigationData) EncodePayload() ([]uint8, error)
func (*NavigationData) EtaDateValue ¶
func (m *NavigationData) EtaDateValue() (float64, bool)
EtaDateValue returns EtaDate as a physical value in d (value = raw). The bool is false when EtaDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) EtaTimeValue ¶
func (m *NavigationData) EtaTimeValue() (float64, bool)
EtaTimeValue returns EtaTime as a physical value in s (value = raw * 0.0001). The bool is false when EtaTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationData) MessageInfo ¶
func (m *NavigationData) MessageInfo() MessageInfo
func (*NavigationData) PGNNumber ¶
func (m *NavigationData) PGNNumber() uint32
func (*NavigationData) SetBearingOriginToDestinationWaypointValue ¶
func (m *NavigationData) SetBearingOriginToDestinationWaypointValue(v float64)
SetBearingOriginToDestinationWaypointValue sets BearingOriginToDestinationWaypoint from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*NavigationData) SetBearingPositionToDestinationWaypointValue ¶
func (m *NavigationData) SetBearingPositionToDestinationWaypointValue(v float64)
SetBearingPositionToDestinationWaypointValue sets BearingPositionToDestinationWaypoint from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*NavigationData) SetDestinationLatitudeValue ¶
func (m *NavigationData) SetDestinationLatitudeValue(v float64)
SetDestinationLatitudeValue sets DestinationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*NavigationData) SetDestinationLongitudeValue ¶
func (m *NavigationData) SetDestinationLongitudeValue(v float64)
SetDestinationLongitudeValue sets DestinationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*NavigationData) SetDistanceToWaypointValue ¶
func (m *NavigationData) SetDistanceToWaypointValue(v float64)
SetDistanceToWaypointValue sets DistanceToWaypoint from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*NavigationData) SetEtaDateValue ¶
func (m *NavigationData) SetEtaDateValue(v float64)
SetEtaDateValue sets EtaDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*NavigationData) SetEtaTimeValue ¶
func (m *NavigationData) SetEtaTimeValue(v float64)
SetEtaTimeValue sets EtaTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*NavigationData) SetMessageInfo ¶
func (m *NavigationData) SetMessageInfo(info MessageInfo)
func (*NavigationData) SetWaypointClosingVelocityValue ¶
func (m *NavigationData) SetWaypointClosingVelocityValue(v float64)
SetWaypointClosingVelocityValue sets WaypointClosingVelocity from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*NavigationData) WaypointClosingVelocityValue ¶
func (m *NavigationData) WaypointClosingVelocityValue() (float64, bool)
WaypointClosingVelocityValue returns WaypointClosingVelocity as a physical value in m/s (value = raw * 0.01). The bool is false when WaypointClosingVelocity is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NavigationRouteTimeToFromMark ¶
type NavigationRouteTimeToFromMark struct {
}
func (*NavigationRouteTimeToFromMark) DecodePayload ¶
func (m *NavigationRouteTimeToFromMark) DecodePayload(payload []uint8) error
func (*NavigationRouteTimeToFromMark) EncodePayload ¶
func (m *NavigationRouteTimeToFromMark) EncodePayload() ([]uint8, error)
func (*NavigationRouteTimeToFromMark) MessageInfo ¶
func (m *NavigationRouteTimeToFromMark) MessageInfo() MessageInfo
func (*NavigationRouteTimeToFromMark) PGNNumber ¶
func (m *NavigationRouteTimeToFromMark) PGNNumber() uint32
func (*NavigationRouteTimeToFromMark) SetMessageInfo ¶
func (m *NavigationRouteTimeToFromMark) SetMessageInfo(info MessageInfo)
func (*NavigationRouteTimeToFromMark) SetTimeToMarkValue ¶
func (m *NavigationRouteTimeToFromMark) SetTimeToMarkValue(v float64)
SetTimeToMarkValue sets TimeToMark from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*NavigationRouteTimeToFromMark) TimeToMarkValue ¶
func (m *NavigationRouteTimeToFromMark) TimeToMarkValue() (float64, bool)
TimeToMarkValue returns TimeToMark as a physical value in s (value = raw * 0.001). The bool is false when TimeToMark is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NavigationRouteWpInformation ¶
type NavigationRouteWpInformation struct {
}
func (*NavigationRouteWpInformation) DecodePayload ¶
func (m *NavigationRouteWpInformation) DecodePayload(payload []uint8) error
func (*NavigationRouteWpInformation) EncodePayload ¶
func (m *NavigationRouteWpInformation) EncodePayload() ([]uint8, error)
func (*NavigationRouteWpInformation) MessageInfo ¶
func (m *NavigationRouteWpInformation) MessageInfo() MessageInfo
func (*NavigationRouteWpInformation) PGNNumber ¶
func (m *NavigationRouteWpInformation) PGNNumber() uint32
func (*NavigationRouteWpInformation) SetMessageInfo ¶
func (m *NavigationRouteWpInformation) SetMessageInfo(info MessageInfo)
type NavigationRouteWpInformationRepeating1 ¶
type NavigationRouteWpInformationRepeating1 struct {
}
func (*NavigationRouteWpInformationRepeating1) SetWpLatitudeValue ¶
func (m *NavigationRouteWpInformationRepeating1) SetWpLatitudeValue(v float64)
SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*NavigationRouteWpInformationRepeating1) SetWpLongitudeValue ¶
func (m *NavigationRouteWpInformationRepeating1) SetWpLongitudeValue(v float64)
SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*NavigationRouteWpInformationRepeating1) WpLatitudeValue ¶
func (m *NavigationRouteWpInformationRepeating1) WpLatitudeValue() (float64, bool)
WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NavigationRouteWpInformationRepeating1) WpLongitudeValue ¶
func (m *NavigationRouteWpInformationRepeating1) WpLongitudeValue() (float64, bool)
WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NmeaAcknowledgeGroupFunction ¶
type NmeaAcknowledgeGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
PgnErrorCode *uint64 `json:"pgnErrorCode,omitempty" n2k:"3"`
TransmissionIntervalPriorityErrorCode *uint64 `json:"transmissionIntervalPriorityErrorCode,omitempty" n2k:"4"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"5"`
Repeating1 []NmeaAcknowledgeGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*NmeaAcknowledgeGroupFunction) DecodePayload ¶
func (m *NmeaAcknowledgeGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaAcknowledgeGroupFunction) EncodePayload ¶
func (m *NmeaAcknowledgeGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaAcknowledgeGroupFunction) MessageInfo ¶
func (m *NmeaAcknowledgeGroupFunction) MessageInfo() MessageInfo
func (*NmeaAcknowledgeGroupFunction) PGNNumber ¶
func (m *NmeaAcknowledgeGroupFunction) PGNNumber() uint32
func (*NmeaAcknowledgeGroupFunction) SetMessageInfo ¶
func (m *NmeaAcknowledgeGroupFunction) SetMessageInfo(info MessageInfo)
type NmeaAcknowledgeGroupFunctionRepeating1 ¶
type NmeaAcknowledgeGroupFunctionRepeating1 struct {
Parameter *uint64 `json:"parameter,omitempty" n2k:"6"`
}
type NmeaCommandGroupFunction ¶
type NmeaCommandGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
Priority *uint64 `json:"priority,omitempty" n2k:"3"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"5"`
Repeating1 []NmeaCommandGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*NmeaCommandGroupFunction) DecodePayload ¶
func (m *NmeaCommandGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaCommandGroupFunction) EncodePayload ¶
func (m *NmeaCommandGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaCommandGroupFunction) MessageInfo ¶
func (m *NmeaCommandGroupFunction) MessageInfo() MessageInfo
func (*NmeaCommandGroupFunction) PGNNumber ¶
func (m *NmeaCommandGroupFunction) PGNNumber() uint32
func (*NmeaCommandGroupFunction) SetMessageInfo ¶
func (m *NmeaCommandGroupFunction) SetMessageInfo(info MessageInfo)
type NmeaReadFieldsGroupFunction ¶
type NmeaReadFieldsGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"3"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"5"`
UniqueId *uint64 `json:"uniqueId,omitempty" n2k:"6"`
NumberOfSelectionPairs *uint64 `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"8"`
Repeating1 []NmeaReadFieldsGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
Repeating2 []NmeaReadFieldsGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}
func (*NmeaReadFieldsGroupFunction) DecodePayload ¶
func (m *NmeaReadFieldsGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaReadFieldsGroupFunction) EncodePayload ¶
func (m *NmeaReadFieldsGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaReadFieldsGroupFunction) MessageInfo ¶
func (m *NmeaReadFieldsGroupFunction) MessageInfo() MessageInfo
func (*NmeaReadFieldsGroupFunction) PGNNumber ¶
func (m *NmeaReadFieldsGroupFunction) PGNNumber() uint32
func (*NmeaReadFieldsGroupFunction) SetMessageInfo ¶
func (m *NmeaReadFieldsGroupFunction) SetMessageInfo(info MessageInfo)
type NmeaReadFieldsGroupFunctionRepeating2 ¶
type NmeaReadFieldsGroupFunctionRepeating2 struct {
Parameter *uint64 `json:"parameter,omitempty" n2k:"11"`
}
type NmeaReadFieldsReplyGroupFunction ¶
type NmeaReadFieldsReplyGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"3"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"5"`
UniqueId *uint64 `json:"uniqueId,omitempty" n2k:"6"`
NumberOfSelectionPairs *uint64 `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"8"`
Repeating1 []NmeaReadFieldsReplyGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
Repeating2 []NmeaReadFieldsReplyGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}
func (*NmeaReadFieldsReplyGroupFunction) DecodePayload ¶
func (m *NmeaReadFieldsReplyGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaReadFieldsReplyGroupFunction) EncodePayload ¶
func (m *NmeaReadFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaReadFieldsReplyGroupFunction) MessageInfo ¶
func (m *NmeaReadFieldsReplyGroupFunction) MessageInfo() MessageInfo
func (*NmeaReadFieldsReplyGroupFunction) PGNNumber ¶
func (m *NmeaReadFieldsReplyGroupFunction) PGNNumber() uint32
func (*NmeaReadFieldsReplyGroupFunction) SetMessageInfo ¶
func (m *NmeaReadFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)
type NmeaRequestGroupFunction ¶
type NmeaRequestGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
TransmissionInterval *uint64 `json:"transmissionInterval,omitempty" n2k:"3"`
TransmissionIntervalOffset *uint64 `json:"transmissionIntervalOffset,omitempty" n2k:"4"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"5"`
Repeating1 []NmeaRequestGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*NmeaRequestGroupFunction) DecodePayload ¶
func (m *NmeaRequestGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaRequestGroupFunction) EncodePayload ¶
func (m *NmeaRequestGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaRequestGroupFunction) MessageInfo ¶
func (m *NmeaRequestGroupFunction) MessageInfo() MessageInfo
func (*NmeaRequestGroupFunction) PGNNumber ¶
func (m *NmeaRequestGroupFunction) PGNNumber() uint32
func (*NmeaRequestGroupFunction) SetMessageInfo ¶
func (m *NmeaRequestGroupFunction) SetMessageInfo(info MessageInfo)
func (*NmeaRequestGroupFunction) SetTransmissionIntervalOffsetValue ¶
func (m *NmeaRequestGroupFunction) SetTransmissionIntervalOffsetValue(v float64)
SetTransmissionIntervalOffsetValue sets TransmissionIntervalOffset from a physical value in s, rounded to the nearest wire tick of 0.01.
func (*NmeaRequestGroupFunction) SetTransmissionIntervalValue ¶
func (m *NmeaRequestGroupFunction) SetTransmissionIntervalValue(v float64)
SetTransmissionIntervalValue sets TransmissionInterval from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*NmeaRequestGroupFunction) TransmissionIntervalOffsetValue ¶
func (m *NmeaRequestGroupFunction) TransmissionIntervalOffsetValue() (float64, bool)
TransmissionIntervalOffsetValue returns TransmissionIntervalOffset as a physical value in s (value = raw * 0.01). The bool is false when TransmissionIntervalOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*NmeaRequestGroupFunction) TransmissionIntervalValue ¶
func (m *NmeaRequestGroupFunction) TransmissionIntervalValue() (float64, bool)
TransmissionIntervalValue returns TransmissionInterval as a physical value in s (value = raw * 0.001). The bool is false when TransmissionInterval is nil: the wire carried the field's null sentinel or the payload ended before the field.
type NmeaWriteFieldsGroupFunction ¶
type NmeaWriteFieldsGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"3"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"5"`
UniqueId *uint64 `json:"uniqueId,omitempty" n2k:"6"`
NumberOfSelectionPairs *uint64 `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"8"`
Repeating1 []NmeaWriteFieldsGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
Repeating2 []NmeaWriteFieldsGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}
func (*NmeaWriteFieldsGroupFunction) DecodePayload ¶
func (m *NmeaWriteFieldsGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaWriteFieldsGroupFunction) EncodePayload ¶
func (m *NmeaWriteFieldsGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaWriteFieldsGroupFunction) MessageInfo ¶
func (m *NmeaWriteFieldsGroupFunction) MessageInfo() MessageInfo
func (*NmeaWriteFieldsGroupFunction) PGNNumber ¶
func (m *NmeaWriteFieldsGroupFunction) PGNNumber() uint32
func (*NmeaWriteFieldsGroupFunction) SetMessageInfo ¶
func (m *NmeaWriteFieldsGroupFunction) SetMessageInfo(info MessageInfo)
type NmeaWriteFieldsReplyGroupFunction ¶
type NmeaWriteFieldsReplyGroupFunction struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"3"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"5"`
UniqueId *uint64 `json:"uniqueId,omitempty" n2k:"6"`
NumberOfSelectionPairs *uint64 `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
NumberOfParameters *uint64 `json:"numberOfParameters,omitempty" n2k:"8"`
Repeating1 []NmeaWriteFieldsReplyGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
Repeating2 []NmeaWriteFieldsReplyGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}
func (*NmeaWriteFieldsReplyGroupFunction) DecodePayload ¶
func (m *NmeaWriteFieldsReplyGroupFunction) DecodePayload(payload []uint8) error
func (*NmeaWriteFieldsReplyGroupFunction) EncodePayload ¶
func (m *NmeaWriteFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)
func (*NmeaWriteFieldsReplyGroupFunction) MessageInfo ¶
func (m *NmeaWriteFieldsReplyGroupFunction) MessageInfo() MessageInfo
func (*NmeaWriteFieldsReplyGroupFunction) PGNNumber ¶
func (m *NmeaWriteFieldsReplyGroupFunction) PGNNumber() uint32
func (*NmeaWriteFieldsReplyGroupFunction) SetMessageInfo ¶
func (m *NmeaWriteFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)
type OffOnConst ¶
type OffOnConst uint8
const ( Off OffOnConst = 0 On OffOnConst = 1 )
func (OffOnConst) GoString ¶
func (e OffOnConst) GoString() string
func (OffOnConst) String ¶
func (e OffOnConst) String() string
type OkWarningConst ¶
type OkWarningConst uint8
const ( OK OkWarningConst = 0 Warning OkWarningConst = 1 )
func (OkWarningConst) GoString ¶
func (e OkWarningConst) GoString() string
func (OkWarningConst) String ¶
func (e OkWarningConst) String() string
type PGN ¶
type PGN interface {
Message
MessageInfo() MessageInfo
SetMessageInfo(MessageInfo)
DecodePayload([]uint8) error
EncodePayload() ([]uint8, error)
}
func DecodeMessage ¶
func DecodeMessage(info MessageInfo, payload []uint8) (PGN, error)
DecodeMessage decodes a raw PGN payload into the matching PGN struct.
func DecodePayload ¶
func DecodePayload(info MessageInfo, payload []uint8) (PGN, error)
type PGNDataStream ¶
type PGNDataStream struct {
// contains filtered or unexported fields
}
PGNDataStream provides a bit-level sequential reader over raw NMEA 2000 message data. It is the core decoding primitive: generated PGN decoder functions create a PGNDataStream from a packet's payload bytes and then call its typed read methods to extract each field in the order defined by the PGN specification.
NMEA 2000 fields are not always byte-aligned -- many are packed at odd bit widths (e.g., 3-bit lookup fields, 11-bit manufacturer codes). The stream tracks a combined byte+bit cursor so that sub-byte and cross-byte reads work transparently.
Nullable semantics: In the NMEA 2000 encoding, the maximum representable value for a field's bit width signals "data not available" (null). The read methods that return pointer types use this convention: they return nil when the raw value equals the null sentinel, avoiding the need for a separate validity flag.
func NewPgnDataStream ¶
func NewPgnDataStream(data []uint8) *PGNDataStream
NewPgnDataStream creates a PGNDataStream positioned at the beginning of the supplied byte slice. The caller should pass the complete reassembled payload of an NMEA 2000 packet (for fast-packet PGNs, the frames must already be assembled before calling this). The stream does not copy the data -- it references the original slice.
type PGNDataStreamWriter ¶
type PGNDataStreamWriter struct {
// contains filtered or unexported fields
}
PGNDataStreamWriter provides a bit-level sequential writer that is the exact inverse of PGNDataStream. It builds up an NMEA 2000 message payload by writing typed fields in the order defined by a PGN specification. Sub-byte and cross-byte writes are handled transparently using the same little-endian bit ordering as the reader.
Generated PGN encoder functions will create a PGNDataStreamWriter, call its typed write methods for each field, and then call Bytes() to obtain the finished payload.
func NewPGNDataStreamWriter ¶
func NewPGNDataStreamWriter() *PGNDataStreamWriter
NewPGNDataStreamWriter creates a PGNDataStreamWriter with an empty payload buffer. Callers write fields sequentially, then call Bytes() to retrieve the encoded payload.
func (*PGNDataStreamWriter) Bytes ¶
func (w *PGNDataStreamWriter) Bytes() []uint8
Bytes returns the accumulated payload bytes. The returned slice is owned by the writer; callers should copy it if they need to retain it after further writes.
func (*PGNDataStreamWriter) Err ¶
func (w *PGNDataStreamWriter) Err() error
Err returns the first error encountered during writes, or nil if all writes succeeded.
type ParameterFieldConst ¶
type ParameterFieldConst uint8
const ( Acknowledge_3 ParameterFieldConst = 0 InvalidParameterField ParameterFieldConst = 1 TemporaryError ParameterFieldConst = 2 ParameterOutOfRange ParameterFieldConst = 3 AccessDenied_2 ParameterFieldConst = 4 NotSupported_2 ParameterFieldConst = 5 ReadOrWriteNotSupported ParameterFieldConst = 6 )
func (ParameterFieldConst) GoString ¶
func (e ParameterFieldConst) GoString() string
func (ParameterFieldConst) String ¶
func (e ParameterFieldConst) String() string
type ParameterGroupNumberListTransmitAndReceive ¶
type ParameterGroupNumberListTransmitAndReceive struct {
Info MessageInfo `json:"info"`
FunctionCode *uint64 `json:"functionCode,omitempty" n2k:"1"`
Repeating1 []ParameterGroupNumberListTransmitAndReceiveRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*ParameterGroupNumberListTransmitAndReceive) DecodePayload ¶
func (m *ParameterGroupNumberListTransmitAndReceive) DecodePayload(payload []uint8) error
func (*ParameterGroupNumberListTransmitAndReceive) EncodePayload ¶
func (m *ParameterGroupNumberListTransmitAndReceive) EncodePayload() ([]uint8, error)
func (*ParameterGroupNumberListTransmitAndReceive) MessageInfo ¶
func (m *ParameterGroupNumberListTransmitAndReceive) MessageInfo() MessageInfo
func (*ParameterGroupNumberListTransmitAndReceive) PGNNumber ¶
func (m *ParameterGroupNumberListTransmitAndReceive) PGNNumber() uint32
func (*ParameterGroupNumberListTransmitAndReceive) SetMessageInfo ¶
func (m *ParameterGroupNumberListTransmitAndReceive) SetMessageInfo(info MessageInfo)
type ParameterGroupNumberListTransmitAndReceiveRepeating1 ¶
type ParameterGroupNumberListTransmitAndReceiveRepeating1 struct {
Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
}
type PayloadMass ¶
type PayloadMass struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
MeasurementStatus *uint64 `json:"measurementStatus,omitempty" n2k:"2"`
MeasurementId *uint64 `json:"measurementId,omitempty" n2k:"4"`
PayloadMass *uint64 `json:"payloadMass,omitempty" n2k:"5"`
}
func (*PayloadMass) DecodePayload ¶
func (m *PayloadMass) DecodePayload(payload []uint8) error
func (*PayloadMass) EncodePayload ¶
func (m *PayloadMass) EncodePayload() ([]uint8, error)
func (*PayloadMass) MessageInfo ¶
func (m *PayloadMass) MessageInfo() MessageInfo
func (*PayloadMass) PGNNumber ¶
func (m *PayloadMass) PGNNumber() uint32
func (*PayloadMass) SetMessageInfo ¶
func (m *PayloadMass) SetMessageInfo(info MessageInfo)
type PgnErrorCodeConst ¶
type PgnErrorCodeConst uint8
const ( Acknowledge_5 PgnErrorCodeConst = 0 PGNNotSupported PgnErrorCodeConst = 1 PGNNotAvailable PgnErrorCodeConst = 2 AccessDenied_4 PgnErrorCodeConst = 3 NotSupported_3 PgnErrorCodeConst = 4 TagNotSupported PgnErrorCodeConst = 5 ReadOrWriteNotSupported_2 PgnErrorCodeConst = 6 )
func (PgnErrorCodeConst) GoString ¶
func (e PgnErrorCodeConst) GoString() string
func (PgnErrorCodeConst) String ¶
func (e PgnErrorCodeConst) String() string
type PgnInfo ¶
type PgnInfo struct {
// SourceID is the upstream source Id for this PGN variant.
SourceID string `json:"sourceId"`
// Id is a unique string identifier for this PGN variant, needed to distinguish
// PGNs that share the same numeric PGN but have different field layouts (KeyValue PGNs).
Id string `json:"id"`
// PGN is the NMEA 2000 Parameter Group Number that identifies this message type
// on the CAN bus. Values range from 0 to ~131071 (0x1FFFF).
PGN uint32 `json:"pgn"`
// Description is a human-readable name for this PGN (e.g., "Vessel Heading").
Description string `json:"description"`
// Explanation is the source schema's longer PGN description, when present.
Explanation string `json:"explanation,omitempty"`
// Fast indicates whether this PGN uses the NMEA 2000 fast-packet protocol.
// Fast-packet PGNs can carry more than 8 bytes by spanning multiple CAN frames;
// single-frame PGNs are limited to 8 bytes.
Fast bool `json:"fast"`
// Type is the source schema transport type string (Single, Fast, ISO, or Mixed).
Type string `json:"type"`
// Complete mirrors the source schema's confidence flag for fully described PGNs.
Complete bool `json:"complete"`
// Fallback marks range fallback definitions from the source schema.
Fallback bool `json:"fallback"`
// Missing lists source metadata categories still missing for this PGN.
Missing []string `json:"missing,omitempty"`
// Length is the nominal payload length in bytes when the source schema provides one.
Length *int `json:"length,omitempty"`
// MinLength is the minimum payload length in bytes when the source schema provides one.
MinLength *int `json:"minLength,omitempty"`
// Priority is the default CAN priority when the source schema provides one.
Priority *uint8 `json:"priority,omitempty"`
// TransmissionInterval is the default transmission interval in milliseconds.
TransmissionInterval *int `json:"transmissionInterval,omitempty"`
// TransmissionIrregular marks PGNs whose transmission is event/request driven.
TransmissionIrregular *bool `json:"transmissionIrregular,omitempty"`
// RepeatingFieldSet metadata mirrors the source schema's repeating field-set annotations.
RepeatingFieldSet1StartField *int `json:"repeatingFieldSet1StartField,omitempty"`
RepeatingFieldSet1CountField *int `json:"repeatingFieldSet1CountField,omitempty"`
RepeatingFieldSet1Size *int `json:"repeatingFieldSet1Size,omitempty"`
RepeatingFieldSet2StartField *int `json:"repeatingFieldSet2StartField,omitempty"`
RepeatingFieldSet2CountField *int `json:"repeatingFieldSet2CountField,omitempty"`
RepeatingFieldSet2Size *int `json:"repeatingFieldSet2Size,omitempty"`
// ManId is the manufacturer code for proprietary PGNs. It is zero for standard
// (non-proprietary) PGNs. Used to select the correct variant when multiple
// manufacturers define different payloads for the same proprietary PGN number.
ManId ManufacturerCodeConst `json:"manId"`
// Fields maps field index (1-based, matching the source field order) to
// FieldDescriptor. This is needed at runtime for variable-length and KeyValue
// fields where the decoder must inspect field metadata dynamically.
Fields map[int]*FieldDescriptor `json:"fields"`
}
PgnInfo describes a known NMEA 2000 message type. Entries are generated from upstream metadata and indexed into PgnInfoLookup at init time for fast access by PGN number.
Multiple PgnInfo entries can share the same PGN number. This happens with proprietary PGNs where different manufacturers define different payloads for the same PGN, and also with "KeyValue" style PGNs that have multiple structural variants.
func FilterMatchingPgnInfos ¶
func (*PgnInfo) MatchesData ¶
type PgnListFunctionConst ¶
type PgnListFunctionConst uint8
const ( TransmitPGNList PgnListFunctionConst = 0 ReceivePGNList PgnListFunctionConst = 1 )
func (PgnListFunctionConst) GoString ¶
func (e PgnListFunctionConst) GoString() string
func (PgnListFunctionConst) String ¶
func (e PgnListFunctionConst) String() string
type PositionAccuracyConst ¶
type PositionAccuracyConst uint8
const ( Low PositionAccuracyConst = 0 High PositionAccuracyConst = 1 )
func (PositionAccuracyConst) GoString ¶
func (e PositionAccuracyConst) GoString() string
func (PositionAccuracyConst) String ¶
func (e PositionAccuracyConst) String() string
type PositionDeltaRapidUpdate ¶
type PositionDeltaRapidUpdate struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
TimeDelta *uint64 `json:"timeDelta,omitempty" n2k:"2"`
LatitudeDelta *int64 `json:"latitudeDelta,omitempty" n2k:"3"`
LongitudeDelta *int64 `json:"longitudeDelta,omitempty" n2k:"4"`
}
func (*PositionDeltaRapidUpdate) DecodePayload ¶
func (m *PositionDeltaRapidUpdate) DecodePayload(payload []uint8) error
func (*PositionDeltaRapidUpdate) EncodePayload ¶
func (m *PositionDeltaRapidUpdate) EncodePayload() ([]uint8, error)
func (*PositionDeltaRapidUpdate) LatitudeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) LatitudeDeltaValue() (float64, bool)
LatitudeDeltaValue returns LatitudeDelta as a physical value in deg (value = raw * 2.77778e-09). The bool is false when LatitudeDelta is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*PositionDeltaRapidUpdate) LongitudeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) LongitudeDeltaValue() (float64, bool)
LongitudeDeltaValue returns LongitudeDelta as a physical value in deg (value = raw * 2.77778e-09). The bool is false when LongitudeDelta is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*PositionDeltaRapidUpdate) MessageInfo ¶
func (m *PositionDeltaRapidUpdate) MessageInfo() MessageInfo
func (*PositionDeltaRapidUpdate) PGNNumber ¶
func (m *PositionDeltaRapidUpdate) PGNNumber() uint32
func (*PositionDeltaRapidUpdate) SetLatitudeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) SetLatitudeDeltaValue(v float64)
SetLatitudeDeltaValue sets LatitudeDelta from a physical value in deg, rounded to the nearest wire tick of 2.77778e-09.
func (*PositionDeltaRapidUpdate) SetLongitudeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) SetLongitudeDeltaValue(v float64)
SetLongitudeDeltaValue sets LongitudeDelta from a physical value in deg, rounded to the nearest wire tick of 2.77778e-09.
func (*PositionDeltaRapidUpdate) SetMessageInfo ¶
func (m *PositionDeltaRapidUpdate) SetMessageInfo(info MessageInfo)
func (*PositionDeltaRapidUpdate) SetTimeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) SetTimeDeltaValue(v float64)
SetTimeDeltaValue sets TimeDelta from a physical value in s, rounded to the nearest wire tick of 0.005.
func (*PositionDeltaRapidUpdate) TimeDeltaValue ¶
func (m *PositionDeltaRapidUpdate) TimeDeltaValue() (float64, bool)
TimeDeltaValue returns TimeDelta as a physical value in s (value = raw * 0.005). The bool is false when TimeDelta is nil: the wire carried the field's null sentinel or the payload ended before the field.
type PositionFixDeviceConst ¶
type PositionFixDeviceConst uint8
const ( DefaultUndefined PositionFixDeviceConst = 0 GPS PositionFixDeviceConst = 1 GLONASS PositionFixDeviceConst = 2 CombinedGPSGLONASS PositionFixDeviceConst = 3 LoranC PositionFixDeviceConst = 4 Chayka PositionFixDeviceConst = 5 Surveyed PositionFixDeviceConst = 7 Galileo PositionFixDeviceConst = 8 InternalGNSS PositionFixDeviceConst = 15 )
func (PositionFixDeviceConst) GoString ¶
func (e PositionFixDeviceConst) GoString() string
func (PositionFixDeviceConst) String ¶
func (e PositionFixDeviceConst) String() string
type PositionRapidUpdate ¶
type PositionRapidUpdate struct {
Info MessageInfo `json:"info"`
Latitude *int64 `json:"latitude,omitempty" n2k:"1"`
Longitude *int64 `json:"longitude,omitempty" n2k:"2"`
}
func (*PositionRapidUpdate) DecodePayload ¶
func (m *PositionRapidUpdate) DecodePayload(payload []uint8) error
func (*PositionRapidUpdate) EncodePayload ¶
func (m *PositionRapidUpdate) EncodePayload() ([]uint8, error)
func (*PositionRapidUpdate) LatitudeValue ¶
func (m *PositionRapidUpdate) LatitudeValue() (float64, bool)
LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false when Latitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*PositionRapidUpdate) LongitudeValue ¶
func (m *PositionRapidUpdate) LongitudeValue() (float64, bool)
LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false when Longitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*PositionRapidUpdate) MessageInfo ¶
func (m *PositionRapidUpdate) MessageInfo() MessageInfo
func (*PositionRapidUpdate) PGNNumber ¶
func (m *PositionRapidUpdate) PGNNumber() uint32
func (*PositionRapidUpdate) SetLatitudeValue ¶
func (m *PositionRapidUpdate) SetLatitudeValue(v float64)
SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*PositionRapidUpdate) SetLongitudeValue ¶
func (m *PositionRapidUpdate) SetLongitudeValue(v float64)
SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*PositionRapidUpdate) SetMessageInfo ¶
func (m *PositionRapidUpdate) SetMessageInfo(info MessageInfo)
type PowerFactorConst ¶
type PowerFactorConst uint8
const ( Leading PowerFactorConst = 0 Lagging PowerFactorConst = 1 Error_2 PowerFactorConst = 2 )
func (PowerFactorConst) GoString ¶
func (e PowerFactorConst) GoString() string
func (PowerFactorConst) String ¶
func (e PowerFactorConst) String() string
type PressureSourceConst ¶
type PressureSourceConst uint8
const ( Atmospheric PressureSourceConst = 0 Water PressureSourceConst = 1 Steam PressureSourceConst = 2 CompressedAir PressureSourceConst = 3 Hydraulic PressureSourceConst = 4 Filter PressureSourceConst = 5 AltimeterSetting PressureSourceConst = 6 Oil PressureSourceConst = 7 Fuel PressureSourceConst = 8 )
func (PressureSourceConst) GoString ¶
func (e PressureSourceConst) GoString() string
func (PressureSourceConst) String ¶
func (e PressureSourceConst) String() string
type PriorityConst ¶
type PriorityConst uint8
const ( A0 PriorityConst = 0 A1 PriorityConst = 1 A2 PriorityConst = 2 A3 PriorityConst = 3 A4 PriorityConst = 4 A5 PriorityConst = 5 A6 PriorityConst = 6 A7 PriorityConst = 7 LeaveUnchanged PriorityConst = 8 ResetToDefault PriorityConst = 9 )
func (PriorityConst) GoString ¶
func (e PriorityConst) GoString() string
func (PriorityConst) String ¶
func (e PriorityConst) String() string
type ProductInformation ¶
type ProductInformation struct {
Info MessageInfo `json:"info"`
Nmea2000Version *uint64 `json:"nmea2000Version,omitempty" n2k:"1"`
ProductCode *uint64 `json:"productCode,omitempty" n2k:"2"`
ModelId string `json:"modelId,omitempty" n2k:"3"`
SoftwareVersionCode string `json:"softwareVersionCode,omitempty" n2k:"4"`
ModelVersion string `json:"modelVersion,omitempty" n2k:"5"`
ModelSerialCode string `json:"modelSerialCode,omitempty" n2k:"6"`
CertificationLevel *uint64 `json:"certificationLevel,omitempty" n2k:"7"`
LoadEquivalency *uint64 `json:"loadEquivalency,omitempty" n2k:"8"`
}
func (*ProductInformation) DecodePayload ¶
func (m *ProductInformation) DecodePayload(payload []uint8) error
func (*ProductInformation) EncodePayload ¶
func (m *ProductInformation) EncodePayload() ([]uint8, error)
func (*ProductInformation) MessageInfo ¶
func (m *ProductInformation) MessageInfo() MessageInfo
func (*ProductInformation) Nmea2000VersionValue ¶
func (m *ProductInformation) Nmea2000VersionValue() (float64, bool)
Nmea2000VersionValue returns Nmea2000Version as a physical value (value = raw * 0.001). The bool is false when Nmea2000Version is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ProductInformation) PGNNumber ¶
func (m *ProductInformation) PGNNumber() uint32
func (*ProductInformation) SetMessageInfo ¶
func (m *ProductInformation) SetMessageInfo(info MessageInfo)
func (*ProductInformation) SetNmea2000VersionValue ¶
func (m *ProductInformation) SetNmea2000VersionValue(v float64)
SetNmea2000VersionValue sets Nmea2000Version from a physical value, rounded to the nearest wire tick of 0.001.
type RadioFrequencyModePower ¶
type RadioFrequencyModePower struct {
Info MessageInfo `json:"info"`
RxFrequency *uint64 `json:"rxFrequency,omitempty" n2k:"1"`
TxFrequency *uint64 `json:"txFrequency,omitempty" n2k:"2"`
RadioChannel string `json:"radioChannel,omitempty" n2k:"3"`
TxPower *uint64 `json:"txPower,omitempty" n2k:"4"`
Mode *uint64 `json:"mode,omitempty" n2k:"5"`
ChannelBandwidth *uint64 `json:"channelBandwidth,omitempty" n2k:"6"`
}
func (*RadioFrequencyModePower) ChannelBandwidthValue ¶
func (m *RadioFrequencyModePower) ChannelBandwidthValue() (float64, bool)
ChannelBandwidthValue returns ChannelBandwidth as a physical value in Hz (value = raw). The bool is false when ChannelBandwidth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RadioFrequencyModePower) DecodePayload ¶
func (m *RadioFrequencyModePower) DecodePayload(payload []uint8) error
func (*RadioFrequencyModePower) EncodePayload ¶
func (m *RadioFrequencyModePower) EncodePayload() ([]uint8, error)
func (*RadioFrequencyModePower) MessageInfo ¶
func (m *RadioFrequencyModePower) MessageInfo() MessageInfo
func (*RadioFrequencyModePower) PGNNumber ¶
func (m *RadioFrequencyModePower) PGNNumber() uint32
func (*RadioFrequencyModePower) RxFrequencyValue ¶
func (m *RadioFrequencyModePower) RxFrequencyValue() (float64, bool)
RxFrequencyValue returns RxFrequency as a physical value in Hz (value = raw * 10). The bool is false when RxFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RadioFrequencyModePower) SetChannelBandwidthValue ¶
func (m *RadioFrequencyModePower) SetChannelBandwidthValue(v float64)
SetChannelBandwidthValue sets ChannelBandwidth from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*RadioFrequencyModePower) SetMessageInfo ¶
func (m *RadioFrequencyModePower) SetMessageInfo(info MessageInfo)
func (*RadioFrequencyModePower) SetRxFrequencyValue ¶
func (m *RadioFrequencyModePower) SetRxFrequencyValue(v float64)
SetRxFrequencyValue sets RxFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.
func (*RadioFrequencyModePower) SetTxFrequencyValue ¶
func (m *RadioFrequencyModePower) SetTxFrequencyValue(v float64)
SetTxFrequencyValue sets TxFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.
func (*RadioFrequencyModePower) SetTxPowerValue ¶
func (m *RadioFrequencyModePower) SetTxPowerValue(v float64)
SetTxPowerValue sets TxPower from a physical value in W, rounded to the nearest wire tick of 1.
func (*RadioFrequencyModePower) TxFrequencyValue ¶
func (m *RadioFrequencyModePower) TxFrequencyValue() (float64, bool)
TxFrequencyValue returns TxFrequency as a physical value in Hz (value = raw * 10). The bool is false when TxFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RadioFrequencyModePower) TxPowerValue ¶
func (m *RadioFrequencyModePower) TxPowerValue() (float64, bool)
TxPowerValue returns TxPower as a physical value in W (value = raw). The bool is false when TxPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
type RaimFlagConst ¶
type RaimFlagConst uint8
const ( NotInUse RaimFlagConst = 0 InUse RaimFlagConst = 1 )
func (RaimFlagConst) GoString ¶
func (e RaimFlagConst) GoString() string
func (RaimFlagConst) String ¶
func (e RaimFlagConst) String() string
type RangeResidualModeConst ¶
type RangeResidualModeConst uint8
const ( RangeResidualsWereUsedToCalculateData RangeResidualModeConst = 0 RangeResidualsWereCalculatedAfterThePosition RangeResidualModeConst = 1 )
func (RangeResidualModeConst) GoString ¶
func (e RangeResidualModeConst) GoString() string
func (RangeResidualModeConst) String ¶
func (e RangeResidualModeConst) String() string
type RateOfTurn ¶
type RateOfTurn struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Rate *int64 `json:"rate,omitempty" n2k:"2"`
}
func (*RateOfTurn) DecodePayload ¶
func (m *RateOfTurn) DecodePayload(payload []uint8) error
func (*RateOfTurn) EncodePayload ¶
func (m *RateOfTurn) EncodePayload() ([]uint8, error)
func (*RateOfTurn) MessageInfo ¶
func (m *RateOfTurn) MessageInfo() MessageInfo
func (*RateOfTurn) PGNNumber ¶
func (m *RateOfTurn) PGNNumber() uint32
func (*RateOfTurn) RateValue ¶
func (m *RateOfTurn) RateValue() (float64, bool)
RateValue returns Rate as a physical value in rad/s (value = raw * 3.125e-08). The bool is false when Rate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RateOfTurn) SetMessageInfo ¶
func (m *RateOfTurn) SetMessageInfo(info MessageInfo)
func (*RateOfTurn) SetRateValue ¶
func (m *RateOfTurn) SetRateValue(v float64)
SetRateValue sets Rate from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-08.
type RepeatIndicatorConst ¶
type RepeatIndicatorConst uint8
const ( Initial RepeatIndicatorConst = 0 FirstRetransmission RepeatIndicatorConst = 1 SecondRetransmission RepeatIndicatorConst = 2 FinalRetransmission RepeatIndicatorConst = 3 )
func (RepeatIndicatorConst) GoString ¶
func (e RepeatIndicatorConst) GoString() string
func (RepeatIndicatorConst) String ¶
func (e RepeatIndicatorConst) String() string
type ReportingIntervalConst ¶
type ReportingIntervalConst uint8
const ( AsGivenByTheAutonomousMode ReportingIntervalConst = 0 A10Min ReportingIntervalConst = 1 A6Min ReportingIntervalConst = 2 A3Min ReportingIntervalConst = 3 A1Min ReportingIntervalConst = 4 A30Sec ReportingIntervalConst = 5 A15Sec ReportingIntervalConst = 6 A10Sec ReportingIntervalConst = 7 A5Sec ReportingIntervalConst = 8 A2SecNotApplicableToClassBCS ReportingIntervalConst = 9 NextShorterReportingInterval ReportingIntervalConst = 10 NextLongerReportingInterval ReportingIntervalConst = 11 )
func (ReportingIntervalConst) GoString ¶
func (e ReportingIntervalConst) GoString() string
func (ReportingIntervalConst) String ¶
func (e ReportingIntervalConst) String() string
type ResidualModeConst ¶
type ResidualModeConst uint8
const ( Autonomous ResidualModeConst = 0 DifferentialEnhanced ResidualModeConst = 1 Estimated ResidualModeConst = 2 Simulator ResidualModeConst = 3 Manual_2 ResidualModeConst = 4 )
func (ResidualModeConst) GoString ¶
func (e ResidualModeConst) GoString() string
func (ResidualModeConst) String ¶
func (e ResidualModeConst) String() string
type RodeTypeConst ¶
type RodeTypeConst uint8
const ( ChainPresentlyDetected RodeTypeConst = 0 RopePresentlyDetected RodeTypeConst = 1 )
func (RodeTypeConst) GoString ¶
func (e RodeTypeConst) GoString() string
func (RodeTypeConst) String ¶
func (e RodeTypeConst) String() string
type RouteAndWpServiceDatabaseComment ¶
type RouteAndWpServiceDatabaseComment struct {
Info MessageInfo `json:"info"`
StartDatabaseId *uint64 `json:"startDatabaseId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfDatabasesWithComments *uint64 `json:"numberOfDatabasesWithComments,omitempty" n2k:"3"`
Repeating1 []RouteAndWpServiceDatabaseCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceDatabaseComment) DecodePayload ¶
func (m *RouteAndWpServiceDatabaseComment) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceDatabaseComment) EncodePayload ¶
func (m *RouteAndWpServiceDatabaseComment) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceDatabaseComment) MessageInfo ¶
func (m *RouteAndWpServiceDatabaseComment) MessageInfo() MessageInfo
func (*RouteAndWpServiceDatabaseComment) PGNNumber ¶
func (m *RouteAndWpServiceDatabaseComment) PGNNumber() uint32
func (*RouteAndWpServiceDatabaseComment) SetMessageInfo ¶
func (m *RouteAndWpServiceDatabaseComment) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceDatabaseList ¶
type RouteAndWpServiceDatabaseList struct {
Info MessageInfo `json:"info"`
StartDatabaseId *uint64 `json:"startDatabaseId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfDatabasesAvailable *uint64 `json:"numberOfDatabasesAvailable,omitempty" n2k:"3"`
Repeating1 []RouteAndWpServiceDatabaseListRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceDatabaseList) DecodePayload ¶
func (m *RouteAndWpServiceDatabaseList) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceDatabaseList) EncodePayload ¶
func (m *RouteAndWpServiceDatabaseList) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceDatabaseList) MessageInfo ¶
func (m *RouteAndWpServiceDatabaseList) MessageInfo() MessageInfo
func (*RouteAndWpServiceDatabaseList) PGNNumber ¶
func (m *RouteAndWpServiceDatabaseList) PGNNumber() uint32
func (*RouteAndWpServiceDatabaseList) SetMessageInfo ¶
func (m *RouteAndWpServiceDatabaseList) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceDatabaseListRepeating1 ¶
type RouteAndWpServiceDatabaseListRepeating1 struct {
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
DatabaseName string `json:"databaseName,omitempty" n2k:"5"`
DatabaseTimestamp *uint64 `json:"databaseTimestamp,omitempty" n2k:"6"`
DatabaseDatestamp *uint64 `json:"databaseDatestamp,omitempty" n2k:"7"`
WpPositionResolution *uint64 `json:"wpPositionResolution,omitempty" n2k:"8"`
NumberOfRoutesInDatabase *uint64 `json:"numberOfRoutesInDatabase,omitempty" n2k:"10"`
NumberOfWpsInDatabase *uint64 `json:"numberOfWpsInDatabase,omitempty" n2k:"11"`
NumberOfBytesInDatabase *uint64 `json:"numberOfBytesInDatabase,omitempty" n2k:"12"`
}
func (*RouteAndWpServiceDatabaseListRepeating1) DatabaseDatestampValue ¶
func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseDatestampValue() (float64, bool)
DatabaseDatestampValue returns DatabaseDatestamp as a physical value in d (value = raw). The bool is false when DatabaseDatestamp is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceDatabaseListRepeating1) DatabaseTimestampValue ¶
func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseTimestampValue() (float64, bool)
DatabaseTimestampValue returns DatabaseTimestamp as a physical value in s (value = raw * 0.0001). The bool is false when DatabaseTimestamp is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceDatabaseListRepeating1) SetDatabaseDatestampValue ¶
func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseDatestampValue(v float64)
SetDatabaseDatestampValue sets DatabaseDatestamp from a physical value in d, rounded to the nearest wire tick of 1.
func (*RouteAndWpServiceDatabaseListRepeating1) SetDatabaseTimestampValue ¶
func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseTimestampValue(v float64)
SetDatabaseTimestampValue sets DatabaseTimestamp from a physical value in s, rounded to the nearest wire tick of 0.0001.
type RouteAndWpServiceRadiusOfTurn ¶
type RouteAndWpServiceRadiusOfTurn struct {
Info MessageInfo `json:"info"`
StartRps *uint64 `json:"startRps,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfWpsWithASpecificRadiusOfTurn *uint64 `json:"numberOfWpsWithASpecificRadiusOfTurn,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
RouteId *uint64 `json:"routeId,omitempty" n2k:"5"`
Repeating1 []RouteAndWpServiceRadiusOfTurnRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceRadiusOfTurn) DecodePayload ¶
func (m *RouteAndWpServiceRadiusOfTurn) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRadiusOfTurn) EncodePayload ¶
func (m *RouteAndWpServiceRadiusOfTurn) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRadiusOfTurn) MessageInfo ¶
func (m *RouteAndWpServiceRadiusOfTurn) MessageInfo() MessageInfo
func (*RouteAndWpServiceRadiusOfTurn) PGNNumber ¶
func (m *RouteAndWpServiceRadiusOfTurn) PGNNumber() uint32
func (*RouteAndWpServiceRadiusOfTurn) SetMessageInfo ¶
func (m *RouteAndWpServiceRadiusOfTurn) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceRadiusOfTurnRepeating1 ¶
type RouteAndWpServiceRadiusOfTurnRepeating1 struct {
Rps *uint64 `json:"rps,omitempty" n2k:"6"`
RadiusOfTurn *int64 `json:"radiusOfTurn,omitempty" n2k:"7"`
}
func (*RouteAndWpServiceRadiusOfTurnRepeating1) RadiusOfTurnValue ¶
func (m *RouteAndWpServiceRadiusOfTurnRepeating1) RadiusOfTurnValue() (float64, bool)
RadiusOfTurnValue returns RadiusOfTurn as a physical value in m (value = raw). The bool is false when RadiusOfTurn is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceRadiusOfTurnRepeating1) SetRadiusOfTurnValue ¶
func (m *RouteAndWpServiceRadiusOfTurnRepeating1) SetRadiusOfTurnValue(v float64)
SetRadiusOfTurnValue sets RadiusOfTurn from a physical value in m, rounded to the nearest wire tick of 1.
type RouteAndWpServiceRouteComment ¶
type RouteAndWpServiceRouteComment struct {
Info MessageInfo `json:"info"`
StartRouteId *uint64 `json:"startRouteId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfRoutesWithComments *uint64 `json:"numberOfRoutesWithComments,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
Repeating1 []RouteAndWpServiceRouteCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceRouteComment) DecodePayload ¶
func (m *RouteAndWpServiceRouteComment) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRouteComment) EncodePayload ¶
func (m *RouteAndWpServiceRouteComment) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRouteComment) MessageInfo ¶
func (m *RouteAndWpServiceRouteComment) MessageInfo() MessageInfo
func (*RouteAndWpServiceRouteComment) PGNNumber ¶
func (m *RouteAndWpServiceRouteComment) PGNNumber() uint32
func (*RouteAndWpServiceRouteComment) SetMessageInfo ¶
func (m *RouteAndWpServiceRouteComment) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceRouteList ¶
type RouteAndWpServiceRouteList struct {
Info MessageInfo `json:"info"`
StartRouteId *uint64 `json:"startRouteId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfRoutesInDatabase *uint64 `json:"numberOfRoutesInDatabase,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
Repeating1 []RouteAndWpServiceRouteListRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceRouteList) DecodePayload ¶
func (m *RouteAndWpServiceRouteList) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRouteList) EncodePayload ¶
func (m *RouteAndWpServiceRouteList) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRouteList) MessageInfo ¶
func (m *RouteAndWpServiceRouteList) MessageInfo() MessageInfo
func (*RouteAndWpServiceRouteList) PGNNumber ¶
func (m *RouteAndWpServiceRouteList) PGNNumber() uint32
func (*RouteAndWpServiceRouteList) SetMessageInfo ¶
func (m *RouteAndWpServiceRouteList) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceRouteWpListAttributes ¶
type RouteAndWpServiceRouteWpListAttributes struct {
Info MessageInfo `json:"info"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"1"`
RouteId *uint64 `json:"routeId,omitempty" n2k:"2"`
RouteWpListName string `json:"routeWpListName,omitempty" n2k:"3"`
RouteWpListTimestamp *uint64 `json:"routeWpListTimestamp,omitempty" n2k:"4"`
RouteWpListDatestamp *uint64 `json:"routeWpListDatestamp,omitempty" n2k:"5"`
ChangeAtLastTimestamp *uint64 `json:"changeAtLastTimestamp,omitempty" n2k:"6"`
NumberOfWpsInTheRouteWpList *uint64 `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"7"`
CriticalSupplementaryParameters *uint64 `json:"criticalSupplementaryParameters,omitempty" n2k:"8"`
WpIdentificationMethod *uint64 `json:"wpIdentificationMethod,omitempty" n2k:"10"`
RouteStatus *uint64 `json:"routeStatus,omitempty" n2k:"11"`
XteLimitForTheRoute *int64 `json:"xteLimitForTheRoute,omitempty" n2k:"12"`
}
func (*RouteAndWpServiceRouteWpListAttributes) DecodePayload ¶
func (m *RouteAndWpServiceRouteWpListAttributes) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRouteWpListAttributes) EncodePayload ¶
func (m *RouteAndWpServiceRouteWpListAttributes) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRouteWpListAttributes) MessageInfo ¶
func (m *RouteAndWpServiceRouteWpListAttributes) MessageInfo() MessageInfo
func (*RouteAndWpServiceRouteWpListAttributes) PGNNumber ¶
func (m *RouteAndWpServiceRouteWpListAttributes) PGNNumber() uint32
func (*RouteAndWpServiceRouteWpListAttributes) RouteWpListDatestampValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListDatestampValue() (float64, bool)
RouteWpListDatestampValue returns RouteWpListDatestamp as a physical value in d (value = raw). The bool is false when RouteWpListDatestamp is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceRouteWpListAttributes) RouteWpListTimestampValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListTimestampValue() (float64, bool)
RouteWpListTimestampValue returns RouteWpListTimestamp as a physical value in s (value = raw * 0.0001). The bool is false when RouteWpListTimestamp is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceRouteWpListAttributes) SetMessageInfo ¶
func (m *RouteAndWpServiceRouteWpListAttributes) SetMessageInfo(info MessageInfo)
func (*RouteAndWpServiceRouteWpListAttributes) SetRouteWpListDatestampValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListDatestampValue(v float64)
SetRouteWpListDatestampValue sets RouteWpListDatestamp from a physical value in d, rounded to the nearest wire tick of 1.
func (*RouteAndWpServiceRouteWpListAttributes) SetRouteWpListTimestampValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListTimestampValue(v float64)
SetRouteWpListTimestampValue sets RouteWpListTimestamp from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*RouteAndWpServiceRouteWpListAttributes) SetXteLimitForTheRouteValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) SetXteLimitForTheRouteValue(v float64)
SetXteLimitForTheRouteValue sets XteLimitForTheRoute from a physical value in m, rounded to the nearest wire tick of 1.
func (*RouteAndWpServiceRouteWpListAttributes) XteLimitForTheRouteValue ¶
func (m *RouteAndWpServiceRouteWpListAttributes) XteLimitForTheRouteValue() (float64, bool)
XteLimitForTheRouteValue returns XteLimitForTheRoute as a physical value in m (value = raw). The bool is false when XteLimitForTheRoute is nil: the wire carried the field's null sentinel or the payload ended before the field.
type RouteAndWpServiceRouteWpName ¶
type RouteAndWpServiceRouteWpName struct {
Info MessageInfo `json:"info"`
StartRps *uint64 `json:"startRps,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfWpsInTheRouteWpList *uint64 `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
RouteId *uint64 `json:"routeId,omitempty" n2k:"5"`
Repeating1 []RouteAndWpServiceRouteWpNameRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceRouteWpName) DecodePayload ¶
func (m *RouteAndWpServiceRouteWpName) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRouteWpName) EncodePayload ¶
func (m *RouteAndWpServiceRouteWpName) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRouteWpName) MessageInfo ¶
func (m *RouteAndWpServiceRouteWpName) MessageInfo() MessageInfo
func (*RouteAndWpServiceRouteWpName) PGNNumber ¶
func (m *RouteAndWpServiceRouteWpName) PGNNumber() uint32
func (*RouteAndWpServiceRouteWpName) SetMessageInfo ¶
func (m *RouteAndWpServiceRouteWpName) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceRouteWpNamePosition ¶
type RouteAndWpServiceRouteWpNamePosition struct {
Info MessageInfo `json:"info"`
StartRps *uint64 `json:"startRps,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfWpsInTheRouteWpList *uint64 `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
RouteId *uint64 `json:"routeId,omitempty" n2k:"5"`
Repeating1 []RouteAndWpServiceRouteWpNamePositionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceRouteWpNamePosition) DecodePayload ¶
func (m *RouteAndWpServiceRouteWpNamePosition) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceRouteWpNamePosition) EncodePayload ¶
func (m *RouteAndWpServiceRouteWpNamePosition) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceRouteWpNamePosition) MessageInfo ¶
func (m *RouteAndWpServiceRouteWpNamePosition) MessageInfo() MessageInfo
func (*RouteAndWpServiceRouteWpNamePosition) PGNNumber ¶
func (m *RouteAndWpServiceRouteWpNamePosition) PGNNumber() uint32
func (*RouteAndWpServiceRouteWpNamePosition) SetMessageInfo ¶
func (m *RouteAndWpServiceRouteWpNamePosition) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceRouteWpNamePositionRepeating1 ¶
type RouteAndWpServiceRouteWpNamePositionRepeating1 struct {
WpId *uint64 `json:"wpId,omitempty" n2k:"6"`
WpName string `json:"wpName,omitempty" n2k:"7"`
WpLatitude *int64 `json:"wpLatitude,omitempty" n2k:"8"`
WpLongitude *int64 `json:"wpLongitude,omitempty" n2k:"9"`
}
func (*RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLatitudeValue ¶
func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLatitudeValue(v float64)
SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLongitudeValue ¶
func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLongitudeValue(v float64)
SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*RouteAndWpServiceRouteWpNamePositionRepeating1) WpLatitudeValue ¶
func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) WpLatitudeValue() (float64, bool)
WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceRouteWpNamePositionRepeating1) WpLongitudeValue ¶
func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) WpLongitudeValue() (float64, bool)
WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
type RouteAndWpServiceWpComment ¶
type RouteAndWpServiceWpComment struct {
Info MessageInfo `json:"info"`
StartId *uint64 `json:"startId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfWpsWithComments *uint64 `json:"numberOfWpsWithComments,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
RouteId *uint64 `json:"routeId,omitempty" n2k:"5"`
Repeating1 []RouteAndWpServiceWpCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceWpComment) DecodePayload ¶
func (m *RouteAndWpServiceWpComment) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceWpComment) EncodePayload ¶
func (m *RouteAndWpServiceWpComment) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceWpComment) MessageInfo ¶
func (m *RouteAndWpServiceWpComment) MessageInfo() MessageInfo
func (*RouteAndWpServiceWpComment) PGNNumber ¶
func (m *RouteAndWpServiceWpComment) PGNNumber() uint32
func (*RouteAndWpServiceWpComment) SetMessageInfo ¶
func (m *RouteAndWpServiceWpComment) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceWpListWpNamePosition ¶
type RouteAndWpServiceWpListWpNamePosition struct {
Info MessageInfo `json:"info"`
StartWpId *uint64 `json:"startWpId,omitempty" n2k:"1"`
Nitems *uint64 `json:"nitems,omitempty" n2k:"2"`
NumberOfValidWpsInTheWpList *uint64 `json:"numberOfValidWpsInTheWpList,omitempty" n2k:"3"`
DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
Repeating1 []RouteAndWpServiceWpListWpNamePositionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*RouteAndWpServiceWpListWpNamePosition) DecodePayload ¶
func (m *RouteAndWpServiceWpListWpNamePosition) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceWpListWpNamePosition) EncodePayload ¶
func (m *RouteAndWpServiceWpListWpNamePosition) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceWpListWpNamePosition) MessageInfo ¶
func (m *RouteAndWpServiceWpListWpNamePosition) MessageInfo() MessageInfo
func (*RouteAndWpServiceWpListWpNamePosition) PGNNumber ¶
func (m *RouteAndWpServiceWpListWpNamePosition) PGNNumber() uint32
func (*RouteAndWpServiceWpListWpNamePosition) SetMessageInfo ¶
func (m *RouteAndWpServiceWpListWpNamePosition) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceWpListWpNamePositionRepeating1 ¶
type RouteAndWpServiceWpListWpNamePositionRepeating1 struct {
WpId *uint64 `json:"wpId,omitempty" n2k:"6"`
WpName string `json:"wpName,omitempty" n2k:"7"`
WpLatitude *int64 `json:"wpLatitude,omitempty" n2k:"8"`
WpLongitude *int64 `json:"wpLongitude,omitempty" n2k:"9"`
}
func (*RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLatitudeValue ¶
func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLatitudeValue(v float64)
SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLongitudeValue ¶
func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLongitudeValue(v float64)
SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*RouteAndWpServiceWpListWpNamePositionRepeating1) WpLatitudeValue ¶
func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) WpLatitudeValue() (float64, bool)
WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*RouteAndWpServiceWpListWpNamePositionRepeating1) WpLongitudeValue ¶
func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) WpLongitudeValue() (float64, bool)
WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when WpLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
type RouteAndWpServiceXteLimitNavigationMethod ¶
type RouteAndWpServiceXteLimitNavigationMethod struct {
}
func (*RouteAndWpServiceXteLimitNavigationMethod) DecodePayload ¶
func (m *RouteAndWpServiceXteLimitNavigationMethod) DecodePayload(payload []uint8) error
func (*RouteAndWpServiceXteLimitNavigationMethod) EncodePayload ¶
func (m *RouteAndWpServiceXteLimitNavigationMethod) EncodePayload() ([]uint8, error)
func (*RouteAndWpServiceXteLimitNavigationMethod) MessageInfo ¶
func (m *RouteAndWpServiceXteLimitNavigationMethod) MessageInfo() MessageInfo
func (*RouteAndWpServiceXteLimitNavigationMethod) PGNNumber ¶
func (m *RouteAndWpServiceXteLimitNavigationMethod) PGNNumber() uint32
func (*RouteAndWpServiceXteLimitNavigationMethod) SetMessageInfo ¶
func (m *RouteAndWpServiceXteLimitNavigationMethod) SetMessageInfo(info MessageInfo)
type RouteAndWpServiceXteLimitNavigationMethodRepeating1 ¶
type RouteAndWpServiceXteLimitNavigationMethodRepeating1 struct {
}
func (*RouteAndWpServiceXteLimitNavigationMethodRepeating1) SetXteLimitInTheLegAfterWpValue ¶
func (m *RouteAndWpServiceXteLimitNavigationMethodRepeating1) SetXteLimitInTheLegAfterWpValue(v float64)
SetXteLimitInTheLegAfterWpValue sets XteLimitInTheLegAfterWp from a physical value in m, rounded to the nearest wire tick of 1.
func (*RouteAndWpServiceXteLimitNavigationMethodRepeating1) XteLimitInTheLegAfterWpValue ¶
func (m *RouteAndWpServiceXteLimitNavigationMethodRepeating1) XteLimitInTheLegAfterWpValue() (float64, bool)
XteLimitInTheLegAfterWpValue returns XteLimitInTheLegAfterWp as a physical value in m (value = raw). The bool is false when XteLimitInTheLegAfterWp is nil: the wire carried the field's null sentinel or the payload ended before the field.
type Rudder ¶
type Rudder struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
DirectionOrder *uint64 `json:"directionOrder,omitempty" n2k:"2"`
AngleOrder *int64 `json:"angleOrder,omitempty" n2k:"4"`
Position *int64 `json:"position,omitempty" n2k:"5"`
}
func (*Rudder) AngleOrderValue ¶
AngleOrderValue returns AngleOrder as a physical value in rad (value = raw * 0.0001). The bool is false when AngleOrder is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Rudder) DecodePayload ¶
func (*Rudder) EncodePayload ¶
func (*Rudder) MessageInfo ¶
func (m *Rudder) MessageInfo() MessageInfo
func (*Rudder) PositionValue ¶
PositionValue returns Position as a physical value in rad (value = raw * 0.0001). The bool is false when Position is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Rudder) SetAngleOrderValue ¶
SetAngleOrderValue sets AngleOrder from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*Rudder) SetMessageInfo ¶
func (m *Rudder) SetMessageInfo(info MessageInfo)
func (*Rudder) SetPositionValue ¶
SetPositionValue sets Position from a physical value in rad, rounded to the nearest wire tick of 0.0001.
type SalinityStationData ¶
type SalinityStationData struct {
Info MessageInfo `json:"info"`
Mode *uint64 `json:"mode,omitempty" n2k:"1"`
MeasurementDate *uint64 `json:"measurementDate,omitempty" n2k:"3"`
MeasurementTime *uint64 `json:"measurementTime,omitempty" n2k:"4"`
StationLatitude *int64 `json:"stationLatitude,omitempty" n2k:"5"`
StationLongitude *int64 `json:"stationLongitude,omitempty" n2k:"6"`
Salinity *float32 `json:"salinity,omitempty" n2k:"7"`
WaterTemperature *uint64 `json:"waterTemperature,omitempty" n2k:"8"`
StationId string `json:"stationId,omitempty" n2k:"9"`
StationName string `json:"stationName,omitempty" n2k:"10"`
}
func (*SalinityStationData) DecodePayload ¶
func (m *SalinityStationData) DecodePayload(payload []uint8) error
func (*SalinityStationData) EncodePayload ¶
func (m *SalinityStationData) EncodePayload() ([]uint8, error)
func (*SalinityStationData) MeasurementDateValue ¶
func (m *SalinityStationData) MeasurementDateValue() (float64, bool)
MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false when MeasurementDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SalinityStationData) MeasurementTimeValue ¶
func (m *SalinityStationData) MeasurementTimeValue() (float64, bool)
MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false when MeasurementTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SalinityStationData) MessageInfo ¶
func (m *SalinityStationData) MessageInfo() MessageInfo
func (*SalinityStationData) PGNNumber ¶
func (m *SalinityStationData) PGNNumber() uint32
func (*SalinityStationData) SetMeasurementDateValue ¶
func (m *SalinityStationData) SetMeasurementDateValue(v float64)
SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*SalinityStationData) SetMeasurementTimeValue ¶
func (m *SalinityStationData) SetMeasurementTimeValue(v float64)
SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*SalinityStationData) SetMessageInfo ¶
func (m *SalinityStationData) SetMessageInfo(info MessageInfo)
func (*SalinityStationData) SetStationLatitudeValue ¶
func (m *SalinityStationData) SetStationLatitudeValue(v float64)
SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*SalinityStationData) SetStationLongitudeValue ¶
func (m *SalinityStationData) SetStationLongitudeValue(v float64)
SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*SalinityStationData) SetWaterTemperatureValue ¶
func (m *SalinityStationData) SetWaterTemperatureValue(v float64)
SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*SalinityStationData) StationLatitudeValue ¶
func (m *SalinityStationData) StationLatitudeValue() (float64, bool)
StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SalinityStationData) StationLongitudeValue ¶
func (m *SalinityStationData) StationLongitudeValue() (float64, bool)
StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SalinityStationData) WaterTemperatureValue ¶
func (m *SalinityStationData) WaterTemperatureValue() (float64, bool)
WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when WaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SatelliteStatusConst ¶
type SatelliteStatusConst uint8
const ( NotTracked SatelliteStatusConst = 0 Tracked SatelliteStatusConst = 1 Used SatelliteStatusConst = 2 NotTrackedDiff SatelliteStatusConst = 3 TrackedDiff SatelliteStatusConst = 4 UsedDiff SatelliteStatusConst = 5 )
func (SatelliteStatusConst) GoString ¶
func (e SatelliteStatusConst) GoString() string
func (SatelliteStatusConst) String ¶
func (e SatelliteStatusConst) String() string
type SeaRecoveryWatermakerStatus ¶
type SeaRecoveryWatermakerStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
WatermakerInstance *uint64 `json:"watermakerInstance,omitempty" n2k:"5"`
OperationState *uint64 `json:"operationState,omitempty" n2k:"6"`
PrefilterPressure *uint64 `json:"prefilterPressure,omitempty" n2k:"7"`
PostfilterPressure *uint64 `json:"postfilterPressure,omitempty" n2k:"8"`
OperationPressure *uint64 `json:"operationPressure,omitempty" n2k:"9"`
ProductFlow *int64 `json:"productFlow,omitempty" n2k:"10"`
PrefilterPressureStatus *uint64 `json:"prefilterPressureStatus,omitempty" n2k:"11"`
PostfilterPressureStatus *uint64 `json:"postfilterPressureStatus,omitempty" n2k:"12"`
OperationPressureStatus *uint64 `json:"operationPressureStatus,omitempty" n2k:"13"`
ProductSalinityStatus *uint64 `json:"productSalinityStatus,omitempty" n2k:"14"`
FilterStatus *uint64 `json:"filterStatus,omitempty" n2k:"15"`
SystemStatus *uint64 `json:"systemStatus,omitempty" n2k:"16"`
}
func (*SeaRecoveryWatermakerStatus) DecodePayload ¶
func (m *SeaRecoveryWatermakerStatus) DecodePayload(payload []uint8) error
func (*SeaRecoveryWatermakerStatus) EncodePayload ¶
func (m *SeaRecoveryWatermakerStatus) EncodePayload() ([]uint8, error)
func (*SeaRecoveryWatermakerStatus) MessageInfo ¶
func (m *SeaRecoveryWatermakerStatus) MessageInfo() MessageInfo
func (*SeaRecoveryWatermakerStatus) PGNNumber ¶
func (m *SeaRecoveryWatermakerStatus) PGNNumber() uint32
func (*SeaRecoveryWatermakerStatus) SetMessageInfo ¶
func (m *SeaRecoveryWatermakerStatus) SetMessageInfo(info MessageInfo)
type Seatalk1DeviceIdentification ¶
type Seatalk1DeviceIdentification struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
Seatalk1Command *uint64 `json:"seatalk1Command,omitempty" n2k:"6"`
Device *uint64 `json:"device,omitempty" n2k:"8"`
}
func (*Seatalk1DeviceIdentification) DecodePayload ¶
func (m *Seatalk1DeviceIdentification) DecodePayload(payload []uint8) error
func (*Seatalk1DeviceIdentification) EncodePayload ¶
func (m *Seatalk1DeviceIdentification) EncodePayload() ([]uint8, error)
func (*Seatalk1DeviceIdentification) MessageInfo ¶
func (m *Seatalk1DeviceIdentification) MessageInfo() MessageInfo
func (*Seatalk1DeviceIdentification) PGNNumber ¶
func (m *Seatalk1DeviceIdentification) PGNNumber() uint32
func (*Seatalk1DeviceIdentification) SetMessageInfo ¶
func (m *Seatalk1DeviceIdentification) SetMessageInfo(info MessageInfo)
type Seatalk1DisplayBrightness ¶
type Seatalk1DisplayBrightness struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command1 *uint64 `json:"command1,omitempty" n2k:"5"`
Group *uint64 `json:"group,omitempty" n2k:"6"`
Command *uint64 `json:"command,omitempty" n2k:"8"`
Brightness *uint64 `json:"brightness,omitempty" n2k:"9"`
Unknown2 []uint8 `json:"unknown2,omitempty" n2k:"10"`
}
func (*Seatalk1DisplayBrightness) BrightnessValue ¶
func (m *Seatalk1DisplayBrightness) BrightnessValue() (float64, bool)
BrightnessValue returns Brightness as a physical value in % (value = raw). The bool is false when Brightness is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Seatalk1DisplayBrightness) DecodePayload ¶
func (m *Seatalk1DisplayBrightness) DecodePayload(payload []uint8) error
func (*Seatalk1DisplayBrightness) EncodePayload ¶
func (m *Seatalk1DisplayBrightness) EncodePayload() ([]uint8, error)
func (*Seatalk1DisplayBrightness) MessageInfo ¶
func (m *Seatalk1DisplayBrightness) MessageInfo() MessageInfo
func (*Seatalk1DisplayBrightness) PGNNumber ¶
func (m *Seatalk1DisplayBrightness) PGNNumber() uint32
func (*Seatalk1DisplayBrightness) SetBrightnessValue ¶
func (m *Seatalk1DisplayBrightness) SetBrightnessValue(v float64)
SetBrightnessValue sets Brightness from a physical value in %, rounded to the nearest wire tick of 1.
func (*Seatalk1DisplayBrightness) SetMessageInfo ¶
func (m *Seatalk1DisplayBrightness) SetMessageInfo(info MessageInfo)
type Seatalk1DisplayColor ¶
type Seatalk1DisplayColor struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command1 *uint64 `json:"command1,omitempty" n2k:"5"`
Group *uint64 `json:"group,omitempty" n2k:"6"`
Unknown1 []uint8 `json:"unknown1,omitempty" n2k:"7"`
Command *uint64 `json:"command,omitempty" n2k:"8"`
Color *uint64 `json:"color,omitempty" n2k:"9"`
Unknown2 []uint8 `json:"unknown2,omitempty" n2k:"10"`
}
func (*Seatalk1DisplayColor) DecodePayload ¶
func (m *Seatalk1DisplayColor) DecodePayload(payload []uint8) error
func (*Seatalk1DisplayColor) EncodePayload ¶
func (m *Seatalk1DisplayColor) EncodePayload() ([]uint8, error)
func (*Seatalk1DisplayColor) MessageInfo ¶
func (m *Seatalk1DisplayColor) MessageInfo() MessageInfo
func (*Seatalk1DisplayColor) PGNNumber ¶
func (m *Seatalk1DisplayColor) PGNNumber() uint32
func (*Seatalk1DisplayColor) SetMessageInfo ¶
func (m *Seatalk1DisplayColor) SetMessageInfo(info MessageInfo)
type Seatalk1Keystroke ¶
type Seatalk1Keystroke struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
Seatalk1Command *uint64 `json:"seatalk1Command,omitempty" n2k:"6"`
Device *uint64 `json:"device,omitempty" n2k:"7"`
Key *uint64 `json:"key,omitempty" n2k:"8"`
Keyinverted *uint64 `json:"keyinverted,omitempty" n2k:"9"`
UnknownData []uint8 `json:"unknownData,omitempty" n2k:"10"`
}
func (*Seatalk1Keystroke) DecodePayload ¶
func (m *Seatalk1Keystroke) DecodePayload(payload []uint8) error
func (*Seatalk1Keystroke) EncodePayload ¶
func (m *Seatalk1Keystroke) EncodePayload() ([]uint8, error)
func (*Seatalk1Keystroke) MessageInfo ¶
func (m *Seatalk1Keystroke) MessageInfo() MessageInfo
func (*Seatalk1Keystroke) PGNNumber ¶
func (m *Seatalk1Keystroke) PGNNumber() uint32
func (*Seatalk1Keystroke) SetMessageInfo ¶
func (m *Seatalk1Keystroke) SetMessageInfo(info MessageInfo)
type Seatalk1PilotHullType ¶
type Seatalk1PilotHullType struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
Unknown []uint8 `json:"unknown,omitempty" n2k:"6"`
HullType *uint64 `json:"hullType,omitempty" n2k:"7"`
Unknown2 []uint8 `json:"unknown2,omitempty" n2k:"8"`
}
func (*Seatalk1PilotHullType) DecodePayload ¶
func (m *Seatalk1PilotHullType) DecodePayload(payload []uint8) error
func (*Seatalk1PilotHullType) EncodePayload ¶
func (m *Seatalk1PilotHullType) EncodePayload() ([]uint8, error)
func (*Seatalk1PilotHullType) MessageInfo ¶
func (m *Seatalk1PilotHullType) MessageInfo() MessageInfo
func (*Seatalk1PilotHullType) PGNNumber ¶
func (m *Seatalk1PilotHullType) PGNNumber() uint32
func (*Seatalk1PilotHullType) SetMessageInfo ¶
func (m *Seatalk1PilotHullType) SetMessageInfo(info MessageInfo)
type Seatalk1PilotMode ¶
type Seatalk1PilotMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
Seatalk1Command *uint64 `json:"seatalk1Command,omitempty" n2k:"6"`
Unknown1 []uint8 `json:"unknown1,omitempty" n2k:"7"`
PilotMode *uint64 `json:"pilotMode,omitempty" n2k:"8"`
SubMode *uint64 `json:"subMode,omitempty" n2k:"9"`
PilotModeData []uint8 `json:"pilotModeData,omitempty" n2k:"10"`
Unknown2 []uint8 `json:"unknown2,omitempty" n2k:"11"`
}
func (*Seatalk1PilotMode) DecodePayload ¶
func (m *Seatalk1PilotMode) DecodePayload(payload []uint8) error
func (*Seatalk1PilotMode) EncodePayload ¶
func (m *Seatalk1PilotMode) EncodePayload() ([]uint8, error)
func (*Seatalk1PilotMode) MessageInfo ¶
func (m *Seatalk1PilotMode) MessageInfo() MessageInfo
func (*Seatalk1PilotMode) PGNNumber ¶
func (m *Seatalk1PilotMode) PGNNumber() uint32
func (*Seatalk1PilotMode) SetMessageInfo ¶
func (m *Seatalk1PilotMode) SetMessageInfo(info MessageInfo)
type SeatalkAlarm ¶
type SeatalkAlarm struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
AlarmStatus *uint64 `json:"alarmStatus,omitempty" n2k:"5"`
AlarmId *uint64 `json:"alarmId,omitempty" n2k:"6"`
AlarmGroup *uint64 `json:"alarmGroup,omitempty" n2k:"7"`
AlarmPriority []uint8 `json:"alarmPriority,omitempty" n2k:"8"`
}
func (*SeatalkAlarm) DecodePayload ¶
func (m *SeatalkAlarm) DecodePayload(payload []uint8) error
func (*SeatalkAlarm) EncodePayload ¶
func (m *SeatalkAlarm) EncodePayload() ([]uint8, error)
func (*SeatalkAlarm) MessageInfo ¶
func (m *SeatalkAlarm) MessageInfo() MessageInfo
func (*SeatalkAlarm) PGNNumber ¶
func (m *SeatalkAlarm) PGNNumber() uint32
func (*SeatalkAlarm) SetMessageInfo ¶
func (m *SeatalkAlarm) SetMessageInfo(info MessageInfo)
type SeatalkAlarmGroupConst ¶
type SeatalkAlarmGroupConst uint8
const ( Instrument SeatalkAlarmGroupConst = 0 Autopilot SeatalkAlarmGroupConst = 1 Radar SeatalkAlarmGroupConst = 2 ChartPlotter SeatalkAlarmGroupConst = 3 AIS SeatalkAlarmGroupConst = 4 )
func (SeatalkAlarmGroupConst) GoString ¶
func (e SeatalkAlarmGroupConst) GoString() string
func (SeatalkAlarmGroupConst) String ¶
func (e SeatalkAlarmGroupConst) String() string
type SeatalkAlarmIdConst ¶
type SeatalkAlarmIdConst uint8
const ( NoAlarm SeatalkAlarmIdConst = 0 ShallowDepth SeatalkAlarmIdConst = 1 DeepDepth SeatalkAlarmIdConst = 2 ShallowAnchor SeatalkAlarmIdConst = 3 DeepAnchor SeatalkAlarmIdConst = 4 OffCourse SeatalkAlarmIdConst = 5 AWAHigh SeatalkAlarmIdConst = 6 AWALow SeatalkAlarmIdConst = 7 AWSHigh SeatalkAlarmIdConst = 8 AWSLow SeatalkAlarmIdConst = 9 TWAHigh SeatalkAlarmIdConst = 10 TWALow SeatalkAlarmIdConst = 11 TWSHigh SeatalkAlarmIdConst = 12 TWSLow SeatalkAlarmIdConst = 13 WPArrival SeatalkAlarmIdConst = 14 BoatSpeedHigh SeatalkAlarmIdConst = 15 BoatSpeedLow SeatalkAlarmIdConst = 16 SeaTemperatureHigh SeatalkAlarmIdConst = 17 SeaTemperatureLow SeatalkAlarmIdConst = 18 PilotWatch SeatalkAlarmIdConst = 19 PilotOffCourse SeatalkAlarmIdConst = 20 PilotWindShift SeatalkAlarmIdConst = 21 PilotLowBattery SeatalkAlarmIdConst = 22 PilotLastMinuteOfWatch SeatalkAlarmIdConst = 23 PilotNoNMEAData SeatalkAlarmIdConst = 24 PilotLargeXTE SeatalkAlarmIdConst = 25 PilotNMEADataError SeatalkAlarmIdConst = 26 PilotCUDisconnected SeatalkAlarmIdConst = 27 PilotAutoRelease SeatalkAlarmIdConst = 28 PilotWayPointAdvance SeatalkAlarmIdConst = 29 PilotDriveStopped SeatalkAlarmIdConst = 30 PilotTypeUnspecified SeatalkAlarmIdConst = 31 PilotCalibrationRequired SeatalkAlarmIdConst = 32 PilotLastHeading SeatalkAlarmIdConst = 33 PilotNoPilot SeatalkAlarmIdConst = 34 PilotRouteComplete SeatalkAlarmIdConst = 35 PilotVariableText SeatalkAlarmIdConst = 36 GPSFailure SeatalkAlarmIdConst = 37 MOB SeatalkAlarmIdConst = 38 Seatalk1Anchor SeatalkAlarmIdConst = 39 PilotSwappedMotorPower SeatalkAlarmIdConst = 40 PilotStandbyTooFastToFish SeatalkAlarmIdConst = 41 PilotNoGPSFix SeatalkAlarmIdConst = 42 PilotNoGPSCOG SeatalkAlarmIdConst = 43 PilotStartUp SeatalkAlarmIdConst = 44 PilotTooSlow SeatalkAlarmIdConst = 45 PilotNoCompass SeatalkAlarmIdConst = 46 PilotRateGyroFault SeatalkAlarmIdConst = 47 PilotCurrentLimit SeatalkAlarmIdConst = 48 PilotWayPointAdvancePort SeatalkAlarmIdConst = 49 PilotWayPointAdvanceStbd SeatalkAlarmIdConst = 50 PilotNoWindData SeatalkAlarmIdConst = 51 PilotNoSpeedData SeatalkAlarmIdConst = 52 PilotSeatalkFail1 SeatalkAlarmIdConst = 53 PilotSeatalkFail2 SeatalkAlarmIdConst = 54 PilotWarningTooFastToFish SeatalkAlarmIdConst = 55 PilotAutoDocksideFail SeatalkAlarmIdConst = 56 PilotTurnTooFast SeatalkAlarmIdConst = 57 PilotLostWaypointData SeatalkAlarmIdConst = 59 PilotEEPROMCorrupt SeatalkAlarmIdConst = 60 PilotRudderFeedbackFail SeatalkAlarmIdConst = 61 PilotAutolearnFail1 SeatalkAlarmIdConst = 62 PilotAutolearnFail2 SeatalkAlarmIdConst = 63 PilotAutolearnFail3 SeatalkAlarmIdConst = 64 PilotAutolearnFail4 SeatalkAlarmIdConst = 65 PilotAutolearnFail5 SeatalkAlarmIdConst = 66 PilotAutolearnFail6 SeatalkAlarmIdConst = 67 PilotWarningCalRequired SeatalkAlarmIdConst = 68 PilotWarningOffCourse SeatalkAlarmIdConst = 69 PilotWarningXTE SeatalkAlarmIdConst = 70 PilotWarningWindShift SeatalkAlarmIdConst = 71 PilotWarningDriveShort SeatalkAlarmIdConst = 72 PilotWarningClutchShort SeatalkAlarmIdConst = 73 PilotWarningSolenoidShort SeatalkAlarmIdConst = 74 PilotJoystickFault SeatalkAlarmIdConst = 75 PilotNoJoystickData SeatalkAlarmIdConst = 76 PilotInvalidCommand SeatalkAlarmIdConst = 80 AISTXMalfunction SeatalkAlarmIdConst = 81 AISAntennaVSWRFault SeatalkAlarmIdConst = 82 AISRxChannel1Malfunction SeatalkAlarmIdConst = 83 AISRxChannel2Malfunction SeatalkAlarmIdConst = 84 AISNoSensorPositionInUse SeatalkAlarmIdConst = 85 AISNoValidSOGInformation SeatalkAlarmIdConst = 86 AISNoValidCOGInformation SeatalkAlarmIdConst = 87 AIS12VAlarm SeatalkAlarmIdConst = 88 AIS6VAlarm SeatalkAlarmIdConst = 89 AISNoiseThresholdExceededChannelA SeatalkAlarmIdConst = 90 AISNoiseThresholdExceededChannelB SeatalkAlarmIdConst = 91 AISTransmitterPAFault SeatalkAlarmIdConst = 92 AIS3V3Alarm SeatalkAlarmIdConst = 93 AISRxChannel70Malfunction SeatalkAlarmIdConst = 94 AISHeadingLostInvalid SeatalkAlarmIdConst = 95 AISInternalGPSLost SeatalkAlarmIdConst = 96 AISNoSensorPosition SeatalkAlarmIdConst = 97 AISLockFailure SeatalkAlarmIdConst = 98 AISInternalGGATimeout SeatalkAlarmIdConst = 99 AISProtocolStackRestart SeatalkAlarmIdConst = 100 PilotNoIPSCommunications SeatalkAlarmIdConst = 101 PilotPowerOnOrSleepSwitchResetWhileEngaged SeatalkAlarmIdConst = 102 PilotUnexpectedResetWhileEngaged SeatalkAlarmIdConst = 103 AISDangerousTarget SeatalkAlarmIdConst = 104 AISLostTarget SeatalkAlarmIdConst = 105 AISSafetyRelatedMessageUsedToSilence SeatalkAlarmIdConst = 106 AISConnectionLost SeatalkAlarmIdConst = 107 NoFix SeatalkAlarmIdConst = 108 )
func (SeatalkAlarmIdConst) GoString ¶
func (e SeatalkAlarmIdConst) GoString() string
func (SeatalkAlarmIdConst) String ¶
func (e SeatalkAlarmIdConst) String() string
type SeatalkAlarmStatusConst ¶
type SeatalkAlarmStatusConst uint8
const ( AlarmConditionNotMet SeatalkAlarmStatusConst = 0 AlarmConditionMetAndNotSilenced SeatalkAlarmStatusConst = 1 AlarmConditionMetAndSilenced SeatalkAlarmStatusConst = 2 )
func (SeatalkAlarmStatusConst) GoString ¶
func (e SeatalkAlarmStatusConst) GoString() string
func (SeatalkAlarmStatusConst) String ¶
func (e SeatalkAlarmStatusConst) String() string
type SeatalkDeviceIdConst ¶
type SeatalkDeviceIdConst uint8
const ( S100 SeatalkDeviceIdConst = 3 CourseComputer SeatalkDeviceIdConst = 5 )
func (SeatalkDeviceIdConst) GoString ¶
func (e SeatalkDeviceIdConst) GoString() string
func (SeatalkDeviceIdConst) String ¶
func (e SeatalkDeviceIdConst) String() string
type SeatalkDisplayColorConst ¶
type SeatalkDisplayColorConst uint8
const ( Day1 SeatalkDisplayColorConst = 0 Day2 SeatalkDisplayColorConst = 2 RedBlack SeatalkDisplayColorConst = 3 Inverse SeatalkDisplayColorConst = 4 )
func (SeatalkDisplayColorConst) GoString ¶
func (e SeatalkDisplayColorConst) GoString() string
func (SeatalkDisplayColorConst) String ¶
func (e SeatalkDisplayColorConst) String() string
type SeatalkKeypadHeartbeat ¶
type SeatalkKeypadHeartbeat struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Variant *uint64 `json:"variant,omitempty" n2k:"5"`
Status *uint64 `json:"status,omitempty" n2k:"6"`
}
func (*SeatalkKeypadHeartbeat) DecodePayload ¶
func (m *SeatalkKeypadHeartbeat) DecodePayload(payload []uint8) error
func (*SeatalkKeypadHeartbeat) EncodePayload ¶
func (m *SeatalkKeypadHeartbeat) EncodePayload() ([]uint8, error)
func (*SeatalkKeypadHeartbeat) MessageInfo ¶
func (m *SeatalkKeypadHeartbeat) MessageInfo() MessageInfo
func (*SeatalkKeypadHeartbeat) PGNNumber ¶
func (m *SeatalkKeypadHeartbeat) PGNNumber() uint32
func (*SeatalkKeypadHeartbeat) SetMessageInfo ¶
func (m *SeatalkKeypadHeartbeat) SetMessageInfo(info MessageInfo)
type SeatalkKeypadMessage ¶
type SeatalkKeypadMessage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
FirstKey *uint64 `json:"firstKey,omitempty" n2k:"5"`
SecondKey *uint64 `json:"secondKey,omitempty" n2k:"6"`
FirstKeyState *uint64 `json:"firstKeyState,omitempty" n2k:"7"`
SecondKeyState *uint64 `json:"secondKeyState,omitempty" n2k:"8"`
EncoderPosition *uint64 `json:"encoderPosition,omitempty" n2k:"10"`
}
func (*SeatalkKeypadMessage) DecodePayload ¶
func (m *SeatalkKeypadMessage) DecodePayload(payload []uint8) error
func (*SeatalkKeypadMessage) EncodePayload ¶
func (m *SeatalkKeypadMessage) EncodePayload() ([]uint8, error)
func (*SeatalkKeypadMessage) MessageInfo ¶
func (m *SeatalkKeypadMessage) MessageInfo() MessageInfo
func (*SeatalkKeypadMessage) PGNNumber ¶
func (m *SeatalkKeypadMessage) PGNNumber() uint32
func (*SeatalkKeypadMessage) SetMessageInfo ¶
func (m *SeatalkKeypadMessage) SetMessageInfo(info MessageInfo)
type SeatalkKeystrokeConst ¶
type SeatalkKeystrokeConst uint8
const ( Auto_3 SeatalkKeystrokeConst = 1 Standby_2 SeatalkKeystrokeConst = 2 Wind_2 SeatalkKeystrokeConst = 3 AMinus1 SeatalkKeystrokeConst = 5 AMinus10 SeatalkKeystrokeConst = 6 APlus1 SeatalkKeystrokeConst = 7 APlus10 SeatalkKeystrokeConst = 8 AMinus1AndMinus10 SeatalkKeystrokeConst = 33 APlus1AndPlus10 SeatalkKeystrokeConst = 34 Track_2 SeatalkKeystrokeConst = 35 )
func (SeatalkKeystrokeConst) GoString ¶
func (e SeatalkKeystrokeConst) GoString() string
func (SeatalkKeystrokeConst) String ¶
func (e SeatalkKeystrokeConst) String() string
type SeatalkNetworkGroupConst ¶
type SeatalkNetworkGroupConst uint8
const ( None_2 SeatalkNetworkGroupConst = 0 Helm1 SeatalkNetworkGroupConst = 1 Helm2 SeatalkNetworkGroupConst = 2 Cockpit SeatalkNetworkGroupConst = 3 Flybridge SeatalkNetworkGroupConst = 4 Mast SeatalkNetworkGroupConst = 5 Group1 SeatalkNetworkGroupConst = 6 Group2 SeatalkNetworkGroupConst = 7 Group3 SeatalkNetworkGroupConst = 8 Group4 SeatalkNetworkGroupConst = 9 Group5 SeatalkNetworkGroupConst = 10 )
func (SeatalkNetworkGroupConst) GoString ¶
func (e SeatalkNetworkGroupConst) GoString() string
func (SeatalkNetworkGroupConst) String ¶
func (e SeatalkNetworkGroupConst) String() string
type SeatalkNodeStatistics ¶
type SeatalkNodeStatistics struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProductCode *uint64 `json:"productCode,omitempty" n2k:"4"`
Year *uint64 `json:"year,omitempty" n2k:"5"`
Month *uint64 `json:"month,omitempty" n2k:"6"`
DeviceNumber *uint64 `json:"deviceNumber,omitempty" n2k:"7"`
NodeVoltage *uint64 `json:"nodeVoltage,omitempty" n2k:"8"`
}
func (*SeatalkNodeStatistics) DecodePayload ¶
func (m *SeatalkNodeStatistics) DecodePayload(payload []uint8) error
func (*SeatalkNodeStatistics) EncodePayload ¶
func (m *SeatalkNodeStatistics) EncodePayload() ([]uint8, error)
func (*SeatalkNodeStatistics) MessageInfo ¶
func (m *SeatalkNodeStatistics) MessageInfo() MessageInfo
func (*SeatalkNodeStatistics) NodeVoltageValue ¶
func (m *SeatalkNodeStatistics) NodeVoltageValue() (float64, bool)
NodeVoltageValue returns NodeVoltage as a physical value in V (value = raw * 0.01). The bool is false when NodeVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkNodeStatistics) PGNNumber ¶
func (m *SeatalkNodeStatistics) PGNNumber() uint32
func (*SeatalkNodeStatistics) SetMessageInfo ¶
func (m *SeatalkNodeStatistics) SetMessageInfo(info MessageInfo)
func (*SeatalkNodeStatistics) SetNodeVoltageValue ¶
func (m *SeatalkNodeStatistics) SetNodeVoltageValue(v float64)
SetNodeVoltageValue sets NodeVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
type SeatalkPilotAutoTurn ¶
type SeatalkPilotAutoTurn struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Command *uint64 `json:"command,omitempty" n2k:"5"`
Unknown []uint8 `json:"unknown,omitempty" n2k:"6"`
Enabled *uint64 `json:"enabled,omitempty" n2k:"7"`
Unknown2 *uint64 `json:"unknown2,omitempty" n2k:"8"`
Unknown3 []uint8 `json:"unknown3,omitempty" n2k:"9"`
}
func (*SeatalkPilotAutoTurn) DecodePayload ¶
func (m *SeatalkPilotAutoTurn) DecodePayload(payload []uint8) error
func (*SeatalkPilotAutoTurn) EncodePayload ¶
func (m *SeatalkPilotAutoTurn) EncodePayload() ([]uint8, error)
func (*SeatalkPilotAutoTurn) MessageInfo ¶
func (m *SeatalkPilotAutoTurn) MessageInfo() MessageInfo
func (*SeatalkPilotAutoTurn) PGNNumber ¶
func (m *SeatalkPilotAutoTurn) PGNNumber() uint32
func (*SeatalkPilotAutoTurn) SetMessageInfo ¶
func (m *SeatalkPilotAutoTurn) SetMessageInfo(info MessageInfo)
type SeatalkPilotHeading ¶
type SeatalkPilotHeading struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
HeadingTrue *uint64 `json:"headingTrue,omitempty" n2k:"5"`
HeadingMagnetic *uint64 `json:"headingMagnetic,omitempty" n2k:"6"`
}
func (*SeatalkPilotHeading) DecodePayload ¶
func (m *SeatalkPilotHeading) DecodePayload(payload []uint8) error
func (*SeatalkPilotHeading) EncodePayload ¶
func (m *SeatalkPilotHeading) EncodePayload() ([]uint8, error)
func (*SeatalkPilotHeading) HeadingMagneticValue ¶
func (m *SeatalkPilotHeading) HeadingMagneticValue() (float64, bool)
HeadingMagneticValue returns HeadingMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false when HeadingMagnetic is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkPilotHeading) HeadingTrueValue ¶
func (m *SeatalkPilotHeading) HeadingTrueValue() (float64, bool)
HeadingTrueValue returns HeadingTrue as a physical value in rad (value = raw * 0.0001). The bool is false when HeadingTrue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkPilotHeading) MessageInfo ¶
func (m *SeatalkPilotHeading) MessageInfo() MessageInfo
func (*SeatalkPilotHeading) PGNNumber ¶
func (m *SeatalkPilotHeading) PGNNumber() uint32
func (*SeatalkPilotHeading) SetHeadingMagneticValue ¶
func (m *SeatalkPilotHeading) SetHeadingMagneticValue(v float64)
SetHeadingMagneticValue sets HeadingMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotHeading) SetHeadingTrueValue ¶
func (m *SeatalkPilotHeading) SetHeadingTrueValue(v float64)
SetHeadingTrueValue sets HeadingTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotHeading) SetMessageInfo ¶
func (m *SeatalkPilotHeading) SetMessageInfo(info MessageInfo)
type SeatalkPilotLockedHeading ¶
type SeatalkPilotLockedHeading struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
TargetHeadingTrue *uint64 `json:"targetHeadingTrue,omitempty" n2k:"5"`
TargetHeadingMagnetic *uint64 `json:"targetHeadingMagnetic,omitempty" n2k:"6"`
}
func (*SeatalkPilotLockedHeading) DecodePayload ¶
func (m *SeatalkPilotLockedHeading) DecodePayload(payload []uint8) error
func (*SeatalkPilotLockedHeading) EncodePayload ¶
func (m *SeatalkPilotLockedHeading) EncodePayload() ([]uint8, error)
func (*SeatalkPilotLockedHeading) MessageInfo ¶
func (m *SeatalkPilotLockedHeading) MessageInfo() MessageInfo
func (*SeatalkPilotLockedHeading) PGNNumber ¶
func (m *SeatalkPilotLockedHeading) PGNNumber() uint32
func (*SeatalkPilotLockedHeading) SetMessageInfo ¶
func (m *SeatalkPilotLockedHeading) SetMessageInfo(info MessageInfo)
func (*SeatalkPilotLockedHeading) SetTargetHeadingMagneticValue ¶
func (m *SeatalkPilotLockedHeading) SetTargetHeadingMagneticValue(v float64)
SetTargetHeadingMagneticValue sets TargetHeadingMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotLockedHeading) SetTargetHeadingTrueValue ¶
func (m *SeatalkPilotLockedHeading) SetTargetHeadingTrueValue(v float64)
SetTargetHeadingTrueValue sets TargetHeadingTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotLockedHeading) TargetHeadingMagneticValue ¶
func (m *SeatalkPilotLockedHeading) TargetHeadingMagneticValue() (float64, bool)
TargetHeadingMagneticValue returns TargetHeadingMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false when TargetHeadingMagnetic is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkPilotLockedHeading) TargetHeadingTrueValue ¶
func (m *SeatalkPilotLockedHeading) TargetHeadingTrueValue() (float64, bool)
TargetHeadingTrueValue returns TargetHeadingTrue as a physical value in rad (value = raw * 0.0001). The bool is false when TargetHeadingTrue is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SeatalkPilotMode ¶
type SeatalkPilotMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
PilotMode *uint64 `json:"pilotMode,omitempty" n2k:"4"`
SubMode []uint8 `json:"subMode,omitempty" n2k:"5"`
PilotModeData []uint8 `json:"pilotModeData,omitempty" n2k:"6"`
}
func (*SeatalkPilotMode) DecodePayload ¶
func (m *SeatalkPilotMode) DecodePayload(payload []uint8) error
func (*SeatalkPilotMode) EncodePayload ¶
func (m *SeatalkPilotMode) EncodePayload() ([]uint8, error)
func (*SeatalkPilotMode) MessageInfo ¶
func (m *SeatalkPilotMode) MessageInfo() MessageInfo
func (*SeatalkPilotMode) PGNNumber ¶
func (m *SeatalkPilotMode) PGNNumber() uint32
func (*SeatalkPilotMode) SetMessageInfo ¶
func (m *SeatalkPilotMode) SetMessageInfo(info MessageInfo)
type SeatalkPilotMode16Const ¶
type SeatalkPilotMode16Const uint16
const ( Standby_4 SeatalkPilotMode16Const = 0 AutoCompassCommanded SeatalkPilotMode16Const = 64 VaneWindMode SeatalkPilotMode16Const = 256 TrackMode SeatalkPilotMode16Const = 384 NoDriftCOGReferencedInTrackCourseChanges SeatalkPilotMode16Const = 385 )
func (SeatalkPilotMode16Const) GoString ¶
func (e SeatalkPilotMode16Const) GoString() string
func (SeatalkPilotMode16Const) String ¶
func (e SeatalkPilotMode16Const) String() string
type SeatalkPilotModeConst ¶
type SeatalkPilotModeConst uint8
const ( Standby SeatalkPilotModeConst = 64 Auto SeatalkPilotModeConst = 66 Wind SeatalkPilotModeConst = 70 Track SeatalkPilotModeConst = 74 )
func (SeatalkPilotModeConst) GoString ¶
func (e SeatalkPilotModeConst) GoString() string
func (SeatalkPilotModeConst) String ¶
func (e SeatalkPilotModeConst) String() string
type SeatalkPilotWindDatum ¶
type SeatalkPilotWindDatum struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
WindDatum *uint64 `json:"windDatum,omitempty" n2k:"4"`
RollingAverageWindAngle *uint64 `json:"rollingAverageWindAngle,omitempty" n2k:"5"`
}
func (*SeatalkPilotWindDatum) DecodePayload ¶
func (m *SeatalkPilotWindDatum) DecodePayload(payload []uint8) error
func (*SeatalkPilotWindDatum) EncodePayload ¶
func (m *SeatalkPilotWindDatum) EncodePayload() ([]uint8, error)
func (*SeatalkPilotWindDatum) MessageInfo ¶
func (m *SeatalkPilotWindDatum) MessageInfo() MessageInfo
func (*SeatalkPilotWindDatum) PGNNumber ¶
func (m *SeatalkPilotWindDatum) PGNNumber() uint32
func (*SeatalkPilotWindDatum) RollingAverageWindAngleValue ¶
func (m *SeatalkPilotWindDatum) RollingAverageWindAngleValue() (float64, bool)
RollingAverageWindAngleValue returns RollingAverageWindAngle as a physical value in rad (value = raw * 0.0001). The bool is false when RollingAverageWindAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkPilotWindDatum) SetMessageInfo ¶
func (m *SeatalkPilotWindDatum) SetMessageInfo(info MessageInfo)
func (*SeatalkPilotWindDatum) SetRollingAverageWindAngleValue ¶
func (m *SeatalkPilotWindDatum) SetRollingAverageWindAngleValue(v float64)
SetRollingAverageWindAngleValue sets RollingAverageWindAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotWindDatum) SetWindDatumValue ¶
func (m *SeatalkPilotWindDatum) SetWindDatumValue(v float64)
SetWindDatumValue sets WindDatum from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkPilotWindDatum) WindDatumValue ¶
func (m *SeatalkPilotWindDatum) WindDatumValue() (float64, bool)
WindDatumValue returns WindDatum as a physical value in rad (value = raw * 0.0001). The bool is false when WindDatum is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SeatalkRouteInformation ¶
type SeatalkRouteInformation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
CurrentWaypointSequence *uint64 `json:"currentWaypointSequence,omitempty" n2k:"4"`
CurrentWaypointName string `json:"currentWaypointName,omitempty" n2k:"5"`
NextWaypointSequence *uint64 `json:"nextWaypointSequence,omitempty" n2k:"6"`
NextWaypointName string `json:"nextWaypointName,omitempty" n2k:"7"`
Unknown *uint64 `json:"unknown,omitempty" n2k:"8"`
DistancePositionToNextWaypoint *uint64 `json:"distancePositionToNextWaypoint,omitempty" n2k:"9"`
BearingPositionToNextWaypointTrue *uint64 `json:"bearingPositionToNextWaypointTrue,omitempty" n2k:"10"`
BearingCurrentWaypointToNextWaypointTrue *uint64 `json:"bearingCurrentWaypointToNextWaypointTrue,omitempty" n2k:"11"`
}
func (*SeatalkRouteInformation) BearingCurrentWaypointToNextWaypointTrueValue ¶
func (m *SeatalkRouteInformation) BearingCurrentWaypointToNextWaypointTrueValue() (float64, bool)
BearingCurrentWaypointToNextWaypointTrueValue returns BearingCurrentWaypointToNextWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false when BearingCurrentWaypointToNextWaypointTrue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkRouteInformation) BearingPositionToNextWaypointTrueValue ¶
func (m *SeatalkRouteInformation) BearingPositionToNextWaypointTrueValue() (float64, bool)
BearingPositionToNextWaypointTrueValue returns BearingPositionToNextWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false when BearingPositionToNextWaypointTrue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkRouteInformation) DecodePayload ¶
func (m *SeatalkRouteInformation) DecodePayload(payload []uint8) error
func (*SeatalkRouteInformation) DistancePositionToNextWaypointValue ¶
func (m *SeatalkRouteInformation) DistancePositionToNextWaypointValue() (float64, bool)
DistancePositionToNextWaypointValue returns DistancePositionToNextWaypoint as a physical value in m (value = raw). The bool is false when DistancePositionToNextWaypoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkRouteInformation) EncodePayload ¶
func (m *SeatalkRouteInformation) EncodePayload() ([]uint8, error)
func (*SeatalkRouteInformation) MessageInfo ¶
func (m *SeatalkRouteInformation) MessageInfo() MessageInfo
func (*SeatalkRouteInformation) PGNNumber ¶
func (m *SeatalkRouteInformation) PGNNumber() uint32
func (*SeatalkRouteInformation) SetBearingCurrentWaypointToNextWaypointTrueValue ¶
func (m *SeatalkRouteInformation) SetBearingCurrentWaypointToNextWaypointTrueValue(v float64)
SetBearingCurrentWaypointToNextWaypointTrueValue sets BearingCurrentWaypointToNextWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkRouteInformation) SetBearingPositionToNextWaypointTrueValue ¶
func (m *SeatalkRouteInformation) SetBearingPositionToNextWaypointTrueValue(v float64)
SetBearingPositionToNextWaypointTrueValue sets BearingPositionToNextWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkRouteInformation) SetDistancePositionToNextWaypointValue ¶
func (m *SeatalkRouteInformation) SetDistancePositionToNextWaypointValue(v float64)
SetDistancePositionToNextWaypointValue sets DistancePositionToNextWaypoint from a physical value in m, rounded to the nearest wire tick of 1.
func (*SeatalkRouteInformation) SetMessageInfo ¶
func (m *SeatalkRouteInformation) SetMessageInfo(info MessageInfo)
type SeatalkSilenceAlarm ¶
type SeatalkSilenceAlarm struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlarmId *uint64 `json:"alarmId,omitempty" n2k:"4"`
AlarmGroup *uint64 `json:"alarmGroup,omitempty" n2k:"5"`
}
func (*SeatalkSilenceAlarm) DecodePayload ¶
func (m *SeatalkSilenceAlarm) DecodePayload(payload []uint8) error
func (*SeatalkSilenceAlarm) EncodePayload ¶
func (m *SeatalkSilenceAlarm) EncodePayload() ([]uint8, error)
func (*SeatalkSilenceAlarm) MessageInfo ¶
func (m *SeatalkSilenceAlarm) MessageInfo() MessageInfo
func (*SeatalkSilenceAlarm) PGNNumber ¶
func (m *SeatalkSilenceAlarm) PGNNumber() uint32
func (*SeatalkSilenceAlarm) SetMessageInfo ¶
func (m *SeatalkSilenceAlarm) SetMessageInfo(info MessageInfo)
type SeatalkWaypointInformation ¶
type SeatalkWaypointInformation struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Sid *uint64 `json:"sid,omitempty" n2k:"4"`
WaypointName string `json:"waypointName,omitempty" n2k:"5"`
WaypointSequence string `json:"waypointSequence,omitempty" n2k:"6"`
BearingToWaypointTrue *uint64 `json:"bearingToWaypointTrue,omitempty" n2k:"7"`
BearingToWaypointMagnetic *uint64 `json:"bearingToWaypointMagnetic,omitempty" n2k:"8"`
DistanceToWaypoint *uint64 `json:"distanceToWaypoint,omitempty" n2k:"9"`
}
func (*SeatalkWaypointInformation) BearingToWaypointMagneticValue ¶
func (m *SeatalkWaypointInformation) BearingToWaypointMagneticValue() (float64, bool)
BearingToWaypointMagneticValue returns BearingToWaypointMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false when BearingToWaypointMagnetic is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkWaypointInformation) BearingToWaypointTrueValue ¶
func (m *SeatalkWaypointInformation) BearingToWaypointTrueValue() (float64, bool)
BearingToWaypointTrueValue returns BearingToWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false when BearingToWaypointTrue is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkWaypointInformation) DecodePayload ¶
func (m *SeatalkWaypointInformation) DecodePayload(payload []uint8) error
func (*SeatalkWaypointInformation) DistanceToWaypointValue ¶
func (m *SeatalkWaypointInformation) DistanceToWaypointValue() (float64, bool)
DistanceToWaypointValue returns DistanceToWaypoint as a physical value in m (value = raw * 0.01). The bool is false when DistanceToWaypoint is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SeatalkWaypointInformation) EncodePayload ¶
func (m *SeatalkWaypointInformation) EncodePayload() ([]uint8, error)
func (*SeatalkWaypointInformation) MessageInfo ¶
func (m *SeatalkWaypointInformation) MessageInfo() MessageInfo
func (*SeatalkWaypointInformation) PGNNumber ¶
func (m *SeatalkWaypointInformation) PGNNumber() uint32
func (*SeatalkWaypointInformation) SetBearingToWaypointMagneticValue ¶
func (m *SeatalkWaypointInformation) SetBearingToWaypointMagneticValue(v float64)
SetBearingToWaypointMagneticValue sets BearingToWaypointMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkWaypointInformation) SetBearingToWaypointTrueValue ¶
func (m *SeatalkWaypointInformation) SetBearingToWaypointTrueValue(v float64)
SetBearingToWaypointTrueValue sets BearingToWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SeatalkWaypointInformation) SetDistanceToWaypointValue ¶
func (m *SeatalkWaypointInformation) SetDistanceToWaypointValue(v float64)
SetDistanceToWaypointValue sets DistanceToWaypoint from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*SeatalkWaypointInformation) SetMessageInfo ¶
func (m *SeatalkWaypointInformation) SetMessageInfo(info MessageInfo)
type SeatalkWirelessKeypadControl ¶
type SeatalkWirelessKeypadControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
PID *uint64 `json:"PID,omitempty" n2k:"4"`
Variant *uint64 `json:"variant,omitempty" n2k:"5"`
BeepControl *uint64 `json:"beepControl,omitempty" n2k:"6"`
}
func (*SeatalkWirelessKeypadControl) DecodePayload ¶
func (m *SeatalkWirelessKeypadControl) DecodePayload(payload []uint8) error
func (*SeatalkWirelessKeypadControl) EncodePayload ¶
func (m *SeatalkWirelessKeypadControl) EncodePayload() ([]uint8, error)
func (*SeatalkWirelessKeypadControl) MessageInfo ¶
func (m *SeatalkWirelessKeypadControl) MessageInfo() MessageInfo
func (*SeatalkWirelessKeypadControl) PGNNumber ¶
func (m *SeatalkWirelessKeypadControl) PGNNumber() uint32
func (*SeatalkWirelessKeypadControl) SetMessageInfo ¶
func (m *SeatalkWirelessKeypadControl) SetMessageInfo(info MessageInfo)
type SeatalkWirelessKeypadLightControl ¶
type SeatalkWirelessKeypadLightControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"4"`
Variant *uint64 `json:"variant,omitempty" n2k:"5"`
WirelessSetting *uint64 `json:"wirelessSetting,omitempty" n2k:"6"`
WiredSetting *uint64 `json:"wiredSetting,omitempty" n2k:"7"`
}
func (*SeatalkWirelessKeypadLightControl) DecodePayload ¶
func (m *SeatalkWirelessKeypadLightControl) DecodePayload(payload []uint8) error
func (*SeatalkWirelessKeypadLightControl) EncodePayload ¶
func (m *SeatalkWirelessKeypadLightControl) EncodePayload() ([]uint8, error)
func (*SeatalkWirelessKeypadLightControl) MessageInfo ¶
func (m *SeatalkWirelessKeypadLightControl) MessageInfo() MessageInfo
func (*SeatalkWirelessKeypadLightControl) PGNNumber ¶
func (m *SeatalkWirelessKeypadLightControl) PGNNumber() uint32
func (*SeatalkWirelessKeypadLightControl) SetMessageInfo ¶
func (m *SeatalkWirelessKeypadLightControl) SetMessageInfo(info MessageInfo)
type SetDriftRapidUpdate ¶
type SetDriftRapidUpdate struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
SetReference *uint64 `json:"setReference,omitempty" n2k:"2"`
Set *uint64 `json:"set,omitempty" n2k:"4"`
Drift *uint64 `json:"drift,omitempty" n2k:"5"`
}
func (*SetDriftRapidUpdate) DecodePayload ¶
func (m *SetDriftRapidUpdate) DecodePayload(payload []uint8) error
func (*SetDriftRapidUpdate) DriftValue ¶
func (m *SetDriftRapidUpdate) DriftValue() (float64, bool)
DriftValue returns Drift as a physical value in m/s (value = raw * 0.01). The bool is false when Drift is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SetDriftRapidUpdate) EncodePayload ¶
func (m *SetDriftRapidUpdate) EncodePayload() ([]uint8, error)
func (*SetDriftRapidUpdate) MessageInfo ¶
func (m *SetDriftRapidUpdate) MessageInfo() MessageInfo
func (*SetDriftRapidUpdate) PGNNumber ¶
func (m *SetDriftRapidUpdate) PGNNumber() uint32
func (*SetDriftRapidUpdate) SetDriftValue ¶
func (m *SetDriftRapidUpdate) SetDriftValue(v float64)
SetDriftValue sets Drift from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*SetDriftRapidUpdate) SetMessageInfo ¶
func (m *SetDriftRapidUpdate) SetMessageInfo(info MessageInfo)
func (*SetDriftRapidUpdate) SetSetValue ¶
func (m *SetDriftRapidUpdate) SetSetValue(v float64)
SetSetValue sets Set from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SetDriftRapidUpdate) SetValue ¶
func (m *SetDriftRapidUpdate) SetValue() (float64, bool)
SetValue returns Set as a physical value in rad (value = raw * 0.0001). The bool is false when Set is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SetPressure ¶
type SetPressure struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
Source *uint64 `json:"source,omitempty" n2k:"3"`
Pressure *int64 `json:"pressure,omitempty" n2k:"4"`
}
func (*SetPressure) DecodePayload ¶
func (m *SetPressure) DecodePayload(payload []uint8) error
func (*SetPressure) EncodePayload ¶
func (m *SetPressure) EncodePayload() ([]uint8, error)
func (*SetPressure) MessageInfo ¶
func (m *SetPressure) MessageInfo() MessageInfo
func (*SetPressure) PGNNumber ¶
func (m *SetPressure) PGNNumber() uint32
func (*SetPressure) PressureValue ¶
func (m *SetPressure) PressureValue() (float64, bool)
PressureValue returns Pressure as a physical value in Pa (value = raw * 0.1). The bool is false when Pressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SetPressure) SetMessageInfo ¶
func (m *SetPressure) SetMessageInfo(info MessageInfo)
func (*SetPressure) SetPressureValue ¶
func (m *SetPressure) SetPressureValue(v float64)
SetPressureValue sets Pressure from a physical value in Pa, rounded to the nearest wire tick of 0.1.
type ShipTypeConst ¶
type ShipTypeConst uint8
const ( WingInGround ShipTypeConst = 20 WingInGroundHazardCatX ShipTypeConst = 21 WingInGroundHazardCatY ShipTypeConst = 22 WingInGroundHazardCatZ ShipTypeConst = 23 WingInGroundHazardCatOS ShipTypeConst = 24 WingInGroundNoAdditionalInformation ShipTypeConst = 29 Fishing ShipTypeConst = 30 Towing ShipTypeConst = 31 TowingExceeds200mOrWiderThan25m ShipTypeConst = 32 EngagedInDredgingOrUnderwaterOperations ShipTypeConst = 33 EngagedInDivingOperations ShipTypeConst = 34 EngagedInMilitaryOperations ShipTypeConst = 35 Sailing ShipTypeConst = 36 Pleasure ShipTypeConst = 37 HighSpeedCraft ShipTypeConst = 40 HighSpeedCraftHazardCatX ShipTypeConst = 41 HighSpeedCraftHazardCatY ShipTypeConst = 42 HighSpeedCraftHazardCatZ ShipTypeConst = 43 HighSpeedCraftHazardCatOS ShipTypeConst = 44 HighSpeedCraftNoAdditionalInformation ShipTypeConst = 49 PilotVessel ShipTypeConst = 50 SAR ShipTypeConst = 51 Tug ShipTypeConst = 52 PortTender ShipTypeConst = 53 AntiPollution ShipTypeConst = 54 LawEnforcement ShipTypeConst = 55 Spare ShipTypeConst = 56 Spare2 ShipTypeConst = 57 Medical ShipTypeConst = 58 ShipsAndAircraftOfStatesNotPartiesToAnArmedConflict ShipTypeConst = 59 PassengerShip ShipTypeConst = 60 PassengerShipHazardCatX ShipTypeConst = 61 PassengerShipHazardCatY ShipTypeConst = 62 PassengerShipHazardCatZ ShipTypeConst = 63 PassengerShipHazardCatOS ShipTypeConst = 64 PassengerShipNoAdditionalInformation ShipTypeConst = 69 CargoShip ShipTypeConst = 70 CargoShipHazardCatX ShipTypeConst = 71 CargoShipHazardCatY ShipTypeConst = 72 CargoShipHazardCatZ ShipTypeConst = 73 CargoShipHazardCatOS ShipTypeConst = 74 CargoShipNoAdditionalInformation ShipTypeConst = 79 Tanker ShipTypeConst = 80 TankerHazardCatX ShipTypeConst = 81 TankerHazardCatY ShipTypeConst = 82 TankerHazardCatZ ShipTypeConst = 83 TankerHazardCatOS ShipTypeConst = 84 TankerNoAdditionalInformation ShipTypeConst = 89 Other ShipTypeConst = 90 OtherHazardCatX ShipTypeConst = 91 OtherHazardCatY ShipTypeConst = 92 OtherHazardCatZ ShipTypeConst = 93 OtherHazardCatOS ShipTypeConst = 94 OtherNoAdditionalInformation ShipTypeConst = 99 )
func (ShipTypeConst) GoString ¶
func (e ShipTypeConst) GoString() string
func (ShipTypeConst) String ¶
func (e ShipTypeConst) String() string
type SimnetAisClassBStaticDataMsg24PartA ¶
type SimnetAisClassBStaticDataMsg24PartA struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"5"`
D *uint64 `json:"d,omitempty" n2k:"6"`
E *uint64 `json:"e,omitempty" n2k:"7"`
UserId *uint64 `json:"userId,omitempty" n2k:"8"`
Name string `json:"name,omitempty" n2k:"9"`
}
func (*SimnetAisClassBStaticDataMsg24PartA) DecodePayload ¶
func (m *SimnetAisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error
func (*SimnetAisClassBStaticDataMsg24PartA) EncodePayload ¶
func (m *SimnetAisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)
func (*SimnetAisClassBStaticDataMsg24PartA) MessageInfo ¶
func (m *SimnetAisClassBStaticDataMsg24PartA) MessageInfo() MessageInfo
func (*SimnetAisClassBStaticDataMsg24PartA) PGNNumber ¶
func (m *SimnetAisClassBStaticDataMsg24PartA) PGNNumber() uint32
func (*SimnetAisClassBStaticDataMsg24PartA) SetMessageInfo ¶
func (m *SimnetAisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)
type SimnetAisClassBStaticDataMsg24PartB ¶
type SimnetAisClassBStaticDataMsg24PartB struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
RepeatIndicator *uint64 `json:"repeatIndicator,omitempty" n2k:"5"`
D *uint64 `json:"d,omitempty" n2k:"6"`
E *uint64 `json:"e,omitempty" n2k:"7"`
UserId *uint64 `json:"userId,omitempty" n2k:"8"`
TypeOfShip *uint64 `json:"typeOfShip,omitempty" n2k:"9"`
VendorId string `json:"vendorId,omitempty" n2k:"10"`
Callsign string `json:"callsign,omitempty" n2k:"11"`
Length *uint64 `json:"length,omitempty" n2k:"12"`
Beam *uint64 `json:"beam,omitempty" n2k:"13"`
PositionReferenceFromStarboard *uint64 `json:"positionReferenceFromStarboard,omitempty" n2k:"14"`
PositionReferenceFromBow *uint64 `json:"positionReferenceFromBow,omitempty" n2k:"15"`
MothershipUserId *uint64 `json:"mothershipUserId,omitempty" n2k:"16"`
}
func (*SimnetAisClassBStaticDataMsg24PartB) BeamValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) BeamValue() (float64, bool)
BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false when Beam is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetAisClassBStaticDataMsg24PartB) DecodePayload ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error
func (*SimnetAisClassBStaticDataMsg24PartB) EncodePayload ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)
func (*SimnetAisClassBStaticDataMsg24PartB) LengthValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetAisClassBStaticDataMsg24PartB) MessageInfo ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) MessageInfo() MessageInfo
func (*SimnetAisClassBStaticDataMsg24PartB) PGNNumber ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) PGNNumber() uint32
func (*SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)
PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromBow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)
PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false when PositionReferenceFromStarboard is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetAisClassBStaticDataMsg24PartB) SetBeamValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) SetBeamValue(v float64)
SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*SimnetAisClassBStaticDataMsg24PartB) SetLengthValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*SimnetAisClassBStaticDataMsg24PartB) SetMessageInfo ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)
func (*SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)
SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.
func (*SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue ¶
func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)
SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.
type SimnetAisSilentMode ¶
type SimnetAisSilentMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
MessageId *uint64 `json:"messageId,omitempty" n2k:"4"`
Operation *uint64 `json:"operation,omitempty" n2k:"5"`
D *uint64 `json:"d,omitempty" n2k:"6"`
E *uint64 `json:"e,omitempty" n2k:"7"`
}
func (*SimnetAisSilentMode) DecodePayload ¶
func (m *SimnetAisSilentMode) DecodePayload(payload []uint8) error
func (*SimnetAisSilentMode) EncodePayload ¶
func (m *SimnetAisSilentMode) EncodePayload() ([]uint8, error)
func (*SimnetAisSilentMode) MessageInfo ¶
func (m *SimnetAisSilentMode) MessageInfo() MessageInfo
func (*SimnetAisSilentMode) PGNNumber ¶
func (m *SimnetAisSilentMode) PGNNumber() uint32
func (*SimnetAisSilentMode) SetMessageInfo ¶
func (m *SimnetAisSilentMode) SetMessageInfo(info MessageInfo)
type SimnetAlarm ¶
type SimnetAlarm struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
EventType *uint64 `json:"eventType,omitempty" n2k:"7"`
Command *uint64 `json:"command,omitempty" n2k:"8"`
AlarmId *uint64 `json:"alarmId,omitempty" n2k:"10"`
F *uint64 `json:"f,omitempty" n2k:"11"`
G *uint64 `json:"g,omitempty" n2k:"12"`
}
func (*SimnetAlarm) DecodePayload ¶
func (m *SimnetAlarm) DecodePayload(payload []uint8) error
func (*SimnetAlarm) EncodePayload ¶
func (m *SimnetAlarm) EncodePayload() ([]uint8, error)
func (*SimnetAlarm) MessageInfo ¶
func (m *SimnetAlarm) MessageInfo() MessageInfo
func (*SimnetAlarm) PGNNumber ¶
func (m *SimnetAlarm) PGNNumber() uint32
func (*SimnetAlarm) SetMessageInfo ¶
func (m *SimnetAlarm) SetMessageInfo(info MessageInfo)
type SimnetAlarmConst ¶
type SimnetAlarmConst uint8
const ( LowBoatSpeed SimnetAlarmConst = 57 WindDataMissing SimnetAlarmConst = 58 )
func (SimnetAlarmConst) GoString ¶
func (e SimnetAlarmConst) GoString() string
func (SimnetAlarmConst) String ¶
func (e SimnetAlarmConst) String() string
type SimnetAlarmMessage ¶
type SimnetAlarmMessage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AlarmId *uint64 `json:"alarmId,omitempty" n2k:"4"`
B *uint64 `json:"b,omitempty" n2k:"5"`
C *uint64 `json:"c,omitempty" n2k:"6"`
Text string `json:"text,omitempty" n2k:"7"`
}
func (*SimnetAlarmMessage) DecodePayload ¶
func (m *SimnetAlarmMessage) DecodePayload(payload []uint8) error
func (*SimnetAlarmMessage) EncodePayload ¶
func (m *SimnetAlarmMessage) EncodePayload() ([]uint8, error)
func (*SimnetAlarmMessage) MessageInfo ¶
func (m *SimnetAlarmMessage) MessageInfo() MessageInfo
func (*SimnetAlarmMessage) PGNNumber ¶
func (m *SimnetAlarmMessage) PGNNumber() uint32
func (*SimnetAlarmMessage) SetMessageInfo ¶
func (m *SimnetAlarmMessage) SetMessageInfo(info MessageInfo)
type SimnetAlertBitfieldConst ¶
type SimnetAlertBitfieldConst uint16
const ( NoGPSFix SimnetAlertBitfieldConst = 0 NoActiveAutopilotControlUnit SimnetAlertBitfieldConst = 2 NoAutopilotComputer SimnetAlertBitfieldConst = 4 APClutchOverload SimnetAlertBitfieldConst = 6 APClutchDisengaged SimnetAlertBitfieldConst = 8 RudderControllerFault SimnetAlertBitfieldConst = 10 NoRudderResponse SimnetAlertBitfieldConst = 12 RudderDriveOverload SimnetAlertBitfieldConst = 14 HighDriveSupply SimnetAlertBitfieldConst = 16 LowDriveSupply SimnetAlertBitfieldConst = 18 MemoryFail SimnetAlertBitfieldConst = 20 APPositionDataMissing SimnetAlertBitfieldConst = 22 APSpeedDataMissing SimnetAlertBitfieldConst = 24 APDepthDataMissing SimnetAlertBitfieldConst = 26 APHeadingDataMissing SimnetAlertBitfieldConst = 28 APRudderDataMissing SimnetAlertBitfieldConst = 32 APWindDataMissing SimnetAlertBitfieldConst = 34 APOffCourse SimnetAlertBitfieldConst = 36 HighDriveTemperature SimnetAlertBitfieldConst = 38 DriveInhibit SimnetAlertBitfieldConst = 40 RudderLimit SimnetAlertBitfieldConst = 42 DriveComputerMissing SimnetAlertBitfieldConst = 44 DriveReadyMissing SimnetAlertBitfieldConst = 46 EVCComError SimnetAlertBitfieldConst = 48 EVCOverride SimnetAlertBitfieldConst = 50 LowCANBusVoltage SimnetAlertBitfieldConst = 52 CANBusSupplyOverload SimnetAlertBitfieldConst = 54 WindSensorBatteryLow SimnetAlertBitfieldConst = 56 )
func (SimnetAlertBitfieldConst) GoString ¶
func (e SimnetAlertBitfieldConst) GoString() string
func (SimnetAlertBitfieldConst) String ¶
func (e SimnetAlertBitfieldConst) String() string
type SimnetAnalogTelemetry ¶
type SimnetAnalogTelemetry struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
SubType *uint64 `json:"subType,omitempty" n2k:"4"`
Channel *uint64 `json:"channel,omitempty" n2k:"5"`
Value *uint64 `json:"value,omitempty" n2k:"6"`
}
func (*SimnetAnalogTelemetry) DecodePayload ¶
func (m *SimnetAnalogTelemetry) DecodePayload(payload []uint8) error
func (*SimnetAnalogTelemetry) EncodePayload ¶
func (m *SimnetAnalogTelemetry) EncodePayload() ([]uint8, error)
func (*SimnetAnalogTelemetry) MessageInfo ¶
func (m *SimnetAnalogTelemetry) MessageInfo() MessageInfo
func (*SimnetAnalogTelemetry) PGNNumber ¶
func (m *SimnetAnalogTelemetry) PGNNumber() uint32
func (*SimnetAnalogTelemetry) SetMessageInfo ¶
func (m *SimnetAnalogTelemetry) SetMessageInfo(info MessageInfo)
type SimnetApCommand ¶
type SimnetApCommand struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetApCommand) DecodePayload ¶
func (m *SimnetApCommand) DecodePayload(payload []uint8) error
func (*SimnetApCommand) EncodePayload ¶
func (m *SimnetApCommand) EncodePayload() ([]uint8, error)
func (*SimnetApCommand) MessageInfo ¶
func (m *SimnetApCommand) MessageInfo() MessageInfo
func (*SimnetApCommand) PGNNumber ¶
func (m *SimnetApCommand) PGNNumber() uint32
func (*SimnetApCommand) SetMessageInfo ¶
func (m *SimnetApCommand) SetMessageInfo(info MessageInfo)
type SimnetApCommandReply ¶
type SimnetApCommandReply struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
D *uint64 `json:"d,omitempty" n2k:"10"`
Value *uint64 `json:"value,omitempty" n2k:"11"`
}
func (*SimnetApCommandReply) DecodePayload ¶
func (m *SimnetApCommandReply) DecodePayload(payload []uint8) error
func (*SimnetApCommandReply) EncodePayload ¶
func (m *SimnetApCommandReply) EncodePayload() ([]uint8, error)
func (*SimnetApCommandReply) MessageInfo ¶
func (m *SimnetApCommandReply) MessageInfo() MessageInfo
func (*SimnetApCommandReply) PGNNumber ¶
func (m *SimnetApCommandReply) PGNNumber() uint32
func (*SimnetApCommandReply) SetMessageInfo ¶
func (m *SimnetApCommandReply) SetMessageInfo(info MessageInfo)
type SimnetApCommandReplyChangeCourse ¶
type SimnetApCommandReplyChangeCourse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
Direction *uint64 `json:"direction,omitempty" n2k:"10"`
Angle *uint64 `json:"angle,omitempty" n2k:"11"`
}
func (*SimnetApCommandReplyChangeCourse) AngleValue ¶
func (m *SimnetApCommandReplyChangeCourse) AngleValue() (float64, bool)
AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false when Angle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetApCommandReplyChangeCourse) DecodePayload ¶
func (m *SimnetApCommandReplyChangeCourse) DecodePayload(payload []uint8) error
func (*SimnetApCommandReplyChangeCourse) EncodePayload ¶
func (m *SimnetApCommandReplyChangeCourse) EncodePayload() ([]uint8, error)
func (*SimnetApCommandReplyChangeCourse) MessageInfo ¶
func (m *SimnetApCommandReplyChangeCourse) MessageInfo() MessageInfo
func (*SimnetApCommandReplyChangeCourse) PGNNumber ¶
func (m *SimnetApCommandReplyChangeCourse) PGNNumber() uint32
func (*SimnetApCommandReplyChangeCourse) SetAngleValue ¶
func (m *SimnetApCommandReplyChangeCourse) SetAngleValue(v float64)
SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SimnetApCommandReplyChangeCourse) SetMessageInfo ¶
func (m *SimnetApCommandReplyChangeCourse) SetMessageInfo(info MessageInfo)
type SimnetApEventsConst ¶
type SimnetApEventsConst uint8
const ( Standby_3 SimnetApEventsConst = 6 AutoMode SimnetApEventsConst = 9 NonFollowUpMode SimnetApEventsConst = 13 FollowUpMode SimnetApEventsConst = 14 WindMode SimnetApEventsConst = 15 SquareTurn SimnetApEventsConst = 18 CTurn SimnetApEventsConst = 19 UTurn SimnetApEventsConst = 20 SpiralTurn SimnetApEventsConst = 21 ZigZagTurn SimnetApEventsConst = 22 LazySTurn SimnetApEventsConst = 23 DepthTurn SimnetApEventsConst = 24 ChangeCourse SimnetApEventsConst = 26 TimerSync SimnetApEventsConst = 61 PingPortEnd SimnetApEventsConst = 112 PingStarboardEnd SimnetApEventsConst = 113 )
func (SimnetApEventsConst) GoString ¶
func (e SimnetApEventsConst) GoString() string
func (SimnetApEventsConst) String ¶
func (e SimnetApEventsConst) String() string
type SimnetApModeBitfieldConst ¶
type SimnetApModeBitfieldConst uint16
const ( Standby_5 SimnetApModeBitfieldConst = 3 Heading_2 SimnetApModeBitfieldConst = 4 NoDrift_2 SimnetApModeBitfieldConst = 8 Wind_4 SimnetApModeBitfieldConst = 10 )
func (SimnetApModeBitfieldConst) GoString ¶
func (e SimnetApModeBitfieldConst) GoString() string
func (SimnetApModeBitfieldConst) String ¶
func (e SimnetApModeBitfieldConst) String() string
type SimnetApModeConst ¶
type SimnetApModeConst uint8
const ( Heading SimnetApModeConst = 2 Wind_3 SimnetApModeConst = 3 NoDrift SimnetApModeConst = 11 )
func (SimnetApModeConst) GoString ¶
func (e SimnetApModeConst) GoString() string
func (SimnetApModeConst) String ¶
func (e SimnetApModeConst) String() string
type SimnetApStatusConst ¶
type SimnetApStatusConst uint8
const ( Manual_6 SimnetApStatusConst = 2 Automatic_2 SimnetApStatusConst = 16 )
func (SimnetApStatusConst) GoString ¶
func (e SimnetApStatusConst) GoString() string
func (SimnetApStatusConst) String ¶
func (e SimnetApStatusConst) String() string
type SimnetApUnknown1 ¶
type SimnetApUnknown1 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Type *uint64 `json:"type,omitempty" n2k:"4"`
Value *uint64 `json:"value,omitempty" n2k:"5"`
}
func (*SimnetApUnknown1) DecodePayload ¶
func (m *SimnetApUnknown1) DecodePayload(payload []uint8) error
func (*SimnetApUnknown1) EncodePayload ¶
func (m *SimnetApUnknown1) EncodePayload() ([]uint8, error)
func (*SimnetApUnknown1) MessageInfo ¶
func (m *SimnetApUnknown1) MessageInfo() MessageInfo
func (*SimnetApUnknown1) PGNNumber ¶
func (m *SimnetApUnknown1) PGNNumber() uint32
func (*SimnetApUnknown1) SetMessageInfo ¶
func (m *SimnetApUnknown1) SetMessageInfo(info MessageInfo)
type SimnetApUnknown3 ¶
type SimnetApUnknown3 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Value *uint64 `json:"value,omitempty" n2k:"4"`
C *uint64 `json:"c,omitempty" n2k:"5"`
D *uint64 `json:"d,omitempty" n2k:"6"`
SubIndex *uint64 `json:"subIndex,omitempty" n2k:"7"`
}
func (*SimnetApUnknown3) DecodePayload ¶
func (m *SimnetApUnknown3) DecodePayload(payload []uint8) error
func (*SimnetApUnknown3) EncodePayload ¶
func (m *SimnetApUnknown3) EncodePayload() ([]uint8, error)
func (*SimnetApUnknown3) MessageInfo ¶
func (m *SimnetApUnknown3) MessageInfo() MessageInfo
func (*SimnetApUnknown3) PGNNumber ¶
func (m *SimnetApUnknown3) PGNNumber() uint32
func (*SimnetApUnknown3) SetMessageInfo ¶
func (m *SimnetApUnknown3) SetMessageInfo(info MessageInfo)
type SimnetApUnknown4 ¶
type SimnetApUnknown4 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
A *uint64 `json:"a,omitempty" n2k:"4"`
B *int64 `json:"b,omitempty" n2k:"5"`
C *int64 `json:"c,omitempty" n2k:"6"`
D *uint64 `json:"d,omitempty" n2k:"7"`
E *int64 `json:"e,omitempty" n2k:"8"`
F *uint64 `json:"f,omitempty" n2k:"9"`
}
func (*SimnetApUnknown4) DecodePayload ¶
func (m *SimnetApUnknown4) DecodePayload(payload []uint8) error
func (*SimnetApUnknown4) EncodePayload ¶
func (m *SimnetApUnknown4) EncodePayload() ([]uint8, error)
func (*SimnetApUnknown4) MessageInfo ¶
func (m *SimnetApUnknown4) MessageInfo() MessageInfo
func (*SimnetApUnknown4) PGNNumber ¶
func (m *SimnetApUnknown4) PGNNumber() uint32
func (*SimnetApUnknown4) SetMessageInfo ¶
func (m *SimnetApUnknown4) SetMessageInfo(info MessageInfo)
type SimnetAutopilotAngle ¶
type SimnetAutopilotAngle struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Mode *uint64 `json:"mode,omitempty" n2k:"5"`
Angle *uint64 `json:"angle,omitempty" n2k:"7"`
}
func (*SimnetAutopilotAngle) AngleValue ¶
func (m *SimnetAutopilotAngle) AngleValue() (float64, bool)
AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false when Angle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetAutopilotAngle) DecodePayload ¶
func (m *SimnetAutopilotAngle) DecodePayload(payload []uint8) error
func (*SimnetAutopilotAngle) EncodePayload ¶
func (m *SimnetAutopilotAngle) EncodePayload() ([]uint8, error)
func (*SimnetAutopilotAngle) MessageInfo ¶
func (m *SimnetAutopilotAngle) MessageInfo() MessageInfo
func (*SimnetAutopilotAngle) PGNNumber ¶
func (m *SimnetAutopilotAngle) PGNNumber() uint32
func (*SimnetAutopilotAngle) SetAngleValue ¶
func (m *SimnetAutopilotAngle) SetAngleValue(v float64)
SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SimnetAutopilotAngle) SetMessageInfo ¶
func (m *SimnetAutopilotAngle) SetMessageInfo(info MessageInfo)
type SimnetAutopilotMode ¶
type SimnetAutopilotMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetAutopilotMode) DecodePayload ¶
func (m *SimnetAutopilotMode) DecodePayload(payload []uint8) error
func (*SimnetAutopilotMode) EncodePayload ¶
func (m *SimnetAutopilotMode) EncodePayload() ([]uint8, error)
func (*SimnetAutopilotMode) MessageInfo ¶
func (m *SimnetAutopilotMode) MessageInfo() MessageInfo
func (*SimnetAutopilotMode) PGNNumber ¶
func (m *SimnetAutopilotMode) PGNNumber() uint32
func (*SimnetAutopilotMode) SetMessageInfo ¶
func (m *SimnetAutopilotMode) SetMessageInfo(info MessageInfo)
type SimnetAutopilotModeState ¶
type SimnetAutopilotModeState struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ModeClass *uint64 `json:"modeClass,omitempty" n2k:"4"`
Mode *uint64 `json:"mode,omitempty" n2k:"5"`
C *uint64 `json:"c,omitempty" n2k:"6"`
D *uint64 `json:"d,omitempty" n2k:"7"`
Flags *uint64 `json:"flags,omitempty" n2k:"9"`
}
func (*SimnetAutopilotModeState) DecodePayload ¶
func (m *SimnetAutopilotModeState) DecodePayload(payload []uint8) error
func (*SimnetAutopilotModeState) EncodePayload ¶
func (m *SimnetAutopilotModeState) EncodePayload() ([]uint8, error)
func (*SimnetAutopilotModeState) MessageInfo ¶
func (m *SimnetAutopilotModeState) MessageInfo() MessageInfo
func (*SimnetAutopilotModeState) PGNNumber ¶
func (m *SimnetAutopilotModeState) PGNNumber() uint32
func (*SimnetAutopilotModeState) SetMessageInfo ¶
func (m *SimnetAutopilotModeState) SetMessageInfo(info MessageInfo)
type SimnetBacklightLevelConst ¶
type SimnetBacklightLevelConst uint8
const ( A10PercentMin SimnetBacklightLevelConst = 0 DayMode SimnetBacklightLevelConst = 1 NightMode SimnetBacklightLevelConst = 4 A20Percent SimnetBacklightLevelConst = 11 A30Percent SimnetBacklightLevelConst = 22 A40Percent SimnetBacklightLevelConst = 33 A50Percent SimnetBacklightLevelConst = 44 A60Percent SimnetBacklightLevelConst = 55 A70Percent SimnetBacklightLevelConst = 66 A80Percent SimnetBacklightLevelConst = 77 A90Percent SimnetBacklightLevelConst = 88 A100PercentMax SimnetBacklightLevelConst = 99 )
func (SimnetBacklightLevelConst) GoString ¶
func (e SimnetBacklightLevelConst) GoString() string
func (SimnetBacklightLevelConst) String ¶
func (e SimnetBacklightLevelConst) String() string
type SimnetClearFluidLevelWarnings ¶
type SimnetClearFluidLevelWarnings struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetClearFluidLevelWarnings) DecodePayload ¶
func (m *SimnetClearFluidLevelWarnings) DecodePayload(payload []uint8) error
func (*SimnetClearFluidLevelWarnings) EncodePayload ¶
func (m *SimnetClearFluidLevelWarnings) EncodePayload() ([]uint8, error)
func (*SimnetClearFluidLevelWarnings) MessageInfo ¶
func (m *SimnetClearFluidLevelWarnings) MessageInfo() MessageInfo
func (*SimnetClearFluidLevelWarnings) PGNNumber ¶
func (m *SimnetClearFluidLevelWarnings) PGNNumber() uint32
func (*SimnetClearFluidLevelWarnings) SetMessageInfo ¶
func (m *SimnetClearFluidLevelWarnings) SetMessageInfo(info MessageInfo)
type SimnetCommandApChangeCourse ¶
type SimnetCommandApChangeCourse struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
Direction *uint64 `json:"direction,omitempty" n2k:"10"`
Angle *uint64 `json:"angle,omitempty" n2k:"11"`
}
func (*SimnetCommandApChangeCourse) AngleValue ¶
func (m *SimnetCommandApChangeCourse) AngleValue() (float64, bool)
AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false when Angle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetCommandApChangeCourse) DecodePayload ¶
func (m *SimnetCommandApChangeCourse) DecodePayload(payload []uint8) error
func (*SimnetCommandApChangeCourse) EncodePayload ¶
func (m *SimnetCommandApChangeCourse) EncodePayload() ([]uint8, error)
func (*SimnetCommandApChangeCourse) MessageInfo ¶
func (m *SimnetCommandApChangeCourse) MessageInfo() MessageInfo
func (*SimnetCommandApChangeCourse) PGNNumber ¶
func (m *SimnetCommandApChangeCourse) PGNNumber() uint32
func (*SimnetCommandApChangeCourse) SetAngleValue ¶
func (m *SimnetCommandApChangeCourse) SetAngleValue(v float64)
SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*SimnetCommandApChangeCourse) SetMessageInfo ¶
func (m *SimnetCommandApChangeCourse) SetMessageInfo(info MessageInfo)
type SimnetCommandApFollowUp ¶
type SimnetCommandApFollowUp struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetCommandApFollowUp) DecodePayload ¶
func (m *SimnetCommandApFollowUp) DecodePayload(payload []uint8) error
func (*SimnetCommandApFollowUp) EncodePayload ¶
func (m *SimnetCommandApFollowUp) EncodePayload() ([]uint8, error)
func (*SimnetCommandApFollowUp) MessageInfo ¶
func (m *SimnetCommandApFollowUp) MessageInfo() MessageInfo
func (*SimnetCommandApFollowUp) PGNNumber ¶
func (m *SimnetCommandApFollowUp) PGNNumber() uint32
func (*SimnetCommandApFollowUp) SetMessageInfo ¶
func (m *SimnetCommandApFollowUp) SetMessageInfo(info MessageInfo)
type SimnetCommandApHeading ¶
type SimnetCommandApHeading struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetCommandApHeading) DecodePayload ¶
func (m *SimnetCommandApHeading) DecodePayload(payload []uint8) error
func (*SimnetCommandApHeading) EncodePayload ¶
func (m *SimnetCommandApHeading) EncodePayload() ([]uint8, error)
func (*SimnetCommandApHeading) MessageInfo ¶
func (m *SimnetCommandApHeading) MessageInfo() MessageInfo
func (*SimnetCommandApHeading) PGNNumber ¶
func (m *SimnetCommandApHeading) PGNNumber() uint32
func (*SimnetCommandApHeading) SetMessageInfo ¶
func (m *SimnetCommandApHeading) SetMessageInfo(info MessageInfo)
type SimnetCommandApNav ¶
type SimnetCommandApNav struct {
}
func (*SimnetCommandApNav) DecodePayload ¶
func (m *SimnetCommandApNav) DecodePayload(payload []uint8) error
func (*SimnetCommandApNav) EncodePayload ¶
func (m *SimnetCommandApNav) EncodePayload() ([]uint8, error)
func (*SimnetCommandApNav) MessageInfo ¶
func (m *SimnetCommandApNav) MessageInfo() MessageInfo
func (*SimnetCommandApNav) PGNNumber ¶
func (m *SimnetCommandApNav) PGNNumber() uint32
func (*SimnetCommandApNav) SetMessageInfo ¶
func (m *SimnetCommandApNav) SetMessageInfo(info MessageInfo)
type SimnetCommandApNodrift ¶
type SimnetCommandApNodrift struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetCommandApNodrift) DecodePayload ¶
func (m *SimnetCommandApNodrift) DecodePayload(payload []uint8) error
func (*SimnetCommandApNodrift) EncodePayload ¶
func (m *SimnetCommandApNodrift) EncodePayload() ([]uint8, error)
func (*SimnetCommandApNodrift) MessageInfo ¶
func (m *SimnetCommandApNodrift) MessageInfo() MessageInfo
func (*SimnetCommandApNodrift) PGNNumber ¶
func (m *SimnetCommandApNodrift) PGNNumber() uint32
func (*SimnetCommandApNodrift) SetMessageInfo ¶
func (m *SimnetCommandApNodrift) SetMessageInfo(info MessageInfo)
type SimnetCommandApStandby ¶
type SimnetCommandApStandby struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetCommandApStandby) DecodePayload ¶
func (m *SimnetCommandApStandby) DecodePayload(payload []uint8) error
func (*SimnetCommandApStandby) EncodePayload ¶
func (m *SimnetCommandApStandby) EncodePayload() ([]uint8, error)
func (*SimnetCommandApStandby) MessageInfo ¶
func (m *SimnetCommandApStandby) MessageInfo() MessageInfo
func (*SimnetCommandApStandby) PGNNumber ¶
func (m *SimnetCommandApStandby) PGNNumber() uint32
func (*SimnetCommandApStandby) SetMessageInfo ¶
func (m *SimnetCommandApStandby) SetMessageInfo(info MessageInfo)
type SimnetCommandApTack ¶
type SimnetCommandApTack struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
UnknownA *uint64 `json:"unknownA,omitempty" n2k:"9"`
UnknownB *uint64 `json:"unknownB,omitempty" n2k:"10"`
}
func (*SimnetCommandApTack) DecodePayload ¶
func (m *SimnetCommandApTack) DecodePayload(payload []uint8) error
func (*SimnetCommandApTack) EncodePayload ¶
func (m *SimnetCommandApTack) EncodePayload() ([]uint8, error)
func (*SimnetCommandApTack) MessageInfo ¶
func (m *SimnetCommandApTack) MessageInfo() MessageInfo
func (*SimnetCommandApTack) PGNNumber ¶
func (m *SimnetCommandApTack) PGNNumber() uint32
func (*SimnetCommandApTack) SetMessageInfo ¶
func (m *SimnetCommandApTack) SetMessageInfo(info MessageInfo)
type SimnetCommandApWind ¶
type SimnetCommandApWind struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
CommandType *uint64 `json:"commandType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
}
func (*SimnetCommandApWind) DecodePayload ¶
func (m *SimnetCommandApWind) DecodePayload(payload []uint8) error
func (*SimnetCommandApWind) EncodePayload ¶
func (m *SimnetCommandApWind) EncodePayload() ([]uint8, error)
func (*SimnetCommandApWind) MessageInfo ¶
func (m *SimnetCommandApWind) MessageInfo() MessageInfo
func (*SimnetCommandApWind) PGNNumber ¶
func (m *SimnetCommandApWind) PGNNumber() uint32
func (*SimnetCommandApWind) SetMessageInfo ¶
func (m *SimnetCommandApWind) SetMessageInfo(info MessageInfo)
type SimnetCommandConst ¶
type SimnetCommandConst uint8
const (
Text SimnetCommandConst = 50
)
func (SimnetCommandConst) GoString ¶
func (e SimnetCommandConst) GoString() string
func (SimnetCommandConst) String ¶
func (e SimnetCommandConst) String() string
type SimnetConfigureTemperatureSensor ¶
type SimnetConfigureTemperatureSensor struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetConfigureTemperatureSensor) DecodePayload ¶
func (m *SimnetConfigureTemperatureSensor) DecodePayload(payload []uint8) error
func (*SimnetConfigureTemperatureSensor) EncodePayload ¶
func (m *SimnetConfigureTemperatureSensor) EncodePayload() ([]uint8, error)
func (*SimnetConfigureTemperatureSensor) MessageInfo ¶
func (m *SimnetConfigureTemperatureSensor) MessageInfo() MessageInfo
func (*SimnetConfigureTemperatureSensor) PGNNumber ¶
func (m *SimnetConfigureTemperatureSensor) PGNNumber() uint32
func (*SimnetConfigureTemperatureSensor) SetMessageInfo ¶
func (m *SimnetConfigureTemperatureSensor) SetMessageInfo(info MessageInfo)
type SimnetDataSourceSelection ¶
type SimnetDataSourceSelection struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DataType *uint64 `json:"dataType,omitempty" n2k:"5"`
SourceClass *uint64 `json:"sourceClass,omitempty" n2k:"6"`
SourceAddress *uint64 `json:"sourceAddress,omitempty" n2k:"7"`
ChangeCounter *uint64 `json:"changeCounter,omitempty" n2k:"9"`
Source *uint64 `json:"source,omitempty" n2k:"10"`
}
func (*SimnetDataSourceSelection) DecodePayload ¶
func (m *SimnetDataSourceSelection) DecodePayload(payload []uint8) error
func (*SimnetDataSourceSelection) EncodePayload ¶
func (m *SimnetDataSourceSelection) EncodePayload() ([]uint8, error)
func (*SimnetDataSourceSelection) MessageInfo ¶
func (m *SimnetDataSourceSelection) MessageInfo() MessageInfo
func (*SimnetDataSourceSelection) PGNNumber ¶
func (m *SimnetDataSourceSelection) PGNNumber() uint32
func (*SimnetDataSourceSelection) SetMessageInfo ¶
func (m *SimnetDataSourceSelection) SetMessageInfo(info MessageInfo)
type SimnetDataSourceSelectionRequest ¶
type SimnetDataSourceSelectionRequest struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DataType *uint64 `json:"dataType,omitempty" n2k:"5"`
SourceClass *uint64 `json:"sourceClass,omitempty" n2k:"6"`
}
func (*SimnetDataSourceSelectionRequest) DecodePayload ¶
func (m *SimnetDataSourceSelectionRequest) DecodePayload(payload []uint8) error
func (*SimnetDataSourceSelectionRequest) EncodePayload ¶
func (m *SimnetDataSourceSelectionRequest) EncodePayload() ([]uint8, error)
func (*SimnetDataSourceSelectionRequest) MessageInfo ¶
func (m *SimnetDataSourceSelectionRequest) MessageInfo() MessageInfo
func (*SimnetDataSourceSelectionRequest) PGNNumber ¶
func (m *SimnetDataSourceSelectionRequest) PGNNumber() uint32
func (*SimnetDataSourceSelectionRequest) SetMessageInfo ¶
func (m *SimnetDataSourceSelectionRequest) SetMessageInfo(info MessageInfo)
type SimnetDeviceModeRequest ¶
type SimnetDeviceModeRequest struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Model *uint64 `json:"model,omitempty" n2k:"4"`
Report *uint64 `json:"report,omitempty" n2k:"5"`
}
func (*SimnetDeviceModeRequest) DecodePayload ¶
func (m *SimnetDeviceModeRequest) DecodePayload(payload []uint8) error
func (*SimnetDeviceModeRequest) EncodePayload ¶
func (m *SimnetDeviceModeRequest) EncodePayload() ([]uint8, error)
func (*SimnetDeviceModeRequest) MessageInfo ¶
func (m *SimnetDeviceModeRequest) MessageInfo() MessageInfo
func (*SimnetDeviceModeRequest) PGNNumber ¶
func (m *SimnetDeviceModeRequest) PGNNumber() uint32
func (*SimnetDeviceModeRequest) SetMessageInfo ¶
func (m *SimnetDeviceModeRequest) SetMessageInfo(info MessageInfo)
type SimnetDeviceModelConst ¶
type SimnetDeviceModelConst uint8
const ( AC SimnetDeviceModelConst = 0 OtherDevice SimnetDeviceModelConst = 1 NAC SimnetDeviceModelConst = 100 )
func (SimnetDeviceModelConst) GoString ¶
func (e SimnetDeviceModelConst) GoString() string
func (SimnetDeviceModelConst) String ¶
func (e SimnetDeviceModelConst) String() string
type SimnetDeviceReportConst ¶
type SimnetDeviceReportConst uint8
const ( Status SimnetDeviceReportConst = 2 SendStatus SimnetDeviceReportConst = 3 Mode SimnetDeviceReportConst = 10 SendMode SimnetDeviceReportConst = 11 SailingProcessorStatus SimnetDeviceReportConst = 23 )
func (SimnetDeviceReportConst) GoString ¶
func (e SimnetDeviceReportConst) GoString() string
func (SimnetDeviceReportConst) String ¶
func (e SimnetDeviceReportConst) String() string
type SimnetDeviceStatus ¶
type SimnetDeviceStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Model *uint64 `json:"model,omitempty" n2k:"4"`
Report *uint64 `json:"report,omitempty" n2k:"5"`
Status *uint64 `json:"status,omitempty" n2k:"6"`
}
func (*SimnetDeviceStatus) DecodePayload ¶
func (m *SimnetDeviceStatus) DecodePayload(payload []uint8) error
func (*SimnetDeviceStatus) EncodePayload ¶
func (m *SimnetDeviceStatus) EncodePayload() ([]uint8, error)
func (*SimnetDeviceStatus) MessageInfo ¶
func (m *SimnetDeviceStatus) MessageInfo() MessageInfo
func (*SimnetDeviceStatus) PGNNumber ¶
func (m *SimnetDeviceStatus) PGNNumber() uint32
func (*SimnetDeviceStatus) SetMessageInfo ¶
func (m *SimnetDeviceStatus) SetMessageInfo(info MessageInfo)
type SimnetDeviceStatusRequest ¶
type SimnetDeviceStatusRequest struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Model *uint64 `json:"model,omitempty" n2k:"4"`
Report *uint64 `json:"report,omitempty" n2k:"5"`
}
func (*SimnetDeviceStatusRequest) DecodePayload ¶
func (m *SimnetDeviceStatusRequest) DecodePayload(payload []uint8) error
func (*SimnetDeviceStatusRequest) EncodePayload ¶
func (m *SimnetDeviceStatusRequest) EncodePayload() ([]uint8, error)
func (*SimnetDeviceStatusRequest) MessageInfo ¶
func (m *SimnetDeviceStatusRequest) MessageInfo() MessageInfo
func (*SimnetDeviceStatusRequest) PGNNumber ¶
func (m *SimnetDeviceStatusRequest) PGNNumber() uint32
func (*SimnetDeviceStatusRequest) SetMessageInfo ¶
func (m *SimnetDeviceStatusRequest) SetMessageInfo(info MessageInfo)
type SimnetDirectionConst ¶
type SimnetDirectionConst uint8
const ( Port SimnetDirectionConst = 2 Starboard SimnetDirectionConst = 3 LeftRudderPort SimnetDirectionConst = 4 RightRudderStarboard SimnetDirectionConst = 5 )
func (SimnetDirectionConst) GoString ¶
func (e SimnetDirectionConst) GoString() string
func (SimnetDirectionConst) String ¶
func (e SimnetDirectionConst) String() string
type SimnetDisplayGroupConst ¶
type SimnetDisplayGroupConst uint8
const ( Default SimnetDisplayGroupConst = 1 Group1_2 SimnetDisplayGroupConst = 2 Group2_2 SimnetDisplayGroupConst = 3 Group3_2 SimnetDisplayGroupConst = 4 Group4_2 SimnetDisplayGroupConst = 5 Group5_2 SimnetDisplayGroupConst = 6 Group6 SimnetDisplayGroupConst = 7 )
func (SimnetDisplayGroupConst) GoString ¶
func (e SimnetDisplayGroupConst) GoString() string
func (SimnetDisplayGroupConst) String ¶
func (e SimnetDisplayGroupConst) String() string
type SimnetEngineAndTankConfiguration ¶
type SimnetEngineAndTankConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetEngineAndTankConfiguration) DecodePayload ¶
func (m *SimnetEngineAndTankConfiguration) DecodePayload(payload []uint8) error
func (*SimnetEngineAndTankConfiguration) EncodePayload ¶
func (m *SimnetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetEngineAndTankConfiguration) MessageInfo ¶
func (m *SimnetEngineAndTankConfiguration) MessageInfo() MessageInfo
func (*SimnetEngineAndTankConfiguration) PGNNumber ¶
func (m *SimnetEngineAndTankConfiguration) PGNNumber() uint32
func (*SimnetEngineAndTankConfiguration) SetMessageInfo ¶
func (m *SimnetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
type SimnetEvent ¶
type SimnetEvent struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
}
func (*SimnetEvent) DecodePayload ¶
func (m *SimnetEvent) DecodePayload(payload []uint8) error
func (*SimnetEvent) EncodePayload ¶
func (m *SimnetEvent) EncodePayload() ([]uint8, error)
func (*SimnetEvent) MessageInfo ¶
func (m *SimnetEvent) MessageInfo() MessageInfo
func (*SimnetEvent) PGNNumber ¶
func (m *SimnetEvent) PGNNumber() uint32
func (*SimnetEvent) SetMessageInfo ¶
func (m *SimnetEvent) SetMessageInfo(info MessageInfo)
type SimnetEventCommandConst ¶
type SimnetEventCommandConst uint8
const ( Alarm_2 SimnetEventCommandConst = 1 APCommand SimnetEventCommandConst = 2 Autopilot_2 SimnetEventCommandConst = 255 )
func (SimnetEventCommandConst) GoString ¶
func (e SimnetEventCommandConst) GoString() string
func (SimnetEventCommandConst) String ¶
func (e SimnetEventCommandConst) String() string
type SimnetEventCommandTimer ¶
type SimnetEventCommandTimer struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
EventType *uint64 `json:"eventType,omitempty" n2k:"7"`
Event *uint64 `json:"event,omitempty" n2k:"8"`
Parameter1 *uint64 `json:"parameter1,omitempty" n2k:"9"`
Parameter2 *uint64 `json:"parameter2,omitempty" n2k:"10"`
Parameter3 *uint64 `json:"parameter3,omitempty" n2k:"11"`
}
func (*SimnetEventCommandTimer) DecodePayload ¶
func (m *SimnetEventCommandTimer) DecodePayload(payload []uint8) error
func (*SimnetEventCommandTimer) EncodePayload ¶
func (m *SimnetEventCommandTimer) EncodePayload() ([]uint8, error)
func (*SimnetEventCommandTimer) MessageInfo ¶
func (m *SimnetEventCommandTimer) MessageInfo() MessageInfo
func (*SimnetEventCommandTimer) PGNNumber ¶
func (m *SimnetEventCommandTimer) PGNNumber() uint32
func (*SimnetEventCommandTimer) SetMessageInfo ¶
func (m *SimnetEventCommandTimer) SetMessageInfo(info MessageInfo)
type SimnetFluidLevelSensorConfiguration ¶
type SimnetFluidLevelSensorConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
C *uint64 `json:"c,omitempty" n2k:"4"`
Device *uint64 `json:"device,omitempty" n2k:"5"`
Instance *uint64 `json:"instance,omitempty" n2k:"6"`
F *uint64 `json:"f,omitempty" n2k:"7"`
TankType *uint64 `json:"tankType,omitempty" n2k:"8"`
Capacity *uint64 `json:"capacity,omitempty" n2k:"9"`
G *uint64 `json:"g,omitempty" n2k:"10"`
H *int64 `json:"h,omitempty" n2k:"11"`
I *int64 `json:"i,omitempty" n2k:"12"`
}
func (*SimnetFluidLevelSensorConfiguration) CapacityValue ¶
func (m *SimnetFluidLevelSensorConfiguration) CapacityValue() (float64, bool)
CapacityValue returns Capacity as a physical value in L (value = raw * 0.1). The bool is false when Capacity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetFluidLevelSensorConfiguration) DecodePayload ¶
func (m *SimnetFluidLevelSensorConfiguration) DecodePayload(payload []uint8) error
func (*SimnetFluidLevelSensorConfiguration) EncodePayload ¶
func (m *SimnetFluidLevelSensorConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetFluidLevelSensorConfiguration) MessageInfo ¶
func (m *SimnetFluidLevelSensorConfiguration) MessageInfo() MessageInfo
func (*SimnetFluidLevelSensorConfiguration) PGNNumber ¶
func (m *SimnetFluidLevelSensorConfiguration) PGNNumber() uint32
func (*SimnetFluidLevelSensorConfiguration) SetCapacityValue ¶
func (m *SimnetFluidLevelSensorConfiguration) SetCapacityValue(v float64)
SetCapacityValue sets Capacity from a physical value in L, rounded to the nearest wire tick of 0.1.
func (*SimnetFluidLevelSensorConfiguration) SetMessageInfo ¶
func (m *SimnetFluidLevelSensorConfiguration) SetMessageInfo(info MessageInfo)
type SimnetFluidLevelWarning ¶
type SimnetFluidLevelWarning struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetFluidLevelWarning) DecodePayload ¶
func (m *SimnetFluidLevelWarning) DecodePayload(payload []uint8) error
func (*SimnetFluidLevelWarning) EncodePayload ¶
func (m *SimnetFluidLevelWarning) EncodePayload() ([]uint8, error)
func (*SimnetFluidLevelWarning) MessageInfo ¶
func (m *SimnetFluidLevelWarning) MessageInfo() MessageInfo
func (*SimnetFluidLevelWarning) PGNNumber ¶
func (m *SimnetFluidLevelWarning) PGNNumber() uint32
func (*SimnetFluidLevelWarning) SetMessageInfo ¶
func (m *SimnetFluidLevelWarning) SetMessageInfo(info MessageInfo)
type SimnetFuelFlowTurbineConfiguration ¶
type SimnetFuelFlowTurbineConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetFuelFlowTurbineConfiguration) DecodePayload ¶
func (m *SimnetFuelFlowTurbineConfiguration) DecodePayload(payload []uint8) error
func (*SimnetFuelFlowTurbineConfiguration) EncodePayload ¶
func (m *SimnetFuelFlowTurbineConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetFuelFlowTurbineConfiguration) MessageInfo ¶
func (m *SimnetFuelFlowTurbineConfiguration) MessageInfo() MessageInfo
func (*SimnetFuelFlowTurbineConfiguration) PGNNumber ¶
func (m *SimnetFuelFlowTurbineConfiguration) PGNNumber() uint32
func (*SimnetFuelFlowTurbineConfiguration) SetMessageInfo ¶
func (m *SimnetFuelFlowTurbineConfiguration) SetMessageInfo(info MessageInfo)
type SimnetFuelUsedHighResolution ¶
type SimnetFuelUsedHighResolution struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetFuelUsedHighResolution) DecodePayload ¶
func (m *SimnetFuelUsedHighResolution) DecodePayload(payload []uint8) error
func (*SimnetFuelUsedHighResolution) EncodePayload ¶
func (m *SimnetFuelUsedHighResolution) EncodePayload() ([]uint8, error)
func (*SimnetFuelUsedHighResolution) MessageInfo ¶
func (m *SimnetFuelUsedHighResolution) MessageInfo() MessageInfo
func (*SimnetFuelUsedHighResolution) PGNNumber ¶
func (m *SimnetFuelUsedHighResolution) PGNNumber() uint32
func (*SimnetFuelUsedHighResolution) SetMessageInfo ¶
func (m *SimnetFuelUsedHighResolution) SetMessageInfo(info MessageInfo)
type SimnetHourDisplayConst ¶
type SimnetHourDisplayConst uint8
const ( A24Hour SimnetHourDisplayConst = 0 A12Hour SimnetHourDisplayConst = 1 )
func (SimnetHourDisplayConst) GoString ¶
func (e SimnetHourDisplayConst) GoString() string
func (SimnetHourDisplayConst) String ¶
func (e SimnetHourDisplayConst) String() string
type SimnetKeepAlive ¶
type SimnetKeepAlive struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Command *uint64 `json:"command,omitempty" n2k:"4"`
Reply *uint64 `json:"reply,omitempty" n2k:"6"`
Value []uint8 `json:"value,omitempty" n2k:"7"`
}
func (*SimnetKeepAlive) DecodePayload ¶
func (m *SimnetKeepAlive) DecodePayload(payload []uint8) error
func (*SimnetKeepAlive) EncodePayload ¶
func (m *SimnetKeepAlive) EncodePayload() ([]uint8, error)
func (*SimnetKeepAlive) MessageInfo ¶
func (m *SimnetKeepAlive) MessageInfo() MessageInfo
func (*SimnetKeepAlive) PGNNumber ¶
func (m *SimnetKeepAlive) PGNNumber() uint32
func (*SimnetKeepAlive) SetMessageInfo ¶
func (m *SimnetKeepAlive) SetMessageInfo(info MessageInfo)
type SimnetKeyValue ¶
type SimnetKeyValue struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
Instance *uint64 `json:"instance,omitempty" n2k:"5"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
Source *uint64 `json:"source,omitempty" n2k:"7"`
Key *uint64 `json:"key,omitempty" n2k:"8"`
Operation *uint64 `json:"operation,omitempty" n2k:"9"`
Value []uint8 `json:"value,omitempty" n2k:"10"`
}
func (*SimnetKeyValue) DecodePayload ¶
func (m *SimnetKeyValue) DecodePayload(payload []uint8) error
func (*SimnetKeyValue) EncodePayload ¶
func (m *SimnetKeyValue) EncodePayload() ([]uint8, error)
func (*SimnetKeyValue) MessageInfo ¶
func (m *SimnetKeyValue) MessageInfo() MessageInfo
func (*SimnetKeyValue) PGNNumber ¶
func (m *SimnetKeyValue) PGNNumber() uint32
func (*SimnetKeyValue) SetMessageInfo ¶
func (m *SimnetKeyValue) SetMessageInfo(info MessageInfo)
type SimnetKeyValueConst ¶
type SimnetKeyValueConst uint16
type SimnetLgc2000Configuration ¶
type SimnetLgc2000Configuration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetLgc2000Configuration) DecodePayload ¶
func (m *SimnetLgc2000Configuration) DecodePayload(payload []uint8) error
func (*SimnetLgc2000Configuration) EncodePayload ¶
func (m *SimnetLgc2000Configuration) EncodePayload() ([]uint8, error)
func (*SimnetLgc2000Configuration) MessageInfo ¶
func (m *SimnetLgc2000Configuration) MessageInfo() MessageInfo
func (*SimnetLgc2000Configuration) PGNNumber ¶
func (m *SimnetLgc2000Configuration) PGNNumber() uint32
func (*SimnetLgc2000Configuration) SetMessageInfo ¶
func (m *SimnetLgc2000Configuration) SetMessageInfo(info MessageInfo)
type SimnetMagneticField ¶
type SimnetMagneticField struct {
Info MessageInfo `json:"info"`
FieldX *int64 `json:"fieldX,omitempty" n2k:"1"`
FieldY *int64 `json:"fieldY,omitempty" n2k:"2"`
FieldZ *int64 `json:"fieldZ,omitempty" n2k:"3"`
Marker *uint64 `json:"marker,omitempty" n2k:"4"`
}
func (*SimnetMagneticField) DecodePayload ¶
func (m *SimnetMagneticField) DecodePayload(payload []uint8) error
func (*SimnetMagneticField) EncodePayload ¶
func (m *SimnetMagneticField) EncodePayload() ([]uint8, error)
func (*SimnetMagneticField) FieldXValue ¶
func (m *SimnetMagneticField) FieldXValue() (float64, bool)
FieldXValue returns FieldX as a physical value (value = raw * 0.0001). The bool is false when FieldX is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetMagneticField) FieldYValue ¶
func (m *SimnetMagneticField) FieldYValue() (float64, bool)
FieldYValue returns FieldY as a physical value (value = raw * 0.0001). The bool is false when FieldY is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetMagneticField) FieldZValue ¶
func (m *SimnetMagneticField) FieldZValue() (float64, bool)
FieldZValue returns FieldZ as a physical value (value = raw * 0.0001). The bool is false when FieldZ is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SimnetMagneticField) MessageInfo ¶
func (m *SimnetMagneticField) MessageInfo() MessageInfo
func (*SimnetMagneticField) PGNNumber ¶
func (m *SimnetMagneticField) PGNNumber() uint32
func (*SimnetMagneticField) SetFieldXValue ¶
func (m *SimnetMagneticField) SetFieldXValue(v float64)
SetFieldXValue sets FieldX from a physical value, rounded to the nearest wire tick of 0.0001.
func (*SimnetMagneticField) SetFieldYValue ¶
func (m *SimnetMagneticField) SetFieldYValue(v float64)
SetFieldYValue sets FieldY from a physical value, rounded to the nearest wire tick of 0.0001.
func (*SimnetMagneticField) SetFieldZValue ¶
func (m *SimnetMagneticField) SetFieldZValue(v float64)
SetFieldZValue sets FieldZ from a physical value, rounded to the nearest wire tick of 0.0001.
func (*SimnetMagneticField) SetMessageInfo ¶
func (m *SimnetMagneticField) SetMessageInfo(info MessageInfo)
type SimnetNightModeColorConst ¶
type SimnetNightModeColorConst uint8
const ( Red SimnetNightModeColorConst = 0 Green SimnetNightModeColorConst = 1 Blue SimnetNightModeColorConst = 2 White SimnetNightModeColorConst = 3 )
func (SimnetNightModeColorConst) GoString ¶
func (e SimnetNightModeColorConst) GoString() string
func (SimnetNightModeColorConst) String ¶
func (e SimnetNightModeColorConst) String() string
type SimnetNightModeConst ¶
type SimnetNightModeConst uint8
const ( Day SimnetNightModeConst = 2 Night SimnetNightModeConst = 4 )
func (SimnetNightModeConst) GoString ¶
func (e SimnetNightModeConst) GoString() string
func (SimnetNightModeConst) String ¶
func (e SimnetNightModeConst) String() string
type SimnetPaddleWheelSpeedConfiguration ¶
type SimnetPaddleWheelSpeedConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetPaddleWheelSpeedConfiguration) DecodePayload ¶
func (m *SimnetPaddleWheelSpeedConfiguration) DecodePayload(payload []uint8) error
func (*SimnetPaddleWheelSpeedConfiguration) EncodePayload ¶
func (m *SimnetPaddleWheelSpeedConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetPaddleWheelSpeedConfiguration) MessageInfo ¶
func (m *SimnetPaddleWheelSpeedConfiguration) MessageInfo() MessageInfo
func (*SimnetPaddleWheelSpeedConfiguration) PGNNumber ¶
func (m *SimnetPaddleWheelSpeedConfiguration) PGNNumber() uint32
func (*SimnetPaddleWheelSpeedConfiguration) SetMessageInfo ¶
func (m *SimnetPaddleWheelSpeedConfiguration) SetMessageInfo(info MessageInfo)
type SimnetParameterSet ¶
type SimnetParameterSet struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Address *uint64 `json:"address,omitempty" n2k:"4"`
Instance *uint64 `json:"instance,omitempty" n2k:"5"`
NetworkGroup *uint64 `json:"networkGroup,omitempty" n2k:"6"`
Source *uint64 `json:"source,omitempty" n2k:"7"`
Key *uint64 `json:"key,omitempty" n2k:"8"`
Operation *uint64 `json:"operation,omitempty" n2k:"9"`
Length *uint64 `json:"length,omitempty" n2k:"10"`
Value []uint8 `json:"value,omitempty" n2k:"11"`
}
func (*SimnetParameterSet) DecodePayload ¶
func (m *SimnetParameterSet) DecodePayload(payload []uint8) error
func (*SimnetParameterSet) EncodePayload ¶
func (m *SimnetParameterSet) EncodePayload() ([]uint8, error)
func (*SimnetParameterSet) MessageInfo ¶
func (m *SimnetParameterSet) MessageInfo() MessageInfo
func (*SimnetParameterSet) PGNNumber ¶
func (m *SimnetParameterSet) PGNNumber() uint32
func (*SimnetParameterSet) SetMessageInfo ¶
func (m *SimnetParameterSet) SetMessageInfo(info MessageInfo)
type SimnetPilotMode ¶
type SimnetPilotMode struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Model *uint64 `json:"model,omitempty" n2k:"4"`
Report *uint64 `json:"report,omitempty" n2k:"5"`
Mode *uint64 `json:"mode,omitempty" n2k:"6"`
}
func (*SimnetPilotMode) DecodePayload ¶
func (m *SimnetPilotMode) DecodePayload(payload []uint8) error
func (*SimnetPilotMode) EncodePayload ¶
func (m *SimnetPilotMode) EncodePayload() ([]uint8, error)
func (*SimnetPilotMode) MessageInfo ¶
func (m *SimnetPilotMode) MessageInfo() MessageInfo
func (*SimnetPilotMode) PGNNumber ¶
func (m *SimnetPilotMode) PGNNumber() uint32
func (*SimnetPilotMode) SetMessageInfo ¶
func (m *SimnetPilotMode) SetMessageInfo(info MessageInfo)
type SimnetPressureSensorConfiguration ¶
type SimnetPressureSensorConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetPressureSensorConfiguration) DecodePayload ¶
func (m *SimnetPressureSensorConfiguration) DecodePayload(payload []uint8) error
func (*SimnetPressureSensorConfiguration) EncodePayload ¶
func (m *SimnetPressureSensorConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetPressureSensorConfiguration) MessageInfo ¶
func (m *SimnetPressureSensorConfiguration) MessageInfo() MessageInfo
func (*SimnetPressureSensorConfiguration) PGNNumber ¶
func (m *SimnetPressureSensorConfiguration) PGNNumber() uint32
func (*SimnetPressureSensorConfiguration) SetMessageInfo ¶
func (m *SimnetPressureSensorConfiguration) SetMessageInfo(info MessageInfo)
type SimnetReprogramData ¶
type SimnetReprogramData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Version *uint64 `json:"version,omitempty" n2k:"4"`
Sequence *uint64 `json:"sequence,omitempty" n2k:"5"`
Data []uint8 `json:"data,omitempty" n2k:"6"`
}
func (*SimnetReprogramData) DecodePayload ¶
func (m *SimnetReprogramData) DecodePayload(payload []uint8) error
func (*SimnetReprogramData) EncodePayload ¶
func (m *SimnetReprogramData) EncodePayload() ([]uint8, error)
func (*SimnetReprogramData) MessageInfo ¶
func (m *SimnetReprogramData) MessageInfo() MessageInfo
func (*SimnetReprogramData) PGNNumber ¶
func (m *SimnetReprogramData) PGNNumber() uint32
func (*SimnetReprogramData) SetMessageInfo ¶
func (m *SimnetReprogramData) SetMessageInfo(info MessageInfo)
type SimnetReprogramStatus ¶
type SimnetReprogramStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Status *uint64 `json:"status,omitempty" n2k:"5"`
}
func (*SimnetReprogramStatus) DecodePayload ¶
func (m *SimnetReprogramStatus) DecodePayload(payload []uint8) error
func (*SimnetReprogramStatus) EncodePayload ¶
func (m *SimnetReprogramStatus) EncodePayload() ([]uint8, error)
func (*SimnetReprogramStatus) MessageInfo ¶
func (m *SimnetReprogramStatus) MessageInfo() MessageInfo
func (*SimnetReprogramStatus) PGNNumber ¶
func (m *SimnetReprogramStatus) PGNNumber() uint32
func (*SimnetReprogramStatus) SetMessageInfo ¶
func (m *SimnetReprogramStatus) SetMessageInfo(info MessageInfo)
type SimnetRequestReprogram ¶
type SimnetRequestReprogram struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetRequestReprogram) DecodePayload ¶
func (m *SimnetRequestReprogram) DecodePayload(payload []uint8) error
func (*SimnetRequestReprogram) EncodePayload ¶
func (m *SimnetRequestReprogram) EncodePayload() ([]uint8, error)
func (*SimnetRequestReprogram) MessageInfo ¶
func (m *SimnetRequestReprogram) MessageInfo() MessageInfo
func (*SimnetRequestReprogram) PGNNumber ¶
func (m *SimnetRequestReprogram) PGNNumber() uint32
func (*SimnetRequestReprogram) SetMessageInfo ¶
func (m *SimnetRequestReprogram) SetMessageInfo(info MessageInfo)
type SimnetSailingProcessorStatus ¶
type SimnetSailingProcessorStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Model *uint64 `json:"model,omitempty" n2k:"4"`
Report *uint64 `json:"report,omitempty" n2k:"5"`
Data []uint8 `json:"data,omitempty" n2k:"6"`
}
func (*SimnetSailingProcessorStatus) DecodePayload ¶
func (m *SimnetSailingProcessorStatus) DecodePayload(payload []uint8) error
func (*SimnetSailingProcessorStatus) EncodePayload ¶
func (m *SimnetSailingProcessorStatus) EncodePayload() ([]uint8, error)
func (*SimnetSailingProcessorStatus) MessageInfo ¶
func (m *SimnetSailingProcessorStatus) MessageInfo() MessageInfo
func (*SimnetSailingProcessorStatus) PGNNumber ¶
func (m *SimnetSailingProcessorStatus) PGNNumber() uint32
func (*SimnetSailingProcessorStatus) SetMessageInfo ¶
func (m *SimnetSailingProcessorStatus) SetMessageInfo(info MessageInfo)
type SimnetSetEngineAndTankConfiguration ¶
type SimnetSetEngineAndTankConfiguration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetSetEngineAndTankConfiguration) DecodePayload ¶
func (m *SimnetSetEngineAndTankConfiguration) DecodePayload(payload []uint8) error
func (*SimnetSetEngineAndTankConfiguration) EncodePayload ¶
func (m *SimnetSetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)
func (*SimnetSetEngineAndTankConfiguration) MessageInfo ¶
func (m *SimnetSetEngineAndTankConfiguration) MessageInfo() MessageInfo
func (*SimnetSetEngineAndTankConfiguration) PGNNumber ¶
func (m *SimnetSetEngineAndTankConfiguration) PGNNumber() uint32
func (*SimnetSetEngineAndTankConfiguration) SetMessageInfo ¶
func (m *SimnetSetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)
type SimnetSetSerialNumber ¶
type SimnetSetSerialNumber struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetSetSerialNumber) DecodePayload ¶
func (m *SimnetSetSerialNumber) DecodePayload(payload []uint8) error
func (*SimnetSetSerialNumber) EncodePayload ¶
func (m *SimnetSetSerialNumber) EncodePayload() ([]uint8, error)
func (*SimnetSetSerialNumber) MessageInfo ¶
func (m *SimnetSetSerialNumber) MessageInfo() MessageInfo
func (*SimnetSetSerialNumber) PGNNumber ¶
func (m *SimnetSetSerialNumber) PGNNumber() uint32
func (*SimnetSetSerialNumber) SetMessageInfo ¶
func (m *SimnetSetSerialNumber) SetMessageInfo(info MessageInfo)
type SimnetSonarStatusFrequencyAndDspVoltage ¶
type SimnetSonarStatusFrequencyAndDspVoltage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetSonarStatusFrequencyAndDspVoltage) DecodePayload ¶
func (m *SimnetSonarStatusFrequencyAndDspVoltage) DecodePayload(payload []uint8) error
func (*SimnetSonarStatusFrequencyAndDspVoltage) EncodePayload ¶
func (m *SimnetSonarStatusFrequencyAndDspVoltage) EncodePayload() ([]uint8, error)
func (*SimnetSonarStatusFrequencyAndDspVoltage) MessageInfo ¶
func (m *SimnetSonarStatusFrequencyAndDspVoltage) MessageInfo() MessageInfo
func (*SimnetSonarStatusFrequencyAndDspVoltage) PGNNumber ¶
func (m *SimnetSonarStatusFrequencyAndDspVoltage) PGNNumber() uint32
func (*SimnetSonarStatusFrequencyAndDspVoltage) SetMessageInfo ¶
func (m *SimnetSonarStatusFrequencyAndDspVoltage) SetMessageInfo(info MessageInfo)
type SimnetTimeFormatConst ¶
type SimnetTimeFormatConst uint8
const ( MMDdYyyy SimnetTimeFormatConst = 1 DdMMYyyy SimnetTimeFormatConst = 2 )
func (SimnetTimeFormatConst) GoString ¶
func (e SimnetTimeFormatConst) GoString() string
func (SimnetTimeFormatConst) String ¶
func (e SimnetTimeFormatConst) String() string
type SimnetTrimTabSensorCalibration ¶
type SimnetTrimTabSensorCalibration struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SimnetTrimTabSensorCalibration) DecodePayload ¶
func (m *SimnetTrimTabSensorCalibration) DecodePayload(payload []uint8) error
func (*SimnetTrimTabSensorCalibration) EncodePayload ¶
func (m *SimnetTrimTabSensorCalibration) EncodePayload() ([]uint8, error)
func (*SimnetTrimTabSensorCalibration) MessageInfo ¶
func (m *SimnetTrimTabSensorCalibration) MessageInfo() MessageInfo
func (*SimnetTrimTabSensorCalibration) PGNNumber ¶
func (m *SimnetTrimTabSensorCalibration) PGNNumber() uint32
func (*SimnetTrimTabSensorCalibration) SetMessageInfo ¶
func (m *SimnetTrimTabSensorCalibration) SetMessageInfo(info MessageInfo)
type SimradTextMessage ¶
type SimradTextMessage struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
A *uint64 `json:"a,omitempty" n2k:"6"`
B *uint64 `json:"b,omitempty" n2k:"7"`
C *uint64 `json:"c,omitempty" n2k:"8"`
Sid *uint64 `json:"sid,omitempty" n2k:"9"`
Prio *uint64 `json:"prio,omitempty" n2k:"10"`
Text string `json:"text,omitempty" n2k:"11"`
}
func (*SimradTextMessage) DecodePayload ¶
func (m *SimradTextMessage) DecodePayload(payload []uint8) error
func (*SimradTextMessage) EncodePayload ¶
func (m *SimradTextMessage) EncodePayload() ([]uint8, error)
func (*SimradTextMessage) MessageInfo ¶
func (m *SimradTextMessage) MessageInfo() MessageInfo
func (*SimradTextMessage) PGNNumber ¶
func (m *SimradTextMessage) PGNNumber() uint32
func (*SimradTextMessage) SetMessageInfo ¶
func (m *SimradTextMessage) SetMessageInfo(info MessageInfo)
type SmallCraftStatus ¶
type SmallCraftStatus struct {
Info MessageInfo `json:"info"`
PortTrimTab *int64 `json:"portTrimTab,omitempty" n2k:"1"`
StarboardTrimTab *int64 `json:"starboardTrimTab,omitempty" n2k:"2"`
}
func (*SmallCraftStatus) DecodePayload ¶
func (m *SmallCraftStatus) DecodePayload(payload []uint8) error
func (*SmallCraftStatus) EncodePayload ¶
func (m *SmallCraftStatus) EncodePayload() ([]uint8, error)
func (*SmallCraftStatus) MessageInfo ¶
func (m *SmallCraftStatus) MessageInfo() MessageInfo
func (*SmallCraftStatus) PGNNumber ¶
func (m *SmallCraftStatus) PGNNumber() uint32
func (*SmallCraftStatus) PortTrimTabValue ¶
func (m *SmallCraftStatus) PortTrimTabValue() (float64, bool)
PortTrimTabValue returns PortTrimTab as a physical value in % (value = raw). The bool is false when PortTrimTab is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SmallCraftStatus) SetMessageInfo ¶
func (m *SmallCraftStatus) SetMessageInfo(info MessageInfo)
func (*SmallCraftStatus) SetPortTrimTabValue ¶
func (m *SmallCraftStatus) SetPortTrimTabValue(v float64)
SetPortTrimTabValue sets PortTrimTab from a physical value in %, rounded to the nearest wire tick of 1.
func (*SmallCraftStatus) SetStarboardTrimTabValue ¶
func (m *SmallCraftStatus) SetStarboardTrimTabValue(v float64)
SetStarboardTrimTabValue sets StarboardTrimTab from a physical value in %, rounded to the nearest wire tick of 1.
func (*SmallCraftStatus) StarboardTrimTabValue ¶
func (m *SmallCraftStatus) StarboardTrimTabValue() (float64, bool)
StarboardTrimTabValue returns StarboardTrimTab as a physical value in % (value = raw). The bool is false when StarboardTrimTab is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SonichubAlbum ¶
type SonichubAlbum struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
Text string `json:"text,omitempty" n2k:"8"`
}
func (*SonichubAlbum) DecodePayload ¶
func (m *SonichubAlbum) DecodePayload(payload []uint8) error
func (*SonichubAlbum) EncodePayload ¶
func (m *SonichubAlbum) EncodePayload() ([]uint8, error)
func (*SonichubAlbum) MessageInfo ¶
func (m *SonichubAlbum) MessageInfo() MessageInfo
func (*SonichubAlbum) PGNNumber ¶
func (m *SonichubAlbum) PGNNumber() uint32
func (*SonichubAlbum) SetMessageInfo ¶
func (m *SonichubAlbum) SetMessageInfo(info MessageInfo)
type SonichubAmRadio ¶
type SonichubAmRadio struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"8"`
NoiseLevel *uint64 `json:"noiseLevel,omitempty" n2k:"9"`
SignalLevel *uint64 `json:"signalLevel,omitempty" n2k:"10"`
Text string `json:"text,omitempty" n2k:"12"`
}
func (*SonichubAmRadio) DecodePayload ¶
func (m *SonichubAmRadio) DecodePayload(payload []uint8) error
func (*SonichubAmRadio) EncodePayload ¶
func (m *SonichubAmRadio) EncodePayload() ([]uint8, error)
func (*SonichubAmRadio) FrequencyValue ¶
func (m *SonichubAmRadio) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SonichubAmRadio) MessageInfo ¶
func (m *SonichubAmRadio) MessageInfo() MessageInfo
func (*SonichubAmRadio) PGNNumber ¶
func (m *SonichubAmRadio) PGNNumber() uint32
func (*SonichubAmRadio) SetFrequencyValue ¶
func (m *SonichubAmRadio) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*SonichubAmRadio) SetMessageInfo ¶
func (m *SonichubAmRadio) SetMessageInfo(info MessageInfo)
type SonichubArtist ¶
type SonichubArtist struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
Text string `json:"text,omitempty" n2k:"8"`
}
func (*SonichubArtist) DecodePayload ¶
func (m *SonichubArtist) DecodePayload(payload []uint8) error
func (*SonichubArtist) EncodePayload ¶
func (m *SonichubArtist) EncodePayload() ([]uint8, error)
func (*SonichubArtist) MessageInfo ¶
func (m *SonichubArtist) MessageInfo() MessageInfo
func (*SonichubArtist) PGNNumber ¶
func (m *SonichubArtist) PGNNumber() uint32
func (*SonichubArtist) SetMessageInfo ¶
func (m *SonichubArtist) SetMessageInfo(info MessageInfo)
type SonichubCommandConst ¶
type SonichubCommandConst uint8
const ( Init2 SonichubCommandConst = 1 AMRadio SonichubCommandConst = 4 ZoneInfo SonichubCommandConst = 5 Source SonichubCommandConst = 6 SourceList SonichubCommandConst = 8 Control SonichubCommandConst = 9 FMRadio SonichubCommandConst = 12 Playlist SonichubCommandConst = 13 Track_3 SonichubCommandConst = 14 Artist SonichubCommandConst = 15 Album SonichubCommandConst = 16 MenuItem SonichubCommandConst = 19 Zones SonichubCommandConst = 20 MaxVolume SonichubCommandConst = 23 Volume SonichubCommandConst = 24 Init1 SonichubCommandConst = 25 Position SonichubCommandConst = 48 Init3 SonichubCommandConst = 50 )
func (SonichubCommandConst) GoString ¶
func (e SonichubCommandConst) GoString() string
func (SonichubCommandConst) String ¶
func (e SonichubCommandConst) String() string
type SonichubControl ¶
type SonichubControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
}
func (*SonichubControl) DecodePayload ¶
func (m *SonichubControl) DecodePayload(payload []uint8) error
func (*SonichubControl) EncodePayload ¶
func (m *SonichubControl) EncodePayload() ([]uint8, error)
func (*SonichubControl) MessageInfo ¶
func (m *SonichubControl) MessageInfo() MessageInfo
func (*SonichubControl) PGNNumber ¶
func (m *SonichubControl) PGNNumber() uint32
func (*SonichubControl) SetMessageInfo ¶
func (m *SonichubControl) SetMessageInfo(info MessageInfo)
type SonichubControlConst ¶
type SonichubControlConst uint8
const ( Set SonichubControlConst = 0 Ack SonichubControlConst = 128 )
func (SonichubControlConst) GoString ¶
func (e SonichubControlConst) GoString() string
func (SonichubControlConst) String ¶
func (e SonichubControlConst) String() string
type SonichubFmRadio ¶
type SonichubFmRadio struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"8"`
NoiseLevel *uint64 `json:"noiseLevel,omitempty" n2k:"9"`
SignalLevel *uint64 `json:"signalLevel,omitempty" n2k:"10"`
Text string `json:"text,omitempty" n2k:"12"`
}
func (*SonichubFmRadio) DecodePayload ¶
func (m *SonichubFmRadio) DecodePayload(payload []uint8) error
func (*SonichubFmRadio) EncodePayload ¶
func (m *SonichubFmRadio) EncodePayload() ([]uint8, error)
func (*SonichubFmRadio) FrequencyValue ¶
func (m *SonichubFmRadio) FrequencyValue() (float64, bool)
FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false when Frequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SonichubFmRadio) MessageInfo ¶
func (m *SonichubFmRadio) MessageInfo() MessageInfo
func (*SonichubFmRadio) PGNNumber ¶
func (m *SonichubFmRadio) PGNNumber() uint32
func (*SonichubFmRadio) SetFrequencyValue ¶
func (m *SonichubFmRadio) SetFrequencyValue(v float64)
SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*SonichubFmRadio) SetMessageInfo ¶
func (m *SonichubFmRadio) SetMessageInfo(info MessageInfo)
type SonichubInit1 ¶
type SonichubInit1 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
}
func (*SonichubInit1) DecodePayload ¶
func (m *SonichubInit1) DecodePayload(payload []uint8) error
func (*SonichubInit1) EncodePayload ¶
func (m *SonichubInit1) EncodePayload() ([]uint8, error)
func (*SonichubInit1) MessageInfo ¶
func (m *SonichubInit1) MessageInfo() MessageInfo
func (*SonichubInit1) PGNNumber ¶
func (m *SonichubInit1) PGNNumber() uint32
func (*SonichubInit1) SetMessageInfo ¶
func (m *SonichubInit1) SetMessageInfo(info MessageInfo)
type SonichubInit2 ¶
type SonichubInit2 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
A *uint64 `json:"a,omitempty" n2k:"7"`
B *uint64 `json:"b,omitempty" n2k:"8"`
}
func (*SonichubInit2) DecodePayload ¶
func (m *SonichubInit2) DecodePayload(payload []uint8) error
func (*SonichubInit2) EncodePayload ¶
func (m *SonichubInit2) EncodePayload() ([]uint8, error)
func (*SonichubInit2) MessageInfo ¶
func (m *SonichubInit2) MessageInfo() MessageInfo
func (*SonichubInit2) PGNNumber ¶
func (m *SonichubInit2) PGNNumber() uint32
func (*SonichubInit2) SetMessageInfo ¶
func (m *SonichubInit2) SetMessageInfo(info MessageInfo)
type SonichubInit3 ¶
type SonichubInit3 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
A *uint64 `json:"a,omitempty" n2k:"7"`
B *uint64 `json:"b,omitempty" n2k:"8"`
}
func (*SonichubInit3) DecodePayload ¶
func (m *SonichubInit3) DecodePayload(payload []uint8) error
func (*SonichubInit3) EncodePayload ¶
func (m *SonichubInit3) EncodePayload() ([]uint8, error)
func (*SonichubInit3) MessageInfo ¶
func (m *SonichubInit3) MessageInfo() MessageInfo
func (*SonichubInit3) PGNNumber ¶
func (m *SonichubInit3) PGNNumber() uint32
func (*SonichubInit3) SetMessageInfo ¶
func (m *SonichubInit3) SetMessageInfo(info MessageInfo)
type SonichubMaxVolume ¶
type SonichubMaxVolume struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Zone *uint64 `json:"zone,omitempty" n2k:"7"`
Level *uint64 `json:"level,omitempty" n2k:"8"`
}
func (*SonichubMaxVolume) DecodePayload ¶
func (m *SonichubMaxVolume) DecodePayload(payload []uint8) error
func (*SonichubMaxVolume) EncodePayload ¶
func (m *SonichubMaxVolume) EncodePayload() ([]uint8, error)
func (*SonichubMaxVolume) MessageInfo ¶
func (m *SonichubMaxVolume) MessageInfo() MessageInfo
func (*SonichubMaxVolume) PGNNumber ¶
func (m *SonichubMaxVolume) PGNNumber() uint32
func (*SonichubMaxVolume) SetMessageInfo ¶
func (m *SonichubMaxVolume) SetMessageInfo(info MessageInfo)
type SonichubMenuItem ¶
type SonichubMenuItem struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
C *uint64 `json:"c,omitempty" n2k:"8"`
D *uint64 `json:"d,omitempty" n2k:"9"`
E *uint64 `json:"e,omitempty" n2k:"10"`
Text string `json:"text,omitempty" n2k:"11"`
}
func (*SonichubMenuItem) DecodePayload ¶
func (m *SonichubMenuItem) DecodePayload(payload []uint8) error
func (*SonichubMenuItem) EncodePayload ¶
func (m *SonichubMenuItem) EncodePayload() ([]uint8, error)
func (*SonichubMenuItem) MessageInfo ¶
func (m *SonichubMenuItem) MessageInfo() MessageInfo
func (*SonichubMenuItem) PGNNumber ¶
func (m *SonichubMenuItem) PGNNumber() uint32
func (*SonichubMenuItem) SetMessageInfo ¶
func (m *SonichubMenuItem) SetMessageInfo(info MessageInfo)
type SonichubPlaylist ¶
type SonichubPlaylist struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
A *uint64 `json:"a,omitempty" n2k:"8"`
CurrentTrack *uint64 `json:"currentTrack,omitempty" n2k:"9"`
Tracks *uint64 `json:"tracks,omitempty" n2k:"10"`
Length *uint64 `json:"length,omitempty" n2k:"11"`
PositionInTrack *uint64 `json:"positionInTrack,omitempty" n2k:"12"`
}
func (*SonichubPlaylist) DecodePayload ¶
func (m *SonichubPlaylist) DecodePayload(payload []uint8) error
func (*SonichubPlaylist) EncodePayload ¶
func (m *SonichubPlaylist) EncodePayload() ([]uint8, error)
func (*SonichubPlaylist) LengthValue ¶
func (m *SonichubPlaylist) LengthValue() (float64, bool)
LengthValue returns Length as a physical value in s (value = raw * 0.001). The bool is false when Length is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SonichubPlaylist) MessageInfo ¶
func (m *SonichubPlaylist) MessageInfo() MessageInfo
func (*SonichubPlaylist) PGNNumber ¶
func (m *SonichubPlaylist) PGNNumber() uint32
func (*SonichubPlaylist) PositionInTrackValue ¶
func (m *SonichubPlaylist) PositionInTrackValue() (float64, bool)
PositionInTrackValue returns PositionInTrack as a physical value in s (value = raw * 0.001). The bool is false when PositionInTrack is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SonichubPlaylist) SetLengthValue ¶
func (m *SonichubPlaylist) SetLengthValue(v float64)
SetLengthValue sets Length from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*SonichubPlaylist) SetMessageInfo ¶
func (m *SonichubPlaylist) SetMessageInfo(info MessageInfo)
func (*SonichubPlaylist) SetPositionInTrackValue ¶
func (m *SonichubPlaylist) SetPositionInTrackValue(v float64)
SetPositionInTrackValue sets PositionInTrack from a physical value in s, rounded to the nearest wire tick of 0.001.
type SonichubPlaylistConst ¶
type SonichubPlaylistConst uint8
const ( Report SonichubPlaylistConst = 1 NextSong SonichubPlaylistConst = 4 PreviousSong SonichubPlaylistConst = 6 )
func (SonichubPlaylistConst) GoString ¶
func (e SonichubPlaylistConst) GoString() string
func (SonichubPlaylistConst) String ¶
func (e SonichubPlaylistConst) String() string
type SonichubPosition ¶
type SonichubPosition struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Position *uint64 `json:"position,omitempty" n2k:"7"`
}
func (*SonichubPosition) DecodePayload ¶
func (m *SonichubPosition) DecodePayload(payload []uint8) error
func (*SonichubPosition) EncodePayload ¶
func (m *SonichubPosition) EncodePayload() ([]uint8, error)
func (*SonichubPosition) MessageInfo ¶
func (m *SonichubPosition) MessageInfo() MessageInfo
func (*SonichubPosition) PGNNumber ¶
func (m *SonichubPosition) PGNNumber() uint32
func (*SonichubPosition) PositionValue ¶
func (m *SonichubPosition) PositionValue() (float64, bool)
PositionValue returns Position as a physical value in s (value = raw * 0.001). The bool is false when Position is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SonichubPosition) SetMessageInfo ¶
func (m *SonichubPosition) SetMessageInfo(info MessageInfo)
func (*SonichubPosition) SetPositionValue ¶
func (m *SonichubPosition) SetPositionValue(v float64)
SetPositionValue sets Position from a physical value in s, rounded to the nearest wire tick of 0.001.
type SonichubSource ¶
type SonichubSource struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Source *uint64 `json:"source,omitempty" n2k:"7"`
}
func (*SonichubSource) DecodePayload ¶
func (m *SonichubSource) DecodePayload(payload []uint8) error
func (*SonichubSource) EncodePayload ¶
func (m *SonichubSource) EncodePayload() ([]uint8, error)
func (*SonichubSource) MessageInfo ¶
func (m *SonichubSource) MessageInfo() MessageInfo
func (*SonichubSource) PGNNumber ¶
func (m *SonichubSource) PGNNumber() uint32
func (*SonichubSource) SetMessageInfo ¶
func (m *SonichubSource) SetMessageInfo(info MessageInfo)
type SonichubSourceConst ¶
type SonichubSourceConst uint8
const ( AM_2 SonichubSourceConst = 0 FM_2 SonichubSourceConst = 1 IPod SonichubSourceConst = 2 USB_2 SonichubSourceConst = 3 AUX SonichubSourceConst = 4 AUX2 SonichubSourceConst = 5 Mic SonichubSourceConst = 6 )
func (SonichubSourceConst) GoString ¶
func (e SonichubSourceConst) GoString() string
func (SonichubSourceConst) String ¶
func (e SonichubSourceConst) String() string
type SonichubSourceList ¶
type SonichubSourceList struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
SourceId *uint64 `json:"sourceId,omitempty" n2k:"7"`
A *uint64 `json:"a,omitempty" n2k:"8"`
Text string `json:"text,omitempty" n2k:"9"`
}
func (*SonichubSourceList) DecodePayload ¶
func (m *SonichubSourceList) DecodePayload(payload []uint8) error
func (*SonichubSourceList) EncodePayload ¶
func (m *SonichubSourceList) EncodePayload() ([]uint8, error)
func (*SonichubSourceList) MessageInfo ¶
func (m *SonichubSourceList) MessageInfo() MessageInfo
func (*SonichubSourceList) PGNNumber ¶
func (m *SonichubSourceList) PGNNumber() uint32
func (*SonichubSourceList) SetMessageInfo ¶
func (m *SonichubSourceList) SetMessageInfo(info MessageInfo)
type SonichubTrack ¶
type SonichubTrack struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Item *uint64 `json:"item,omitempty" n2k:"7"`
Text string `json:"text,omitempty" n2k:"8"`
}
func (*SonichubTrack) DecodePayload ¶
func (m *SonichubTrack) DecodePayload(payload []uint8) error
func (*SonichubTrack) EncodePayload ¶
func (m *SonichubTrack) EncodePayload() ([]uint8, error)
func (*SonichubTrack) MessageInfo ¶
func (m *SonichubTrack) MessageInfo() MessageInfo
func (*SonichubTrack) PGNNumber ¶
func (m *SonichubTrack) PGNNumber() uint32
func (*SonichubTrack) SetMessageInfo ¶
func (m *SonichubTrack) SetMessageInfo(info MessageInfo)
type SonichubTuningConst ¶
type SonichubTuningConst uint8
const ( SeekingUp SonichubTuningConst = 1 Tuned SonichubTuningConst = 2 SeekingDown SonichubTuningConst = 3 )
func (SonichubTuningConst) GoString ¶
func (e SonichubTuningConst) GoString() string
func (SonichubTuningConst) String ¶
func (e SonichubTuningConst) String() string
type SonichubVolume ¶
type SonichubVolume struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Zone *uint64 `json:"zone,omitempty" n2k:"7"`
Level *uint64 `json:"level,omitempty" n2k:"8"`
}
func (*SonichubVolume) DecodePayload ¶
func (m *SonichubVolume) DecodePayload(payload []uint8) error
func (*SonichubVolume) EncodePayload ¶
func (m *SonichubVolume) EncodePayload() ([]uint8, error)
func (*SonichubVolume) MessageInfo ¶
func (m *SonichubVolume) MessageInfo() MessageInfo
func (*SonichubVolume) PGNNumber ¶
func (m *SonichubVolume) PGNNumber() uint32
func (*SonichubVolume) SetMessageInfo ¶
func (m *SonichubVolume) SetMessageInfo(info MessageInfo)
type SonichubZoneInfo ¶
type SonichubZoneInfo struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Zone *uint64 `json:"zone,omitempty" n2k:"7"`
}
func (*SonichubZoneInfo) DecodePayload ¶
func (m *SonichubZoneInfo) DecodePayload(payload []uint8) error
func (*SonichubZoneInfo) EncodePayload ¶
func (m *SonichubZoneInfo) EncodePayload() ([]uint8, error)
func (*SonichubZoneInfo) MessageInfo ¶
func (m *SonichubZoneInfo) MessageInfo() MessageInfo
func (*SonichubZoneInfo) PGNNumber ¶
func (m *SonichubZoneInfo) PGNNumber() uint32
func (*SonichubZoneInfo) SetMessageInfo ¶
func (m *SonichubZoneInfo) SetMessageInfo(info MessageInfo)
type SonichubZones ¶
type SonichubZones struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ProprietaryId *uint64 `json:"proprietaryId,omitempty" n2k:"5"`
Control *uint64 `json:"control,omitempty" n2k:"6"`
Zones *uint64 `json:"zones,omitempty" n2k:"7"`
}
func (*SonichubZones) DecodePayload ¶
func (m *SonichubZones) DecodePayload(payload []uint8) error
func (*SonichubZones) EncodePayload ¶
func (m *SonichubZones) EncodePayload() ([]uint8, error)
func (*SonichubZones) MessageInfo ¶
func (m *SonichubZones) MessageInfo() MessageInfo
func (*SonichubZones) PGNNumber ¶
func (m *SonichubZones) PGNNumber() uint32
func (*SonichubZones) SetMessageInfo ¶
func (m *SonichubZones) SetMessageInfo(info MessageInfo)
type SourceDefinition ¶
type SourceDefinition struct {
PGN uint32
StructName string
SourceID string
Description string
Explanation string
Type string
Complete bool
Fallback bool
Missing []string
Length *int
MinLength *int
Priority *uint8
TransmissionInterval *int
TransmissionIrregular *bool
RepeatingFieldSet1StartField *int
RepeatingFieldSet1CountField *int
RepeatingFieldSet1Size *int
RepeatingFieldSet2StartField *int
RepeatingFieldSet2CountField *int
RepeatingFieldSet2Size *int
Fields []SourceFieldDefinition
}
type SourceFieldDefinition ¶
type SourceFieldDefinition struct {
Order int
SourceID string
Name string
Description string
BitLength *uint16
BitLengthField *int
BitOffset *uint16
BitStart *uint16
Resolution *float64
Signed bool
Unit string
FieldType string
PhysicalQuantity string
LookupEnumeration string
LookupBitEnumeration string
LookupIndirectEnumeration string
LookupIndirectEnumerationFieldOrder *int
LookupFieldTypeEnumeration string
Match *int
RangeMin *float64
RangeMax *float64
Offset *float64
OutOfRangeValue *int64
PartOfPrimaryKey *bool
ReservedValue *int64
UnknownValue *int64
Condition string
BitLengthVariable bool
}
type Speed ¶
type Speed struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
SpeedWaterReferenced *uint64 `json:"speedWaterReferenced,omitempty" n2k:"2"`
SpeedGroundReferenced *uint64 `json:"speedGroundReferenced,omitempty" n2k:"3"`
SpeedWaterReferencedType *uint64 `json:"speedWaterReferencedType,omitempty" n2k:"4"`
SpeedDirection *uint64 `json:"speedDirection,omitempty" n2k:"5"`
}
func (*Speed) DecodePayload ¶
func (*Speed) EncodePayload ¶
func (*Speed) MessageInfo ¶
func (m *Speed) MessageInfo() MessageInfo
func (*Speed) SetMessageInfo ¶
func (m *Speed) SetMessageInfo(info MessageInfo)
func (*Speed) SetSpeedGroundReferencedValue ¶
SetSpeedGroundReferencedValue sets SpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*Speed) SetSpeedWaterReferencedValue ¶
SetSpeedWaterReferencedValue sets SpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*Speed) SpeedGroundReferencedValue ¶
SpeedGroundReferencedValue returns SpeedGroundReferenced as a physical value in m/s (value = raw * 0.01). The bool is false when SpeedGroundReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Speed) SpeedWaterReferencedValue ¶
SpeedWaterReferencedValue returns SpeedWaterReferenced as a physical value in m/s (value = raw * 0.01). The bool is false when SpeedWaterReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SpeedTypeConst ¶
type SpeedTypeConst uint8
const ( SingleSpeed SpeedTypeConst = 0 DualSpeed SpeedTypeConst = 1 ProportionalSpeed SpeedTypeConst = 2 )
func (SpeedTypeConst) GoString ¶
func (e SpeedTypeConst) GoString() string
func (SpeedTypeConst) String ¶
func (e SpeedTypeConst) String() string
type StationStatusConst ¶
type StationStatusConst uint16
const ( StationInUse StationStatusConst = 0 LowSNR StationStatusConst = 1 CycleError StationStatusConst = 2 Blink StationStatusConst = 3 )
func (StationStatusConst) GoString ¶
func (e StationStatusConst) GoString() string
func (StationStatusConst) String ¶
func (e StationStatusConst) String() string
type StationTypeConst ¶
type StationTypeConst uint8
const ( AllTypesOfMobileStation StationTypeConst = 0 AllTypesOfClassBMobileStation StationTypeConst = 2 SARAirborneMobileStation StationTypeConst = 3 AtoNStation StationTypeConst = 4 ClassBCSShipborneMobileStation StationTypeConst = 5 InlandWaterways StationTypeConst = 6 RegionalUse7 StationTypeConst = 7 RegionalUse8 StationTypeConst = 8 RegionalUse9 StationTypeConst = 9 )
func (StationTypeConst) GoString ¶
func (e StationTypeConst) GoString() string
func (StationTypeConst) String ¶
func (e StationTypeConst) String() string
type SteeringModeConst ¶
type SteeringModeConst uint8
const ( MainSteering SteeringModeConst = 0 NonFollowUpDevice SteeringModeConst = 1 FollowUpDevice SteeringModeConst = 2 HeadingControlStandalone SteeringModeConst = 3 HeadingControl SteeringModeConst = 4 TrackControl SteeringModeConst = 5 )
func (SteeringModeConst) GoString ¶
func (e SteeringModeConst) GoString() string
func (SteeringModeConst) String ¶
func (e SteeringModeConst) String() string
type SupportedSourceData ¶
type SupportedSourceData struct {
Info MessageInfo `json:"info"`
IdOffset *uint64 `json:"idOffset,omitempty" n2k:"1"`
IdCount *uint64 `json:"idCount,omitempty" n2k:"2"`
TotalIdCount *uint64 `json:"totalIdCount,omitempty" n2k:"3"`
Repeating1 []SupportedSourceDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*SupportedSourceData) DecodePayload ¶
func (m *SupportedSourceData) DecodePayload(payload []uint8) error
func (*SupportedSourceData) EncodePayload ¶
func (m *SupportedSourceData) EncodePayload() ([]uint8, error)
func (*SupportedSourceData) MessageInfo ¶
func (m *SupportedSourceData) MessageInfo() MessageInfo
func (*SupportedSourceData) PGNNumber ¶
func (m *SupportedSourceData) PGNNumber() uint32
func (*SupportedSourceData) SetMessageInfo ¶
func (m *SupportedSourceData) SetMessageInfo(info MessageInfo)
type SupportedSourceDataRepeating1 ¶
type SupportedSourceDataRepeating1 struct {
Id *uint64 `json:"id,omitempty" n2k:"4"`
Source *uint64 `json:"source,omitempty" n2k:"5"`
Number *uint64 `json:"number,omitempty" n2k:"6"`
Name string `json:"name,omitempty" n2k:"7"`
PlaySupport *uint64 `json:"playSupport,omitempty" n2k:"8"`
BrowseSupport *uint64 `json:"browseSupport,omitempty" n2k:"9"`
ThumbsSupport *uint64 `json:"thumbsSupport,omitempty" n2k:"10"`
Connected *uint64 `json:"connected,omitempty" n2k:"11"`
RepeatSupport *uint64 `json:"repeatSupport,omitempty" n2k:"12"`
ShuffleSupport *uint64 `json:"shuffleSupport,omitempty" n2k:"13"`
}
type SupportedZoneData ¶
type SupportedZoneData struct {
Info MessageInfo `json:"info"`
FirstZoneId *uint64 `json:"firstZoneId,omitempty" n2k:"1"`
ZoneCount *uint64 `json:"zoneCount,omitempty" n2k:"2"`
TotalZoneCount *uint64 `json:"totalZoneCount,omitempty" n2k:"3"`
Repeating1 []SupportedZoneDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*SupportedZoneData) DecodePayload ¶
func (m *SupportedZoneData) DecodePayload(payload []uint8) error
func (*SupportedZoneData) EncodePayload ¶
func (m *SupportedZoneData) EncodePayload() ([]uint8, error)
func (*SupportedZoneData) MessageInfo ¶
func (m *SupportedZoneData) MessageInfo() MessageInfo
func (*SupportedZoneData) PGNNumber ¶
func (m *SupportedZoneData) PGNNumber() uint32
func (*SupportedZoneData) SetMessageInfo ¶
func (m *SupportedZoneData) SetMessageInfo(info MessageInfo)
type SuzukiEngineAndStorageDeviceConfig ¶
type SuzukiEngineAndStorageDeviceConfig struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SuzukiEngineAndStorageDeviceConfig) DecodePayload ¶
func (m *SuzukiEngineAndStorageDeviceConfig) DecodePayload(payload []uint8) error
func (*SuzukiEngineAndStorageDeviceConfig) EncodePayload ¶
func (m *SuzukiEngineAndStorageDeviceConfig) EncodePayload() ([]uint8, error)
func (*SuzukiEngineAndStorageDeviceConfig) MessageInfo ¶
func (m *SuzukiEngineAndStorageDeviceConfig) MessageInfo() MessageInfo
func (*SuzukiEngineAndStorageDeviceConfig) PGNNumber ¶
func (m *SuzukiEngineAndStorageDeviceConfig) PGNNumber() uint32
func (*SuzukiEngineAndStorageDeviceConfig) SetMessageInfo ¶
func (m *SuzukiEngineAndStorageDeviceConfig) SetMessageInfo(info MessageInfo)
type SuzukiEngineData ¶
type SuzukiEngineData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SuzukiEngineData) DecodePayload ¶
func (m *SuzukiEngineData) DecodePayload(payload []uint8) error
func (*SuzukiEngineData) EncodePayload ¶
func (m *SuzukiEngineData) EncodePayload() ([]uint8, error)
func (*SuzukiEngineData) MessageInfo ¶
func (m *SuzukiEngineData) MessageInfo() MessageInfo
func (*SuzukiEngineData) PGNNumber ¶
func (m *SuzukiEngineData) PGNNumber() uint32
func (*SuzukiEngineData) SetMessageInfo ¶
func (m *SuzukiEngineData) SetMessageInfo(info MessageInfo)
type SuzukiEngineDataA ¶
type SuzukiEngineDataA struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiEngineDataA) DecodePayload ¶
func (m *SuzukiEngineDataA) DecodePayload(payload []uint8) error
func (*SuzukiEngineDataA) EncodePayload ¶
func (m *SuzukiEngineDataA) EncodePayload() ([]uint8, error)
func (*SuzukiEngineDataA) MessageInfo ¶
func (m *SuzukiEngineDataA) MessageInfo() MessageInfo
func (*SuzukiEngineDataA) PGNNumber ¶
func (m *SuzukiEngineDataA) PGNNumber() uint32
func (*SuzukiEngineDataA) SetMessageInfo ¶
func (m *SuzukiEngineDataA) SetMessageInfo(info MessageInfo)
type SuzukiEngineDataB ¶
type SuzukiEngineDataB struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiEngineDataB) DecodePayload ¶
func (m *SuzukiEngineDataB) DecodePayload(payload []uint8) error
func (*SuzukiEngineDataB) EncodePayload ¶
func (m *SuzukiEngineDataB) EncodePayload() ([]uint8, error)
func (*SuzukiEngineDataB) MessageInfo ¶
func (m *SuzukiEngineDataB) MessageInfo() MessageInfo
func (*SuzukiEngineDataB) PGNNumber ¶
func (m *SuzukiEngineDataB) PGNNumber() uint32
func (*SuzukiEngineDataB) SetMessageInfo ¶
func (m *SuzukiEngineDataB) SetMessageInfo(info MessageInfo)
type SuzukiEngineDataC ¶
type SuzukiEngineDataC struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiEngineDataC) DecodePayload ¶
func (m *SuzukiEngineDataC) DecodePayload(payload []uint8) error
func (*SuzukiEngineDataC) EncodePayload ¶
func (m *SuzukiEngineDataC) EncodePayload() ([]uint8, error)
func (*SuzukiEngineDataC) MessageInfo ¶
func (m *SuzukiEngineDataC) MessageInfo() MessageInfo
func (*SuzukiEngineDataC) PGNNumber ¶
func (m *SuzukiEngineDataC) PGNNumber() uint32
func (*SuzukiEngineDataC) SetMessageInfo ¶
func (m *SuzukiEngineDataC) SetMessageInfo(info MessageInfo)
type SuzukiEngineDataD ¶
type SuzukiEngineDataD struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiEngineDataD) DecodePayload ¶
func (m *SuzukiEngineDataD) DecodePayload(payload []uint8) error
func (*SuzukiEngineDataD) EncodePayload ¶
func (m *SuzukiEngineDataD) EncodePayload() ([]uint8, error)
func (*SuzukiEngineDataD) MessageInfo ¶
func (m *SuzukiEngineDataD) MessageInfo() MessageInfo
func (*SuzukiEngineDataD) PGNNumber ¶
func (m *SuzukiEngineDataD) PGNNumber() uint32
func (*SuzukiEngineDataD) SetMessageInfo ¶
func (m *SuzukiEngineDataD) SetMessageInfo(info MessageInfo)
type SuzukiEngineDataE ¶
type SuzukiEngineDataE struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiEngineDataE) DecodePayload ¶
func (m *SuzukiEngineDataE) DecodePayload(payload []uint8) error
func (*SuzukiEngineDataE) EncodePayload ¶
func (m *SuzukiEngineDataE) EncodePayload() ([]uint8, error)
func (*SuzukiEngineDataE) MessageInfo ¶
func (m *SuzukiEngineDataE) MessageInfo() MessageInfo
func (*SuzukiEngineDataE) PGNNumber ¶
func (m *SuzukiEngineDataE) PGNNumber() uint32
func (*SuzukiEngineDataE) SetMessageInfo ¶
func (m *SuzukiEngineDataE) SetMessageInfo(info MessageInfo)
type SuzukiEngineSensorData ¶
type SuzukiEngineSensorData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SuzukiEngineSensorData) DecodePayload ¶
func (m *SuzukiEngineSensorData) DecodePayload(payload []uint8) error
func (*SuzukiEngineSensorData) EncodePayload ¶
func (m *SuzukiEngineSensorData) EncodePayload() ([]uint8, error)
func (*SuzukiEngineSensorData) MessageInfo ¶
func (m *SuzukiEngineSensorData) MessageInfo() MessageInfo
func (*SuzukiEngineSensorData) PGNNumber ¶
func (m *SuzukiEngineSensorData) PGNNumber() uint32
func (*SuzukiEngineSensorData) SetMessageInfo ¶
func (m *SuzukiEngineSensorData) SetMessageInfo(info MessageInfo)
type SuzukiFuelManagement ¶
type SuzukiFuelManagement struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*SuzukiFuelManagement) DecodePayload ¶
func (m *SuzukiFuelManagement) DecodePayload(payload []uint8) error
func (*SuzukiFuelManagement) EncodePayload ¶
func (m *SuzukiFuelManagement) EncodePayload() ([]uint8, error)
func (*SuzukiFuelManagement) MessageInfo ¶
func (m *SuzukiFuelManagement) MessageInfo() MessageInfo
func (*SuzukiFuelManagement) PGNNumber ¶
func (m *SuzukiFuelManagement) PGNNumber() uint32
func (*SuzukiFuelManagement) SetMessageInfo ¶
func (m *SuzukiFuelManagement) SetMessageInfo(info MessageInfo)
type SuzukiTrollModeControl ¶
type SuzukiTrollModeControl struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*SuzukiTrollModeControl) DecodePayload ¶
func (m *SuzukiTrollModeControl) DecodePayload(payload []uint8) error
func (*SuzukiTrollModeControl) EncodePayload ¶
func (m *SuzukiTrollModeControl) EncodePayload() ([]uint8, error)
func (*SuzukiTrollModeControl) MessageInfo ¶
func (m *SuzukiTrollModeControl) MessageInfo() MessageInfo
func (*SuzukiTrollModeControl) PGNNumber ¶
func (m *SuzukiTrollModeControl) PGNNumber() uint32
func (*SuzukiTrollModeControl) SetMessageInfo ¶
func (m *SuzukiTrollModeControl) SetMessageInfo(info MessageInfo)
type SwitchBankControl ¶
type SwitchBankControl struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
Switch1 *uint64 `json:"switch1,omitempty" n2k:"2"`
Switch2 *uint64 `json:"switch2,omitempty" n2k:"3"`
Switch3 *uint64 `json:"switch3,omitempty" n2k:"4"`
Switch4 *uint64 `json:"switch4,omitempty" n2k:"5"`
Switch5 *uint64 `json:"switch5,omitempty" n2k:"6"`
Switch6 *uint64 `json:"switch6,omitempty" n2k:"7"`
Switch7 *uint64 `json:"switch7,omitempty" n2k:"8"`
Switch8 *uint64 `json:"switch8,omitempty" n2k:"9"`
Switch9 *uint64 `json:"switch9,omitempty" n2k:"10"`
Switch10 *uint64 `json:"switch10,omitempty" n2k:"11"`
Switch11 *uint64 `json:"switch11,omitempty" n2k:"12"`
Switch12 *uint64 `json:"switch12,omitempty" n2k:"13"`
Switch13 *uint64 `json:"switch13,omitempty" n2k:"14"`
Switch14 *uint64 `json:"switch14,omitempty" n2k:"15"`
Switch15 *uint64 `json:"switch15,omitempty" n2k:"16"`
Switch16 *uint64 `json:"switch16,omitempty" n2k:"17"`
Switch17 *uint64 `json:"switch17,omitempty" n2k:"18"`
Switch18 *uint64 `json:"switch18,omitempty" n2k:"19"`
Switch19 *uint64 `json:"switch19,omitempty" n2k:"20"`
Switch20 *uint64 `json:"switch20,omitempty" n2k:"21"`
Switch21 *uint64 `json:"switch21,omitempty" n2k:"22"`
Switch22 *uint64 `json:"switch22,omitempty" n2k:"23"`
Switch23 *uint64 `json:"switch23,omitempty" n2k:"24"`
Switch24 *uint64 `json:"switch24,omitempty" n2k:"25"`
Switch25 *uint64 `json:"switch25,omitempty" n2k:"26"`
Switch26 *uint64 `json:"switch26,omitempty" n2k:"27"`
Switch27 *uint64 `json:"switch27,omitempty" n2k:"28"`
Switch28 *uint64 `json:"switch28,omitempty" n2k:"29"`
}
func (*SwitchBankControl) DecodePayload ¶
func (m *SwitchBankControl) DecodePayload(payload []uint8) error
func (*SwitchBankControl) EncodePayload ¶
func (m *SwitchBankControl) EncodePayload() ([]uint8, error)
func (*SwitchBankControl) MessageInfo ¶
func (m *SwitchBankControl) MessageInfo() MessageInfo
func (*SwitchBankControl) PGNNumber ¶
func (m *SwitchBankControl) PGNNumber() uint32
func (*SwitchBankControl) SetMessageInfo ¶
func (m *SwitchBankControl) SetMessageInfo(info MessageInfo)
type SystemConfiguration ¶
type SystemConfiguration struct {
Info MessageInfo `json:"info"`
Power *uint64 `json:"power,omitempty" n2k:"1"`
DefaultSettings *uint64 `json:"defaultSettings,omitempty" n2k:"2"`
TunerRegions *uint64 `json:"tunerRegions,omitempty" n2k:"3"`
MaxFavorites *uint64 `json:"maxFavorites,omitempty" n2k:"4"`
VideoProtocols *uint64 `json:"videoProtocols,omitempty" n2k:"5"`
}
func (*SystemConfiguration) DecodePayload ¶
func (m *SystemConfiguration) DecodePayload(payload []uint8) error
func (*SystemConfiguration) EncodePayload ¶
func (m *SystemConfiguration) EncodePayload() ([]uint8, error)
func (*SystemConfiguration) MessageInfo ¶
func (m *SystemConfiguration) MessageInfo() MessageInfo
func (*SystemConfiguration) PGNNumber ¶
func (m *SystemConfiguration) PGNNumber() uint32
func (*SystemConfiguration) SetMessageInfo ¶
func (m *SystemConfiguration) SetMessageInfo(info MessageInfo)
type SystemConfigurationDeprecated ¶
type SystemConfigurationDeprecated struct {
Info MessageInfo `json:"info"`
Power *uint64 `json:"power,omitempty" n2k:"1"`
DefaultSettings *uint64 `json:"defaultSettings,omitempty" n2k:"2"`
TunerRegions *uint64 `json:"tunerRegions,omitempty" n2k:"3"`
MaxFavorites *uint64 `json:"maxFavorites,omitempty" n2k:"4"`
}
func (*SystemConfigurationDeprecated) DecodePayload ¶
func (m *SystemConfigurationDeprecated) DecodePayload(payload []uint8) error
func (*SystemConfigurationDeprecated) EncodePayload ¶
func (m *SystemConfigurationDeprecated) EncodePayload() ([]uint8, error)
func (*SystemConfigurationDeprecated) MessageInfo ¶
func (m *SystemConfigurationDeprecated) MessageInfo() MessageInfo
func (*SystemConfigurationDeprecated) PGNNumber ¶
func (m *SystemConfigurationDeprecated) PGNNumber() uint32
func (*SystemConfigurationDeprecated) SetMessageInfo ¶
func (m *SystemConfigurationDeprecated) SetMessageInfo(info MessageInfo)
type SystemTime ¶
type SystemTime struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Source *uint64 `json:"source,omitempty" n2k:"2"`
Date *uint64 `json:"date,omitempty" n2k:"4"`
Time *uint64 `json:"time,omitempty" n2k:"5"`
}
func (*SystemTime) DateValue ¶
func (m *SystemTime) DateValue() (float64, bool)
DateValue returns Date as a physical value in d (value = raw). The bool is false when Date is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*SystemTime) DecodePayload ¶
func (m *SystemTime) DecodePayload(payload []uint8) error
func (*SystemTime) EncodePayload ¶
func (m *SystemTime) EncodePayload() ([]uint8, error)
func (*SystemTime) MessageInfo ¶
func (m *SystemTime) MessageInfo() MessageInfo
func (*SystemTime) PGNNumber ¶
func (m *SystemTime) PGNNumber() uint32
func (*SystemTime) SetDateValue ¶
func (m *SystemTime) SetDateValue(v float64)
SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.
func (*SystemTime) SetMessageInfo ¶
func (m *SystemTime) SetMessageInfo(info MessageInfo)
func (*SystemTime) SetTimeValue ¶
func (m *SystemTime) SetTimeValue(v float64)
SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*SystemTime) TimeValue ¶
func (m *SystemTime) TimeValue() (float64, bool)
TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false when Time is nil: the wire carried the field's null sentinel or the payload ended before the field.
type SystemTimeConst ¶
type SystemTimeConst uint8
const ( GPS_3 SystemTimeConst = 0 GLONASS_3 SystemTimeConst = 1 RadioStation SystemTimeConst = 2 LocalCesiumClock SystemTimeConst = 3 LocalRubidiumClock SystemTimeConst = 4 LocalCrystalClock SystemTimeConst = 5 )
func (SystemTimeConst) GoString ¶
func (e SystemTimeConst) GoString() string
func (SystemTimeConst) String ¶
func (e SystemTimeConst) String() string
type TankTypeConst ¶
type TankTypeConst uint8
const ( Fuel_2 TankTypeConst = 0 Water_2 TankTypeConst = 1 GrayWater TankTypeConst = 2 LiveWell TankTypeConst = 3 Oil_2 TankTypeConst = 4 BlackWater TankTypeConst = 5 )
func (TankTypeConst) GoString ¶
func (e TankTypeConst) GoString() string
func (TankTypeConst) String ¶
func (e TankTypeConst) String() string
type TargetAcquisitionConst ¶
type TargetAcquisitionConst uint8
const ( Manual_4 TargetAcquisitionConst = 0 Automatic TargetAcquisitionConst = 1 )
func (TargetAcquisitionConst) GoString ¶
func (e TargetAcquisitionConst) GoString() string
func (TargetAcquisitionConst) String ¶
func (e TargetAcquisitionConst) String() string
type Temperature ¶
type Temperature struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
Source *uint64 `json:"source,omitempty" n2k:"3"`
ActualTemperature *uint64 `json:"actualTemperature,omitempty" n2k:"4"`
SetTemperature *uint64 `json:"setTemperature,omitempty" n2k:"5"`
}
func (*Temperature) ActualTemperatureValue ¶
func (m *Temperature) ActualTemperatureValue() (float64, bool)
ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.01). The bool is false when ActualTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*Temperature) DecodePayload ¶
func (m *Temperature) DecodePayload(payload []uint8) error
func (*Temperature) EncodePayload ¶
func (m *Temperature) EncodePayload() ([]uint8, error)
func (*Temperature) MessageInfo ¶
func (m *Temperature) MessageInfo() MessageInfo
func (*Temperature) PGNNumber ¶
func (m *Temperature) PGNNumber() uint32
func (*Temperature) SetActualTemperatureValue ¶
func (m *Temperature) SetActualTemperatureValue(v float64)
SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*Temperature) SetMessageInfo ¶
func (m *Temperature) SetMessageInfo(info MessageInfo)
func (*Temperature) SetSetTemperatureValue ¶
func (m *Temperature) SetSetTemperatureValue(v float64)
SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*Temperature) SetTemperatureValue ¶
func (m *Temperature) SetTemperatureValue() (float64, bool)
SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.01). The bool is false when SetTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TemperatureExtendedRange ¶
type TemperatureExtendedRange struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Instance *uint64 `json:"instance,omitempty" n2k:"2"`
Source *uint64 `json:"source,omitempty" n2k:"3"`
Temperature *uint64 `json:"temperature,omitempty" n2k:"4"`
SetTemperature *uint64 `json:"setTemperature,omitempty" n2k:"5"`
}
func (*TemperatureExtendedRange) DecodePayload ¶
func (m *TemperatureExtendedRange) DecodePayload(payload []uint8) error
func (*TemperatureExtendedRange) EncodePayload ¶
func (m *TemperatureExtendedRange) EncodePayload() ([]uint8, error)
func (*TemperatureExtendedRange) MessageInfo ¶
func (m *TemperatureExtendedRange) MessageInfo() MessageInfo
func (*TemperatureExtendedRange) PGNNumber ¶
func (m *TemperatureExtendedRange) PGNNumber() uint32
func (*TemperatureExtendedRange) SetMessageInfo ¶
func (m *TemperatureExtendedRange) SetMessageInfo(info MessageInfo)
func (*TemperatureExtendedRange) SetTemperatureValue ¶
func (m *TemperatureExtendedRange) SetTemperatureValue(v float64)
SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.001.
func (*TemperatureExtendedRange) TemperatureValue ¶
func (m *TemperatureExtendedRange) TemperatureValue() (float64, bool)
TemperatureValue returns Temperature as a physical value in K (value = raw * 0.001). The bool is false when Temperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TemperatureSourceConst ¶
type TemperatureSourceConst uint8
const ( SeaTemperature TemperatureSourceConst = 0 OutsideTemperature TemperatureSourceConst = 1 InsideTemperature TemperatureSourceConst = 2 EngineRoomTemperature TemperatureSourceConst = 3 MainCabinTemperature TemperatureSourceConst = 4 LiveWellTemperature TemperatureSourceConst = 5 BaitWellTemperature TemperatureSourceConst = 6 RefrigerationTemperature TemperatureSourceConst = 7 HeatingSystemTemperature TemperatureSourceConst = 8 DewPointTemperature TemperatureSourceConst = 9 ApparentWindChillTemperature TemperatureSourceConst = 10 TheoreticalWindChillTemperature TemperatureSourceConst = 11 HeatIndexTemperature TemperatureSourceConst = 12 FreezerTemperature TemperatureSourceConst = 13 ExhaustGasTemperature TemperatureSourceConst = 14 ShaftSealTemperature TemperatureSourceConst = 15 )
func (TemperatureSourceConst) GoString ¶
func (e TemperatureSourceConst) GoString() string
func (TemperatureSourceConst) String ¶
func (e TemperatureSourceConst) String() string
type ThrusterControlEventsConst ¶
type ThrusterControlEventsConst uint16
const ( AnotherDeviceControllingThruster ThrusterControlEventsConst = 0 BoatSpeedTooFastToSafelyUseThruster ThrusterControlEventsConst = 1 )
func (ThrusterControlEventsConst) GoString ¶
func (e ThrusterControlEventsConst) GoString() string
func (ThrusterControlEventsConst) String ¶
func (e ThrusterControlEventsConst) String() string
type ThrusterControlStatus ¶
type ThrusterControlStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Identifier *uint64 `json:"identifier,omitempty" n2k:"2"`
DirectionControl *uint64 `json:"directionControl,omitempty" n2k:"3"`
PowerEnabled *uint64 `json:"powerEnabled,omitempty" n2k:"4"`
RetractControl *uint64 `json:"retractControl,omitempty" n2k:"5"`
SpeedControl *uint64 `json:"speedControl,omitempty" n2k:"6"`
ControlEvents *uint64 `json:"controlEvents,omitempty" n2k:"7"`
CommandTimeout *uint64 `json:"commandTimeout,omitempty" n2k:"8"`
AzimuthControl *uint64 `json:"azimuthControl,omitempty" n2k:"9"`
}
func (*ThrusterControlStatus) AzimuthControlValue ¶
func (m *ThrusterControlStatus) AzimuthControlValue() (float64, bool)
AzimuthControlValue returns AzimuthControl as a physical value in rad (value = raw * 0.0001). The bool is false when AzimuthControl is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterControlStatus) CommandTimeoutValue ¶
func (m *ThrusterControlStatus) CommandTimeoutValue() (float64, bool)
CommandTimeoutValue returns CommandTimeout as a physical value in s (value = raw * 0.005). The bool is false when CommandTimeout is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterControlStatus) DecodePayload ¶
func (m *ThrusterControlStatus) DecodePayload(payload []uint8) error
func (*ThrusterControlStatus) EncodePayload ¶
func (m *ThrusterControlStatus) EncodePayload() ([]uint8, error)
func (*ThrusterControlStatus) MessageInfo ¶
func (m *ThrusterControlStatus) MessageInfo() MessageInfo
func (*ThrusterControlStatus) PGNNumber ¶
func (m *ThrusterControlStatus) PGNNumber() uint32
func (*ThrusterControlStatus) SetAzimuthControlValue ¶
func (m *ThrusterControlStatus) SetAzimuthControlValue(v float64)
SetAzimuthControlValue sets AzimuthControl from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*ThrusterControlStatus) SetCommandTimeoutValue ¶
func (m *ThrusterControlStatus) SetCommandTimeoutValue(v float64)
SetCommandTimeoutValue sets CommandTimeout from a physical value in s, rounded to the nearest wire tick of 0.005.
func (*ThrusterControlStatus) SetMessageInfo ¶
func (m *ThrusterControlStatus) SetMessageInfo(info MessageInfo)
func (*ThrusterControlStatus) SetSpeedControlValue ¶
func (m *ThrusterControlStatus) SetSpeedControlValue(v float64)
SetSpeedControlValue sets SpeedControl from a physical value in %, rounded to the nearest wire tick of 1.
func (*ThrusterControlStatus) SpeedControlValue ¶
func (m *ThrusterControlStatus) SpeedControlValue() (float64, bool)
SpeedControlValue returns SpeedControl as a physical value in % (value = raw). The bool is false when SpeedControl is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ThrusterDirectionControlConst ¶
type ThrusterDirectionControlConst uint8
const ( Off_5 ThrusterDirectionControlConst = 0 Ready ThrusterDirectionControlConst = 1 ToPort ThrusterDirectionControlConst = 2 ToStarboard ThrusterDirectionControlConst = 3 )
func (ThrusterDirectionControlConst) GoString ¶
func (e ThrusterDirectionControlConst) GoString() string
func (ThrusterDirectionControlConst) String ¶
func (e ThrusterDirectionControlConst) String() string
type ThrusterInformation ¶
type ThrusterInformation struct {
Info MessageInfo `json:"info"`
Identifier *uint64 `json:"identifier,omitempty" n2k:"1"`
MotorType *uint64 `json:"motorType,omitempty" n2k:"2"`
PowerRating *uint64 `json:"powerRating,omitempty" n2k:"4"`
MaximumTemperatureRating *uint64 `json:"maximumTemperatureRating,omitempty" n2k:"5"`
MaximumRotationalSpeed *uint64 `json:"maximumRotationalSpeed,omitempty" n2k:"6"`
}
func (*ThrusterInformation) DecodePayload ¶
func (m *ThrusterInformation) DecodePayload(payload []uint8) error
func (*ThrusterInformation) EncodePayload ¶
func (m *ThrusterInformation) EncodePayload() ([]uint8, error)
func (*ThrusterInformation) MaximumRotationalSpeedValue ¶
func (m *ThrusterInformation) MaximumRotationalSpeedValue() (float64, bool)
MaximumRotationalSpeedValue returns MaximumRotationalSpeed as a physical value in rpm (value = raw * 0.25). The bool is false when MaximumRotationalSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterInformation) MaximumTemperatureRatingValue ¶
func (m *ThrusterInformation) MaximumTemperatureRatingValue() (float64, bool)
MaximumTemperatureRatingValue returns MaximumTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false when MaximumTemperatureRating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterInformation) MessageInfo ¶
func (m *ThrusterInformation) MessageInfo() MessageInfo
func (*ThrusterInformation) PGNNumber ¶
func (m *ThrusterInformation) PGNNumber() uint32
func (*ThrusterInformation) PowerRatingValue ¶
func (m *ThrusterInformation) PowerRatingValue() (float64, bool)
PowerRatingValue returns PowerRating as a physical value in W (value = raw). The bool is false when PowerRating is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterInformation) SetMaximumRotationalSpeedValue ¶
func (m *ThrusterInformation) SetMaximumRotationalSpeedValue(v float64)
SetMaximumRotationalSpeedValue sets MaximumRotationalSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.
func (*ThrusterInformation) SetMaximumTemperatureRatingValue ¶
func (m *ThrusterInformation) SetMaximumTemperatureRatingValue(v float64)
SetMaximumTemperatureRatingValue sets MaximumTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ThrusterInformation) SetMessageInfo ¶
func (m *ThrusterInformation) SetMessageInfo(info MessageInfo)
func (*ThrusterInformation) SetPowerRatingValue ¶
func (m *ThrusterInformation) SetPowerRatingValue(v float64)
SetPowerRatingValue sets PowerRating from a physical value in W, rounded to the nearest wire tick of 1.
type ThrusterMotorEventsConst ¶
type ThrusterMotorEventsConst uint16
const ( MotorOverTemperatureCutout ThrusterMotorEventsConst = 0 MotorOverCurrentCutout ThrusterMotorEventsConst = 1 LowOilLevelWarning ThrusterMotorEventsConst = 2 OilOverTemperatureWarning ThrusterMotorEventsConst = 3 ControllerUnderVoltageCutout ThrusterMotorEventsConst = 4 ManufacturerDefined ThrusterMotorEventsConst = 5 )
func (ThrusterMotorEventsConst) GoString ¶
func (e ThrusterMotorEventsConst) GoString() string
func (ThrusterMotorEventsConst) String ¶
func (e ThrusterMotorEventsConst) String() string
type ThrusterMotorStatus ¶
type ThrusterMotorStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Identifier *uint64 `json:"identifier,omitempty" n2k:"2"`
MotorEvents *uint64 `json:"motorEvents,omitempty" n2k:"3"`
Current *uint64 `json:"current,omitempty" n2k:"4"`
Temperature *uint64 `json:"temperature,omitempty" n2k:"5"`
OperatingTime *uint64 `json:"operatingTime,omitempty" n2k:"6"`
}
func (*ThrusterMotorStatus) CurrentValue ¶
func (m *ThrusterMotorStatus) CurrentValue() (float64, bool)
CurrentValue returns Current as a physical value in A (value = raw). The bool is false when Current is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterMotorStatus) DecodePayload ¶
func (m *ThrusterMotorStatus) DecodePayload(payload []uint8) error
func (*ThrusterMotorStatus) EncodePayload ¶
func (m *ThrusterMotorStatus) EncodePayload() ([]uint8, error)
func (*ThrusterMotorStatus) MessageInfo ¶
func (m *ThrusterMotorStatus) MessageInfo() MessageInfo
func (*ThrusterMotorStatus) OperatingTimeValue ¶
func (m *ThrusterMotorStatus) OperatingTimeValue() (float64, bool)
OperatingTimeValue returns OperatingTime as a physical value in s (value = raw * 60). The bool is false when OperatingTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ThrusterMotorStatus) PGNNumber ¶
func (m *ThrusterMotorStatus) PGNNumber() uint32
func (*ThrusterMotorStatus) SetCurrentValue ¶
func (m *ThrusterMotorStatus) SetCurrentValue(v float64)
SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 1.
func (*ThrusterMotorStatus) SetMessageInfo ¶
func (m *ThrusterMotorStatus) SetMessageInfo(info MessageInfo)
func (*ThrusterMotorStatus) SetOperatingTimeValue ¶
func (m *ThrusterMotorStatus) SetOperatingTimeValue(v float64)
SetOperatingTimeValue sets OperatingTime from a physical value in s, rounded to the nearest wire tick of 60.
func (*ThrusterMotorStatus) SetTemperatureValue ¶
func (m *ThrusterMotorStatus) SetTemperatureValue(v float64)
SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*ThrusterMotorStatus) TemperatureValue ¶
func (m *ThrusterMotorStatus) TemperatureValue() (float64, bool)
TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false when Temperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ThrusterMotorTypeConst ¶
type ThrusterMotorTypeConst uint8
const ( A12VDC ThrusterMotorTypeConst = 0 A24VDC ThrusterMotorTypeConst = 1 A48VDC ThrusterMotorTypeConst = 2 A24VAC ThrusterMotorTypeConst = 3 Hydraulic_2 ThrusterMotorTypeConst = 4 )
func (ThrusterMotorTypeConst) GoString ¶
func (e ThrusterMotorTypeConst) GoString() string
func (ThrusterMotorTypeConst) String ¶
func (e ThrusterMotorTypeConst) String() string
type ThrusterRetractControlConst ¶
type ThrusterRetractControlConst uint8
const ( Off_6 ThrusterRetractControlConst = 0 Extend ThrusterRetractControlConst = 1 Retract ThrusterRetractControlConst = 2 )
func (ThrusterRetractControlConst) GoString ¶
func (e ThrusterRetractControlConst) GoString() string
func (ThrusterRetractControlConst) String ¶
func (e ThrusterRetractControlConst) String() string
type TideStationData ¶
type TideStationData struct {
Info MessageInfo `json:"info"`
Mode *uint64 `json:"mode,omitempty" n2k:"1"`
TideTendency *uint64 `json:"tideTendency,omitempty" n2k:"2"`
MeasurementDate *uint64 `json:"measurementDate,omitempty" n2k:"4"`
MeasurementTime *uint64 `json:"measurementTime,omitempty" n2k:"5"`
StationLatitude *int64 `json:"stationLatitude,omitempty" n2k:"6"`
StationLongitude *int64 `json:"stationLongitude,omitempty" n2k:"7"`
TideLevel *int64 `json:"tideLevel,omitempty" n2k:"8"`
TideLevelStandardDeviation *uint64 `json:"tideLevelStandardDeviation,omitempty" n2k:"9"`
StationId string `json:"stationId,omitempty" n2k:"10"`
StationName string `json:"stationName,omitempty" n2k:"11"`
}
func (*TideStationData) DecodePayload ¶
func (m *TideStationData) DecodePayload(payload []uint8) error
func (*TideStationData) EncodePayload ¶
func (m *TideStationData) EncodePayload() ([]uint8, error)
func (*TideStationData) MeasurementDateValue ¶
func (m *TideStationData) MeasurementDateValue() (float64, bool)
MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false when MeasurementDate is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TideStationData) MeasurementTimeValue ¶
func (m *TideStationData) MeasurementTimeValue() (float64, bool)
MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false when MeasurementTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TideStationData) MessageInfo ¶
func (m *TideStationData) MessageInfo() MessageInfo
func (*TideStationData) PGNNumber ¶
func (m *TideStationData) PGNNumber() uint32
func (*TideStationData) SetMeasurementDateValue ¶
func (m *TideStationData) SetMeasurementDateValue(v float64)
SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.
func (*TideStationData) SetMeasurementTimeValue ¶
func (m *TideStationData) SetMeasurementTimeValue(v float64)
SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*TideStationData) SetMessageInfo ¶
func (m *TideStationData) SetMessageInfo(info MessageInfo)
func (*TideStationData) SetStationLatitudeValue ¶
func (m *TideStationData) SetStationLatitudeValue(v float64)
SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*TideStationData) SetStationLongitudeValue ¶
func (m *TideStationData) SetStationLongitudeValue(v float64)
SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.
func (*TideStationData) SetTideLevelStandardDeviationValue ¶
func (m *TideStationData) SetTideLevelStandardDeviationValue(v float64)
SetTideLevelStandardDeviationValue sets TideLevelStandardDeviation from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*TideStationData) SetTideLevelValue ¶
func (m *TideStationData) SetTideLevelValue(v float64)
SetTideLevelValue sets TideLevel from a physical value in m, rounded to the nearest wire tick of 0.001.
func (*TideStationData) StationLatitudeValue ¶
func (m *TideStationData) StationLatitudeValue() (float64, bool)
StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLatitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TideStationData) StationLongitudeValue ¶
func (m *TideStationData) StationLongitudeValue() (float64, bool)
StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false when StationLongitude is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TideStationData) TideLevelStandardDeviationValue ¶
func (m *TideStationData) TideLevelStandardDeviationValue() (float64, bool)
TideLevelStandardDeviationValue returns TideLevelStandardDeviation as a physical value in m (value = raw * 0.01). The bool is false when TideLevelStandardDeviation is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TideStationData) TideLevelValue ¶
func (m *TideStationData) TideLevelValue() (float64, bool)
TideLevelValue returns TideLevel as a physical value in m (value = raw * 0.001). The bool is false when TideLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TimeDate ¶
type TimeDate struct {
Info MessageInfo `json:"info"`
Date *uint64 `json:"date,omitempty" n2k:"1"`
Time *uint64 `json:"time,omitempty" n2k:"2"`
LocalOffset *int64 `json:"localOffset,omitempty" n2k:"3"`
}
func (*TimeDate) DateValue ¶
DateValue returns Date as a physical value in d (value = raw). The bool is false when Date is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TimeDate) DecodePayload ¶
func (*TimeDate) EncodePayload ¶
func (*TimeDate) LocalOffsetValue ¶
LocalOffsetValue returns LocalOffset as a physical value in s (value = raw * 60). The bool is false when LocalOffset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TimeDate) MessageInfo ¶
func (m *TimeDate) MessageInfo() MessageInfo
func (*TimeDate) SetDateValue ¶
SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.
func (*TimeDate) SetLocalOffsetValue ¶
SetLocalOffsetValue sets LocalOffset from a physical value in s, rounded to the nearest wire tick of 60.
func (*TimeDate) SetMessageInfo ¶
func (m *TimeDate) SetMessageInfo(info MessageInfo)
func (*TimeDate) SetTimeValue ¶
SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.
type TimeStampConst ¶
type TimeStampConst uint8
const ( NotAvailable_2 TimeStampConst = 60 ManualInputMode TimeStampConst = 61 DeadReckoningMode TimeStampConst = 62 PositioningSystemIsInoperative TimeStampConst = 63 )
func (TimeStampConst) GoString ¶
func (e TimeStampConst) GoString() string
func (TimeStampConst) String ¶
func (e TimeStampConst) String() string
type TrackedTargetData ¶
type TrackedTargetData struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
TargetId *uint64 `json:"targetId,omitempty" n2k:"2"`
TrackStatus *uint64 `json:"trackStatus,omitempty" n2k:"3"`
ReportedTarget *uint64 `json:"reportedTarget,omitempty" n2k:"4"`
TargetAcquisition *uint64 `json:"targetAcquisition,omitempty" n2k:"5"`
BearingReference *uint64 `json:"bearingReference,omitempty" n2k:"6"`
Bearing *uint64 `json:"bearing,omitempty" n2k:"8"`
Distance *int64 `json:"distance,omitempty" n2k:"9"`
Course *uint64 `json:"course,omitempty" n2k:"10"`
Speed *uint64 `json:"speed,omitempty" n2k:"11"`
Cpa *int64 `json:"cpa,omitempty" n2k:"12"`
Tcpa *int64 `json:"tcpa,omitempty" n2k:"13"`
UtcOfFix *uint64 `json:"utcOfFix,omitempty" n2k:"14"`
Name string `json:"name,omitempty" n2k:"15"`
ReferenceTarget *uint64 `json:"referenceTarget,omitempty" n2k:"16"`
}
func (*TrackedTargetData) BearingValue ¶
func (m *TrackedTargetData) BearingValue() (float64, bool)
BearingValue returns Bearing as a physical value in rad (value = raw * 0.0001). The bool is false when Bearing is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) CourseValue ¶
func (m *TrackedTargetData) CourseValue() (float64, bool)
CourseValue returns Course as a physical value in rad (value = raw * 0.0001). The bool is false when Course is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) CpaValue ¶
func (m *TrackedTargetData) CpaValue() (float64, bool)
CpaValue returns Cpa as a physical value in m (value = raw * 0.01). The bool is false when Cpa is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) DecodePayload ¶
func (m *TrackedTargetData) DecodePayload(payload []uint8) error
func (*TrackedTargetData) DistanceValue ¶
func (m *TrackedTargetData) DistanceValue() (float64, bool)
DistanceValue returns Distance as a physical value in m (value = raw * 0.01). The bool is false when Distance is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) EncodePayload ¶
func (m *TrackedTargetData) EncodePayload() ([]uint8, error)
func (*TrackedTargetData) MessageInfo ¶
func (m *TrackedTargetData) MessageInfo() MessageInfo
func (*TrackedTargetData) PGNNumber ¶
func (m *TrackedTargetData) PGNNumber() uint32
func (*TrackedTargetData) SetBearingValue ¶
func (m *TrackedTargetData) SetBearingValue(v float64)
SetBearingValue sets Bearing from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*TrackedTargetData) SetCourseValue ¶
func (m *TrackedTargetData) SetCourseValue(v float64)
SetCourseValue sets Course from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*TrackedTargetData) SetCpaValue ¶
func (m *TrackedTargetData) SetCpaValue(v float64)
SetCpaValue sets Cpa from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*TrackedTargetData) SetDistanceValue ¶
func (m *TrackedTargetData) SetDistanceValue(v float64)
SetDistanceValue sets Distance from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*TrackedTargetData) SetMessageInfo ¶
func (m *TrackedTargetData) SetMessageInfo(info MessageInfo)
func (*TrackedTargetData) SetSpeedValue ¶
func (m *TrackedTargetData) SetSpeedValue(v float64)
SetSpeedValue sets Speed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*TrackedTargetData) SetTcpaValue ¶
func (m *TrackedTargetData) SetTcpaValue(v float64)
SetTcpaValue sets Tcpa from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*TrackedTargetData) SetUtcOfFixValue ¶
func (m *TrackedTargetData) SetUtcOfFixValue(v float64)
SetUtcOfFixValue sets UtcOfFix from a physical value in s, rounded to the nearest wire tick of 0.0001.
func (*TrackedTargetData) SpeedValue ¶
func (m *TrackedTargetData) SpeedValue() (float64, bool)
SpeedValue returns Speed as a physical value in m/s (value = raw * 0.01). The bool is false when Speed is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) TcpaValue ¶
func (m *TrackedTargetData) TcpaValue() (float64, bool)
TcpaValue returns Tcpa as a physical value in s (value = raw * 0.001). The bool is false when Tcpa is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TrackedTargetData) UtcOfFixValue ¶
func (m *TrackedTargetData) UtcOfFixValue() (float64, bool)
UtcOfFixValue returns UtcOfFix as a physical value in s (value = raw * 0.0001). The bool is false when UtcOfFix is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TrackingConst ¶
type TrackingConst uint8
const ( Cancelled TrackingConst = 0 Acquiring TrackingConst = 1 Tracking TrackingConst = 2 Lost TrackingConst = 3 )
func (TrackingConst) GoString ¶
func (e TrackingConst) GoString() string
func (TrackingConst) String ¶
func (e TrackingConst) String() string
type TransmissionIntervalConst ¶
type TransmissionIntervalConst uint8
const ( Acknowledge_2 TransmissionIntervalConst = 0 TransmitIntervalPriorityNotSupported TransmissionIntervalConst = 1 TransmitIntervalTooLow TransmissionIntervalConst = 2 AccessDenied TransmissionIntervalConst = 3 NotSupported TransmissionIntervalConst = 4 )
func (TransmissionIntervalConst) GoString ¶
func (e TransmissionIntervalConst) GoString() string
func (TransmissionIntervalConst) String ¶
func (e TransmissionIntervalConst) String() string
type TransmissionParametersDynamic ¶
type TransmissionParametersDynamic struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
TransmissionGear *uint64 `json:"transmissionGear,omitempty" n2k:"2"`
OilPressure *uint64 `json:"oilPressure,omitempty" n2k:"4"`
OilTemperature *uint64 `json:"oilTemperature,omitempty" n2k:"5"`
DiscreteStatus1 *uint64 `json:"discreteStatus1,omitempty" n2k:"6"`
}
func (*TransmissionParametersDynamic) DecodePayload ¶
func (m *TransmissionParametersDynamic) DecodePayload(payload []uint8) error
func (*TransmissionParametersDynamic) EncodePayload ¶
func (m *TransmissionParametersDynamic) EncodePayload() ([]uint8, error)
func (*TransmissionParametersDynamic) MessageInfo ¶
func (m *TransmissionParametersDynamic) MessageInfo() MessageInfo
func (*TransmissionParametersDynamic) OilPressureValue ¶
func (m *TransmissionParametersDynamic) OilPressureValue() (float64, bool)
OilPressureValue returns OilPressure as a physical value in Pa (value = raw * 100). The bool is false when OilPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TransmissionParametersDynamic) OilTemperatureValue ¶
func (m *TransmissionParametersDynamic) OilTemperatureValue() (float64, bool)
OilTemperatureValue returns OilTemperature as a physical value in K (value = raw * 0.1). The bool is false when OilTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TransmissionParametersDynamic) PGNNumber ¶
func (m *TransmissionParametersDynamic) PGNNumber() uint32
func (*TransmissionParametersDynamic) SetMessageInfo ¶
func (m *TransmissionParametersDynamic) SetMessageInfo(info MessageInfo)
func (*TransmissionParametersDynamic) SetOilPressureValue ¶
func (m *TransmissionParametersDynamic) SetOilPressureValue(v float64)
SetOilPressureValue sets OilPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*TransmissionParametersDynamic) SetOilTemperatureValue ¶
func (m *TransmissionParametersDynamic) SetOilTemperatureValue(v float64)
SetOilTemperatureValue sets OilTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.
type TripParametersEngine ¶
type TripParametersEngine struct {
Info MessageInfo `json:"info"`
Instance *uint64 `json:"instance,omitempty" n2k:"1"`
TripFuelUsed *uint64 `json:"tripFuelUsed,omitempty" n2k:"2"`
FuelRateAverage *int64 `json:"fuelRateAverage,omitempty" n2k:"3"`
FuelRateEconomy *int64 `json:"fuelRateEconomy,omitempty" n2k:"4"`
InstantaneousFuelEconomy *int64 `json:"instantaneousFuelEconomy,omitempty" n2k:"5"`
}
func (*TripParametersEngine) DecodePayload ¶
func (m *TripParametersEngine) DecodePayload(payload []uint8) error
func (*TripParametersEngine) EncodePayload ¶
func (m *TripParametersEngine) EncodePayload() ([]uint8, error)
func (*TripParametersEngine) FuelRateAverageValue ¶
func (m *TripParametersEngine) FuelRateAverageValue() (float64, bool)
FuelRateAverageValue returns FuelRateAverage as a physical value in L/h (value = raw * 0.1). The bool is false when FuelRateAverage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersEngine) FuelRateEconomyValue ¶
func (m *TripParametersEngine) FuelRateEconomyValue() (float64, bool)
FuelRateEconomyValue returns FuelRateEconomy as a physical value in L/h (value = raw * 0.1). The bool is false when FuelRateEconomy is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersEngine) InstantaneousFuelEconomyValue ¶
func (m *TripParametersEngine) InstantaneousFuelEconomyValue() (float64, bool)
InstantaneousFuelEconomyValue returns InstantaneousFuelEconomy as a physical value in L/h (value = raw * 0.1). The bool is false when InstantaneousFuelEconomy is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersEngine) MessageInfo ¶
func (m *TripParametersEngine) MessageInfo() MessageInfo
func (*TripParametersEngine) PGNNumber ¶
func (m *TripParametersEngine) PGNNumber() uint32
func (*TripParametersEngine) SetFuelRateAverageValue ¶
func (m *TripParametersEngine) SetFuelRateAverageValue(v float64)
SetFuelRateAverageValue sets FuelRateAverage from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*TripParametersEngine) SetFuelRateEconomyValue ¶
func (m *TripParametersEngine) SetFuelRateEconomyValue(v float64)
SetFuelRateEconomyValue sets FuelRateEconomy from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*TripParametersEngine) SetInstantaneousFuelEconomyValue ¶
func (m *TripParametersEngine) SetInstantaneousFuelEconomyValue(v float64)
SetInstantaneousFuelEconomyValue sets InstantaneousFuelEconomy from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*TripParametersEngine) SetMessageInfo ¶
func (m *TripParametersEngine) SetMessageInfo(info MessageInfo)
func (*TripParametersEngine) SetTripFuelUsedValue ¶
func (m *TripParametersEngine) SetTripFuelUsedValue(v float64)
SetTripFuelUsedValue sets TripFuelUsed from a physical value in L, rounded to the nearest wire tick of 1.
func (*TripParametersEngine) TripFuelUsedValue ¶
func (m *TripParametersEngine) TripFuelUsedValue() (float64, bool)
TripFuelUsedValue returns TripFuelUsed as a physical value in L (value = raw). The bool is false when TripFuelUsed is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TripParametersVessel ¶
type TripParametersVessel struct {
Info MessageInfo `json:"info"`
TimeToEmpty *uint64 `json:"timeToEmpty,omitempty" n2k:"1"`
DistanceToEmpty *uint64 `json:"distanceToEmpty,omitempty" n2k:"2"`
EstimatedFuelRemaining *uint64 `json:"estimatedFuelRemaining,omitempty" n2k:"3"`
TripRunTime *uint64 `json:"tripRunTime,omitempty" n2k:"4"`
}
func (*TripParametersVessel) DecodePayload ¶
func (m *TripParametersVessel) DecodePayload(payload []uint8) error
func (*TripParametersVessel) DistanceToEmptyValue ¶
func (m *TripParametersVessel) DistanceToEmptyValue() (float64, bool)
DistanceToEmptyValue returns DistanceToEmpty as a physical value in m (value = raw * 0.01). The bool is false when DistanceToEmpty is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersVessel) EncodePayload ¶
func (m *TripParametersVessel) EncodePayload() ([]uint8, error)
func (*TripParametersVessel) EstimatedFuelRemainingValue ¶
func (m *TripParametersVessel) EstimatedFuelRemainingValue() (float64, bool)
EstimatedFuelRemainingValue returns EstimatedFuelRemaining as a physical value in L (value = raw). The bool is false when EstimatedFuelRemaining is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersVessel) MessageInfo ¶
func (m *TripParametersVessel) MessageInfo() MessageInfo
func (*TripParametersVessel) PGNNumber ¶
func (m *TripParametersVessel) PGNNumber() uint32
func (*TripParametersVessel) SetDistanceToEmptyValue ¶
func (m *TripParametersVessel) SetDistanceToEmptyValue(v float64)
SetDistanceToEmptyValue sets DistanceToEmpty from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*TripParametersVessel) SetEstimatedFuelRemainingValue ¶
func (m *TripParametersVessel) SetEstimatedFuelRemainingValue(v float64)
SetEstimatedFuelRemainingValue sets EstimatedFuelRemaining from a physical value in L, rounded to the nearest wire tick of 1.
func (*TripParametersVessel) SetMessageInfo ¶
func (m *TripParametersVessel) SetMessageInfo(info MessageInfo)
func (*TripParametersVessel) SetTimeToEmptyValue ¶
func (m *TripParametersVessel) SetTimeToEmptyValue(v float64)
SetTimeToEmptyValue sets TimeToEmpty from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*TripParametersVessel) SetTripRunTimeValue ¶
func (m *TripParametersVessel) SetTripRunTimeValue(v float64)
SetTripRunTimeValue sets TripRunTime from a physical value in s, rounded to the nearest wire tick of 0.001.
func (*TripParametersVessel) TimeToEmptyValue ¶
func (m *TripParametersVessel) TimeToEmptyValue() (float64, bool)
TimeToEmptyValue returns TimeToEmpty as a physical value in s (value = raw * 0.001). The bool is false when TimeToEmpty is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*TripParametersVessel) TripRunTimeValue ¶
func (m *TripParametersVessel) TripRunTimeValue() (float64, bool)
TripRunTimeValue returns TripRunTime as a physical value in s (value = raw * 0.001). The bool is false when TripRunTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
type TurnModeConst ¶
type TurnModeConst uint8
const ( RudderLimitControlled TurnModeConst = 0 TurnRateControlled TurnModeConst = 1 RadiusControlled TurnModeConst = 2 )
func (TurnModeConst) GoString ¶
func (e TurnModeConst) GoString() string
func (TurnModeConst) String ¶
func (e TurnModeConst) String() string
type TxRxModeConst ¶
type TxRxModeConst uint8
const ( TxATxBRxARxB TxRxModeConst = 0 TxARxARxB TxRxModeConst = 1 TxBRxARxB TxRxModeConst = 2 )
func (TxRxModeConst) GoString ¶
func (e TxRxModeConst) GoString() string
func (TxRxModeConst) String ¶
func (e TxRxModeConst) String() string
type UnknownPGN ¶
type UnknownPGN struct {
Info MessageInfo `json:"info"`
Data []uint8 `json:"data"`
ManufacturerCode ManufacturerCodeConst `json:"manufacturerCode"`
IndustryCode IndustryCodeConst `json:"industryCode"`
Reason error `json:"reason"`
WasUnseen bool `json:"wasUnseen"`
}
func (*UnknownPGN) MessageInfo ¶
func (u *UnknownPGN) MessageInfo() MessageInfo
func (*UnknownPGN) PGNNumber ¶
func (u *UnknownPGN) PGNNumber() uint32
func (*UnknownPGN) SetMessageInfo ¶
func (u *UnknownPGN) SetMessageInfo(info MessageInfo)
type UserDatum ¶
type UserDatum struct {
Info MessageInfo `json:"info"`
DeltaX *int64 `json:"deltaX,omitempty" n2k:"1"`
DeltaY *int64 `json:"deltaY,omitempty" n2k:"2"`
DeltaZ *int64 `json:"deltaZ,omitempty" n2k:"3"`
RotationInX *float32 `json:"rotationInX,omitempty" n2k:"4"`
RotationInY *float32 `json:"rotationInY,omitempty" n2k:"5"`
RotationInZ *float32 `json:"rotationInZ,omitempty" n2k:"6"`
Scale *float32 `json:"scale,omitempty" n2k:"7"`
EllipsoidSemiMajorAxis *int64 `json:"ellipsoidSemiMajorAxis,omitempty" n2k:"8"`
EllipsoidFlatteningInverse *float32 `json:"ellipsoidFlatteningInverse,omitempty" n2k:"9"`
DatumName string `json:"datumName,omitempty" n2k:"10"`
}
func (*UserDatum) DecodePayload ¶
func (*UserDatum) DeltaXValue ¶
DeltaXValue returns DeltaX as a physical value in m (value = raw * 0.01). The bool is false when DeltaX is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UserDatum) DeltaYValue ¶
DeltaYValue returns DeltaY as a physical value in m (value = raw * 0.01). The bool is false when DeltaY is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UserDatum) DeltaZValue ¶
DeltaZValue returns DeltaZ as a physical value in m (value = raw * 0.01). The bool is false when DeltaZ is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UserDatum) EllipsoidSemiMajorAxisValue ¶
EllipsoidSemiMajorAxisValue returns EllipsoidSemiMajorAxis as a physical value in m (value = raw * 0.01). The bool is false when EllipsoidSemiMajorAxis is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UserDatum) EncodePayload ¶
func (*UserDatum) MessageInfo ¶
func (m *UserDatum) MessageInfo() MessageInfo
func (*UserDatum) SetDeltaXValue ¶
SetDeltaXValue sets DeltaX from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*UserDatum) SetDeltaYValue ¶
SetDeltaYValue sets DeltaY from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*UserDatum) SetDeltaZValue ¶
SetDeltaZValue sets DeltaZ from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*UserDatum) SetEllipsoidSemiMajorAxisValue ¶
SetEllipsoidSemiMajorAxisValue sets EllipsoidSemiMajorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*UserDatum) SetMessageInfo ¶
func (m *UserDatum) SetMessageInfo(info MessageInfo)
type UtilityAverageBasicAcQuantities ¶
type UtilityAverageBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*UtilityAverageBasicAcQuantities) AcFrequencyValue ¶
func (m *UtilityAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityAverageBasicAcQuantities) AcRmsCurrentValue ¶
func (m *UtilityAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityAverageBasicAcQuantities) DecodePayload ¶
func (m *UtilityAverageBasicAcQuantities) DecodePayload(payload []uint8) error
func (*UtilityAverageBasicAcQuantities) EncodePayload ¶
func (m *UtilityAverageBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*UtilityAverageBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *UtilityAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *UtilityAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityAverageBasicAcQuantities) MessageInfo ¶
func (m *UtilityAverageBasicAcQuantities) MessageInfo() MessageInfo
func (*UtilityAverageBasicAcQuantities) PGNNumber ¶
func (m *UtilityAverageBasicAcQuantities) PGNNumber() uint32
func (*UtilityAverageBasicAcQuantities) SetAcFrequencyValue ¶
func (m *UtilityAverageBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*UtilityAverageBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *UtilityAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*UtilityAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *UtilityAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *UtilityAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityAverageBasicAcQuantities) SetMessageInfo ¶
func (m *UtilityAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)
type UtilityPhaseAAcPower ¶
type UtilityPhaseAAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*UtilityPhaseAAcPower) ApparentPowerValue ¶
func (m *UtilityPhaseAAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseAAcPower) DecodePayload ¶
func (m *UtilityPhaseAAcPower) DecodePayload(payload []uint8) error
func (*UtilityPhaseAAcPower) EncodePayload ¶
func (m *UtilityPhaseAAcPower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseAAcPower) MessageInfo ¶
func (m *UtilityPhaseAAcPower) MessageInfo() MessageInfo
func (*UtilityPhaseAAcPower) PGNNumber ¶
func (m *UtilityPhaseAAcPower) PGNNumber() uint32
func (*UtilityPhaseAAcPower) RealPowerValue ¶
func (m *UtilityPhaseAAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseAAcPower) SetApparentPowerValue ¶
func (m *UtilityPhaseAAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*UtilityPhaseAAcPower) SetMessageInfo ¶
func (m *UtilityPhaseAAcPower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseAAcPower) SetRealPowerValue ¶
func (m *UtilityPhaseAAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type UtilityPhaseAAcReactivePower ¶
type UtilityPhaseAAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*UtilityPhaseAAcReactivePower) DecodePayload ¶
func (m *UtilityPhaseAAcReactivePower) DecodePayload(payload []uint8) error
func (*UtilityPhaseAAcReactivePower) EncodePayload ¶
func (m *UtilityPhaseAAcReactivePower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseAAcReactivePower) MessageInfo ¶
func (m *UtilityPhaseAAcReactivePower) MessageInfo() MessageInfo
func (*UtilityPhaseAAcReactivePower) PGNNumber ¶
func (m *UtilityPhaseAAcReactivePower) PGNNumber() uint32
func (*UtilityPhaseAAcReactivePower) PowerFactorValue ¶
func (m *UtilityPhaseAAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseAAcReactivePower) ReactivePowerValue ¶
func (m *UtilityPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseAAcReactivePower) SetMessageInfo ¶
func (m *UtilityPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseAAcReactivePower) SetPowerFactorValue ¶
func (m *UtilityPhaseAAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*UtilityPhaseAAcReactivePower) SetReactivePowerValue ¶
func (m *UtilityPhaseAAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type UtilityPhaseABasicAcQuantities ¶
type UtilityPhaseABasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*UtilityPhaseABasicAcQuantities) AcFrequencyValue ¶
func (m *UtilityPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseABasicAcQuantities) AcRmsCurrentValue ¶
func (m *UtilityPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseABasicAcQuantities) DecodePayload ¶
func (m *UtilityPhaseABasicAcQuantities) DecodePayload(payload []uint8) error
func (*UtilityPhaseABasicAcQuantities) EncodePayload ¶
func (m *UtilityPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)
func (*UtilityPhaseABasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseABasicAcQuantities) MessageInfo ¶
func (m *UtilityPhaseABasicAcQuantities) MessageInfo() MessageInfo
func (*UtilityPhaseABasicAcQuantities) PGNNumber ¶
func (m *UtilityPhaseABasicAcQuantities) PGNNumber() uint32
func (*UtilityPhaseABasicAcQuantities) SetAcFrequencyValue ¶
func (m *UtilityPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*UtilityPhaseABasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *UtilityPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*UtilityPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseABasicAcQuantities) SetMessageInfo ¶
func (m *UtilityPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)
type UtilityPhaseBAcPower ¶
type UtilityPhaseBAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*UtilityPhaseBAcPower) ApparentPowerValue ¶
func (m *UtilityPhaseBAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBAcPower) DecodePayload ¶
func (m *UtilityPhaseBAcPower) DecodePayload(payload []uint8) error
func (*UtilityPhaseBAcPower) EncodePayload ¶
func (m *UtilityPhaseBAcPower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseBAcPower) MessageInfo ¶
func (m *UtilityPhaseBAcPower) MessageInfo() MessageInfo
func (*UtilityPhaseBAcPower) PGNNumber ¶
func (m *UtilityPhaseBAcPower) PGNNumber() uint32
func (*UtilityPhaseBAcPower) RealPowerValue ¶
func (m *UtilityPhaseBAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBAcPower) SetApparentPowerValue ¶
func (m *UtilityPhaseBAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*UtilityPhaseBAcPower) SetMessageInfo ¶
func (m *UtilityPhaseBAcPower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseBAcPower) SetRealPowerValue ¶
func (m *UtilityPhaseBAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type UtilityPhaseBAcReactivePower ¶
type UtilityPhaseBAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*UtilityPhaseBAcReactivePower) DecodePayload ¶
func (m *UtilityPhaseBAcReactivePower) DecodePayload(payload []uint8) error
func (*UtilityPhaseBAcReactivePower) EncodePayload ¶
func (m *UtilityPhaseBAcReactivePower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseBAcReactivePower) MessageInfo ¶
func (m *UtilityPhaseBAcReactivePower) MessageInfo() MessageInfo
func (*UtilityPhaseBAcReactivePower) PGNNumber ¶
func (m *UtilityPhaseBAcReactivePower) PGNNumber() uint32
func (*UtilityPhaseBAcReactivePower) PowerFactorValue ¶
func (m *UtilityPhaseBAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBAcReactivePower) ReactivePowerValue ¶
func (m *UtilityPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBAcReactivePower) SetMessageInfo ¶
func (m *UtilityPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseBAcReactivePower) SetPowerFactorValue ¶
func (m *UtilityPhaseBAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*UtilityPhaseBAcReactivePower) SetReactivePowerValue ¶
func (m *UtilityPhaseBAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type UtilityPhaseBBasicAcQuantities ¶
type UtilityPhaseBBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*UtilityPhaseBBasicAcQuantities) AcFrequencyValue ¶
func (m *UtilityPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBBasicAcQuantities) AcRmsCurrentValue ¶
func (m *UtilityPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBBasicAcQuantities) DecodePayload ¶
func (m *UtilityPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error
func (*UtilityPhaseBBasicAcQuantities) EncodePayload ¶
func (m *UtilityPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*UtilityPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseBBasicAcQuantities) MessageInfo ¶
func (m *UtilityPhaseBBasicAcQuantities) MessageInfo() MessageInfo
func (*UtilityPhaseBBasicAcQuantities) PGNNumber ¶
func (m *UtilityPhaseBBasicAcQuantities) PGNNumber() uint32
func (*UtilityPhaseBBasicAcQuantities) SetAcFrequencyValue ¶
func (m *UtilityPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*UtilityPhaseBBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *UtilityPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*UtilityPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseBBasicAcQuantities) SetMessageInfo ¶
func (m *UtilityPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)
type UtilityPhaseCAcPower ¶
type UtilityPhaseCAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*UtilityPhaseCAcPower) ApparentPowerValue ¶
func (m *UtilityPhaseCAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCAcPower) DecodePayload ¶
func (m *UtilityPhaseCAcPower) DecodePayload(payload []uint8) error
func (*UtilityPhaseCAcPower) EncodePayload ¶
func (m *UtilityPhaseCAcPower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseCAcPower) MessageInfo ¶
func (m *UtilityPhaseCAcPower) MessageInfo() MessageInfo
func (*UtilityPhaseCAcPower) PGNNumber ¶
func (m *UtilityPhaseCAcPower) PGNNumber() uint32
func (*UtilityPhaseCAcPower) RealPowerValue ¶
func (m *UtilityPhaseCAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCAcPower) SetApparentPowerValue ¶
func (m *UtilityPhaseCAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*UtilityPhaseCAcPower) SetMessageInfo ¶
func (m *UtilityPhaseCAcPower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseCAcPower) SetRealPowerValue ¶
func (m *UtilityPhaseCAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type UtilityPhaseCAcReactivePower ¶
type UtilityPhaseCAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*UtilityPhaseCAcReactivePower) DecodePayload ¶
func (m *UtilityPhaseCAcReactivePower) DecodePayload(payload []uint8) error
func (*UtilityPhaseCAcReactivePower) EncodePayload ¶
func (m *UtilityPhaseCAcReactivePower) EncodePayload() ([]uint8, error)
func (*UtilityPhaseCAcReactivePower) MessageInfo ¶
func (m *UtilityPhaseCAcReactivePower) MessageInfo() MessageInfo
func (*UtilityPhaseCAcReactivePower) PGNNumber ¶
func (m *UtilityPhaseCAcReactivePower) PGNNumber() uint32
func (*UtilityPhaseCAcReactivePower) PowerFactorValue ¶
func (m *UtilityPhaseCAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCAcReactivePower) ReactivePowerValue ¶
func (m *UtilityPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCAcReactivePower) SetMessageInfo ¶
func (m *UtilityPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)
func (*UtilityPhaseCAcReactivePower) SetPowerFactorValue ¶
func (m *UtilityPhaseCAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*UtilityPhaseCAcReactivePower) SetReactivePowerValue ¶
func (m *UtilityPhaseCAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type UtilityPhaseCBasicAcQuantities ¶
type UtilityPhaseCBasicAcQuantities struct {
Info MessageInfo `json:"info"`
LineLineAcRmsVoltage *uint64 `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
LineNeutralAcRmsVoltage *uint64 `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
AcFrequency *uint64 `json:"acFrequency,omitempty" n2k:"3"`
AcRmsCurrent *uint64 `json:"acRmsCurrent,omitempty" n2k:"4"`
}
func (*UtilityPhaseCBasicAcQuantities) AcFrequencyValue ¶
func (m *UtilityPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)
AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false when AcFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCBasicAcQuantities) AcRmsCurrentValue ¶
func (m *UtilityPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)
AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false when AcRmsCurrent is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCBasicAcQuantities) DecodePayload ¶
func (m *UtilityPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error
func (*UtilityPhaseCBasicAcQuantities) EncodePayload ¶
func (m *UtilityPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)
func (*UtilityPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)
LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineLineAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)
LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false when LineNeutralAcRmsVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityPhaseCBasicAcQuantities) MessageInfo ¶
func (m *UtilityPhaseCBasicAcQuantities) MessageInfo() MessageInfo
func (*UtilityPhaseCBasicAcQuantities) PGNNumber ¶
func (m *UtilityPhaseCBasicAcQuantities) PGNNumber() uint32
func (*UtilityPhaseCBasicAcQuantities) SetAcFrequencyValue ¶
func (m *UtilityPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)
SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.
func (*UtilityPhaseCBasicAcQuantities) SetAcRmsCurrentValue ¶
func (m *UtilityPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)
SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.
func (*UtilityPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue ¶
func (m *UtilityPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)
SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue ¶
func (m *UtilityPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)
SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.
func (*UtilityPhaseCBasicAcQuantities) SetMessageInfo ¶
func (m *UtilityPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)
type UtilityTotalAcEnergy ¶
type UtilityTotalAcEnergy struct {
Info MessageInfo `json:"info"`
TotalEnergyExport *uint64 `json:"totalEnergyExport,omitempty" n2k:"1"`
TotalEnergyImport *uint64 `json:"totalEnergyImport,omitempty" n2k:"2"`
}
func (*UtilityTotalAcEnergy) DecodePayload ¶
func (m *UtilityTotalAcEnergy) DecodePayload(payload []uint8) error
func (*UtilityTotalAcEnergy) EncodePayload ¶
func (m *UtilityTotalAcEnergy) EncodePayload() ([]uint8, error)
func (*UtilityTotalAcEnergy) MessageInfo ¶
func (m *UtilityTotalAcEnergy) MessageInfo() MessageInfo
func (*UtilityTotalAcEnergy) PGNNumber ¶
func (m *UtilityTotalAcEnergy) PGNNumber() uint32
func (*UtilityTotalAcEnergy) SetMessageInfo ¶
func (m *UtilityTotalAcEnergy) SetMessageInfo(info MessageInfo)
func (*UtilityTotalAcEnergy) SetTotalEnergyExportValue ¶
func (m *UtilityTotalAcEnergy) SetTotalEnergyExportValue(v float64)
SetTotalEnergyExportValue sets TotalEnergyExport from a physical value in kWh, rounded to the nearest wire tick of 1.
func (*UtilityTotalAcEnergy) SetTotalEnergyImportValue ¶
func (m *UtilityTotalAcEnergy) SetTotalEnergyImportValue(v float64)
SetTotalEnergyImportValue sets TotalEnergyImport from a physical value in kWh, rounded to the nearest wire tick of 1.
func (*UtilityTotalAcEnergy) TotalEnergyExportValue ¶
func (m *UtilityTotalAcEnergy) TotalEnergyExportValue() (float64, bool)
TotalEnergyExportValue returns TotalEnergyExport as a physical value in kWh (value = raw). The bool is false when TotalEnergyExport is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityTotalAcEnergy) TotalEnergyImportValue ¶
func (m *UtilityTotalAcEnergy) TotalEnergyImportValue() (float64, bool)
TotalEnergyImportValue returns TotalEnergyImport as a physical value in kWh (value = raw). The bool is false when TotalEnergyImport is nil: the wire carried the field's null sentinel or the payload ended before the field.
type UtilityTotalAcPower ¶
type UtilityTotalAcPower struct {
Info MessageInfo `json:"info"`
RealPower *int64 `json:"realPower,omitempty" n2k:"1"`
ApparentPower *int64 `json:"apparentPower,omitempty" n2k:"2"`
}
func (*UtilityTotalAcPower) ApparentPowerValue ¶
func (m *UtilityTotalAcPower) ApparentPowerValue() (float64, bool)
ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false when ApparentPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityTotalAcPower) DecodePayload ¶
func (m *UtilityTotalAcPower) DecodePayload(payload []uint8) error
func (*UtilityTotalAcPower) EncodePayload ¶
func (m *UtilityTotalAcPower) EncodePayload() ([]uint8, error)
func (*UtilityTotalAcPower) MessageInfo ¶
func (m *UtilityTotalAcPower) MessageInfo() MessageInfo
func (*UtilityTotalAcPower) PGNNumber ¶
func (m *UtilityTotalAcPower) PGNNumber() uint32
func (*UtilityTotalAcPower) RealPowerValue ¶
func (m *UtilityTotalAcPower) RealPowerValue() (float64, bool)
RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false when RealPower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityTotalAcPower) SetApparentPowerValue ¶
func (m *UtilityTotalAcPower) SetApparentPowerValue(v float64)
SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.
func (*UtilityTotalAcPower) SetMessageInfo ¶
func (m *UtilityTotalAcPower) SetMessageInfo(info MessageInfo)
func (*UtilityTotalAcPower) SetRealPowerValue ¶
func (m *UtilityTotalAcPower) SetRealPowerValue(v float64)
SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.
type UtilityTotalAcReactivePower ¶
type UtilityTotalAcReactivePower struct {
Info MessageInfo `json:"info"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"1"`
PowerFactor *uint64 `json:"powerFactor,omitempty" n2k:"2"`
PowerFactorLagging *uint64 `json:"powerFactorLagging,omitempty" n2k:"3"`
}
func (*UtilityTotalAcReactivePower) DecodePayload ¶
func (m *UtilityTotalAcReactivePower) DecodePayload(payload []uint8) error
func (*UtilityTotalAcReactivePower) EncodePayload ¶
func (m *UtilityTotalAcReactivePower) EncodePayload() ([]uint8, error)
func (*UtilityTotalAcReactivePower) MessageInfo ¶
func (m *UtilityTotalAcReactivePower) MessageInfo() MessageInfo
func (*UtilityTotalAcReactivePower) PGNNumber ¶
func (m *UtilityTotalAcReactivePower) PGNNumber() uint32
func (*UtilityTotalAcReactivePower) PowerFactorValue ¶
func (m *UtilityTotalAcReactivePower) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityTotalAcReactivePower) ReactivePowerValue ¶
func (m *UtilityTotalAcReactivePower) ReactivePowerValue() (float64, bool)
ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false when ReactivePower is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*UtilityTotalAcReactivePower) SetMessageInfo ¶
func (m *UtilityTotalAcReactivePower) SetMessageInfo(info MessageInfo)
func (*UtilityTotalAcReactivePower) SetPowerFactorValue ¶
func (m *UtilityTotalAcReactivePower) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.
func (*UtilityTotalAcReactivePower) SetReactivePowerValue ¶
func (m *UtilityTotalAcReactivePower) SetReactivePowerValue(v float64)
SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.
type VesselAcceleration ¶
type VesselAcceleration struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
LongitudinalAcceleration *int64 `json:"longitudinalAcceleration,omitempty" n2k:"2"`
TransverseAcceleration *int64 `json:"transverseAcceleration,omitempty" n2k:"3"`
VerticalAcceleration *int64 `json:"verticalAcceleration,omitempty" n2k:"4"`
}
func (*VesselAcceleration) DecodePayload ¶
func (m *VesselAcceleration) DecodePayload(payload []uint8) error
func (*VesselAcceleration) EncodePayload ¶
func (m *VesselAcceleration) EncodePayload() ([]uint8, error)
func (*VesselAcceleration) MessageInfo ¶
func (m *VesselAcceleration) MessageInfo() MessageInfo
func (*VesselAcceleration) PGNNumber ¶
func (m *VesselAcceleration) PGNNumber() uint32
func (*VesselAcceleration) SetMessageInfo ¶
func (m *VesselAcceleration) SetMessageInfo(info MessageInfo)
type VesselHeading ¶
type VesselHeading struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Heading *uint64 `json:"heading,omitempty" n2k:"2"`
Deviation *int64 `json:"deviation,omitempty" n2k:"3"`
Variation *int64 `json:"variation,omitempty" n2k:"4"`
Reference *uint64 `json:"reference,omitempty" n2k:"5"`
}
func (*VesselHeading) DecodePayload ¶
func (m *VesselHeading) DecodePayload(payload []uint8) error
func (*VesselHeading) DeviationValue ¶
func (m *VesselHeading) DeviationValue() (float64, bool)
DeviationValue returns Deviation as a physical value in rad (value = raw * 0.0001). The bool is false when Deviation is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselHeading) EncodePayload ¶
func (m *VesselHeading) EncodePayload() ([]uint8, error)
func (*VesselHeading) HeadingValue ¶
func (m *VesselHeading) HeadingValue() (float64, bool)
HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false when Heading is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselHeading) MessageInfo ¶
func (m *VesselHeading) MessageInfo() MessageInfo
func (*VesselHeading) PGNNumber ¶
func (m *VesselHeading) PGNNumber() uint32
func (*VesselHeading) SetDeviationValue ¶
func (m *VesselHeading) SetDeviationValue(v float64)
SetDeviationValue sets Deviation from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*VesselHeading) SetHeadingValue ¶
func (m *VesselHeading) SetHeadingValue(v float64)
SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*VesselHeading) SetMessageInfo ¶
func (m *VesselHeading) SetMessageInfo(info MessageInfo)
func (*VesselHeading) SetVariationValue ¶
func (m *VesselHeading) SetVariationValue(v float64)
SetVariationValue sets Variation from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*VesselHeading) VariationValue ¶
func (m *VesselHeading) VariationValue() (float64, bool)
VariationValue returns Variation as a physical value in rad (value = raw * 0.0001). The bool is false when Variation is nil: the wire carried the field's null sentinel or the payload ended before the field.
type VesselSpeedComponents ¶
type VesselSpeedComponents struct {
Info MessageInfo `json:"info"`
LongitudinalSpeedWaterReferenced *int64 `json:"longitudinalSpeedWaterReferenced,omitempty" n2k:"1"`
TransverseSpeedWaterReferenced *int64 `json:"transverseSpeedWaterReferenced,omitempty" n2k:"2"`
LongitudinalSpeedGroundReferenced *int64 `json:"longitudinalSpeedGroundReferenced,omitempty" n2k:"3"`
TransverseSpeedGroundReferenced *int64 `json:"transverseSpeedGroundReferenced,omitempty" n2k:"4"`
SternSpeedWaterReferenced *int64 `json:"sternSpeedWaterReferenced,omitempty" n2k:"5"`
SternSpeedGroundReferenced *int64 `json:"sternSpeedGroundReferenced,omitempty" n2k:"6"`
}
func (*VesselSpeedComponents) DecodePayload ¶
func (m *VesselSpeedComponents) DecodePayload(payload []uint8) error
func (*VesselSpeedComponents) EncodePayload ¶
func (m *VesselSpeedComponents) EncodePayload() ([]uint8, error)
func (*VesselSpeedComponents) LongitudinalSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) LongitudinalSpeedGroundReferencedValue() (float64, bool)
LongitudinalSpeedGroundReferencedValue returns LongitudinalSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when LongitudinalSpeedGroundReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselSpeedComponents) LongitudinalSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) LongitudinalSpeedWaterReferencedValue() (float64, bool)
LongitudinalSpeedWaterReferencedValue returns LongitudinalSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when LongitudinalSpeedWaterReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselSpeedComponents) MessageInfo ¶
func (m *VesselSpeedComponents) MessageInfo() MessageInfo
func (*VesselSpeedComponents) PGNNumber ¶
func (m *VesselSpeedComponents) PGNNumber() uint32
func (*VesselSpeedComponents) SetLongitudinalSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) SetLongitudinalSpeedGroundReferencedValue(v float64)
SetLongitudinalSpeedGroundReferencedValue sets LongitudinalSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SetLongitudinalSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) SetLongitudinalSpeedWaterReferencedValue(v float64)
SetLongitudinalSpeedWaterReferencedValue sets LongitudinalSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SetMessageInfo ¶
func (m *VesselSpeedComponents) SetMessageInfo(info MessageInfo)
func (*VesselSpeedComponents) SetSternSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) SetSternSpeedGroundReferencedValue(v float64)
SetSternSpeedGroundReferencedValue sets SternSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SetSternSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) SetSternSpeedWaterReferencedValue(v float64)
SetSternSpeedWaterReferencedValue sets SternSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SetTransverseSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) SetTransverseSpeedGroundReferencedValue(v float64)
SetTransverseSpeedGroundReferencedValue sets TransverseSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SetTransverseSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) SetTransverseSpeedWaterReferencedValue(v float64)
SetTransverseSpeedWaterReferencedValue sets TransverseSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.
func (*VesselSpeedComponents) SternSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) SternSpeedGroundReferencedValue() (float64, bool)
SternSpeedGroundReferencedValue returns SternSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when SternSpeedGroundReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselSpeedComponents) SternSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) SternSpeedWaterReferencedValue() (float64, bool)
SternSpeedWaterReferencedValue returns SternSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when SternSpeedWaterReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselSpeedComponents) TransverseSpeedGroundReferencedValue ¶
func (m *VesselSpeedComponents) TransverseSpeedGroundReferencedValue() (float64, bool)
TransverseSpeedGroundReferencedValue returns TransverseSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when TransverseSpeedGroundReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*VesselSpeedComponents) TransverseSpeedWaterReferencedValue ¶
func (m *VesselSpeedComponents) TransverseSpeedWaterReferencedValue() (float64, bool)
TransverseSpeedWaterReferencedValue returns TransverseSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false when TransverseSpeedWaterReferenced is nil: the wire carried the field's null sentinel or the payload ended before the field.
type VictronVeCanRegister ¶
type VictronVeCanRegister struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
RegisterId *uint64 `json:"registerId,omitempty" n2k:"4"`
Value []uint8 `json:"value,omitempty" n2k:"5"`
}
func (*VictronVeCanRegister) DecodePayload ¶
func (m *VictronVeCanRegister) DecodePayload(payload []uint8) error
func (*VictronVeCanRegister) EncodePayload ¶
func (m *VictronVeCanRegister) EncodePayload() ([]uint8, error)
func (*VictronVeCanRegister) MessageInfo ¶
func (m *VictronVeCanRegister) MessageInfo() MessageInfo
func (*VictronVeCanRegister) PGNNumber ¶
func (m *VictronVeCanRegister) PGNNumber() uint32
func (*VictronVeCanRegister) SetMessageInfo ¶
func (m *VictronVeCanRegister) SetMessageInfo(info MessageInfo)
type VideoProtocolsConst ¶
type VideoProtocolsConst uint8
const ( PAL VideoProtocolsConst = 0 NTSC VideoProtocolsConst = 1 )
func (VideoProtocolsConst) GoString ¶
func (e VideoProtocolsConst) GoString() string
func (VideoProtocolsConst) String ¶
func (e VideoProtocolsConst) String() string
type WaterDepth ¶
type WaterDepth struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
Depth *uint64 `json:"depth,omitempty" n2k:"2"`
Offset *int64 `json:"offset,omitempty" n2k:"3"`
Range *uint64 `json:"range,omitempty" n2k:"4"`
}
func (*WaterDepth) DecodePayload ¶
func (m *WaterDepth) DecodePayload(payload []uint8) error
func (*WaterDepth) DepthValue ¶
func (m *WaterDepth) DepthValue() (float64, bool)
DepthValue returns Depth as a physical value in m (value = raw * 0.01). The bool is false when Depth is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WaterDepth) EncodePayload ¶
func (m *WaterDepth) EncodePayload() ([]uint8, error)
func (*WaterDepth) MessageInfo ¶
func (m *WaterDepth) MessageInfo() MessageInfo
func (*WaterDepth) OffsetValue ¶
func (m *WaterDepth) OffsetValue() (float64, bool)
OffsetValue returns Offset as a physical value in m (value = raw * 0.001). The bool is false when Offset is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WaterDepth) PGNNumber ¶
func (m *WaterDepth) PGNNumber() uint32
func (*WaterDepth) RangeValue ¶
func (m *WaterDepth) RangeValue() (float64, bool)
RangeValue returns Range as a physical value in m (value = raw * 10). The bool is false when Range is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WaterDepth) SetDepthValue ¶
func (m *WaterDepth) SetDepthValue(v float64)
SetDepthValue sets Depth from a physical value in m, rounded to the nearest wire tick of 0.01.
func (*WaterDepth) SetMessageInfo ¶
func (m *WaterDepth) SetMessageInfo(info MessageInfo)
func (*WaterDepth) SetOffsetValue ¶
func (m *WaterDepth) SetOffsetValue(v float64)
SetOffsetValue sets Offset from a physical value in m, rounded to the nearest wire tick of 0.001.
func (*WaterDepth) SetRangeValue ¶
func (m *WaterDepth) SetRangeValue(v float64)
SetRangeValue sets Range from a physical value in m, rounded to the nearest wire tick of 10.
type WaterReferenceConst ¶
type WaterReferenceConst uint8
const ( PaddleWheel WaterReferenceConst = 0 PitotTube WaterReferenceConst = 1 Doppler WaterReferenceConst = 2 CorrelationUltraSound WaterReferenceConst = 3 ElectroMagnetic WaterReferenceConst = 4 )
func (WaterReferenceConst) GoString ¶
func (e WaterReferenceConst) GoString() string
func (WaterReferenceConst) String ¶
func (e WaterReferenceConst) String() string
type WatermakerInputSettingAndStatus ¶
type WatermakerInputSettingAndStatus struct {
Info MessageInfo `json:"info"`
WatermakerOperatingState *uint64 `json:"watermakerOperatingState,omitempty" n2k:"1"`
ProductionStartStop *uint64 `json:"productionStartStop,omitempty" n2k:"2"`
RinseStartStop *uint64 `json:"rinseStartStop,omitempty" n2k:"3"`
LowPressurePumpStatus *uint64 `json:"lowPressurePumpStatus,omitempty" n2k:"4"`
HighPressurePumpStatus *uint64 `json:"highPressurePumpStatus,omitempty" n2k:"5"`
EmergencyStop *uint64 `json:"emergencyStop,omitempty" n2k:"6"`
ProductSolenoidValveStatus *uint64 `json:"productSolenoidValveStatus,omitempty" n2k:"7"`
FlushModeStatus *uint64 `json:"flushModeStatus,omitempty" n2k:"8"`
SalinityStatus *uint64 `json:"salinityStatus,omitempty" n2k:"9"`
SensorStatus *uint64 `json:"sensorStatus,omitempty" n2k:"10"`
OilChangeIndicatorStatus *uint64 `json:"oilChangeIndicatorStatus,omitempty" n2k:"11"`
FilterStatus *uint64 `json:"filterStatus,omitempty" n2k:"12"`
SystemStatus *uint64 `json:"systemStatus,omitempty" n2k:"13"`
Salinity *uint64 `json:"salinity,omitempty" n2k:"15"`
ProductWaterTemperature *uint64 `json:"productWaterTemperature,omitempty" n2k:"16"`
PreFilterPressure *uint64 `json:"preFilterPressure,omitempty" n2k:"17"`
PostFilterPressure *uint64 `json:"postFilterPressure,omitempty" n2k:"18"`
FeedPressure *int64 `json:"feedPressure,omitempty" n2k:"19"`
SystemHighPressure *uint64 `json:"systemHighPressure,omitempty" n2k:"20"`
ProductWaterFlow *int64 `json:"productWaterFlow,omitempty" n2k:"21"`
BrineWaterFlow *int64 `json:"brineWaterFlow,omitempty" n2k:"22"`
RunTime *uint64 `json:"runTime,omitempty" n2k:"23"`
}
func (*WatermakerInputSettingAndStatus) BrineWaterFlowValue ¶
func (m *WatermakerInputSettingAndStatus) BrineWaterFlowValue() (float64, bool)
BrineWaterFlowValue returns BrineWaterFlow as a physical value in L/h (value = raw * 0.1). The bool is false when BrineWaterFlow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) DecodePayload ¶
func (m *WatermakerInputSettingAndStatus) DecodePayload(payload []uint8) error
func (*WatermakerInputSettingAndStatus) EncodePayload ¶
func (m *WatermakerInputSettingAndStatus) EncodePayload() ([]uint8, error)
func (*WatermakerInputSettingAndStatus) FeedPressureValue ¶
func (m *WatermakerInputSettingAndStatus) FeedPressureValue() (float64, bool)
FeedPressureValue returns FeedPressure as a physical value in Pa (value = raw * 1000). The bool is false when FeedPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) MessageInfo ¶
func (m *WatermakerInputSettingAndStatus) MessageInfo() MessageInfo
func (*WatermakerInputSettingAndStatus) PGNNumber ¶
func (m *WatermakerInputSettingAndStatus) PGNNumber() uint32
func (*WatermakerInputSettingAndStatus) PostFilterPressureValue ¶
func (m *WatermakerInputSettingAndStatus) PostFilterPressureValue() (float64, bool)
PostFilterPressureValue returns PostFilterPressure as a physical value in Pa (value = raw * 100). The bool is false when PostFilterPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) PreFilterPressureValue ¶
func (m *WatermakerInputSettingAndStatus) PreFilterPressureValue() (float64, bool)
PreFilterPressureValue returns PreFilterPressure as a physical value in Pa (value = raw * 100). The bool is false when PreFilterPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) ProductWaterFlowValue ¶
func (m *WatermakerInputSettingAndStatus) ProductWaterFlowValue() (float64, bool)
ProductWaterFlowValue returns ProductWaterFlow as a physical value in L/h (value = raw * 0.1). The bool is false when ProductWaterFlow is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) ProductWaterTemperatureValue ¶
func (m *WatermakerInputSettingAndStatus) ProductWaterTemperatureValue() (float64, bool)
ProductWaterTemperatureValue returns ProductWaterTemperature as a physical value in K (value = raw * 0.01). The bool is false when ProductWaterTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) RunTimeValue ¶
func (m *WatermakerInputSettingAndStatus) RunTimeValue() (float64, bool)
RunTimeValue returns RunTime as a physical value in s (value = raw). The bool is false when RunTime is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) SalinityValue ¶
func (m *WatermakerInputSettingAndStatus) SalinityValue() (float64, bool)
SalinityValue returns Salinity as a physical value in ppm (value = raw). The bool is false when Salinity is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WatermakerInputSettingAndStatus) SetBrineWaterFlowValue ¶
func (m *WatermakerInputSettingAndStatus) SetBrineWaterFlowValue(v float64)
SetBrineWaterFlowValue sets BrineWaterFlow from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*WatermakerInputSettingAndStatus) SetFeedPressureValue ¶
func (m *WatermakerInputSettingAndStatus) SetFeedPressureValue(v float64)
SetFeedPressureValue sets FeedPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.
func (*WatermakerInputSettingAndStatus) SetMessageInfo ¶
func (m *WatermakerInputSettingAndStatus) SetMessageInfo(info MessageInfo)
func (*WatermakerInputSettingAndStatus) SetPostFilterPressureValue ¶
func (m *WatermakerInputSettingAndStatus) SetPostFilterPressureValue(v float64)
SetPostFilterPressureValue sets PostFilterPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*WatermakerInputSettingAndStatus) SetPreFilterPressureValue ¶
func (m *WatermakerInputSettingAndStatus) SetPreFilterPressureValue(v float64)
SetPreFilterPressureValue sets PreFilterPressure from a physical value in Pa, rounded to the nearest wire tick of 100.
func (*WatermakerInputSettingAndStatus) SetProductWaterFlowValue ¶
func (m *WatermakerInputSettingAndStatus) SetProductWaterFlowValue(v float64)
SetProductWaterFlowValue sets ProductWaterFlow from a physical value in L/h, rounded to the nearest wire tick of 0.1.
func (*WatermakerInputSettingAndStatus) SetProductWaterTemperatureValue ¶
func (m *WatermakerInputSettingAndStatus) SetProductWaterTemperatureValue(v float64)
SetProductWaterTemperatureValue sets ProductWaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*WatermakerInputSettingAndStatus) SetRunTimeValue ¶
func (m *WatermakerInputSettingAndStatus) SetRunTimeValue(v float64)
SetRunTimeValue sets RunTime from a physical value in s, rounded to the nearest wire tick of 1.
func (*WatermakerInputSettingAndStatus) SetSalinityValue ¶
func (m *WatermakerInputSettingAndStatus) SetSalinityValue(v float64)
SetSalinityValue sets Salinity from a physical value in ppm, rounded to the nearest wire tick of 1.
func (*WatermakerInputSettingAndStatus) SetSystemHighPressureValue ¶
func (m *WatermakerInputSettingAndStatus) SetSystemHighPressureValue(v float64)
SetSystemHighPressureValue sets SystemHighPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.
func (*WatermakerInputSettingAndStatus) SystemHighPressureValue ¶
func (m *WatermakerInputSettingAndStatus) SystemHighPressureValue() (float64, bool)
SystemHighPressureValue returns SystemHighPressure as a physical value in Pa (value = raw * 1000). The bool is false when SystemHighPressure is nil: the wire carried the field's null sentinel or the payload ended before the field.
type WatermakerStateConst ¶
type WatermakerStateConst uint8
const ( Stopped WatermakerStateConst = 0 Starting WatermakerStateConst = 1 Running WatermakerStateConst = 2 Stopping WatermakerStateConst = 3 Flushing WatermakerStateConst = 4 Rinsing WatermakerStateConst = 5 Initiating WatermakerStateConst = 6 Manual_5 WatermakerStateConst = 7 )
func (WatermakerStateConst) GoString ¶
func (e WatermakerStateConst) GoString() string
func (WatermakerStateConst) String ¶
func (e WatermakerStateConst) String() string
type WaveformConst ¶
type WaveformConst uint8
const ( SineWave WaveformConst = 0 ModifiedSineWave WaveformConst = 1 )
func (WaveformConst) GoString ¶
func (e WaveformConst) GoString() string
func (WaveformConst) String ¶
func (e WaveformConst) String() string
type WebastoHvacCommand ¶
type WebastoHvacCommand struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
CanAddress *uint64 `json:"canAddress,omitempty" n2k:"4"`
BlowerSpeed *uint64 `json:"blowerSpeed,omitempty" n2k:"5"`
UnitOnOff *uint64 `json:"unitOnOff,omitempty" n2k:"6"`
SetTemperature *uint64 `json:"setTemperature,omitempty" n2k:"8"`
EcoMode *uint64 `json:"ecoMode,omitempty" n2k:"9"`
FunctionalMode *uint64 `json:"functionalMode,omitempty" n2k:"10"`
Compressor *uint64 `json:"compressor,omitempty" n2k:"11"`
Mask *uint64 `json:"mask,omitempty" n2k:"13"`
}
func (*WebastoHvacCommand) DecodePayload ¶
func (m *WebastoHvacCommand) DecodePayload(payload []uint8) error
func (*WebastoHvacCommand) EncodePayload ¶
func (m *WebastoHvacCommand) EncodePayload() ([]uint8, error)
func (*WebastoHvacCommand) MessageInfo ¶
func (m *WebastoHvacCommand) MessageInfo() MessageInfo
func (*WebastoHvacCommand) PGNNumber ¶
func (m *WebastoHvacCommand) PGNNumber() uint32
func (*WebastoHvacCommand) SetMessageInfo ¶
func (m *WebastoHvacCommand) SetMessageInfo(info MessageInfo)
func (*WebastoHvacCommand) SetSetTemperatureValue ¶
func (m *WebastoHvacCommand) SetSetTemperatureValue(v float64)
SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.
func (*WebastoHvacCommand) SetTemperatureValue ¶
func (m *WebastoHvacCommand) SetTemperatureValue() (float64, bool)
SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.01). The bool is false when SetTemperature is nil: the wire carried the field's null sentinel or the payload ended before the field.
type WebastoStatus2 ¶
type WebastoStatus2 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
CanAddress *uint64 `json:"canAddress,omitempty" n2k:"4"`
DeviceId *uint64 `json:"deviceId,omitempty" n2k:"5"`
SystemError *uint64 `json:"systemError,omitempty" n2k:"6"`
SystemStatus *uint64 `json:"systemStatus,omitempty" n2k:"7"`
FreshAirBlowerSpeed *uint64 `json:"freshAirBlowerSpeed,omitempty" n2k:"8"`
VSeriesOutput *uint64 `json:"vSeriesOutput,omitempty" n2k:"9"`
}
func (*WebastoStatus2) DecodePayload ¶
func (m *WebastoStatus2) DecodePayload(payload []uint8) error
func (*WebastoStatus2) EncodePayload ¶
func (m *WebastoStatus2) EncodePayload() ([]uint8, error)
func (*WebastoStatus2) MessageInfo ¶
func (m *WebastoStatus2) MessageInfo() MessageInfo
func (*WebastoStatus2) PGNNumber ¶
func (m *WebastoStatus2) PGNNumber() uint32
func (*WebastoStatus2) SetMessageInfo ¶
func (m *WebastoStatus2) SetMessageInfo(info MessageInfo)
type WindData ¶
type WindData struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
WindSpeed *uint64 `json:"windSpeed,omitempty" n2k:"2"`
WindAngle *uint64 `json:"windAngle,omitempty" n2k:"3"`
Reference *uint64 `json:"reference,omitempty" n2k:"4"`
}
func (*WindData) DecodePayload ¶
func (*WindData) EncodePayload ¶
func (*WindData) MessageInfo ¶
func (m *WindData) MessageInfo() MessageInfo
func (*WindData) SetMessageInfo ¶
func (m *WindData) SetMessageInfo(info MessageInfo)
func (*WindData) SetWindAngleValue ¶
SetWindAngleValue sets WindAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.
func (*WindData) SetWindSpeedValue ¶
SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.
func (*WindData) WindAngleValue ¶
WindAngleValue returns WindAngle as a physical value in rad (value = raw * 0.0001). The bool is false when WindAngle is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WindData) WindSpeedValue ¶
WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false when WindSpeed is nil: the wire carried the field's null sentinel or the payload ended before the field.
type WindReferenceConst ¶
type WindReferenceConst uint8
const ( TrueGroundReferencedToNorth WindReferenceConst = 0 MagneticGroundReferencedToMagneticNorth WindReferenceConst = 1 Apparent WindReferenceConst = 2 TrueBoatReferenced WindReferenceConst = 3 TrueWaterReferenced WindReferenceConst = 4 )
func (WindReferenceConst) GoString ¶
func (e WindReferenceConst) GoString() string
func (WindReferenceConst) String ¶
func (e WindReferenceConst) String() string
type WindlassControlConst ¶
type WindlassControlConst uint16
const (
AnotherDeviceControllingWindlass WindlassControlConst = 0
)
func (WindlassControlConst) GoString ¶
func (e WindlassControlConst) GoString() string
func (WindlassControlConst) String ¶
func (e WindlassControlConst) String() string
type WindlassControlStatus ¶
type WindlassControlStatus struct {
Info MessageInfo `json:"info"`
Sid *uint64 `json:"sid,omitempty" n2k:"1"`
WindlassId *uint64 `json:"windlassId,omitempty" n2k:"2"`
WindlassDirectionControl *uint64 `json:"windlassDirectionControl,omitempty" n2k:"3"`
AnchorDockingControl *uint64 `json:"anchorDockingControl,omitempty" n2k:"4"`
SpeedControlType *uint64 `json:"speedControlType,omitempty" n2k:"5"`
SpeedControl []uint8 `json:"speedControl,omitempty" n2k:"7"`
PowerEnable *uint64 `json:"powerEnable,omitempty" n2k:"8"`
MechanicalLock *uint64 `json:"mechanicalLock,omitempty" n2k:"9"`
DeckAndAnchorWash *uint64 `json:"deckAndAnchorWash,omitempty" n2k:"10"`
AnchorLight *uint64 `json:"anchorLight,omitempty" n2k:"11"`
CommandTimeout *uint64 `json:"commandTimeout,omitempty" n2k:"12"`
WindlassControlEvents *uint64 `json:"windlassControlEvents,omitempty" n2k:"13"`
}
func (*WindlassControlStatus) CommandTimeoutValue ¶
func (m *WindlassControlStatus) CommandTimeoutValue() (float64, bool)
CommandTimeoutValue returns CommandTimeout as a physical value in s (value = raw * 0.005). The bool is false when CommandTimeout is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*WindlassControlStatus) DecodePayload ¶
func (m *WindlassControlStatus) DecodePayload(payload []uint8) error
func (*WindlassControlStatus) EncodePayload ¶
func (m *WindlassControlStatus) EncodePayload() ([]uint8, error)
func (*WindlassControlStatus) MessageInfo ¶
func (m *WindlassControlStatus) MessageInfo() MessageInfo
func (*WindlassControlStatus) PGNNumber ¶
func (m *WindlassControlStatus) PGNNumber() uint32
func (*WindlassControlStatus) SetCommandTimeoutValue ¶
func (m *WindlassControlStatus) SetCommandTimeoutValue(v float64)
SetCommandTimeoutValue sets CommandTimeout from a physical value in s, rounded to the nearest wire tick of 0.005.
func (*WindlassControlStatus) SetMessageInfo ¶
func (m *WindlassControlStatus) SetMessageInfo(info MessageInfo)
type WindlassDirectionConst ¶
type WindlassDirectionConst uint8
const ( Off_7 WindlassDirectionConst = 0 Down WindlassDirectionConst = 1 Up WindlassDirectionConst = 2 )
func (WindlassDirectionConst) GoString ¶
func (e WindlassDirectionConst) GoString() string
func (WindlassDirectionConst) String ¶
func (e WindlassDirectionConst) String() string
type WindlassMonitoringConst ¶
type WindlassMonitoringConst uint16
const ( ControllerUnderVoltageCutOut WindlassMonitoringConst = 0 ControllerOverCurrentCutOut WindlassMonitoringConst = 1 ControllerOverTemperatureCutOut WindlassMonitoringConst = 2 ManufacturerDefined_2 WindlassMonitoringConst = 3 )
func (WindlassMonitoringConst) GoString ¶
func (e WindlassMonitoringConst) GoString() string
func (WindlassMonitoringConst) String ¶
func (e WindlassMonitoringConst) String() string
type WindlassMotionConst ¶
type WindlassMotionConst uint8
const ( WindlassStopped WindlassMotionConst = 0 DeploymentOccurring WindlassMotionConst = 1 RetrievalOccurring WindlassMotionConst = 2 )
func (WindlassMotionConst) GoString ¶
func (e WindlassMotionConst) GoString() string
func (WindlassMotionConst) String ¶
func (e WindlassMotionConst) String() string
type WindlassOperationConst ¶
type WindlassOperationConst uint16
const ( SystemError WindlassOperationConst = 0 SensorError WindlassOperationConst = 1 NoWindlassMotionDetected WindlassOperationConst = 2 RetrievalDockingDistanceReached WindlassOperationConst = 3 EndOfRodeReached WindlassOperationConst = 4 )
func (WindlassOperationConst) GoString ¶
func (e WindlassOperationConst) GoString() string
func (WindlassOperationConst) String ¶
func (e WindlassOperationConst) String() string
type XantrexAcInputConfigurationStatus ¶
type XantrexAcInputConfigurationStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AcSourceInstance *uint64 `json:"acSourceInstance,omitempty" n2k:"4"`
NumberOfLines *uint64 `json:"numberOfLines,omitempty" n2k:"5"`
Line *uint64 `json:"line,omitempty" n2k:"6"`
BreakerSize *uint64 `json:"breakerSize,omitempty" n2k:"8"`
AcLostLevel *uint64 `json:"acLostLevel,omitempty" n2k:"9"`
AcUvLevel *uint64 `json:"acUvLevel,omitempty" n2k:"10"`
AcUvWarningLevel *uint64 `json:"acUvWarningLevel,omitempty" n2k:"11"`
AcUvDelay *uint64 `json:"acUvDelay,omitempty" n2k:"12"`
AcOvLevel *uint64 `json:"acOvLevel,omitempty" n2k:"13"`
AcOvWarningLevel *uint64 `json:"acOvWarningLevel,omitempty" n2k:"14"`
AcOvDelay *uint64 `json:"acOvDelay,omitempty" n2k:"15"`
AcUfLevel *uint64 `json:"acUfLevel,omitempty" n2k:"16"`
AcOfLevel *uint64 `json:"acOfLevel,omitempty" n2k:"17"`
}
func (*XantrexAcInputConfigurationStatus) AcOvLevelValue ¶
func (m *XantrexAcInputConfigurationStatus) AcOvLevelValue() (float64, bool)
AcOvLevelValue returns AcOvLevel as a physical value in V (value = raw * 0.01). The bool is false when AcOvLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcInputConfigurationStatus) AcUvLevelValue ¶
func (m *XantrexAcInputConfigurationStatus) AcUvLevelValue() (float64, bool)
AcUvLevelValue returns AcUvLevel as a physical value in V (value = raw * 0.01). The bool is false when AcUvLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcInputConfigurationStatus) DecodePayload ¶
func (m *XantrexAcInputConfigurationStatus) DecodePayload(payload []uint8) error
func (*XantrexAcInputConfigurationStatus) EncodePayload ¶
func (m *XantrexAcInputConfigurationStatus) EncodePayload() ([]uint8, error)
func (*XantrexAcInputConfigurationStatus) MessageInfo ¶
func (m *XantrexAcInputConfigurationStatus) MessageInfo() MessageInfo
func (*XantrexAcInputConfigurationStatus) PGNNumber ¶
func (m *XantrexAcInputConfigurationStatus) PGNNumber() uint32
func (*XantrexAcInputConfigurationStatus) SetAcOvLevelValue ¶
func (m *XantrexAcInputConfigurationStatus) SetAcOvLevelValue(v float64)
SetAcOvLevelValue sets AcOvLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcInputConfigurationStatus) SetAcUvLevelValue ¶
func (m *XantrexAcInputConfigurationStatus) SetAcUvLevelValue(v float64)
SetAcUvLevelValue sets AcUvLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcInputConfigurationStatus) SetMessageInfo ¶
func (m *XantrexAcInputConfigurationStatus) SetMessageInfo(info MessageInfo)
type XantrexAcOutputConfigurationStatus ¶
type XantrexAcOutputConfigurationStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AcSourceInstance *uint64 `json:"acSourceInstance,omitempty" n2k:"4"`
NumberOfLines *uint64 `json:"numberOfLines,omitempty" n2k:"5"`
Line *uint64 `json:"line,omitempty" n2k:"6"`
Voltage *uint64 `json:"voltage,omitempty" n2k:"8"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"9"`
PowerLimit *uint64 `json:"powerLimit,omitempty" n2k:"10"`
OvFaultLevel *uint64 `json:"ovFaultLevel,omitempty" n2k:"11"`
UvFaultLevel *uint64 `json:"uvFaultLevel,omitempty" n2k:"12"`
}
func (*XantrexAcOutputConfigurationStatus) DecodePayload ¶
func (m *XantrexAcOutputConfigurationStatus) DecodePayload(payload []uint8) error
func (*XantrexAcOutputConfigurationStatus) EncodePayload ¶
func (m *XantrexAcOutputConfigurationStatus) EncodePayload() ([]uint8, error)
func (*XantrexAcOutputConfigurationStatus) MessageInfo ¶
func (m *XantrexAcOutputConfigurationStatus) MessageInfo() MessageInfo
func (*XantrexAcOutputConfigurationStatus) OvFaultLevelValue ¶
func (m *XantrexAcOutputConfigurationStatus) OvFaultLevelValue() (float64, bool)
OvFaultLevelValue returns OvFaultLevel as a physical value in V (value = raw * 0.01). The bool is false when OvFaultLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcOutputConfigurationStatus) PGNNumber ¶
func (m *XantrexAcOutputConfigurationStatus) PGNNumber() uint32
func (*XantrexAcOutputConfigurationStatus) SetMessageInfo ¶
func (m *XantrexAcOutputConfigurationStatus) SetMessageInfo(info MessageInfo)
func (*XantrexAcOutputConfigurationStatus) SetOvFaultLevelValue ¶
func (m *XantrexAcOutputConfigurationStatus) SetOvFaultLevelValue(v float64)
SetOvFaultLevelValue sets OvFaultLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcOutputConfigurationStatus) SetUvFaultLevelValue ¶
func (m *XantrexAcOutputConfigurationStatus) SetUvFaultLevelValue(v float64)
SetUvFaultLevelValue sets UvFaultLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcOutputConfigurationStatus) SetVoltageValue ¶
func (m *XantrexAcOutputConfigurationStatus) SetVoltageValue(v float64)
SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcOutputConfigurationStatus) UvFaultLevelValue ¶
func (m *XantrexAcOutputConfigurationStatus) UvFaultLevelValue() (float64, bool)
UvFaultLevelValue returns UvFaultLevel as a physical value in V (value = raw * 0.01). The bool is false when UvFaultLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcOutputConfigurationStatus) VoltageValue ¶
func (m *XantrexAcOutputConfigurationStatus) VoltageValue() (float64, bool)
VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false when Voltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type XantrexAcStatus ¶
type XantrexAcStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
AcInstance *uint64 `json:"acInstance,omitempty" n2k:"4"`
NumberOfLines *uint64 `json:"numberOfLines,omitempty" n2k:"5"`
Line *uint64 `json:"line,omitempty" n2k:"6"`
Acceptability *uint64 `json:"acceptability,omitempty" n2k:"7"`
Waveform *uint64 `json:"waveform,omitempty" n2k:"8"`
Voltage *uint64 `json:"voltage,omitempty" n2k:"10"`
Current *uint64 `json:"current,omitempty" n2k:"11"`
Frequency *uint64 `json:"frequency,omitempty" n2k:"12"`
RealPower *int64 `json:"realPower,omitempty" n2k:"13"`
ReactivePower *int64 `json:"reactivePower,omitempty" n2k:"14"`
PowerFactor *int64 `json:"powerFactor,omitempty" n2k:"15"`
}
func (*XantrexAcStatus) CurrentValue ¶
func (m *XantrexAcStatus) CurrentValue() (float64, bool)
CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false when Current is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcStatus) DecodePayload ¶
func (m *XantrexAcStatus) DecodePayload(payload []uint8) error
func (*XantrexAcStatus) EncodePayload ¶
func (m *XantrexAcStatus) EncodePayload() ([]uint8, error)
func (*XantrexAcStatus) MessageInfo ¶
func (m *XantrexAcStatus) MessageInfo() MessageInfo
func (*XantrexAcStatus) PGNNumber ¶
func (m *XantrexAcStatus) PGNNumber() uint32
func (*XantrexAcStatus) PowerFactorValue ¶
func (m *XantrexAcStatus) PowerFactorValue() (float64, bool)
PowerFactorValue returns PowerFactor as a physical value in % (value = raw). The bool is false when PowerFactor is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexAcStatus) SetCurrentValue ¶
func (m *XantrexAcStatus) SetCurrentValue(v float64)
SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.
func (*XantrexAcStatus) SetMessageInfo ¶
func (m *XantrexAcStatus) SetMessageInfo(info MessageInfo)
func (*XantrexAcStatus) SetPowerFactorValue ¶
func (m *XantrexAcStatus) SetPowerFactorValue(v float64)
SetPowerFactorValue sets PowerFactor from a physical value in %, rounded to the nearest wire tick of 1.
func (*XantrexAcStatus) SetVoltageValue ¶
func (m *XantrexAcStatus) SetVoltageValue(v float64)
SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexAcStatus) VoltageValue ¶
func (m *XantrexAcStatus) VoltageValue() (float64, bool)
VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false when Voltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
type XantrexChargerConfigurationStatus ¶
type XantrexChargerConfigurationStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
ChargeInstance *uint64 `json:"chargeInstance,omitempty" n2k:"4"`
BatteryInstance *uint64 `json:"batteryInstance,omitempty" n2k:"5"`
BulkVoltage *uint64 `json:"bulkVoltage,omitempty" n2k:"6"`
BulkTime *uint64 `json:"bulkTime,omitempty" n2k:"7"`
AbsorptionVoltage *uint64 `json:"absorptionVoltage,omitempty" n2k:"8"`
AbsorptionTime *uint64 `json:"absorptionTime,omitempty" n2k:"9"`
FloatVoltage *uint64 `json:"floatVoltage,omitempty" n2k:"10"`
FloatTime *uint64 `json:"floatTime,omitempty" n2k:"11"`
EqualizationVoltage *uint64 `json:"equalizationVoltage,omitempty" n2k:"12"`
GenericChargeVoltage *uint64 `json:"genericChargeVoltage,omitempty" n2k:"13"`
GenericChargeCurrent *uint64 `json:"genericChargeCurrent,omitempty" n2k:"14"`
}
func (*XantrexChargerConfigurationStatus) AbsorptionVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) AbsorptionVoltageValue() (float64, bool)
AbsorptionVoltageValue returns AbsorptionVoltage as a physical value in V (value = raw * 0.01). The bool is false when AbsorptionVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexChargerConfigurationStatus) BulkVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) BulkVoltageValue() (float64, bool)
BulkVoltageValue returns BulkVoltage as a physical value in V (value = raw * 0.01). The bool is false when BulkVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexChargerConfigurationStatus) DecodePayload ¶
func (m *XantrexChargerConfigurationStatus) DecodePayload(payload []uint8) error
func (*XantrexChargerConfigurationStatus) EncodePayload ¶
func (m *XantrexChargerConfigurationStatus) EncodePayload() ([]uint8, error)
func (*XantrexChargerConfigurationStatus) EqualizationVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) EqualizationVoltageValue() (float64, bool)
EqualizationVoltageValue returns EqualizationVoltage as a physical value in V (value = raw * 0.01). The bool is false when EqualizationVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexChargerConfigurationStatus) FloatVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) FloatVoltageValue() (float64, bool)
FloatVoltageValue returns FloatVoltage as a physical value in V (value = raw * 0.01). The bool is false when FloatVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexChargerConfigurationStatus) GenericChargeVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) GenericChargeVoltageValue() (float64, bool)
GenericChargeVoltageValue returns GenericChargeVoltage as a physical value in V (value = raw * 0.01). The bool is false when GenericChargeVoltage is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexChargerConfigurationStatus) MessageInfo ¶
func (m *XantrexChargerConfigurationStatus) MessageInfo() MessageInfo
func (*XantrexChargerConfigurationStatus) PGNNumber ¶
func (m *XantrexChargerConfigurationStatus) PGNNumber() uint32
func (*XantrexChargerConfigurationStatus) SetAbsorptionVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) SetAbsorptionVoltageValue(v float64)
SetAbsorptionVoltageValue sets AbsorptionVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexChargerConfigurationStatus) SetBulkVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) SetBulkVoltageValue(v float64)
SetBulkVoltageValue sets BulkVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexChargerConfigurationStatus) SetEqualizationVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) SetEqualizationVoltageValue(v float64)
SetEqualizationVoltageValue sets EqualizationVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexChargerConfigurationStatus) SetFloatVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) SetFloatVoltageValue(v float64)
SetFloatVoltageValue sets FloatVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexChargerConfigurationStatus) SetGenericChargeVoltageValue ¶
func (m *XantrexChargerConfigurationStatus) SetGenericChargeVoltageValue(v float64)
SetGenericChargeVoltageValue sets GenericChargeVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexChargerConfigurationStatus) SetMessageInfo ¶
func (m *XantrexChargerConfigurationStatus) SetMessageInfo(info MessageInfo)
type XantrexDcSourceConfigurationStatus ¶
type XantrexDcSourceConfigurationStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
DcSourceInstance *uint64 `json:"dcSourceInstance,omitempty" n2k:"4"`
DcUvShutdownLevel *uint64 `json:"dcUvShutdownLevel,omitempty" n2k:"5"`
DcUvWarningLevel *uint64 `json:"dcUvWarningLevel,omitempty" n2k:"6"`
DcUvShutdownDelay *uint64 `json:"dcUvShutdownDelay,omitempty" n2k:"7"`
DcUvRecoverLevel *uint64 `json:"dcUvRecoverLevel,omitempty" n2k:"8"`
DcOvShutdownLevel *uint64 `json:"dcOvShutdownLevel,omitempty" n2k:"9"`
DcOvWarningLevel *uint64 `json:"dcOvWarningLevel,omitempty" n2k:"10"`
DcOvShutdownDelay *uint64 `json:"dcOvShutdownDelay,omitempty" n2k:"11"`
DcOvRecoverLevel *uint64 `json:"dcOvRecoverLevel,omitempty" n2k:"12"`
}
func (*XantrexDcSourceConfigurationStatus) DcOvRecoverLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcOvRecoverLevelValue() (float64, bool)
DcOvRecoverLevelValue returns DcOvRecoverLevel as a physical value in V (value = raw * 0.01). The bool is false when DcOvRecoverLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcOvShutdownDelayValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownDelayValue() (float64, bool)
DcOvShutdownDelayValue returns DcOvShutdownDelay as a physical value in V (value = raw * 0.01). The bool is false when DcOvShutdownDelay is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcOvShutdownLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownLevelValue() (float64, bool)
DcOvShutdownLevelValue returns DcOvShutdownLevel as a physical value in V (value = raw * 0.01). The bool is false when DcOvShutdownLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcOvWarningLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcOvWarningLevelValue() (float64, bool)
DcOvWarningLevelValue returns DcOvWarningLevel as a physical value in V (value = raw * 0.01). The bool is false when DcOvWarningLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcUvRecoverLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcUvRecoverLevelValue() (float64, bool)
DcUvRecoverLevelValue returns DcUvRecoverLevel as a physical value in V (value = raw * 0.01). The bool is false when DcUvRecoverLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcUvShutdownDelayValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownDelayValue() (float64, bool)
DcUvShutdownDelayValue returns DcUvShutdownDelay as a physical value in V (value = raw * 0.01). The bool is false when DcUvShutdownDelay is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcUvShutdownLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownLevelValue() (float64, bool)
DcUvShutdownLevelValue returns DcUvShutdownLevel as a physical value in V (value = raw * 0.01). The bool is false when DcUvShutdownLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DcUvWarningLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) DcUvWarningLevelValue() (float64, bool)
DcUvWarningLevelValue returns DcUvWarningLevel as a physical value in V (value = raw * 0.01). The bool is false when DcUvWarningLevel is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*XantrexDcSourceConfigurationStatus) DecodePayload ¶
func (m *XantrexDcSourceConfigurationStatus) DecodePayload(payload []uint8) error
func (*XantrexDcSourceConfigurationStatus) EncodePayload ¶
func (m *XantrexDcSourceConfigurationStatus) EncodePayload() ([]uint8, error)
func (*XantrexDcSourceConfigurationStatus) MessageInfo ¶
func (m *XantrexDcSourceConfigurationStatus) MessageInfo() MessageInfo
func (*XantrexDcSourceConfigurationStatus) PGNNumber ¶
func (m *XantrexDcSourceConfigurationStatus) PGNNumber() uint32
func (*XantrexDcSourceConfigurationStatus) SetDcOvRecoverLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcOvRecoverLevelValue(v float64)
SetDcOvRecoverLevelValue sets DcOvRecoverLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcOvShutdownDelayValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownDelayValue(v float64)
SetDcOvShutdownDelayValue sets DcOvShutdownDelay from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcOvShutdownLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownLevelValue(v float64)
SetDcOvShutdownLevelValue sets DcOvShutdownLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcOvWarningLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcOvWarningLevelValue(v float64)
SetDcOvWarningLevelValue sets DcOvWarningLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcUvRecoverLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcUvRecoverLevelValue(v float64)
SetDcUvRecoverLevelValue sets DcUvRecoverLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcUvShutdownDelayValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownDelayValue(v float64)
SetDcUvShutdownDelayValue sets DcUvShutdownDelay from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcUvShutdownLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownLevelValue(v float64)
SetDcUvShutdownLevelValue sets DcUvShutdownLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetDcUvWarningLevelValue ¶
func (m *XantrexDcSourceConfigurationStatus) SetDcUvWarningLevelValue(v float64)
SetDcUvWarningLevelValue sets DcUvWarningLevel from a physical value in V, rounded to the nearest wire tick of 0.01.
func (*XantrexDcSourceConfigurationStatus) SetMessageInfo ¶
func (m *XantrexDcSourceConfigurationStatus) SetMessageInfo(info MessageInfo)
type YamahaEngineData ¶
type YamahaEngineData struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData) DecodePayload ¶
func (m *YamahaEngineData) DecodePayload(payload []uint8) error
func (*YamahaEngineData) EncodePayload ¶
func (m *YamahaEngineData) EncodePayload() ([]uint8, error)
func (*YamahaEngineData) MessageInfo ¶
func (m *YamahaEngineData) MessageInfo() MessageInfo
func (*YamahaEngineData) PGNNumber ¶
func (m *YamahaEngineData) PGNNumber() uint32
func (*YamahaEngineData) SetMessageInfo ¶
func (m *YamahaEngineData) SetMessageInfo(info MessageInfo)
type YamahaEngineData2 ¶
type YamahaEngineData2 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData2) DecodePayload ¶
func (m *YamahaEngineData2) DecodePayload(payload []uint8) error
func (*YamahaEngineData2) EncodePayload ¶
func (m *YamahaEngineData2) EncodePayload() ([]uint8, error)
func (*YamahaEngineData2) MessageInfo ¶
func (m *YamahaEngineData2) MessageInfo() MessageInfo
func (*YamahaEngineData2) PGNNumber ¶
func (m *YamahaEngineData2) PGNNumber() uint32
func (*YamahaEngineData2) SetMessageInfo ¶
func (m *YamahaEngineData2) SetMessageInfo(info MessageInfo)
type YamahaEngineData3 ¶
type YamahaEngineData3 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData3) DecodePayload ¶
func (m *YamahaEngineData3) DecodePayload(payload []uint8) error
func (*YamahaEngineData3) EncodePayload ¶
func (m *YamahaEngineData3) EncodePayload() ([]uint8, error)
func (*YamahaEngineData3) MessageInfo ¶
func (m *YamahaEngineData3) MessageInfo() MessageInfo
func (*YamahaEngineData3) PGNNumber ¶
func (m *YamahaEngineData3) PGNNumber() uint32
func (*YamahaEngineData3) SetMessageInfo ¶
func (m *YamahaEngineData3) SetMessageInfo(info MessageInfo)
type YamahaEngineData4 ¶
type YamahaEngineData4 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData4) DecodePayload ¶
func (m *YamahaEngineData4) DecodePayload(payload []uint8) error
func (*YamahaEngineData4) EncodePayload ¶
func (m *YamahaEngineData4) EncodePayload() ([]uint8, error)
func (*YamahaEngineData4) MessageInfo ¶
func (m *YamahaEngineData4) MessageInfo() MessageInfo
func (*YamahaEngineData4) PGNNumber ¶
func (m *YamahaEngineData4) PGNNumber() uint32
func (*YamahaEngineData4) SetMessageInfo ¶
func (m *YamahaEngineData4) SetMessageInfo(info MessageInfo)
type YamahaEngineData5 ¶
type YamahaEngineData5 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData5) DecodePayload ¶
func (m *YamahaEngineData5) DecodePayload(payload []uint8) error
func (*YamahaEngineData5) EncodePayload ¶
func (m *YamahaEngineData5) EncodePayload() ([]uint8, error)
func (*YamahaEngineData5) MessageInfo ¶
func (m *YamahaEngineData5) MessageInfo() MessageInfo
func (*YamahaEngineData5) PGNNumber ¶
func (m *YamahaEngineData5) PGNNumber() uint32
func (*YamahaEngineData5) SetMessageInfo ¶
func (m *YamahaEngineData5) SetMessageInfo(info MessageInfo)
type YamahaEngineData6 ¶
type YamahaEngineData6 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData6) DecodePayload ¶
func (m *YamahaEngineData6) DecodePayload(payload []uint8) error
func (*YamahaEngineData6) EncodePayload ¶
func (m *YamahaEngineData6) EncodePayload() ([]uint8, error)
func (*YamahaEngineData6) MessageInfo ¶
func (m *YamahaEngineData6) MessageInfo() MessageInfo
func (*YamahaEngineData6) PGNNumber ¶
func (m *YamahaEngineData6) PGNNumber() uint32
func (*YamahaEngineData6) SetMessageInfo ¶
func (m *YamahaEngineData6) SetMessageInfo(info MessageInfo)
type YamahaEngineData7 ¶
type YamahaEngineData7 struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
}
func (*YamahaEngineData7) DecodePayload ¶
func (m *YamahaEngineData7) DecodePayload(payload []uint8) error
func (*YamahaEngineData7) EncodePayload ¶
func (m *YamahaEngineData7) EncodePayload() ([]uint8, error)
func (*YamahaEngineData7) MessageInfo ¶
func (m *YamahaEngineData7) MessageInfo() MessageInfo
func (*YamahaEngineData7) PGNNumber ¶
func (m *YamahaEngineData7) PGNNumber() uint32
func (*YamahaEngineData7) SetMessageInfo ¶
func (m *YamahaEngineData7) SetMessageInfo(info MessageInfo)
type YamahaEngineDataA ¶
type YamahaEngineDataA struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YamahaEngineDataA) DecodePayload ¶
func (m *YamahaEngineDataA) DecodePayload(payload []uint8) error
func (*YamahaEngineDataA) EncodePayload ¶
func (m *YamahaEngineDataA) EncodePayload() ([]uint8, error)
func (*YamahaEngineDataA) MessageInfo ¶
func (m *YamahaEngineDataA) MessageInfo() MessageInfo
func (*YamahaEngineDataA) PGNNumber ¶
func (m *YamahaEngineDataA) PGNNumber() uint32
func (*YamahaEngineDataA) SetMessageInfo ¶
func (m *YamahaEngineDataA) SetMessageInfo(info MessageInfo)
type YamahaEngineDataB ¶
type YamahaEngineDataB struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YamahaEngineDataB) DecodePayload ¶
func (m *YamahaEngineDataB) DecodePayload(payload []uint8) error
func (*YamahaEngineDataB) EncodePayload ¶
func (m *YamahaEngineDataB) EncodePayload() ([]uint8, error)
func (*YamahaEngineDataB) MessageInfo ¶
func (m *YamahaEngineDataB) MessageInfo() MessageInfo
func (*YamahaEngineDataB) PGNNumber ¶
func (m *YamahaEngineDataB) PGNNumber() uint32
func (*YamahaEngineDataB) SetMessageInfo ¶
func (m *YamahaEngineDataB) SetMessageInfo(info MessageInfo)
type YamahaEngineDataC ¶
type YamahaEngineDataC struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YamahaEngineDataC) DecodePayload ¶
func (m *YamahaEngineDataC) DecodePayload(payload []uint8) error
func (*YamahaEngineDataC) EncodePayload ¶
func (m *YamahaEngineDataC) EncodePayload() ([]uint8, error)
func (*YamahaEngineDataC) MessageInfo ¶
func (m *YamahaEngineDataC) MessageInfo() MessageInfo
func (*YamahaEngineDataC) PGNNumber ¶
func (m *YamahaEngineDataC) PGNNumber() uint32
func (*YamahaEngineDataC) SetMessageInfo ¶
func (m *YamahaEngineDataC) SetMessageInfo(info MessageInfo)
type YamahaEngineDataD ¶
type YamahaEngineDataD struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YamahaEngineDataD) DecodePayload ¶
func (m *YamahaEngineDataD) DecodePayload(payload []uint8) error
func (*YamahaEngineDataD) EncodePayload ¶
func (m *YamahaEngineDataD) EncodePayload() ([]uint8, error)
func (*YamahaEngineDataD) MessageInfo ¶
func (m *YamahaEngineDataD) MessageInfo() MessageInfo
func (*YamahaEngineDataD) PGNNumber ¶
func (m *YamahaEngineDataD) PGNNumber() uint32
func (*YamahaEngineDataD) SetMessageInfo ¶
func (m *YamahaEngineDataD) SetMessageInfo(info MessageInfo)
type YamahaGearStatus ¶
type YamahaGearStatus struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Neutral *uint64 `json:"neutral,omitempty" n2k:"6"`
}
func (*YamahaGearStatus) DecodePayload ¶
func (m *YamahaGearStatus) DecodePayload(payload []uint8) error
func (*YamahaGearStatus) EncodePayload ¶
func (m *YamahaGearStatus) EncodePayload() ([]uint8, error)
func (*YamahaGearStatus) MessageInfo ¶
func (m *YamahaGearStatus) MessageInfo() MessageInfo
func (*YamahaGearStatus) PGNNumber ¶
func (m *YamahaGearStatus) PGNNumber() uint32
func (*YamahaGearStatus) SetMessageInfo ¶
func (m *YamahaGearStatus) SetMessageInfo(info MessageInfo)
type YanmarEngineDataA ¶
type YanmarEngineDataA struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataA) DecodePayload ¶
func (m *YanmarEngineDataA) DecodePayload(payload []uint8) error
func (*YanmarEngineDataA) EncodePayload ¶
func (m *YanmarEngineDataA) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataA) MessageInfo ¶
func (m *YanmarEngineDataA) MessageInfo() MessageInfo
func (*YanmarEngineDataA) PGNNumber ¶
func (m *YanmarEngineDataA) PGNNumber() uint32
func (*YanmarEngineDataA) SetMessageInfo ¶
func (m *YanmarEngineDataA) SetMessageInfo(info MessageInfo)
type YanmarEngineDataB ¶
type YanmarEngineDataB struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataB) DecodePayload ¶
func (m *YanmarEngineDataB) DecodePayload(payload []uint8) error
func (*YanmarEngineDataB) EncodePayload ¶
func (m *YanmarEngineDataB) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataB) MessageInfo ¶
func (m *YanmarEngineDataB) MessageInfo() MessageInfo
func (*YanmarEngineDataB) PGNNumber ¶
func (m *YanmarEngineDataB) PGNNumber() uint32
func (*YanmarEngineDataB) SetMessageInfo ¶
func (m *YanmarEngineDataB) SetMessageInfo(info MessageInfo)
type YanmarEngineDataC ¶
type YanmarEngineDataC struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataC) DecodePayload ¶
func (m *YanmarEngineDataC) DecodePayload(payload []uint8) error
func (*YanmarEngineDataC) EncodePayload ¶
func (m *YanmarEngineDataC) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataC) MessageInfo ¶
func (m *YanmarEngineDataC) MessageInfo() MessageInfo
func (*YanmarEngineDataC) PGNNumber ¶
func (m *YanmarEngineDataC) PGNNumber() uint32
func (*YanmarEngineDataC) SetMessageInfo ¶
func (m *YanmarEngineDataC) SetMessageInfo(info MessageInfo)
type YanmarEngineDataD ¶
type YanmarEngineDataD struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataD) DecodePayload ¶
func (m *YanmarEngineDataD) DecodePayload(payload []uint8) error
func (*YanmarEngineDataD) EncodePayload ¶
func (m *YanmarEngineDataD) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataD) MessageInfo ¶
func (m *YanmarEngineDataD) MessageInfo() MessageInfo
func (*YanmarEngineDataD) PGNNumber ¶
func (m *YanmarEngineDataD) PGNNumber() uint32
func (*YanmarEngineDataD) SetMessageInfo ¶
func (m *YanmarEngineDataD) SetMessageInfo(info MessageInfo)
type YanmarEngineDataE ¶
type YanmarEngineDataE struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataE) DecodePayload ¶
func (m *YanmarEngineDataE) DecodePayload(payload []uint8) error
func (*YanmarEngineDataE) EncodePayload ¶
func (m *YanmarEngineDataE) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataE) MessageInfo ¶
func (m *YanmarEngineDataE) MessageInfo() MessageInfo
func (*YanmarEngineDataE) PGNNumber ¶
func (m *YanmarEngineDataE) PGNNumber() uint32
func (*YanmarEngineDataE) SetMessageInfo ¶
func (m *YanmarEngineDataE) SetMessageInfo(info MessageInfo)
type YanmarEngineDataF ¶
type YanmarEngineDataF struct {
Info MessageInfo `json:"info"`
ManufacturerCode *uint64 `json:"manufacturerCode,omitempty" n2k:"1"`
IndustryCode *uint64 `json:"industryCode,omitempty" n2k:"3"`
Data []uint8 `json:"data,omitempty" n2k:"4"`
}
func (*YanmarEngineDataF) DecodePayload ¶
func (m *YanmarEngineDataF) DecodePayload(payload []uint8) error
func (*YanmarEngineDataF) EncodePayload ¶
func (m *YanmarEngineDataF) EncodePayload() ([]uint8, error)
func (*YanmarEngineDataF) MessageInfo ¶
func (m *YanmarEngineDataF) MessageInfo() MessageInfo
func (*YanmarEngineDataF) PGNNumber ¶
func (m *YanmarEngineDataF) PGNNumber() uint32
func (*YanmarEngineDataF) SetMessageInfo ¶
func (m *YanmarEngineDataF) SetMessageInfo(info MessageInfo)
type YesNoConst ¶
type YesNoConst uint8
const ( No YesNoConst = 0 Yes YesNoConst = 1 )
func (YesNoConst) GoString ¶
func (e YesNoConst) GoString() string
func (YesNoConst) String ¶
func (e YesNoConst) String() string
type ZoneConfiguration ¶
type ZoneConfiguration struct {
Info MessageInfo `json:"info"`
ZoneId *uint64 `json:"zoneId,omitempty" n2k:"1"`
VolumeLimit *uint64 `json:"volumeLimit,omitempty" n2k:"2"`
Fade *int64 `json:"fade,omitempty" n2k:"3"`
Balance *int64 `json:"balance,omitempty" n2k:"4"`
SubVolume *uint64 `json:"subVolume,omitempty" n2k:"5"`
EqTreble *int64 `json:"eqTreble,omitempty" n2k:"6"`
EqMidRange *int64 `json:"eqMidRange,omitempty" n2k:"7"`
EqBass *int64 `json:"eqBass,omitempty" n2k:"8"`
PresetType *uint64 `json:"presetType,omitempty" n2k:"9"`
AudioFilter *uint64 `json:"audioFilter,omitempty" n2k:"10"`
HighPassFilterFrequency *uint64 `json:"highPassFilterFrequency,omitempty" n2k:"11"`
LowPassFilterFrequency *uint64 `json:"lowPassFilterFrequency,omitempty" n2k:"12"`
Channel *uint64 `json:"channel,omitempty" n2k:"13"`
}
func (*ZoneConfiguration) BalanceValue ¶
func (m *ZoneConfiguration) BalanceValue() (float64, bool)
BalanceValue returns Balance as a physical value in % (value = raw). The bool is false when Balance is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) DecodePayload ¶
func (m *ZoneConfiguration) DecodePayload(payload []uint8) error
func (*ZoneConfiguration) EncodePayload ¶
func (m *ZoneConfiguration) EncodePayload() ([]uint8, error)
func (*ZoneConfiguration) EqBassValue ¶
func (m *ZoneConfiguration) EqBassValue() (float64, bool)
EqBassValue returns EqBass as a physical value in % (value = raw). The bool is false when EqBass is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) EqMidRangeValue ¶
func (m *ZoneConfiguration) EqMidRangeValue() (float64, bool)
EqMidRangeValue returns EqMidRange as a physical value in % (value = raw). The bool is false when EqMidRange is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) EqTrebleValue ¶
func (m *ZoneConfiguration) EqTrebleValue() (float64, bool)
EqTrebleValue returns EqTreble as a physical value in % (value = raw). The bool is false when EqTreble is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) FadeValue ¶
func (m *ZoneConfiguration) FadeValue() (float64, bool)
FadeValue returns Fade as a physical value in % (value = raw). The bool is false when Fade is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) HighPassFilterFrequencyValue ¶
func (m *ZoneConfiguration) HighPassFilterFrequencyValue() (float64, bool)
HighPassFilterFrequencyValue returns HighPassFilterFrequency as a physical value in Hz (value = raw). The bool is false when HighPassFilterFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) LowPassFilterFrequencyValue ¶
func (m *ZoneConfiguration) LowPassFilterFrequencyValue() (float64, bool)
LowPassFilterFrequencyValue returns LowPassFilterFrequency as a physical value in Hz (value = raw). The bool is false when LowPassFilterFrequency is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) MessageInfo ¶
func (m *ZoneConfiguration) MessageInfo() MessageInfo
func (*ZoneConfiguration) PGNNumber ¶
func (m *ZoneConfiguration) PGNNumber() uint32
func (*ZoneConfiguration) SetBalanceValue ¶
func (m *ZoneConfiguration) SetBalanceValue(v float64)
SetBalanceValue sets Balance from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetEqBassValue ¶
func (m *ZoneConfiguration) SetEqBassValue(v float64)
SetEqBassValue sets EqBass from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetEqMidRangeValue ¶
func (m *ZoneConfiguration) SetEqMidRangeValue(v float64)
SetEqMidRangeValue sets EqMidRange from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetEqTrebleValue ¶
func (m *ZoneConfiguration) SetEqTrebleValue(v float64)
SetEqTrebleValue sets EqTreble from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetFadeValue ¶
func (m *ZoneConfiguration) SetFadeValue(v float64)
SetFadeValue sets Fade from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetHighPassFilterFrequencyValue ¶
func (m *ZoneConfiguration) SetHighPassFilterFrequencyValue(v float64)
SetHighPassFilterFrequencyValue sets HighPassFilterFrequency from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetLowPassFilterFrequencyValue ¶
func (m *ZoneConfiguration) SetLowPassFilterFrequencyValue(v float64)
SetLowPassFilterFrequencyValue sets LowPassFilterFrequency from a physical value in Hz, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetMessageInfo ¶
func (m *ZoneConfiguration) SetMessageInfo(info MessageInfo)
func (*ZoneConfiguration) SetSubVolumeValue ¶
func (m *ZoneConfiguration) SetSubVolumeValue(v float64)
SetSubVolumeValue sets SubVolume from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SetVolumeLimitValue ¶
func (m *ZoneConfiguration) SetVolumeLimitValue(v float64)
SetVolumeLimitValue sets VolumeLimit from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneConfiguration) SubVolumeValue ¶
func (m *ZoneConfiguration) SubVolumeValue() (float64, bool)
SubVolumeValue returns SubVolume as a physical value in % (value = raw). The bool is false when SubVolume is nil: the wire carried the field's null sentinel or the payload ended before the field.
func (*ZoneConfiguration) VolumeLimitValue ¶
func (m *ZoneConfiguration) VolumeLimitValue() (float64, bool)
VolumeLimitValue returns VolumeLimit as a physical value in % (value = raw). The bool is false when VolumeLimit is nil: the wire carried the field's null sentinel or the payload ended before the field.
type ZoneConfigurationDeprecated ¶
type ZoneConfigurationDeprecated struct {
Info MessageInfo `json:"info"`
FirstZoneId *uint64 `json:"firstZoneId,omitempty" n2k:"1"`
ZoneCount *uint64 `json:"zoneCount,omitempty" n2k:"2"`
TotalZoneCount *uint64 `json:"totalZoneCount,omitempty" n2k:"3"`
Repeating1 []ZoneConfigurationDeprecatedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (*ZoneConfigurationDeprecated) DecodePayload ¶
func (m *ZoneConfigurationDeprecated) DecodePayload(payload []uint8) error
func (*ZoneConfigurationDeprecated) EncodePayload ¶
func (m *ZoneConfigurationDeprecated) EncodePayload() ([]uint8, error)
func (*ZoneConfigurationDeprecated) MessageInfo ¶
func (m *ZoneConfigurationDeprecated) MessageInfo() MessageInfo
func (*ZoneConfigurationDeprecated) PGNNumber ¶
func (m *ZoneConfigurationDeprecated) PGNNumber() uint32
func (*ZoneConfigurationDeprecated) SetMessageInfo ¶
func (m *ZoneConfigurationDeprecated) SetMessageInfo(info MessageInfo)
type ZoneVolume ¶
type ZoneVolume struct {
Info MessageInfo `json:"info"`
ZoneId *uint64 `json:"zoneId,omitempty" n2k:"1"`
Volume *uint64 `json:"volume,omitempty" n2k:"2"`
VolumeChange *uint64 `json:"volumeChange,omitempty" n2k:"3"`
Mute *uint64 `json:"mute,omitempty" n2k:"4"`
Channel *uint64 `json:"channel,omitempty" n2k:"6"`
}
func (*ZoneVolume) DecodePayload ¶
func (m *ZoneVolume) DecodePayload(payload []uint8) error
func (*ZoneVolume) EncodePayload ¶
func (m *ZoneVolume) EncodePayload() ([]uint8, error)
func (*ZoneVolume) MessageInfo ¶
func (m *ZoneVolume) MessageInfo() MessageInfo
func (*ZoneVolume) PGNNumber ¶
func (m *ZoneVolume) PGNNumber() uint32
func (*ZoneVolume) SetMessageInfo ¶
func (m *ZoneVolume) SetMessageInfo(info MessageInfo)
func (*ZoneVolume) SetVolumeValue ¶
func (m *ZoneVolume) SetVolumeValue(v float64)
SetVolumeValue sets Volume from a physical value in %, rounded to the nearest wire tick of 1.
func (*ZoneVolume) VolumeValue ¶
func (m *ZoneVolume) VolumeValue() (float64, bool)
VolumeValue returns Volume as a physical value in % (value = raw). The bool is false when Volume is nil: the wire carried the field's null sentinel or the payload ended before the field.
Source Files
¶
- airmar.go
- ais.go
- bep_marine.go
- bg.go
- carling.go
- chetco.go
- codec.go
- communication.go
- debug.go
- dispatch.go
- diverse_yacht_services.go
- electrical.go
- engine.go
- enums.go
- environmental.go
- equipment.go
- furuno.go
- fusion.go
- garmin.go
- honda.go
- lowrance.go
- lumishore.go
- maretron.go
- mercury.go
- message.go
- messageinfo.go
- metadata_runtime.go
- navico.go
- navigation.go
- pgndatastream.go
- pgndatastream_writer.go
- pgninfo.go
- physical.go
- propulsion.go
- sea_recovery.go
- seatalk.go
- simnet.go
- simrad.go
- sonichub.go
- suzuki.go
- system.go
- unknownpgn.go
- upstream_definitions.go
- victron.go
- webasto.go
- xantrex.go
- yamaha.go
- yanmar.go