Ets_Nt_Time_Base_Set()

摘要

设置网络的起始时间。

语法

Ets_Nt_Time_Base_Set (model_hndl, date_time)
参数 类型 说明
model_hndl EtsT_Model_Handle 感兴趣的网络模型。
date_time PrgT_Date 要设置为网络起始时间的日历时间。

返回类型

EtsT_Compcode

若 model_hndl 为 NIL 或不是网络,返回 EtsC_Compcode_Failure;否则返回 EtsC_Compcode_Success。

头文件

ets_api_nt.h

详情

如果 date_time 小于 0.0,起始时间将被设置为 NTC_TIME_VALUE_UNDEFINED。设置起始时间后,如果时间控制器 GUI 当前正在显示,此函数会更新该 GUI。

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