pull/265/head
Michael Zillgith 5 years ago
commit 3e1a23a6d0

@ -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);

@ -434,7 +434,7 @@ ConfigFileParser_createModelFromConfigFile(FileHandle fileHandle)
}
}
else if (StringUtils_startsWith((char*) lineBuffer, "DE")) {
char* start = strchr(lineBuffer, '(');
char* start = strchr((char*) lineBuffer, '(');
if (start) {
start++;

Loading…
Cancel
Save