| | |
| | | try |
| | | { |
| | | ConveyorLineTaskCommand command = conveyorLine.ReadCustomer<ConveyorLineTaskCommand>(station.stationChildCode); |
| | | var Barcodea = conveyorLine.Communicator.Read("DB1103.2",5); |
| | | string x=Encoding.UTF8.GetString(Barcodea); |
| | | //var x = conveyorLine.Communicator.Read("DB1103.2",5); |
| | | //string Barcode = Encoding.UTF8.GetString(x); |
| | | if (command != null) |
| | | { |
| | | #region 璋冪敤浜嬩欢鎬荤嚎閫氱煡鍓嶇 |
| | |
| | | foreach (var item in deviceProtocolDetails) |
| | | { |
| | | int itemValue = Convert.ToInt32(item.ProtocalDetailValue); |
| | | _noticeService.LineData(userIds?.FirstOrDefault(), userTokenIds, new { station.stationChildCode,InStock= structs[itemValue] , Roadway =station.Roadway}); |
| | | _noticeService.LineData(userIds?.FirstOrDefault(), userTokenIds, new { station.stationChildCode,InStock= structs[itemValue] , Roadway =station.Roadway+station.stationFloor}); |
| | | if (structs[itemValue] == true) |
| | | { |
| | | MethodInfo? method = GetType().GetMethod(item.ProtocolDetailType); |