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