Inheritance: IPort, IRunnable, IOutputHardware
Ejemplo n.º 1
0
 public void WireUp(Expander.AcnStream port)
 {
     // WS2811
     port.Connect(new Physical.PixelRope(allPixels, 0, 28), 4, 1);
     //// WS2811
     //port.Connect(new Physical.PixelRope(allPixels, 28, 50), 1, 151);
 }
Ejemplo n.º 2
0
            public AcnPixelUniverse(AcnStream acnStream, int startUniverse, int startDmxChannel)
            {
                this.acnStream       = acnStream;
                this.startUniverse   = startUniverse;
                this.startDmxChannel = startDmxChannel;

                this.acnUniverses = new Dictionary <int, AcnUniverse>();
            }
Ejemplo n.º 3
0
            public AcnUniverse(AcnStream parent, int universe, byte priority)
            {
                this.universe = (short)universe;
                this.parent   = parent;
                this.priority = priority;

                this.currentData   = new byte[512];
                this.lastSendWatch = new Stopwatch();
            }
Ejemplo n.º 4
0
        public void WireUp(Expander.AcnStream port)
        {
            port.Connect(new Physical.GenericDimmer(lightNetRight, 181), 7);
            port.Connect(new Physical.GenericDimmer(lightHatsRight, 182), 7);

            // GECE
            port.Connect(new Physical.PixelRope(allPixels, 50, 50), 2, 91);
            // WS2811
            port.Connect(new Physical.PixelRope(allPixels, 0, 60), 3, 181);

            //            port.JoinDmxUniverse(1);
        }
Ejemplo n.º 5
0
        public void WireUp(Expander.AcnStream port)
        {
            // WS2811
            port.Connect(new Physical.PixelRope(allPixels, 0, 100), 4, 1);
            port.Connect(new Physical.PixelRope(saberPixels, 0, 60), 1, 1);
            port.Connect(new Physical.PixelRope(starwarsPixels, 0, 50), 4, 1);
            // GECE
            port.Connect(new Physical.PixelRope(allPixels, 0, 50), 2, 91);
            port.Connect(new Physical.PixelRope(starwarsPixels, 0, 50), 2, 91);

            port.Connect(new Physical.GenericDimmer(lightStar, 1), 21);
            port.Connect(new Physical.GenericDimmer(lightHat1, 2), 21);
            port.Connect(new Physical.GenericDimmer(lightHat2, 3), 21);
            port.Connect(new Physical.GenericDimmer(lightHat3, 4), 21);
            port.Connect(new Physical.GenericDimmer(lightHat4, 5), 21);
            port.Connect(new Physical.GenericDimmer(lightSnow1, 6), 21);
            port.Connect(new Physical.GenericDimmer(lightSnow2, 7), 21);
            port.Connect(new Physical.GenericDimmer(lightTopperSmall, 8), 21);
            port.Connect(new Physical.GenericDimmer(lightTopperLarge, 9), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland1, 10), 21);
            port.Connect(new Physical.GenericDimmer(lightString2, 11), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland4, 12), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland3, 13), 21);
            port.Connect(new Physical.GenericDimmer(lightXmasTree, 14), 21);
            port.Connect(new Physical.GenericDimmer(lightStairs2, 15), 21);
            port.Connect(new Physical.GenericDimmer(lightNet1, 17), 21);
            port.Connect(new Physical.GenericDimmer(lightString1, 19), 21);
            port.Connect(new Physical.GenericDimmer(lightNet2, 20), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland2, 22), 21);
            port.Connect(new Physical.GenericDimmer(lightStairs1, 24), 21);

            port.Connect(new Physical.GenericDimmer(switchDeerHuge, 3), 20);
            port.Connect(new Physical.GenericDimmer(switchSanta, 4), 20);
            port.Connect(new Physical.RGBStrobe(lightTreeUp, 20), 20);
            port.Connect(new Physical.RGBStrobe(lightVader, 40), 20);
            port.Connect(new Physical.RGBStrobe(light3wise, 30), 20);
            port.Connect(new Physical.GenericDimmer(lightDeerLarge, 100), 20);
            port.Connect(new Physical.GenericDimmer(lightDeerSmall, 101), 20);
            port.Connect(new Physical.SmallRGBStrobe(lightJesus, 48), 20);
        }
Ejemplo n.º 6
0
 public void WireUp(Expander.AcnStream port)
 {
     // WS2811
     //            port.Connect(new Physical.PixelRope(allPixels, 0, 60), 3, 181);
 }
Ejemplo n.º 7
0
            public AcnUniverse(Acn.DmxStreamer streamer, int universe, AcnStream parent)
            {
                this.streamer = streamer;
                this.universe = universe;
                this.parent = parent;

                this.dmxUniverse = new DmxUniverse(universe);
                bool isStreamerRunning = this.streamer.Streaming;
                if (isStreamerRunning)
                    this.streamer.Stop();
                this.streamer.AddUniverse(this.dmxUniverse);
                if (isStreamerRunning)
                    this.streamer.Start();
            }
Ejemplo n.º 8
0
            public AcnPixelUniverse(AcnStream acnStream, int startUniverse, int startDmxChannel)
            {
                this.acnStream = acnStream;
                this.startUniverse = startUniverse;
                this.startDmxChannel = startDmxChannel;

                this.acnUniverses = new Dictionary<int, AcnUniverse>();
            }
Ejemplo n.º 9
0
 public void WireUp(Expander.AcnStream port)
 {
 }