|
@@ -822,7 +822,7 @@ namespace IMCS.CCS.Service.Impl
|
|
|
CcsTagValue tagValue2 = tagValues.Where(o => o.Address == "DB200.332").FirstOrDefault(); //当前工作台
|
|
|
CcsTagValue tagValue3 = tagValues.Where(o => o.Address == "DB200.336").FirstOrDefault(); //当前工作台是否有料标志,1:有料 2:无料
|
|
|
if ((tagValue != null && tagValue.TagValue == task.CallbackValue && String.IsNullOrEmpty(task.Description))
|
|
|
- || (task.Description == ProtocalTypeEnum.OPCUA.ToString() && tagValue != null && tagValue2 != null && tagValue2.TagValue == task.Description && tagValue3.TagValue == "1"))
|
|
|
+ || (task.Description == ProtocalTypeEnum.OPCUA.ToString() && tagValue2 != null && tagValue3 != null && tagValue2.TagValue == task.Description && tagValue3.TagValue == "1"))
|
|
|
{
|
|
|
CallBackRequestData requestData = new CallBackRequestData();
|
|
|
requestData.taskId = long.Parse(task.TaskId);
|