/*
 * static_model.h
 *
 * automatically generated from sg_demo.cid
 */

#ifndef STATIC_MODEL_H_
#define STATIC_MODEL_H_

#include <stdlib.h>
#include "iec61850_model.h"

extern IedModel iedModel;
extern LogicalDevice iedModel_PROT;
extern LogicalNode   iedModel_PROT_LLN0;
extern DataObject    iedModel_PROT_LLN0_Mod;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_ctlVal;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_operTm;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_origin;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_origin_orCat;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_origin_orIdent;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_ctlNum;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_T;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_Test;
extern DataAttribute iedModel_PROT_LLN0_Mod_Oper_Check;
extern DataAttribute iedModel_PROT_LLN0_Mod_stVal;
extern DataAttribute iedModel_PROT_LLN0_Mod_q;
extern DataAttribute iedModel_PROT_LLN0_Mod_t;
extern DataAttribute iedModel_PROT_LLN0_Mod_ctlModel;
extern DataObject    iedModel_PROT_LLN0_Beh;
extern DataAttribute iedModel_PROT_LLN0_Beh_stVal;
extern DataAttribute iedModel_PROT_LLN0_Beh_q;
extern DataAttribute iedModel_PROT_LLN0_Beh_t;
extern DataObject    iedModel_PROT_LLN0_Health;
extern DataAttribute iedModel_PROT_LLN0_Health_stVal;
extern DataAttribute iedModel_PROT_LLN0_Health_q;
extern DataAttribute iedModel_PROT_LLN0_Health_t;
extern DataObject    iedModel_PROT_LLN0_NamPlt;
extern DataAttribute iedModel_PROT_LLN0_NamPlt_vendor;
extern DataAttribute iedModel_PROT_LLN0_NamPlt_swRev;
extern DataAttribute iedModel_PROT_LLN0_NamPlt_d;
extern DataAttribute iedModel_PROT_LLN0_NamPlt_configRev;
extern DataAttribute iedModel_PROT_LLN0_NamPlt_ldNs;
extern LogicalNode   iedModel_PROT_LPHD1;
extern DataObject    iedModel_PROT_LPHD1_PhyNam;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_vendor;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_hwRev;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_swRev;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_serNum;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_model;
extern DataAttribute iedModel_PROT_LPHD1_PhyNam_location;
extern DataObject    iedModel_PROT_LPHD1_PhyHealth;
extern DataAttribute iedModel_PROT_LPHD1_PhyHealth_stVal;
extern DataAttribute iedModel_PROT_LPHD1_PhyHealth_q;
extern DataAttribute iedModel_PROT_LPHD1_PhyHealth_t;
extern DataObject    iedModel_PROT_LPHD1_Proxy;
extern DataAttribute iedModel_PROT_LPHD1_Proxy_stVal;
extern DataAttribute iedModel_PROT_LPHD1_Proxy_q;
extern DataAttribute iedModel_PROT_LPHD1_Proxy_t;
extern LogicalNode   iedModel_PROT_PTOC1;
extern DataObject    iedModel_PROT_PTOC1_Beh;
extern DataAttribute iedModel_PROT_PTOC1_Beh_stVal;
extern DataAttribute iedModel_PROT_PTOC1_Beh_q;
extern DataAttribute iedModel_PROT_PTOC1_Beh_t;
extern DataObject    iedModel_PROT_PTOC1_Mod;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_ctlVal;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_operTm;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_origin;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_origin_orCat;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_origin_orIdent;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_ctlNum;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_T;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_Test;
extern DataAttribute iedModel_PROT_PTOC1_Mod_Oper_Check;
extern DataAttribute iedModel_PROT_PTOC1_Mod_stVal;
extern DataAttribute iedModel_PROT_PTOC1_Mod_q;
extern DataAttribute iedModel_PROT_PTOC1_Mod_t;
extern DataAttribute iedModel_PROT_PTOC1_Mod_ctlModel;
extern DataObject    iedModel_PROT_PTOC1_Str;
extern DataAttribute iedModel_PROT_PTOC1_Str_general;
extern DataAttribute iedModel_PROT_PTOC1_Str_dirGeneral;
extern DataAttribute iedModel_PROT_PTOC1_Str_q;
extern DataAttribute iedModel_PROT_PTOC1_Str_t;
extern DataObject    iedModel_PROT_PTOC1_Op;
extern DataAttribute iedModel_PROT_PTOC1_Op_general;
extern DataAttribute iedModel_PROT_PTOC1_Op_q;
extern DataAttribute iedModel_PROT_PTOC1_Op_t;
extern DataObject    iedModel_PROT_PTOC1_StrVal;
extern DataAttribute iedModel_PROT_PTOC1_StrVal_setMag;
extern DataAttribute iedModel_PROT_PTOC1_StrVal_setMag_f;
extern DataAttribute iedModel_SE_PROT_PTOC1_StrVal_setMag;
extern DataAttribute iedModel_SE_PROT_PTOC1_StrVal_setMag_f;
extern DataObject    iedModel_PROT_PTOC1_OpDlTmms;
extern DataAttribute iedModel_PROT_PTOC1_OpDlTmms_setVal;
extern DataAttribute iedModel_SE_PROT_PTOC1_OpDlTmms_setVal;
extern DataObject    iedModel_PROT_PTOC1_RsDlTmms;
extern DataAttribute iedModel_PROT_PTOC1_RsDlTmms_setVal;
extern DataAttribute iedModel_SE_PROT_PTOC1_RsDlTmms_setVal;
extern DataObject    iedModel_PROT_PTOC1_RstTms;
extern DataAttribute iedModel_PROT_PTOC1_RstTms_setVal;
extern DataAttribute iedModel_SE_PROT_PTOC1_RstTms_setVal;



