PumpTandem can also be used as one of pumps in the tandem, PumpTandems can be chained

This commit is contained in:
Milan Hanajik 2015-01-16 07:40:04 +01:00
parent b1c9e0d3b5
commit a0fb8000f0

View File

@ -39,7 +39,8 @@ namespace TBF.BenchControl.Elde.PumpTandem
foreach (var cmpnt in parentDlg.TbfComponents)
{
if (TbfComponents.CmpntFactoryFromClassName(cmpnt.ClassName) is Elde.Pump.PumpFactory ||
TbfComponents.CmpntFactoryFromClassName(cmpnt.ClassName) is Elde.PumpWithFM.PumpFactory)
TbfComponents.CmpntFactoryFromClassName(cmpnt.ClassName) is Elde.PumpWithFM.PumpFactory ||
TbfComponents.CmpntFactoryFromClassName(cmpnt.ClassName) is Elde.PumpTandem.PumpFactory)
{
pump1ComboBox.Items.Add(cmpnt.Name);
pump2ComboBox.Items.Add(cmpnt.Name);