Example #1
0
        /// <summary>
        /// 启用单层
        /// </summary>
        /// <param name="houseName">库房名称</param>
        /// <param name="rowth">排</param>
        /// <param name="layerth">层</param>
        public void UseOrForbitSingleLayerGs(string houseName, int rowth, int layerth, bool status)
        {
            string reStr        = "";
            bool   updateStatus = bllGs.SetMultiGsSinleLayerEnbledStatus(houseName, rowth, layerth, status);

            if (updateStatus == true)
            {
                if (status == true)
                {
                    this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(rowth, 1, layerth), EnumGSOperateType.手动启用货位, "手动批量启用第" + layerth + "层货位", ref reStr);
                }
                else
                {
                    this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(rowth, 1, layerth), EnumGSOperateType.手动禁用货位, "手动批量禁用第" + layerth + "层货位", ref reStr);
                }
                RefreshPos(this.currHouseName, this.currRowth);
            }
        }