public void PreviewStep(Fixture fixture, RoutineStep step) { List<Point> movementPoints = step.GetPoints(); List<AttributePoint> attributePoints = step.GetAttributePoints(movementPoints, fixture); double timePerPoint = step.Duration / movementPoints.Count; PlayStepAsynchCaller caller = new PlayStepAsynchCaller(_playStep); caller.BeginInvoke(fixture, step, movementPoints, attributePoints, timePerPoint, null, null); }
public void PreviewStep(Fixture fixture, RoutineStep step) { List <Point> movementPoints = step.GetPoints(); List <AttributePoint> attributePoints = step.GetAttributePoints(movementPoints, fixture); double timePerPoint = step.Duration / movementPoints.Count; PlayStepAsynchCaller caller = new PlayStepAsynchCaller(_playStep); caller.BeginInvoke(fixture, step, movementPoints, attributePoints, timePerPoint, null, null); }