Ejemplo n.º 1
0
        public void PlayStep(Fixture fixture, RoutineStep step)
        {
            List <Point>          movementPoints  = step.GetPoints();
            List <AttributePoint> attributePoints = step.GetAttributePoints(movementPoints, fixture);
            double timePerPoint = step.Duration / movementPoints.Count;

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

            _playStep(fixture, step, movementPoints, attributePoints, timePerPoint);
        }
        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);
        }
Ejemplo n.º 4
0
        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);
        }