예제 #1
0
        /// <summary>
        /// 启用单列
        /// </summary>
        /// <param name="houseName">库房名称</param>
        /// <param name="rowth">排</param>
        /// <param name="colth">列</param>
        public void UseOrForbitSingleColGs(string houseName, int rowth, int stCol, int edCol, bool status)
        {
            string reStr = "";

            for (int i = stCol; i <= edCol; i++)
            {
                bool updateStatus = bllGs.SetMultiGsSinleColEnbledStatus(houseName, rowth, i, status);
                if (updateStatus == true)
                {
                    if (status == true)
                    {
                        this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(rowth, i, 1), EnumGSOperateType.手动启用货位, "手动批量启用第" + i + "列货位", ref reStr);
                    }
                    else
                    {
                        this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(rowth, i, 1), EnumGSOperateType.手动禁用货位, "手动批量禁用第" + i + "列货位", ref reStr);
                    }
                }
            }

            RefreshPos(this.currHouseName, this.currRowth);
        }