示例#1
0
        public override void GetResult(object data, int nWorkTypeID)
        {
            DBDrink       db    = new DBDrink();
            DBStep        dbs   = new DBStep();
            InSubmitDrink input = Newtonsoft.Json.JsonConvert.DeserializeObject <InSubmitDrink>(data.ToString());

            db.AddDrinkInfo(input, nWorkTypeID);
            dbs.creatMsg("RS.STEP.DRINKTEST", input.TrainPlanGUID, input.cid, nWorkTypeID, input.DrinkInfo.strWorkShopGUID);
            dbs.creatDrinkMsg(input);
        }