Example #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;
            }
        }
Example #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();
 }
Example #3
0
File: Bervage.cs Project: icprog/PC
 public BasciAction(BasicActionType type)
 {
     _type = type;
     switch (_type)
     {
         case BasicActionType.Espresso:
             _obj = new Ingredient_Espresso_extern();
             break;
         case BasicActionType.Filter:
             _obj = new  Ingredient_Filter_Brew_extern();
             break;
         case BasicActionType.Instantpower:
             _obj = new Ingredient_InstantPowder_extern();
             break;
         case BasicActionType.FreshMilk:
             _obj = new Ingredient_Fresh_Milk_extern();
             break;
         default:
             break;
     }
 }            
Example #4
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;
     }
 }
Example #5
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();

       }