全球FlexSim系统仿真中文论坛

搜索
12
返回列表 发新帖
楼主: zorsite
打印 上一主题 下一主题

对于处理离散实体的固定实体,可否指定关闭某一个端口?

[复制链接]
11#
 楼主| zorsite 发表于 2016-3-30 10:45:52 | 只看该作者
我同意楼上对inputopen和ipopen的理解,但ipavailable是判断上游实体的端口状态,不是自身,有点区别% n7 B- Q% _: v# c) r  K6 x
shiningcz 发表于 2015-10-8 14:45
! i8 j9 F3 P/ X; Z
非常正确,我在原帖子中没有说太清楚。
+ P6 a: J8 B4 w. d  P( M[size=1.1em]ipavailable [size=1.1em](obj object, num inputportnum)
" a8 _  ]0 `  j9 d" QDescription( @9 y5 x1 ?- _5 g; l% }
Returns a 1 if the upstream object through the specified object's input port is available. Particularly, it checks if the upstream object exists, if it is stopped, if its output is open, and if the connected output port is open. This function returns 0 if the upstream object isn't available.8 A6 v4 U" n7 i) j

) W8 Z$ H: k0 x, z6 i0 IExample, c' f$ [( g5 k
ipavailable(current,1)
12#
eb_sun 发表于 2017-5-14 08:32:20 | 只看该作者
理解起来有点难度,继续好好学习
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|全球FlexSim系统仿真中文论坛 ( 京ICP备14043114号-2 )

GMT+8, 2025-6-30 20:36 , Processed in 0.071195 second(s), 12 queries .

Powered by Discuz! X3.3© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表