|
|
@ -98,7 +98,7 @@ namespace AUCMA.STORE.Business
|
|
|
|
Task.Delay(5000).Wait();
|
|
|
|
Task.Delay(5000).Wait();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
Task.Run(() =>
|
|
|
|
Task.Run(() =>
|
|
|
@ -189,7 +189,7 @@ namespace AUCMA.STORE.Business
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BaseDeviceInfo item = m_DeviceInfoList.Where(x => x.m_iDeviceId == 1003).FirstOrDefault();
|
|
|
|
BaseDeviceInfo item = m_DeviceInfoList.Where(x => x.m_iDeviceId == 1003).FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
|
|
BaseDeviceInfo rgvDeviceInfo = m_DeviceInfoList.Where(x => x.m_iDeviceId == 1005).FirstOrDefault();
|
|
|
|
BaseDeviceInfo rgvDeviceInfo = m_DeviceInfoList.Where(x => x.m_iDeviceId == 1001).FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
|
|
int PilerState = item.m_IDeviceAdapter.ReadInt16ByAddress(ReadOnePilerPlcAddress[2].PLCAddress);
|
|
|
|
int PilerState = item.m_IDeviceAdapter.ReadInt16ByAddress(ReadOnePilerPlcAddress[2].PLCAddress);
|
|
|
|
int iReadIsReadySignal = item.m_IDeviceAdapter.ReadInt16ByAddress(ReadOnePilerPlcAddress[8].PLCAddress);
|
|
|
|
int iReadIsReadySignal = item.m_IDeviceAdapter.ReadInt16ByAddress(ReadOnePilerPlcAddress[8].PLCAddress);
|
|
|
@ -384,11 +384,11 @@ namespace AUCMA.STORE.Business
|
|
|
|
taskQueue = null;
|
|
|
|
taskQueue = null;
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BaseTaskQueue baseTaskQueue = baseTaskQueueBusiness.GetTaskQueue(LocationArea.Location_Left, TaskType.OutStore, OperationType.ManualOperation).Result;
|
|
|
|
BaseTaskQueue baseTaskQueue = baseTaskQueueBusiness.GetTaskQueue(locationArea, TaskType.OutStore, OperationType.ManualOperation).Result;
|
|
|
|
|
|
|
|
|
|
|
|
if (baseTaskQueue == null)
|
|
|
|
if (baseTaskQueue == null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
baseTaskQueue = baseTaskQueueBusiness.GetTaskQueue(LocationArea.Location_Left, TaskType.OutStore, OperationType.Automatic).Result;
|
|
|
|
baseTaskQueue = baseTaskQueueBusiness.GetTaskQueue(locationArea, TaskType.OutStore, OperationType.Automatic).Result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (baseTaskQueue == null)
|
|
|
|
if (baseTaskQueue == null)
|
|
|
|