public void RequestPersonality() { DmxPersonalityDescription.Get packet = new DmxPersonalityDescription.Get(); packet.PersonalityIndex = DeviceInformation.DmxPersonality; SendRdm(packet); SlotInfo.Get slotPacket = new SlotInfo.Get(); SendRdm(slotPacket); }
protected RdmPacket GetSlotInfo(RdmPacket packet) { SlotInfo.Get requestPacket = packet as SlotInfo.Get; if (requestPacket != null) { SlotInfo.GetReply replyPacket = new SlotInfo.GetReply(); foreach (RdmSlot slot in this) { replyPacket.Slots.Add(slot.Information); } return(replyPacket); } return(null); }