| | |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using HslCommunication; |
| | | using Newtonsoft.Json; |
| | | using System.Text.RegularExpressions; |
| | | using WIDESEAWCS_Common; |
| | | using WIDESEAWCS_Common.TaskEnum; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_DTO.WMS; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_QuartzJob; |
| | | using WIDESEAWCS_Tasks.ConveyorLineJob; |
| | | using HslCommunication; |
| | | using WIDESEAWCS_DTO.WMS; |
| | | using WIDESEAWCS_Common; |
| | | using System.Text.RegularExpressions; |
| | | |
| | | namespace WIDESEAWCS_Tasks |
| | | { |
| | |
| | | case 1: |
| | | await RequestWmsTask(conveyorLine, command, childDeviceCode, ProtocalDetailValue); |
| | | break; |
| | | |
| | | case 2: |
| | | case 3: |
| | | case 4: |
| | | case 6: |
| | | await CreateAndSendEmptyTrayTask(conveyorLine, command, childDeviceCode, ProtocalDetailValue); |
| | | break; |
| | | |
| | | case 7: |
| | | RequestOutNextAddress(conveyorLine, command, childDeviceCode, ProtocalDetailValue); |
| | | break; |
| | | |
| | | case 10: |
| | | ConveyorLineOutFinish(conveyorLine, command, childDeviceCode, ProtocalDetailValue); |
| | | break; |
| | | |
| | | default: |
| | | break; |
| | | } |