#define IEDMODEL_PROT (&iedModel_PROT)
#define IEDMODEL_PROT_LLN0 (&iedModel_PROT_LLN0)
#define IEDMODEL_PROT_LLN0_Mod (&iedModel_PROT_LLN0_Mod)
#define IEDMODEL_PROT_LLN0_Mod_Oper (&iedModel_PROT_LLN0_Mod_Oper)
#define IEDMODEL_PROT_LLN0_Mod_Oper_ctlVal (&iedModel_PROT_LLN0_Mod_Oper_ctlVal)
#define IEDMODEL_PROT_LLN0_Mod_Oper_operTm (&iedModel_PROT_LLN0_Mod_Oper_operTm)
#define IEDMODEL_PROT_LLN0_Mod_Oper_origin (&iedModel_PROT_LLN0_Mod_Oper_origin)
#define IEDMODEL_PROT_LLN0_Mod_Oper_origin_orCat (&iedModel_PROT_LLN0_Mod_Oper_origin_orCat)
#define IEDMODEL_PROT_LLN0_Mod_Oper_origin_orIdent (&iedModel_PROT_LLN0_Mod_Oper_origin_orIdent)
#define IEDMODEL_PROT_LLN0_Mod_Oper_ctlNum (&iedModel_PROT_LLN0_Mod_Oper_ctlNum)
#define IEDMODEL_PROT_LLN0_Mod_Oper_T (&iedModel_PROT_LLN0_Mod_Oper_T)
#define IEDMODEL_PROT_LLN0_Mod_Oper_Test (&iedModel_PROT_LLN0_Mod_Oper_Test)
#define IEDMODEL_PROT_LLN0_Mod_Oper_Check (&iedModel_PROT_LLN0_Mod_Oper_Check)
#define IEDMODEL_PROT_LLN0_Mod_stVal (&iedModel_PROT_LLN0_Mod_stVal)
#define IEDMODEL_PROT_LLN0_Mod_q (&iedModel_PROT_LLN0_Mod_q)
#define IEDMODEL_PROT_LLN0_Mod_t (&iedModel_PROT_LLN0_Mod_t)
#define IEDMODEL_PROT_LLN0_Mod_ctlModel (&iedModel_PROT_LLN0_Mod_ctlModel)
#define IEDMODEL_PROT_LLN0_Beh (&iedModel_PROT_LLN0_Beh)
#define IEDMODEL_PROT_LLN0_Beh_stVal (&iedModel_PROT_LLN0_Beh_stVal)
#define IEDMODEL_PROT_LLN0_Beh_q (&iedModel_PROT_LLN0_Beh_q)
#define IEDMODEL_PROT_LLN0_Beh_t (&iedModel_PROT_LLN0_Beh_t)
#define IEDMODEL_PROT_LLN0_Health (&iedModel_PROT_LLN0_Health)
#define IEDMODEL_PROT_LLN0_Health_stVal (&iedModel_PROT_LLN0_Health_stVal)
#define IEDMODEL_PROT_LLN0_Health_q (&iedModel_PROT_LLN0_Health_q)
#define IEDMODEL_PROT_LLN0_Health_t (&iedModel_PROT_LLN0_Health_t)
#define IEDMODEL_PROT_LLN0_NamPlt (&iedModel_PROT_LLN0_NamPlt)
#define IEDMODEL_PROT_LLN0_NamPlt_vendor (&iedModel_PROT_LLN0_NamPlt_vendor)
#define IEDMODEL_PROT_LLN0_NamPlt_swRev (&iedModel_PROT_LLN0_NamPlt_swRev)
#define IEDMODEL_PROT_LLN0_NamPlt_d (&iedModel_PROT_LLN0_NamPlt_d)
#define IEDMODEL_PROT_LLN0_NamPlt_configRev (&iedModel_PROT_LLN0_NamPlt_configRev)
#define IEDMODEL_PROT_LLN0_NamPlt_ldNs (&iedModel_PROT_LLN0_NamPlt_ldNs)
#define IEDMODEL_PROT_LPHD1 (&iedModel_PROT_LPHD1)
#define IEDMODEL_PROT_LPHD1_PhyNam (&iedModel_PROT_LPHD1_PhyNam)
#define IEDMODEL_PROT_LPHD1_PhyNam_vendor (&iedModel_PROT_LPHD1_PhyNam_vendor)
#define IEDMODEL_PROT_LPHD1_PhyNam_hwRev (&iedModel_PROT_LPHD1_PhyNam_hwRev)
#define IEDMODEL_PROT_LPHD1_PhyNam_swRev (&iedModel_PROT_LPHD1_PhyNam_swRev)
#define IEDMODEL_PROT_LPHD1_PhyNam_serNum (&iedModel_PROT_LPHD1_PhyNam_serNum)
#define IEDMODEL_PROT_LPHD1_PhyNam_model (&iedModel_PROT_LPHD1_PhyNam_model)
#define IEDMODEL_PROT_LPHD1_PhyNam_location (&iedModel_PROT_LPHD1_PhyNam_location)
#define IEDMODEL_PROT_LPHD1_PhyHealth (&iedModel_PROT_LPHD1_PhyHealth)
#define IEDMODEL_PROT_LPHD1_PhyHealth_stVal (&iedModel_PROT_LPHD1_PhyHealth_stVal)
#define IEDMODEL_PROT_LPHD1_PhyHealth_q (&iedModel_PROT_LPHD1_PhyHealth_q)
#define IEDMODEL_PROT_LPHD1_PhyHealth_t (&iedModel_PROT_LPHD1_PhyHealth_t)
#define IEDMODEL_PROT_LPHD1_Proxy (&iedModel_PROT_LPHD1_Proxy)
#define IEDMODEL_PROT_LPHD1_Proxy_stVal (&iedModel_PROT_LPHD1_Proxy_stVal)
#define IEDMODEL_PROT_LPHD1_Proxy_q (&iedModel_PROT_LPHD1_Proxy_q)
#define IEDMODEL_PROT_LPHD1_Proxy_t (&iedModel_PROT_LPHD1_Proxy_t)
#define IEDMODEL_PROT_PTOC1 (&iedModel_PROT_PTOC1)
#define IEDMODEL_PROT_PTOC1_Beh (&iedModel_PROT_PTOC1_Beh)
#define IEDMODEL_PROT_PTOC1_Beh_stVal (&iedModel_PROT_PTOC1_Beh_stVal)
#define IEDMODEL_PROT_PTOC1_Beh_q (&iedModel_PROT_PTOC1_Beh_q)
#define IEDMODEL_PROT_PTOC1_Beh_t (&iedModel_PROT_PTOC1_Beh_t)
#define IEDMODEL_PROT_PTOC1_Mod (&iedModel_PROT_PTOC1_Mod)
#define IEDMODEL_PROT_PTOC1_Mod_Oper (&iedModel_PROT_PTOC1_Mod_Oper)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_ctlVal (&iedModel_PROT_PTOC1_Mod_Oper_ctlVal)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_operTm (&iedModel_PROT_PTOC1_Mod_Oper_operTm)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_origin (&iedModel_PROT_PTOC1_Mod_Oper_origin)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_origin_orCat (&iedModel_PROT_PTOC1_Mod_Oper_origin_orCat)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_origin_orIdent (&iedModel_PROT_PTOC1_Mod_Oper_origin_orIdent)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_ctlNum (&iedModel_PROT_PTOC1_Mod_Oper_ctlNum)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_T (&iedModel_PROT_PTOC1_Mod_Oper_T)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_Test (&iedModel_PROT_PTOC1_Mod_Oper_Test)
#define IEDMODEL_PROT_PTOC1_Mod_Oper_Check (&iedModel_PROT_PTOC1_Mod_Oper_Check)
#define IEDMODEL_PROT_PTOC1_Mod_stVal (&iedModel_PROT_PTOC1_Mod_stVal)
#define IEDMODEL_PROT_PTOC1_Mod_q (&iedModel_PROT_PTOC1_Mod_q)
#define IEDMODEL_PROT_PTOC1_Mod_t (&iedModel_PROT_PTOC1_Mod_t)
#define IEDMODEL_PROT_PTOC1_Mod_ctlModel (&iedModel_PROT_PTOC1_Mod_ctlModel)
#define IEDMODEL_PROT_PTOC1_Str (&iedModel_PROT_PTOC1_Str)
#define IEDMODEL_PROT_PTOC1_Str_general (&iedModel_PROT_PTOC1_Str_general)
#define IEDMODEL_PROT_PTOC1_Str_dirGeneral (&iedModel_PROT_PTOC1_Str_dirGeneral)
#define IEDMODEL_PROT_PTOC1_Str_q (&iedModel_PROT_PTOC1_Str_q)
#define IEDMODEL_PROT_PTOC1_Str_t (&iedModel_PROT_PTOC1_Str_t)
#define IEDMODEL_PROT_PTOC1_Op (&iedModel_PROT_PTOC1_Op)
#define IEDMODEL_PROT_PTOC1_Op_general (&iedModel_PROT_PTOC1_Op_general)
#define IEDMODEL_PROT_PTOC1_Op_q (&iedModel_PROT_PTOC1_Op_q)
#define IEDMODEL_PROT_PTOC1_Op_t (&iedModel_PROT_PTOC1_Op_t)
#define IEDMODEL_PROT_PTOC1_StrVal (&iedModel_PROT_PTOC1_StrVal)
#define IEDMODEL_PROT_PTOC1_StrVal_setMag (&iedModel_PROT_PTOC1_StrVal_setMag)
#define IEDMODEL_PROT_PTOC1_StrVal_setMag_f (&iedModel_PROT_PTOC1_StrVal_setMag_f)
#define IEDMODEL_SE_PROT_PTOC1_StrVal_setMag (&iedModel_SE_PROT_PTOC1_StrVal_setMag)
#define IEDMODEL_SE_PROT_PTOC1_StrVal_setMag_f (&iedModel_SE_PROT_PTOC1_StrVal_setMag_f)
#define IEDMODEL_PROT_PTOC1_OpDlTmms (&iedModel_PROT_PTOC1_OpDlTmms)
#define IEDMODEL_PROT_PTOC1_OpDlTmms_setVal (&iedModel_PROT_PTOC1_OpDlTmms_setVal)
#define IEDMODEL_SE_PROT_PTOC1_OpDlTmms_setVal (&iedModel_SE_PROT_PTOC1_OpDlTmms_setVal)
#define IEDMODEL_PROT_PTOC1_RsDlTmms (&iedModel_PROT_PTOC1_RsDlTmms)
#define IEDMODEL_PROT_PTOC1_RsDlTmms_setVal (&iedModel_PROT_PTOC1_RsDlTmms_setVal)
#define IEDMODEL_SE_PROT_PTOC1_RsDlTmms_setVal (&iedModel_SE_PROT_PTOC1_RsDlTmms_setVal)
#define IEDMODEL_PROT_PTOC1_RstTms (&iedModel_PROT_PTOC1_RstTms)
#define IEDMODEL_PROT_PTOC1_RstTms_setVal (&iedModel_PROT_PTOC1_RstTms_setVal)
#define IEDMODEL_SE_PROT_PTOC1_RstTms_setVal (&iedModel_SE_PROT_PTOC1_RstTms_setVal)

#endif /* STATIC_MODEL_H_ */

