void IInitEditorPlugIn.Initialize(IEditorPlugIn plugIn) { PumpHelper.AddPumpPages(plugIn); if (plugIn.DriverID == ModuleNo.DualPump) { bool isChannelFound = false; foreach (IDevice device in PumpHelper.GetPumpDevicesFromPumpModule(plugIn)) { AddChannels(plugIn, device); isChannelFound = true; } if (!isChannelFound) // when the dual pump is configured as a shared device { AddChannels(plugIn, plugIn.Symbol); } } else { AddChannels(plugIn, plugIn.Symbol); } }
private static void Init_1(IEditorPlugIn plugIn) { PumpHelper.AddPumpPages(plugIn); AddChannels(plugIn); }