예제 #1
0
 internal void PopulateAFPoint(AutoFocus.AutoFocusReport report)
 {
     AutoFocusPoint             = new AutoFocusPoint();
     AutoFocusPoint.OldPosition = report.InitialFocusPoint.Position;
     AutoFocusPoint.NewPosition = report.CalculatedFocusPoint.Position;
     AutoFocusPoint.Temperature = report.Temperature;
 }
예제 #2
0
 public void AppendAutoFocusPoint(AutoFocus.AutoFocusReport report)
 {
     if (report != null)
     {
         lock (lockObj) {
             var last = LimitedImageHistoryStack.LastOrDefault();
             if (last != null)
             {
                 last.PopulateAFPoint(report);
                 AutoFocusPoints.Add(last);
             }
         }
     }
 }