示例#1
0
 public void startPreparation(int idTable)
 {
     TableController.GetTableController().MyManualResetEvent.WaitOne(Timeout.Infinite);
     Console.WriteLine("début de la préparation de la commande pour la table :" + idTable);
     Thread.Sleep(time * 500);
     ZoneExchange.GetZoneExchange().commandeComplete(idTable);
 }
 public static ZoneExchange GetZoneExchange()
 {
     if (instanceZoneExchange == null)
     {
         instanceZoneExchange = new ZoneExchange();
     }
     return(instanceZoneExchange);
 }