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.

39 lines
1.5 KiB
C

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/****************************************************************************/
/* Copyright (c) 2007,许继集团有限公司 */
/* All rights reserved. */
/* */
/* 模块描述: */
/** 从模型信息表中读取ln以下对象的类型及子类型存到对象空间中.
* 用户扩展的对象的类型无法确定比如在LLN0下加个doabcdo,则abcdo的类型为
* OBJECT_TYPE_DO但其子类型只能设为AI_DOTYPE_UNKNOWN并且abcdo下的对象都
* 认为是da不再考虑嵌套do的类型。对于da对象如果是复杂类型的其子类型统
* 一设为AI_DATYPE_STRUCT
* @file ai_mdtab.h */
/* */
/* 日期 作者 注释 */
/* 2007/11/09 DJF 创建文件 */
/****************************************************************************/
#ifndef IEC61850_AI_MDTAB_H
#define IEC61850_AI_MDTAB_H
#include "ai_def.h"
#include "ai_obj.h"
#ifdef __cplusplus
extern "C" {
#endif
ST_RET ai_init_obj_type_by_mdtab(AI_IED_CTRL *ied);
AI_OBJ_TYPE ai_find_obj_type_by_mdtab(ST_CHAR *obj_ref, AI_FCO_SUBTYPE *sub_type);
AI_FCO_SUBTYPE ai_subtype_str_to_int(AI_OBJ_TYPE fco_type, ST_CHAR *subType_str);
#ifdef __cplusplus
}
#endif
#endif