예제 #1
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            sendSelect.Checked = true;
            recieveSelect.Checked = false;

            dataTabs.SelectedTab = sendTab;
            dmxOutput.Start();
        }
예제 #2
0
        public void Start()
        {
            PatchManager.Instance.Init();

            socket = new StreamingAcnSocket(Guid.NewGuid(), "PixelDriver");
            socket.Open(new System.Net.IPAddress(new byte[] { 192, 168, 1, 50 }));

            foreach (Byte u in PatchManager.Instance.Universes)
            {
                socket.JoinDmxUniverse(u);
                universes.Add(u, new DmxUniverse(u));
            }

            dmxOutput = new DmxStreamer(socket);
            foreach (KeyValuePair <byte, DmxUniverse> universe in universes)
            {
                dmxOutput.AddUniverse(universe.Value);
            }
            dmxOutput.Start();
        }