发帖
 找回密码
 立即注册
搜索
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
技术交流
热门问答
查看更多
1
厂区生产线布局优化案例!新做的!
厂区生产线布局优化案例!新做的!
12104
227
2
Flexsim二次开发之塔吊
Flexsim二次开发之塔吊
6150
45
3
FlexSim2016 中国象棋
FlexSim2016 中国象棋
6023
44
4
快递分拨中心案例~新手可参考
快递分拨中心案例~新手可参考
5640
62
5
关于Processs Flow 使用的两个案例(AGV Elevator案例/子母穿梭
关于Processs Flow 使用的两个案例(AGV Elevator案例/子母穿梭
5493
34
博主榜
+ 10630
+ 7753
+ 6759
4
+ 6323
5
+ 6321
6
+ 5341
7
+ 4710
8
+ 3722
9
+ 3628
10
+ 3566