| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Quartz; |
| | | using WIDESEAWCS_Common.TaskEnum; |
| | | using WIDESEAWCS_Common; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEAWCS_IBasicInfoRepository; |
| | | using WIDESEAWCS_ITaskInfoRepository; |
| | |
| | | Dt_Task? task = _taskService.QueryAGantryUnExecuteTask(otherDevice.DeviceCode); |
| | | if(task != null) |
| | | { |
| | | string[] takePositions = task.CurrentAddress.Split("-"); |
| | | string[] takePositions = task.CurrentAddress.Split("*"); |
| | | if(takePositions.Length != 5) |
| | | { |
| | | //WriteError |
| | | return Task.CompletedTask; |
| | | } |
| | | |
| | | string[] putPositions = task.NextAddress.Split("-"); |
| | | string[] putPositions = task.NextAddress.Split("*"); |
| | | if (putPositions.Length != 5) |
| | | { |
| | | //WriteError |