Пример #1
0
        private void PopulateStreamList(EvaporationAndDryingSystem evapAndDryingSystem)
        {
            IEnumerator e = evapAndDryingSystem.GetStreamList().GetEnumerator();

            while (e.MoveNext())
            {
                ProcessStreamBase psb = (ProcessStreamBase)e.Current;
                this.solvableVariablesControlStream.ListBoxSolvable.Items.Add(psb);
            }
        }
Пример #2
0
        private void PopulateParameterStreamList(EvaporationAndDryingSystem system)
        {
            this.solvableVariablesControlParameter.ProcessVarListType = ProcessVariableListType.Specified;
            IEnumerator e = system.GetStreamList().GetEnumerator();

            while (e.MoveNext())
            {
                ProcessStreamBase psb = (ProcessStreamBase)e.Current;
                this.solvableVariablesControlParameter.ListBoxSolvable.Items.Add(psb);
            }
        }