| | |
| | | if (emergencyTask == null) throw new Exception("火警参数为空"); |
| | | string[] strings = emergencyTask.LocationCode.Split("-"); |
| | | string Roadway = strings[0]; |
| | | //switch (Roadways[0]) |
| | | //{ |
| | | // case "J": |
| | | // Roadway = "JZSC" + Roadways[1]; |
| | | // break; |
| | | // case "G": |
| | | // Roadway = "GWSC" + Roadways[1]; |
| | | // break; |
| | | // case "C": |
| | | // Roadway = "CWSC" + Roadways[1]; |
| | | // break; |
| | | // default: throw new Exception("未识别库位编码"); |
| | | //} |
| | | int Row = Convert.ToInt16(strings[1]); |
| | | int Column= Convert.ToInt16(strings[2]); |
| | | int Layer= Convert.ToInt16(strings[3]); |