Ets_Pj_Scenario_Index_Set()

**注意:**需要 OPNET Development Kit

摘要

调整项目中场景的排列顺序。

语法

Ets_Pj_Scenario_Index_Set (pj_hndl, scenario_name, index)
参数 类型 说明
pj_hndl EtsT_Model_Handle 目标项目。
scenario_name const char * 目标场景。
index int 要为场景设置的索引号(必须大于或等于 0)

返回类型

EtsT_Compcode

场景索引设置成功时返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_pj.h

详情

此函数改变场景中某个场景的顺序(即 Manage Scenarios 列表中显示的顺序)。指定的场景被移动到 index 位置,原先位于 index 及更高位置的场景将重新编号。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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