| | |
| | | |
| | | #region 鐢宠涓婃枡 |
| | | |
| | | if (!Gantry_client.ReadByOrder<bool>("W_RequestUnload", number)) |
| | | { |
| | | var Station = stationinfoRepository.Find(x => x.area == area_code(number) && x.enable && x.location_state == LocationStateEnum.Stroge.ToString() && x.quantity > 0).OrderBy(x => x.lastUpdateTime).FirstOrDefault(); |
| | | if (Station != null) |
| | | { |
| | | if (!Gantry_client.ReadByOrder<bool>("W_RequestUnload", number)) |
| | | { |
| | | var SNS = Station.bindSN.Split(","); |
| | | List<string> list = new List<string>(); |
| | |
| | | #endregion |
| | | } |
| | | } |
| | | else |
| | | { |
| | | Gantry_client.WriteByOrder("W_RequestUnload", false, number); |
| | | } |
| | | |
| | | #endregion |
| | | |