コード例 #1
0
 public void SetLevel(int channel, byte value)
 {
     if (universe.DmxData[channel] != value)
     {
         universe.SetDmx(channel, value);
     }
 }
コード例 #2
0
        void socket_NewPacket(object sender, NewPacketEventArgs <StreamingAcnDmxPacket> e)
        {
            StreamingAcnDmxPacket dmxPacket = e.Packet as StreamingAcnDmxPacket;

            if (dmxPacket != null)
            {
                receiveData.SetDmx(dmxPacket.Dmx.Data);
            }
        }