- added new DataAttributeType value IEC61850_TYPE_UNKNOWN

pull/265/head
Michael Zillgith 5 years ago
parent a17e9603e0
commit 69e359b03f

@ -87,6 +87,7 @@ typedef struct sLogControlBlock LogControlBlock;
typedef struct sLog Log;
typedef enum {
IEC61850_UNKNOWN_TYPE = -1,
IEC61850_BOOLEAN = 0,/* int */
IEC61850_INT8 = 1, /* int8_t */
IEC61850_INT16 = 2, /* int16_t */

@ -979,9 +979,9 @@ ControlObject_initialize(ControlObject* self)
char* daName = NULL;
DataAttribute* da = NULL;
DataAttributeType ctlValType = -1;
DataAttributeType stValType = -1;
DataAttributeType mxValType = -1;
DataAttributeType ctlValType = IEC61850_UNKNOWN_TYPE;
DataAttributeType stValType = IEC61850_UNKNOWN_TYPE;
DataAttributeType mxValType = IEC61850_UNKNOWN_TYPE;
daName = StringUtils_createStringInBuffer(strBuf, 6, self->mmsDomain->domainName, "/", self->lnName, ".", self->name, ".Oper.ctlVal");
da = (DataAttribute*) IedModel_getModelNodeByObjectReference(self->iedServer->model, daName);

Loading…
Cancel
Save