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