Example #1
0
 //event listeners
 private void ClientExitServicePoint(Object sender, ClientServicePointEventArgs args)
 {
     this.RemoveClient(args.client);
 }
 protected void OnClientInFrontOfQueueCashier(ClientServicePointEventArgs e)
 {
     if (ClientInFrontOfQueueCashier != null)
     {
         ClientInFrontOfQueueCashier(this, e);
     }
 }
 private void ClientInFrontOfQueueCashier(Object sender, ClientServicePointEventArgs args)
 {
     Logger.Output(this.sim.timeFromTicks(Timer.getTick()) + " - " + args.client.ToString() + " is in front of " + args.servicePoint.ToString());
 }
 protected void OnClientExitCashier(ClientServicePointEventArgs e)
 {
     if (ClientExitCashier != null)
     {
         ClientExitCashier(this, e);
     }
 }
 private void ClientExitServicePoint(Object sender, ClientServicePointEventArgs args)
 {
     Logger.Output(this.sim.timeFromTicks(Timer.getTick()) + " - " + args.client.ToString() + " exits " + args.servicePoint.ToString());
 }