|
@@ -1602,7 +1602,7 @@ namespace TeamAAS_VP.Core
|
|
|
|
|
|
|
|
// 执行视觉任务
|
|
// 执行视觉任务
|
|
|
var _cts = new CancellationTokenSource();
|
|
var _cts = new CancellationTokenSource();
|
|
|
- var visionResult = await _remoteCommandService.ExecutePhotoGetSinglePoint(process, null, new double[] { currentPosition.X, currentPosition.Y, currentPosition.U }, _cts.Token, cameraIndex, null);
|
|
|
|
|
|
|
+ var visionResult = await _remoteCommandService.ExecutePhotoGetSinglePoint(process, null, new double[] { currentPosition.X, currentPosition.Y, currentPosition.U }, _cts.Token, cameraIndex, null,null);
|
|
|
if (visionResult.IsSucceed)
|
|
if (visionResult.IsSucceed)
|
|
|
{
|
|
{
|
|
|
await plc.WriteNodeAsync(addressConfig.Out_UPCameracheckStatus.Address, (Int16)1);
|
|
await plc.WriteNodeAsync(addressConfig.Out_UPCameracheckStatus.Address, (Int16)1);
|