public object ItemIncubatorSetData(IncubatorInfo incubatorInfo)
        {
            string token = Request.Headers.Authorization.ToString();
            int    valid = new ExceptionHandler().TokenCheck(token);

            if (valid == 0)
            {
                return("Token has expired");
            }
            if (valid == -1)
            {
                return("Token has invalid signature");
            }
            int ret = repository.ItemIncubatorSetData(pclsCache, incubatorInfo.IncubatorId, incubatorInfo.ProductDay, incubatorInfo.EquipPro, incubatorInfo.InsDescription, incubatorInfo.TerminalIP, incubatorInfo.TerminalName, incubatorInfo.revUserId);

            return(new ExceptionHandler().SetData(Request, ret));
        }
        public HttpResponseMessage ItemIncubatorSetData(IncubatorInfo incubatorInfo)
        {
            int ret = repository.ItemIncubatorSetData(pclsCache, incubatorInfo.IncubatorId, incubatorInfo.ProductDay, incubatorInfo.EquipPro, incubatorInfo.InsDescription, incubatorInfo.TerminalIP, new ExceptionHandler().getTerminalName(), incubatorInfo.revUserId);

            return(new ExceptionHandler().SetData(Request, ret));
        }