设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3726|回复: 4

[求助] 如何将entity放到transporter上?

  [复制链接]
发表于 2010-10-20 15:53:53 | 显示全部楼层 |阅读模式
想把entity放到transporter上去,但是用move函数的话,会提示错误信息“destination must be determined by an object of the material flow, or by the index of a succeeding object”
发表于 2010-10-21 17:37:29 | 显示全部楼层
不懂纯帮顶。难道用montagestation不可以?
 楼主| 发表于 2010-10-21 18:37:09 | 显示全部楼层
回复 2# 若叶繁茂 7 B) w" e$ ]) T( b

! P6 u4 Q; x: o. L/ V$ }9 g那个是什么东东{:3_62:} ?能实现什么功能?
发表于 2010-10-22 10:09:37 | 显示全部楼层
提示告诉你,要为move方法指定目标。因为Transporter对象肯定是在Track对象上的,如果你不指定,那么从singleProc之类的对象上出来,默认就是到Track对象上,而不是到Transporter对象上。
发表于 2010-10-25 23:15:03 | 显示全部楼层
move语句完全可以实现的.
* J+ Q1 G3 W3 S% d8 o0 K/ K1 [现有s1,s2,s3三个SingleProc,s1上的是transporter类型mu,s2上是entity类型mu
1 _' r' q7 J0 U' ms1.cont.move(s3);4 F5 h8 R2 F, b& y$ K. q, Q
s2.cont.move(s3.cont);" y: H' ?5 D6 x
" {1 I3 J) q1 z% j
这样在s3上完成你要的效果
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2025-9-14 22:34 , Processed in 0.015398 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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