コード例 #1
0
        /// <summary>
        /// 库存模块出厂设置,数据表格式化到初始值,清除库存,更新货位信息
        /// </summary>
        public void ReturnFac()
        {
            string reStr = "";

            bllGs.GsReturnFac();
            bllStock.DeleteAll();
            QueryStock(this.currHouseName, this.currHouseArea, this.currRowth, this.currColth, this.currLayerth, this.gsStatus, this.gsTaskSta, this.currProBatch);
            this.view.AddLog("库存管理", "恢复出厂设置成功!", LogInterface.EnumLoglevel.提示);
            this.iStorageManager.AddGSOperRecord(this.currHouseName, new CellCoordModel(1, 1, 1), EnumGSOperateType.出厂设置, "恢复出厂设置", ref reStr);
        }