Esempio n. 1
0
        public IngredientInfo(IngredientType a)
        {
            CrtModifyStatus = CommandCmdDef.ModifyType.NEWONE;
            Type            = a;
            switch (a)
            {
            case IngredientType.ESPRESSO:
                _Espresso = new Ingredient_Espresso_extern();
                Name      = "ESPRESSO";
                break;

            case IngredientType.FILTERBREW:
                _FilterBrew = new Ingredient_Filter_Brew_extern();
                Name        = "FILTERBREW";
                break;

            case IngredientType.INSTANTPOWDER:
                _InstantPowder = new Ingredient_InstantPowder_extern();
                Name           = "INSTANTPOWDER";
                break;

            case IngredientType.FRESHMILK:
                _FreshMilk = new Ingredient_Fresh_Milk_extern();
                Name       = "FreshMilk";
                break;

            case IngredientType.Water:
                _Water = new Ingredient_Water();
                Name   = "Water";
                break;

            default:
                break;
            }
        }
Esempio n. 2
0
 public IngredientInfo(bool crtflag)
 {
     _Espresso      = new Ingredient_Espresso_extern();
     _FilterBrew    = new Ingredient_Filter_Brew_extern();
     _InstantPowder = new Ingredient_InstantPowder_extern();
     _FreshMilk     = new Ingredient_Fresh_Milk_extern();
     _Water         = new Ingredient_Water();
 }
Esempio n. 3
0
 public IngredientInfo(IngredientType a)
 {
     CrtModifyStatus = CommandCmdDef.ModifyType.NEWONE;
     Type = a;
     switch (a)
     {
         case IngredientType.ESPRESSO:
             _Espresso = new Ingredient_Espresso_extern();
             Name = "ESPRESSO";
             break;
         case IngredientType.FILTERBREW:
             _FilterBrew = new Ingredient_Filter_Brew_extern();
             Name = "FILTERBREW";
             break;
         case IngredientType.INSTANTPOWDER:
             _InstantPowder = new Ingredient_InstantPowder_extern();
             Name = "INSTANTPOWDER";
             break;
         case IngredientType.FRESHMILK:
             _FreshMilk = new Ingredient_Fresh_Milk_extern();
             Name = "FreshMilk";
             break;
         case IngredientType.Water:
             _Water = new Ingredient_Water();
             Name = "Water";
             break;
         default:
             break;
     }
 }
Esempio n. 4
0
       public IngredientInfo(bool crtflag)
       {
           _Espresso = new Ingredient_Espresso_extern();
           _FilterBrew = new Ingredient_Filter_Brew_extern();
           _InstantPowder = new Ingredient_InstantPowder_extern();
           _FreshMilk = new Ingredient_Fresh_Milk_extern();
           _Water = new Ingredient_Water();

       }