Ejemplo n.º 1
0
 public void LoadDependencies(EpanetMSX epa)
 {
     _msx       = epa.Network;
     _epanet    = epa.EnToolkit;
     _out       = epa.Output;
     _inpReader = epa.Reader;
 }
Ejemplo n.º 2
0
        public EpanetMSX(EnToolkit2 toolkit)
        {
            reader  = new InpReader();
            project = new Project();
            network = new Network();
            report  = new Report();
            tankMix = new TankMix();

            chemical     = new Chemical();
            quality      = new Quality();
            this.toolkit = toolkit;
            output       = new Output();

            reader.LoadDependencies(this);
            project.LoadDependencies(this);
            report.LoadDependencies(this);
            tankMix.LoadDependencies(this);

            chemical.LoadDependencies(this);
            quality.LoadDependencies(this);
            output.LoadDependencies(this);
        }