每个转运蛋白
我正在建模生产系统,所有订单都通过AGV移动。 在模拟模型期间的某些时间,我想将每个AGV的UTLIZE和驱动距离记录到数据集中。
当我尝试将agv.getutilization()
添加到我的数据集时,我会收到错误:无法从类型AGV
中静态引用对非静态方法getutilization() 。
现在我有点迷路了。
I am modelling a production system and all orders are moved via AGVs.
At certain times during the simulation model, I would like to log the utlization and driven distance of each agv into a dataset.
When I try to add AGV.getUtilization()
to my dataset I get the error: Cannot make a static reference to the non-static method getUtilization() from the type AGV
.
Now I am a little lost.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
获得车队利用的功能只是
transporterfleet.utilization()
我不确定您在调用
agv
时您在引用什么不是代理商也不是舰队。The function for getting a fleet's utilization is just
transporterFleet.utilization()
I am not sure what you are referencing when you call
AGV
but it appears to be pointing to the agent type (Since it starts with a uppercaseletter) and not the agent nor the fleet.