/// <summary>
 ///  I want to stop at the input parameters
 /// </summary>
 /// <param name="floor"> Floor to stop </param>
 public void CommandStop(Floor floor)
 {
     floor.BoolStop = true;
     GoToTargetFloor();
 }
 /// <summary>
 ///  Arrival floor command
 /// </summary>
 public void Reach(Floor f, int a)
 {
     // int agent;
     if (f.IFloorNo == 1 && a == 1)
     {
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
         System.Console.WriteLine("---------Confidential Agent---------");
     }
     else if (f.IFloorNo == 2 && a == 2)
     {
         System.Console.WriteLine("---------Confidential Agent---------");
         Console.WriteLine(" Elevator door can't open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 3 && a == 3)
     {
         System.Console.WriteLine("---------Confidential Agent---------");
         Console.WriteLine(" Elevator door can't open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 4 && a == 4)
     {
         System.Console.WriteLine("---------Confidential Agent---------");
         Console.WriteLine(" Elevator door can't open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 1 && a == 1)
     {
         System.Console.WriteLine("---------Secret Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 2 && a == 2)
     {
         System.Console.WriteLine("---------Secret Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 3 && a == 3)
     {
         System.Console.WriteLine("---------Secret Agent---------");
         Console.WriteLine(" Elevator door can't open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 4 && a == 4)
     {
         System.Console.WriteLine("---------Secret Agent---------");
         Console.WriteLine(" Elevator door can't open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 1 && a == 1)
     {
         System.Console.WriteLine("---------Super Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 2 && a == 2)
     {
         System.Console.WriteLine("---------Super Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 3 && a == 3)
     {
         System.Console.WriteLine("---------Super Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     else if (f.IFloorNo == 4 && a == 4)
     {
         System.Console.WriteLine("---------Super Agent---------");
         Console.WriteLine(" Elevator door can open , Now floor :" + f.IFloorNo);
     }
     f.Refresh();
 }