public void UseOrForbitSingleGs(string houseName, string gsName, bool status) { string reStr = ""; bool updateStatus = bllGs.SetMultiGsSinleGsEnbledStatus(houseName, gsName, status); if (updateStatus == true) { string[] posList = gsName.Split('-'); if (status == true) { this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(int.Parse(posList[0]), int.Parse(posList[1]), int.Parse(posList[2])), EnumGSOperateType.手动启用货位, "手动批量启用:" + gsName + "货位", ref reStr); } else { this.iStorageManage.AddGSOperRecord(houseName, new CellCoordModel(int.Parse(posList[0]), int.Parse(posList[1]), int.Parse(posList[2])), EnumGSOperateType.手动禁用货位, "手动批量禁用" + gsName + "货位", ref reStr); } } }