internal void Create(byte sysid, byte compid) { int id = GetID((byte)sysid, (byte)compid); // move from hidden to visible if (hiddenlist.ContainsKey(id)) { masterlist[id] = hiddenlist[id]; hiddenlist.Remove(id); } if (!masterlist.ContainsKey(id)) { masterlist[id] = new MAVState(parent, sysid, compid); } }
public void AddHiddenList(byte sysid, byte compid) { int id = GetID((byte)sysid, (byte)compid); hiddenlist[id] = new MAVState(parent, sysid, compid); }