libiec61850  1.6.0
Macros | Typedefs | Functions
Definitions and functions related to data attribute quality

Macros

#define QUALITY_VALIDITY_GOOD   0
 
#define QUALITY_VALIDITY_INVALID   2
 
#define QUALITY_VALIDITY_RESERVED   1
 
#define QUALITY_VALIDITY_QUESTIONABLE   3
 
#define QUALITY_DETAIL_OVERFLOW   4
 
#define QUALITY_DETAIL_OUT_OF_RANGE   8
 
#define QUALITY_DETAIL_BAD_REFERENCE   16
 
#define QUALITY_DETAIL_OSCILLATORY   32
 
#define QUALITY_DETAIL_FAILURE   64
 
#define QUALITY_DETAIL_OLD_DATA   128
 
#define QUALITY_DETAIL_INCONSISTENT   256
 
#define QUALITY_DETAIL_INACCURATE   512
 
#define QUALITY_SOURCE_SUBSTITUTED   1024
 
#define QUALITY_TEST   2048
 
#define QUALITY_OPERATOR_BLOCKED   4096
 
#define QUALITY_DERIVED   8192
 

Typedefs

typedef uint16_t Quality
 
typedef uint16_t Validity
 

Functions

LIB61850_API Validity Quality_getValidity (Quality *self)
 
LIB61850_API void Quality_setValidity (Quality *self, Validity validity)
 
LIB61850_API void Quality_setFlag (Quality *self, int flag)
 
LIB61850_API void Quality_unsetFlag (Quality *self, int flag)
 
LIB61850_API bool Quality_isFlagSet (Quality *self, int flag)
 
LIB61850_API Quality Quality_fromMmsValue (const MmsValue *mmsValue)
 
LIB61850_API MmsValueQuality_toMmsValue (Quality *self, MmsValue *mmsValue)
 

Detailed Description

Macro Definition Documentation

◆ QUALITY_DERIVED

#define QUALITY_DERIVED   8192

◆ QUALITY_DETAIL_BAD_REFERENCE

#define QUALITY_DETAIL_BAD_REFERENCE   16

◆ QUALITY_DETAIL_FAILURE

#define QUALITY_DETAIL_FAILURE   64

◆ QUALITY_DETAIL_INACCURATE

#define QUALITY_DETAIL_INACCURATE   512

◆ QUALITY_DETAIL_INCONSISTENT

#define QUALITY_DETAIL_INCONSISTENT   256

◆ QUALITY_DETAIL_OLD_DATA

#define QUALITY_DETAIL_OLD_DATA   128

◆ QUALITY_DETAIL_OSCILLATORY

#define QUALITY_DETAIL_OSCILLATORY   32

◆ QUALITY_DETAIL_OUT_OF_RANGE

#define QUALITY_DETAIL_OUT_OF_RANGE   8

◆ QUALITY_DETAIL_OVERFLOW

#define QUALITY_DETAIL_OVERFLOW   4

◆ QUALITY_OPERATOR_BLOCKED

#define QUALITY_OPERATOR_BLOCKED   4096

◆ QUALITY_SOURCE_SUBSTITUTED

#define QUALITY_SOURCE_SUBSTITUTED   1024

◆ QUALITY_TEST

#define QUALITY_TEST   2048

◆ QUALITY_VALIDITY_GOOD

#define QUALITY_VALIDITY_GOOD   0

◆ QUALITY_VALIDITY_INVALID

#define QUALITY_VALIDITY_INVALID   2

◆ QUALITY_VALIDITY_QUESTIONABLE

#define QUALITY_VALIDITY_QUESTIONABLE   3

◆ QUALITY_VALIDITY_RESERVED

#define QUALITY_VALIDITY_RESERVED   1

Typedef Documentation

◆ Quality

typedef uint16_t Quality

◆ Validity

typedef uint16_t Validity

Function Documentation

◆ Quality_fromMmsValue()

LIB61850_API Quality Quality_fromMmsValue ( const MmsValue mmsValue)

◆ Quality_getValidity()

LIB61850_API Validity Quality_getValidity ( Quality self)

◆ Quality_isFlagSet()

LIB61850_API bool Quality_isFlagSet ( Quality self,
int  flag 
)

◆ Quality_setFlag()

LIB61850_API void Quality_setFlag ( Quality self,
int  flag 
)

◆ Quality_setValidity()

LIB61850_API void Quality_setValidity ( Quality self,
Validity  validity 
)

◆ Quality_toMmsValue()

LIB61850_API MmsValue* Quality_toMmsValue ( Quality self,
MmsValue mmsValue 
)

◆ Quality_unsetFlag()

LIB61850_API void Quality_unsetFlag ( Quality self,
int  flag 
)