• opnet中的attribute


    ##model attribute

    1.进程编辑器-interfaces-mode attributes里填写的属性值会添加到模块的attribute(模块右键)

    2.节点编辑器-interfaces-mode attributes里填写的属性值会添加到节点的attribute(节点右键)

    3.如果填写的属性值包含了Group,则对应的属性attribute为复合属性

    4.可以使用op_ima_obj_attr_get(Objid,"attribute name", value_ptr)函数来获取相关属性的值(这些值要提前设置好)

    5.如果设置成promoted会一直向上提升属性-模块-节点-直到仿真属性DES-Configure/Run Discrete Event Simulation-Inputs-Object Attributes

    ##进程接口属性

    1.进程编辑器-interfaces-process interfaces里设置某些属性-promoted-模块-节点-仿真属性DES-Configure/Run Discrete Event Simulation-Inputs-Object Attributes

    ##global attribute

    1.进程编辑器-interfaces-global attributes里填写的属性会添加到仿真属性DES-Configure/Run Discrete Event Simulation-Inputs-Global Attributes

    2.如果填写的属性值包含了Group,则对应的属性attribute为复合属性

    ##仿真属性

    1.DES-Configure/Run Discrete Event Simulation-Inputs-Global Attributes(global attribute提升获得,自动显示)

    2.DES-Configure/Run Discrete Event Simulation-Inputs-Object Attributes(model attribute和进程接口属性提升获得,需点击空白框add添加才会显示)

    3.通过函数op_ima_sim_attr_get(attr_type,attr_name,value_ptr)获取相关属性值

  • 相关阅读:
    南京网络赛a(离线 树状数组)
    super_log(欧拉降幂)
    ac自动机模板 hdu2222
    Seek the Name, Seek the Fame POJ
    Power Strings(求循环次数最多的循环节 kmp)
    Period(循环节 nxt数组的应用)
    kmp 算法回顾(Number Sequence HDU
    最短路 2 (百度之星 初赛3 B)(floyd)
    path(优先队列,dijk拓展)
    (银联复赛)爱喝「肥宅快乐水」的班长
  • 原文地址:https://www.cnblogs.com/ningqian/p/13303180.html
Copyright © 2020-2023  润新知