Beispiel #1
0
        private void loadFlashlampPattern()
        {
            flashlampPatternBuilder.Clear();
            flashlampPatternBuilder.ShotSequence(
                (int)settings["padStart"],
                ((int)settings["padShots"] + 1) * (int)settings["sequenceLength"],
                (int)settings["flashlampPulseInterval"],
                (int)settings["valveToQ"],
                (int)settings["flashToQ"]
                );
            flashlampPatternBuilder.BuildPattern(((int)settings["padShots"] + 1)
                                                 * (int)settings["sequenceLength"] * (int)settings["flashlampPulseInterval"]);

            OutputPattern(flashlampPatternBuilder);
        }
        protected override IPatternSource GetScanPattern()
        {
            scanPatternBuilder.Clear();
            scanPatternBuilder.ShotSequence(
                (int)settings["padStart"],
                (int)settings["sequenceLength"],
                (int)settings["flashlampPulseInterval"],
                (int)settings["valveToQ"],
                (int)settings["flashToQ"]
                );

            scanPatternBuilder.BuildPattern(((int)settings["padShots"] + 1) * (int)settings["sequenceLength"]
                                            * (int)settings["flashlampPulseInterval"]);

            return(scanPatternBuilder);
        }