예제 #1
0
 public GenCode(ReadFromXml r)
 {
     readxml = r;
     cList = readxml.getConnectionList();
     dList = readxml.getDeviceList();
     nList = readxml.GetNodeList();
     cEnum = cList.GetEnumerator();
     dEnum = dList.GetEnumerator();
     nEnum = nList.GetEnumerator();
 }
        public ListEquation(ReadFromXml r)
        {
            readxml = r;
            cList = readxml.getConnectionList();
            dList = readxml.getDeviceList();
            nList = readxml.GetNodeList();
            eList = new ArrayList();
            currentList = new ArrayList();

            cEnum = cList.GetEnumerator();
            dEnum = dList.GetEnumerator();
            nEnum = nList.GetEnumerator();

            start = new Node();
            end = new Node();
        }