libiec61850  1.6.0
Enumerations | Functions
Definitions and functions related to IEC 61850 Dbpos (a CODED ENUM) data type

Enumerations

enum  Dbpos { DBPOS_INTERMEDIATE_STATE = 0 , DBPOS_OFF = 1 , DBPOS_ON = 2 , DBPOS_BAD_STATE = 3 }
 

Functions

LIB61850_API Dbpos Dbpos_fromMmsValue (const MmsValue *mmsValue)
 convert MMS bit string to Dbpos enumeration type More...
 
LIB61850_API MmsValueDbpos_toMmsValue (MmsValue *mmsValue, Dbpos dbpos)
 conver Dbpos to MMS bit string More...
 

Detailed Description

Enumeration Type Documentation

◆ Dbpos

enum Dbpos
Enumerator
DBPOS_INTERMEDIATE_STATE 
DBPOS_OFF 
DBPOS_ON 
DBPOS_BAD_STATE 

Function Documentation

◆ Dbpos_fromMmsValue()

LIB61850_API Dbpos Dbpos_fromMmsValue ( const MmsValue mmsValue)

convert MMS bit string to Dbpos enumeration type

Parameters
mmsValuethe MmsValue instance representing the Dbpos value
Returns
the corresponding Dbpos value

◆ Dbpos_toMmsValue()

LIB61850_API MmsValue* Dbpos_toMmsValue ( MmsValue mmsValue,
Dbpos  dbpos 
)

conver Dbpos to MMS bit string

Parameters
mmsValuethe MmsValue instance representing a Dbpos value or NULL to create a new MmsValue instance
aDbpos value
Returns
the corresponding MmsValue instance