在基本传送带上,当临时实体达到某一点后 停止运动20S,然后继续运动(这个过程仿真钟是一直运行的),拟采用发送消息的方式,求解答:
已写代码:switch(messagetype)
{case enterheatm:
[color=Red]stopinput(current);[/color]
senddelayedmessage(current,20,current,outheatm,0,0);
break;
case outheatm:
[color=Red]openoutput(current); [/color]
break;
}红色的部分不知道用什么!!消息也不知道对否。 |