/// <summary> /// 设置整列逻辑区域 /// </summary> /// <param name="houseName"></param> /// <param name="colth"></param> /// <returns></returns> public bool SetMulLayerMulColArea(string houseName, int rowth, int stCol, int edCol, int stLayer, int edLayer, string logicAreaName) { string reStr = ""; StoreHouseModel house = bllStoreHouse.GetModelByName(houseName); if (null == house) { return(false); } StoreHouseLogicAreaModel logicArea = bllLogicArea.GetModelByName(logicAreaName); if (logicArea == null) { return(false); } //for (int i = stCol; i <= edCol; i++) //{ bool status = bllGs.SetMulLayerMulColGsArea(house.StoreHouseID, logicArea.StoreHouseLogicAreaID, rowth, stCol, edCol, stLayer, edLayer); if (status == false) { return(false); } //for (int layer = stLayer; layer <= edLayer;layer ++ ) //{ // for(int col = stCol;col<=edCol;col++) // { this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(rowth, stCol, stLayer) , EnumGSOperateType.库存区域设置, "手动多层多列库存区域设置:起始列[" + stCol + "]终止列[" + edCol + "] 起始层[" + stLayer + "]" + "终止层[" + edLayer + "] 为->" + logicArea.StoreHouseAreaName, ref reStr); // } //} //} RefreshPos(this.currHouseName, currRowth); return(true); }