예제 #1
0
 public static void Main(string[] args)
 {
     Console.WriteLine("Press the option for what you want to do");
     Console.WriteLine("1. Brew Coffee\n2. Remove pot");
     int            userOption    = Int32.Parse(Console.ReadLine());
     CoffeeMakerAPI coffemakerAPI = new CoffeeMakerAPI();
 }
예제 #2
0
 public M4UserInterface(CoffeeMakerAPI api)
 {
     this.api = api;
 }
 public M4HotWaterSource(CoffeeMakerAPI api)
 {
     this.api = api;
 }
예제 #4
0
 public M4ContainmentVessel(CoffeeMakerAPI api)
 {
     this.api      = api;
     lastPotStatus = WarmerPlateStatus.POT_EMPTY;
 }