public void AddServerpool(ServerPool serverPool) { if (ServerPools == null) { ServerPools = new List <ServerPool>(); } ServerPools.Add(serverPool); }
private void SendToServerPool(Job job) { ServerPool serverPool = ChooseServerpool(); double departureTime = GetTime + job.ServiceTime; job.DepartureTime = departureTime; serverPool.HandleArrival(job); }