From 911d555922c68be4f1c7979d0c528ddc22f6d0c6 Mon Sep 17 00:00:00 2001 From: Kevin Jhang Date: Tue, 11 Jan 2022 17:46:55 +0800 Subject: [PATCH] - fixed runtime error (System.ExecutionEngineException) --- src/iec61850/inc/iec61850_model.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/iec61850/inc/iec61850_model.h b/src/iec61850/inc/iec61850_model.h index ee1887b9..a53c8c29 100644 --- a/src/iec61850/inc/iec61850_model.h +++ b/src/iec61850/inc/iec61850_model.h @@ -223,6 +223,7 @@ struct sDataAttribute { ModelNode* firstChild; int elementCount; /* > 0 if this is an array */ + int index; FunctionalConstraint fc; DataAttributeType type; @@ -232,8 +233,6 @@ struct sDataAttribute { MmsValue* mmsValue; uint32_t sAddr; - - int index; }; typedef struct sDataSetEntry {