Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        public void AddHiddenList(byte sysid, byte compid)
        {
            int id = GetID((byte)sysid, (byte)compid);

            hiddenlist[id] = new MAVState(parent, sysid, compid);
        }