将代理发送到另一个队列服务点

时间:2020-01-16 20:18:03

标签: anylogic

我想混合使用蛇形线和直线队列系统,其中蛇形线具有多个服务点。然后,我希望海峡线使用蛇形线服务点的特定服务点,而不是使用它创建的服务点。预先感谢... enter image description here

1 个答案:

答案 0 :(得分:0)

默认情况下这是不可能的。

一种可能的解决方法:立即使用您的屏幕快照中的 servicePoints ,但是无论是否存在优先客户,都根据需要暂停/重新激活最上面的2个servicePoints。为此的功能是这样的:

public void setServiceSuspended(ServiceUnit<Q> serviceUnit,
                                boolean suspended)

不适当的检查以确保两个servicePoints不能同时处于活动状态。

相关问题