You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.9 KiB
C

1 year ago
/****************************************************************************/
/* Copyright (c) 2007,<2C><><EFBFBD>̼<EFBFBD><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD>˾ */
/* All rights reserved. */
/* */
/* ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
/** <20><><EFBFBD><EFBFBD>acsicfg.xml<6D>ļ<EFBFBD>
* @file ac_acfg.h */
/* */
/* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ע<><D7A2> */
/* 2009/03/31 ZYZ <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD> */
/****************************************************************************/
#ifndef IEC61850_AC_ACFG_H
#define IEC61850_AC_ACFG_H
#include "glbtypes.h"
#include "mvl_acse.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
DBL_LNK l;
ST_CHAR ied_name[MAX_AR_LEN+1];
ST_INT max_dyn_ds_num; //<2F><>̬<EFBFBD><CCAC><EFBFBD>ݼ<EFBFBD><DDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ST_INT auto_acssoc_time; //<2F>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
ST_BOOLEAN sg_variable_list; //<2F><>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>
ST_BOOLEAN ied_create_dir; //<2F><><EFBFBD><EFBFBD><EFBFBD>ռ<D5BC><E4B4B4>ģʽ
ST_BOOLEAN keep_con_A; //keepCon<6F><6E>־
ST_BOOLEAN keep_con_B; //keepCon<6F><6E>־
ST_BOOLEAN many_inst; //<2F><><EFBFBD><EFBFBD><E6B1A8><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>ʵ<EFBFBD><CAB5>
ST_INT chnlA_NO; //Aͨ<41><CDA8>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>
ST_INT chnlB_NO; //Bͨ<42><CDA8>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>
}AI_IED_CFG;
typedef struct
{
ST_INT max_ied_num; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ied<65><64><EFBFBD><EFBFBD>
ST_INT max_tdlBuf_len; //TDL<44><4C><EFBFBD>󳤶<EFBFBD>
ST_INT max_typeID_num; //TYPEID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
AI_IED_CFG default_cfg; //Ĭ<><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
AI_IED_CFG *ied_cfg; //װ<><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}AI_CFG_INFO;
ST_RET acsiCfg_ex(ST_CHAR *logFileName, AI_CFG_INFO *cfg_info);
ST_VOID acsiCfg_free(AI_CFG_INFO *cfg_info);
#ifdef __cplusplus
}
#endif
#endif /** IEC61850_AC_ACFG_H */