发帖
 找回密码
 立即注册
搜索
11 0 0
12
返回列表 发新帖
2016-3-30 10:45:52
[quote]我同意楼上对inputopen和ipopen的理解,但ipavailable是判断上游实体的端口状态,不是自身,有点区别
[size=2][color=#999999]shiningcz 发表于 2015-10-8 14:45[/color] [url=http://flexsim.asia/redirect.php?goto=findpost&pid=18203&ptid=5505]http://flexsim.asia/images/common/back.gif[/url][/size][/quote]
非常正确,我在原帖子中没有说太清楚。
[font=Helvetica][size=13px][size=1.1em][b]ipavailable[/b][/size] [size=1.1em][b](obj object, num inputportnum)[/b][/size][/size][/font]
[b]Description[/b]
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.

[b]Example[/b]
ipavailable(current,1)
2017-5-14 08:32:20
理解起来有点难度,继续好好学习:P
您需要登录后才可以回帖 立即登录
高级模式
12
技术交流2
热门问答
查看更多
1
Flexsim初级建模工程师水平标准
Flexsim初级建模工程师水平标准
62
234
2
厂区生产线布局优化案例!新做的!
厂区生产线布局优化案例!新做的!
43
224
3
无意中找到的资料,非常适合于初学者
无意中找到的资料,非常适合于初学者
39
229
4
流水作业线的仿真
流水作业线的仿真
36
83
5
flexsim中文教程,pdf文档已整理-重新整理
flexsim中文教程,pdf文档已整理-重新整理
32
114
博主榜
+ 5