ATML1671Allocator.forms.AvailableTestStationsWindow.ProcessSelectedTestStations C# (CSharp) Method

ProcessSelectedTestStations() private method

private ProcessSelectedTestStations ( ) : void
return void
        private void ProcessSelectedTestStations()
        {
            bool anySelected = false;
            foreach (ListViewItem lvi in lvTestStations.CheckedItems)
            {
                var testStation = lvi.Tag as TestStationDescription11;
                if (testStation != null)
                {
                    ATMLAllocator.Instance.AddSelectedTestStation( testStation );
                    anySelected = true;
                }
            }
            if (anySelected)
                ATMLAllocator.OnTestStationSelected();
        }