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.

49 lines
1.7 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. */
/* */
/* 模块描述: */
/** 创建数据类型及其id、创建对象空间
* @file ac_crscl.h */
/* */
/* 日期 作者 注释 */
/* 2007/07/16 TYJ 创建文件 */
/****************************************************************************/
#ifndef IEC61850_AC_CRSCL_INCLUDED
#define IEC61850_AC_CRSCL_INCLUDED
#include "ai_obj.h"
#ifdef __cplusplus
extern "C" {
#endif
#define REPORT_SCAN_RATE 2000 /** 报告扫描速率 */
/**
* 创建数据类型及其id
* @param scd_info 解析scd文件所有节点信息的结构指针
* @return 成功返回SD_SUCCESS, 失败返回SD_FAILURE
*/
ST_RET ac_create_all_type_id(SCD_INFO *scd_info);
/**
* 创建一个ied设备的对象空间
* @param ied_info scd文件中一个ied节点信息的结构指针
* @return AI_IED_CTRL *创建好的对象空间需调用ai_destroy_ied释放
*/
AI_IED_CTRL *ac_create_ied_scd(SCL_INFO *ied_info, ST_CHAR *ied_name);
/**
* 释放数据类型及其id
* @param 无
* @retval SD_SUCCESS 成功
* @retval SD_FAILURE 失败
*/
ST_RET ac_destroy_all_type_id();
#ifdef __cplusplus
}
#endif
#endif /** !IEC61850_AC_CRSCL_INCLUDED */