设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4800|回复: 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# 若叶繁茂
/ i  U# z& S: q: V" {3 V
4 w8 M4 y$ r  s: Q/ x那个是什么东东{:3_62:} ?能实现什么功能?
发表于 2010-10-22 10:09:37 | 显示全部楼层
提示告诉你,要为move方法指定目标。因为Transporter对象肯定是在Track对象上的,如果你不指定,那么从singleProc之类的对象上出来,默认就是到Track对象上,而不是到Transporter对象上。
发表于 2010-10-25 23:15:03 | 显示全部楼层
move语句完全可以实现的.
$ x4 b0 r# e* V9 j- |现有s1,s2,s3三个SingleProc,s1上的是transporter类型mu,s2上是entity类型mu8 K+ q" l& w, u5 z3 J
s1.cont.move(s3);, O/ s0 P! B  w; M1 b
s2.cont.move(s3.cont);3 l/ {7 a$ Q6 e4 U2 h9 e
9 V) L9 g$ S4 }5 f+ U8 {
这样在s3上完成你要的效果
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-7-6 20:10 , Processed in 0.012947 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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