zoukankan      html  css  js  c++  java
  • 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)获取相关属性值

  • 相关阅读:
    谈一谈网站防盗链
    SEO优化步骤
    hls协议(最清晰的讲解)
    https比http到底那里安全?
    常见的php攻击(6种攻击详解)
    36)django-jsonp跨域
    35)django-验证码
    34)django-上传文件,图片预览功能实现
    33)django-原生ajax,伪ajax
    32)django-modelform
  • 原文地址:https://www.cnblogs.com/ningqian/p/13303180.html
Copyright © 2011-2022 走看看