Ets_Nt_Link_Consistency_Set()

Abstract

Sets an ETS link object as consistent or inconsistent.

Syntax

Ets_Nt_Link_Consistency_Set (link_hndl, state)
Argument Type Description
link_hndl EtsT_Obj_Handle Handle of the object of interest.
state EtsT_Link_Consistency New consistency state to be set in the object (see Details).

Return Type

EtsT_Compcode

EtsC_Compcode_Success if the object is a link and the consistency state is set on the object. EtsC_Compcode_Failure otherwise.

ets_api_nt.h

Details

An ETS link object’s consistency state can be set to either EtsC_Link_Consistent or EtsC_Link_Inconsistent. If the state is set to EtsC_Link_Inconsistent, the link will be visually marked in the workspace and will display an error message when double-clicked. The message can be set using Ets_Nt_Link_Consistency_Error_Msg_Set(). The ETS link object will not be marked in the workspace until Ets_Model_Redraw() is called.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com