【发布时间】:2018-09-21 07:20:14
【问题描述】:
配送中心(代理)将工作订单发送到制造中心(GIS 地图上多个位置的代理)
在分销代理处,我在下面添加了代码
TestOrder testorder = new TestOrder (this);
// "this" 是分发代理的位置
send (testorder, getNearestAgentByRoute(main.manufacturingcenters));
// 将测试订单发送到最近的代理
然后我在制造中心代理中设置“输入”,代理类型为 TestOrder。
但是,模拟中没有输入,下面的代码显示错误
send (testorder, getNearestAgentByRoute(main.manufacturingcenters));
【问题讨论】: