| | |
| | | station.heatNumber = string.Empty; |
| | | station.Number = string.Empty; |
| | | } |
| | | station.tray_status = list.Count == 0 ? "EmptyTray" : "StrogeTray"; |
| | | station.tray_status = string.IsNullOrEmpty(station.stationType) ? "EmptyTray" : "StrogeTray"; |
| | | //station.tray_status = list.Count == 0 ? "EmptyTray" : "StrogeTray"; |
| | | if (station.location_state == "Empty") |
| | | { |
| | | station.stationType = string.Empty; |
| | |
| | | station.tray_status = string.Empty; |
| | | station.bindSN = string.Empty; |
| | | station.quantity = 0; |
| | | if (!station.stationCode.Contains("S") && !station.stationCode.Contains("X") && !station.stationCode.Contains("W01001004") && !station.stationCode.Contains("W01001005")) |
| | | station.tray_type = string.Empty; |
| | | //if (!station.stationCode.Contains("S") && !station.stationCode.Contains("X") && !station.stationCode.Contains("W01001004") && !station.stationCode.Contains("W01001005")) |
| | | // station.tray_type = string.Empty; |
| | | } |
| | | var count = _repository.Update(station, true); |
| | | if (count > 0) |