| | |
| | | stacker: "", |
| | | executionMethod:"", |
| | | platformType:"", |
| | | plcCode:"", |
| | | deviceCode:"", |
| | | location: "", |
| | | capacity: "", |
| | | status: "", |
| | |
| | | stacker: "", |
| | | executionMethod:"", |
| | | platformType:"", |
| | | plcCode:"", |
| | | deviceCode:"", |
| | | location: "", |
| | | capacity: "", |
| | | status: "", |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | // hidden:true, |
| | | }, |
| | | { |
| | | field: "status", |
| | |
| | | [ImporterHeader(Name = "对应PLC编号")] |
| | | [ExporterHeader(DisplayName = "对应PLC编号")] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "对应PLC编号")] |
| | | public string PLCCode { get; set; } |
| | | public string DeviceCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 站台位置 |
| | |
| | | } |
| | | |
| | | // 查询平台信息 |
| | | Platform platform = _platFormRepository.QueryFirst(x => x.PLCCode == conveyorLine.DeviceCode && x.PlatCode == childDeviceCode && x.Status == "Active"); |
| | | Platform platform = _platFormRepository.QueryFirst(x => x.DeviceCode == conveyorLine.DeviceCode && x.PlatCode == childDeviceCode && x.Status == "Active"); |
| | | if (platform != null && !string.IsNullOrEmpty(platform.Location)) |
| | | { |
| | | var strings = platform.Location.Split(',').ToList(); |
| | |
| | | |
| | | if (childDeviceCode == "1670"||childDeviceCode=="1666"||childDeviceCode=="1548"||childDeviceCode=="1448") |
| | | { |
| | | Platform platform = _platFormRepository.QueryFirst(x => x.PLCCode == conveyorLine.DeviceCode && x.PlatCode == childDeviceCode && x.Status == "Active"); |
| | | Platform platform = _platFormRepository.QueryFirst(x => x.DeviceCode == conveyorLine.DeviceCode && x.PlatCode == childDeviceCode && x.Status == "Active"); |
| | | if (platform != null) |
| | | { |
| | | if (command.HasPallet != 1) |