From: Loek <lo...@tb...> - 2004-11-22 10:58:29
|
Hello everyone, Can anybody help me with the following problem. I want to create an persistent of the service-time needed for producing a pallet (See comparison2 on CVS). Therefor the class ExchangeProcess fires an PALLET_SERVICETIME_EVENT each time a pallet is finished. This event is also fired (see log-message), so that gives no problem. (19) 11:37:30 AM FINEST: Pallet[6] serviceTime 326.00000000003234 s Origin: nl.tudelft.simulation.sne.c2.ExchangeProcess#process I created the following persistent in my model-class: new Persistent("Pallet service time", simulator, (ExchangeProcess) block1.getMemberProcess("block1_assemblyStation"), ExchangeProcess.PALLET_SERVICETIME_EVENT); The EventProducerInterface to which the persistents points, is checked and is correct. I think the problem is that the fired event is still never picked up by the persistent. Does anybody know what I've forgotten to do or what I've done wrong? Loek |