| | |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | DeviceProDTO? deviceProDTO6 = GetDeviceProDTO2(commonStackerCrane, commonStackerCrane.DeviceCode, "DeliveryRequest_A2in"); //空æåºå
¥åº |
| | | if (deviceProDTO6 != null) |
| | | { |
| | | if (GetStacker(commonStackerCrane, deviceProDTO6.DeviceProAddress).Status) |
| | | { |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | return false; |
| | |
| | | if (deviceProDTO != null) |
| | | { |
| | | if(SetStacker(commonStackerCrane, deviceProDTO.DeviceProAddress, SCcrane).Status) { return true; } |
| | | } |
| | | } |
| | | |
| | | if (Destinationaddress == "R01-002-043-001-01") |
| | | { |
| | | DeviceProDTO? deviceProDTO = GetDeviceProDTO2(commonStackerCrane, commonStackerCrane.DeviceCode, "DeliveryPermission_A2in"); |
| | | if (deviceProDTO != null) |
| | | { |
| | | if (SetStacker(commonStackerCrane, deviceProDTO.DeviceProAddress, SCcrane).Status) { return true; } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (Destinationaddress == "R01-002-043-001-01") |
| | | { |
| | | DeviceProDTO? deviceProDTO = GetDeviceProDTO2(commonStackerCrane, commonStackerCrane.DeviceCode, "DeliveryCompleted_A2in"); |
| | | if (deviceProDTO != null) |
| | | { |
| | | if (GetStacker(commonStackerCrane, deviceProDTO.DeviceProAddress).Status) |
| | | { |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | return false; |
| | | |
| | | } |
| | |
| | | if (SetStacker(commonStackerCrane, deviceProDTO.DeviceProAddress, SCcrane).Status) { return true; } |
| | | } |
| | | } |
| | | |
| | | if (Destinationaddress == "R01-002-043-001-01") |
| | | { |
| | | DeviceProDTO? deviceProDTO = GetDeviceProDTO2(commonStackerCrane, commonStackerCrane.DeviceCode, "DeliveryCompletion_A2in"); |
| | | if (deviceProDTO != null) |
| | | { |
| | | if (SetStacker(commonStackerCrane, deviceProDTO.DeviceProAddress, SCcrane).Status) { return true; } |
| | | } |
| | | } |
| | | return false; |
| | | } |
| | | |