NMEA2000 Library  0.1
Library to handle NMEA 2000 Communication written in C++
tN2kMeteorlogicalStationData Struct Reference

Dedicated structure to handle Data of a meterological station. More...

#include <N2kMessages.h>

Public Member Functions

 tN2kMeteorlogicalStationData ()
 
void SetStationID (const char *id)
 Set the StationID object. More...
 
void SetStationName (const char *name)
 Set the Station Name object. More...
 

Public Attributes

double AtmosphericPressure
 Atmospheric pressure in Pascals. Use mBarToPascal, if you like to use mBar. More...
 
double Latitude
 The latitude of the current waypoint [degree]. More...
 
double Longitude
 The longitude of the current waypoint [degree]. More...
 
tN2kAISMode Mode
 
More...
 
double OutsideAmbientAirTemperature
 Outside ambient temperature in K. Use CToKelvin, if you want to use °C. More...
 
char StationID [15+1]
 Identifier of the transmitting weather station. (15 bytes max) More...
 
char StationName [50+1]
 Friendly name of the transmitting weather station. ( 50 bytes max) More...
 
uint16_t SystemDate
 Days since 1970-01-01. More...
 
double SystemTime
 seconds since midnight More...
 
double WindDirection
 Measured wind direction in radians. If you have value in degrees, use DegToRad() in call. More...
 
double WindGusts
 Measured wind gusts speed in m/s. More...
 
tN2kWindReference WindReference
 Wind reference, see definition tN2kWindReference. More...
 
double WindSpeed
 Measured wind speed in m/s. More...
 

Detailed Description

Dedicated structure to handle Data of a meterological station.

This structure should provide an a more convenient way to process data of a meterological station.

See also
SetN2kPGN130323 and ParseN2kPGN130323

Definition at line 5301 of file N2kMessages.h.

Constructor & Destructor Documentation

◆ tN2kMeteorlogicalStationData()

tN2kMeteorlogicalStationData::tN2kMeteorlogicalStationData ( )
inline

Definition at line 5334 of file N2kMessages.h.

Member Function Documentation

◆ SetStationID()

void tN2kMeteorlogicalStationData::SetStationID ( const char *  id)
inline

Set the StationID object.

Parameters
idIdentifier of the transmitting weather station (15 bytes max)

Definition at line 5356 of file N2kMessages.h.

◆ SetStationName()

void tN2kMeteorlogicalStationData::SetStationName ( const char *  name)
inline

Set the Station Name object.

Parameters
nameFriendly name of the transmitting weather station. (50 bytes max)

Definition at line 5367 of file N2kMessages.h.

Member Data Documentation

◆ AtmosphericPressure

double tN2kMeteorlogicalStationData::AtmosphericPressure

Atmospheric pressure in Pascals. Use mBarToPascal, if you like to use mBar.

Definition at line 5323 of file N2kMessages.h.

◆ Latitude

double tN2kMeteorlogicalStationData::Latitude

The latitude of the current waypoint [degree].

Definition at line 5309 of file N2kMessages.h.

◆ Longitude

double tN2kMeteorlogicalStationData::Longitude

The longitude of the current waypoint [degree].

Definition at line 5311 of file N2kMessages.h.

◆ Mode

tN2kAISMode tN2kMeteorlogicalStationData::Mode


Definition at line 5303 of file N2kMessages.h.

◆ OutsideAmbientAirTemperature

double tN2kMeteorlogicalStationData::OutsideAmbientAirTemperature

Outside ambient temperature in K. Use CToKelvin, if you want to use °C.

Definition at line 5326 of file N2kMessages.h.

◆ StationID

char tN2kMeteorlogicalStationData::StationID[15+1]

Identifier of the transmitting weather station. (15 bytes max)

Definition at line 5329 of file N2kMessages.h.

◆ StationName

char tN2kMeteorlogicalStationData::StationName[50+1]

Friendly name of the transmitting weather station. ( 50 bytes max)

Definition at line 5332 of file N2kMessages.h.

◆ SystemDate

uint16_t tN2kMeteorlogicalStationData::SystemDate

Days since 1970-01-01.

Definition at line 5305 of file N2kMessages.h.

◆ SystemTime

double tN2kMeteorlogicalStationData::SystemTime

seconds since midnight

Definition at line 5307 of file N2kMessages.h.

◆ WindDirection

double tN2kMeteorlogicalStationData::WindDirection

Measured wind direction in radians. If you have value in degrees, use DegToRad() in call.

Definition at line 5316 of file N2kMessages.h.

◆ WindGusts

double tN2kMeteorlogicalStationData::WindGusts

Measured wind gusts speed in m/s.

Definition at line 5320 of file N2kMessages.h.

◆ WindReference

tN2kWindReference tN2kMeteorlogicalStationData::WindReference

Wind reference, see definition tN2kWindReference.

Definition at line 5318 of file N2kMessages.h.

◆ WindSpeed

double tN2kMeteorlogicalStationData::WindSpeed

Measured wind speed in m/s.

Definition at line 5313 of file N2kMessages.h.


The documentation for this struct was generated from the following file: