示例#1
0
 public LiteToPDB(ReadSnapshotFileLite f1, EditNodes f2, EditLink f3, ParamicsDBiLite f4)
 {
     IDno = 0;
     RSF  = f1;
     EN   = f2;
     EL   = f3;
     PDB  = f4;
 }
        //*Function To parse data from the GIS database to the paramics model
        public void ParseNetwork()
        {
            //Get nodes data and write Nodes file
            ReadNodesFromGISdb();
            SuperProcessLinksData();
            //ReadLinksFromGISdb();

            EditNodes NodesFileEditor = new EditNodes(NetworkPath, NodesList);

            NodesFileEditor.WriteNodeFile(BoundingBox);

            //Get Links data and write Links file
            //ReadLinksFromGISdb();

            EditLink LinksFileEditor = new EditLink(NetworkPath, LinksList);

            LinksFileEditor.WriteLinksFile();
        }