示例#1
0
 public void LoadDependencies(EpanetMSX epa)
 {
     _msx       = epa.Network;
     _epanet    = epa.EnToolkit;
     _out       = epa.Output;
     _inpReader = epa.Reader;
 }
示例#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;
 }
示例#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);
        }
示例#4
0
 public void LoadDependencies(EpanetMSX epa)
 {
     _msx     = epa.Network;
     _epanet  = epa.EnToolkit;
     _project = epa.Project;
 }