Exemple #1
0
        // Function from file: cable.dm
        public void denode(  )
        {
            Ent_Static T1        = null;
            ByTable    powerlist = null;
            Powernet   PN        = null;

            T1 = this.loc;

            if (!(T1 != null))
            {
                return;
            }
            powerlist = GlobalFuncs.power_list(T1, this, 0, false);

            if (powerlist.len > 0)
            {
                PN = new Powernet();
                GlobalFuncs.propagate_network(powerlist[1], PN);

                if (PN.is_empty())
                {
                    GlobalFuncs.qdel(PN);
                }
            }
            return;
        }