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 void LoadDependencies(EpanetMSX epa)
 {
     _msx      = epa.Network; // MSX project data
     _tank     = epa.TankMix;
     _chemical = epa.Chemical;
     _out      = epa.Output;
     _tk2      = epa.EnToolkit;
 }
Ejemplo n.º 3
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);
        }
Ejemplo n.º 4
0
 public void LoadDependencies(EpanetMSX epa)
 {
     _msx     = epa.Network;
     _epanet  = epa.EnToolkit;
     _project = epa.Project;
 }