相机dll调用
This commit is contained in:
@@ -21,6 +21,7 @@ void ProductionWorker::ensureService()
|
||||
this, &ProductionWorker::snapshotChanged);
|
||||
m_service->setExternalStopFlag(&m_stopRequested);
|
||||
connect(m_service, &ProductionService::visionMeasureRequested, this, &ProductionWorker::visionMeasureRequested);
|
||||
connect(m_service, &ProductionService::visionGroovesRequested, this, &ProductionWorker::visionGroovesRequested);
|
||||
connect(m_service, &ProductionService::visionCancelRequested, this, &ProductionWorker::visionCancelRequested);
|
||||
connect(m_service, &ProductionService::visionCycleChanged, this, &ProductionWorker::visionCycleChanged);
|
||||
connect(m_service, &ProductionService::visionProductionActiveChanged, this, &ProductionWorker::visionProductionActiveChanged);
|
||||
@@ -77,6 +78,12 @@ void ProductionWorker::receiveVisionResult(const QJsonObject &result)
|
||||
m_service->onVisionResult(result);
|
||||
}
|
||||
|
||||
void ProductionWorker::receiveGroovesResult(const QJsonObject &result)
|
||||
{
|
||||
ensureService();
|
||||
m_service->onGroovesRecognized(result);
|
||||
}
|
||||
|
||||
void ProductionWorker::requestVisionSnapshot()
|
||||
{
|
||||
ensureService();
|
||||
|
||||
Reference in New Issue
Block a user