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 {