示例#1
0
        public void ItemsSync(out HttpRespXmlBase pRespXmlObj)
        {
            C_WMS.Data.Utility.MyLog.Instance.Info("[弃用的]批量同步商品(同步操作),开始");
            var trans = new CWmsTransactionItemSync();

            pRespXmlObj = trans.DoTransaction();
        }
示例#2
0
        /// <summary>
        /// 同步单个商品。返回WMS系统响应的XML内容反序列化后的实体, 若执行失败则返回null
        /// </summary>
        /// <param name="pId">商品编码</param>
        /// <param name="pRespXmlObj">返回WMS系统响应的XML内容反序列化后的实体, 若执行失败则返回null</param>
        public void SingleItemSync(int pId, out HttpRespXmlBase pRespXmlObj)
        {
            C_WMS.Data.Utility.MyLog.Instance.Info("同步单个商品{0},开始", pId);
            var trans = new CWmsTransactionItemSync();

            pRespXmlObj = trans.DoTransaction(pId);
            C_WMS.Data.Utility.MyLog.Instance.Info("同步单个商品{0},结束。返回:{1}", pId, pRespXmlObj);
        }