Example #1
0
 private void DetectPointCompleted(SpotInspectionResult res, object userToken)
 {
     res.Id = userToken as string;
     if (_sn == res.Id)
     {
         _dataAcquisition.MonitorDataReader.DetectPointCompletedEvent -= DetectPointCompleted;
         _dataAcquisition.SendData("SpotInspectionResult", CommandTextParser.GetJsonSerialization <SpotInspectionResult>(res));
     }
 }
Example #2
0
 private void DetectPointCompleted(SpotInspectionResult res, object userToken)
 {
     res.Id = userToken as string;
     SendData("SpotInspectionResult", CommandTextParser.GetJsonSerialization <SpotInspectionResult>(res));
 }