ATML1671Allocator.allocator.ATMLAllocator.AddSelectedTestStation C# (CSharp) Метод

AddSelectedTestStation() публичный Метод

public AddSelectedTestStation ( TestStationDescription11 testStation ) : void
testStation ATMLModelLibrary.model.equipment.TestStationDescription11
Результат void
        public void AddSelectedTestStation( TestStationDescription11 testStation )
        {
            if (!SelectedTestStations.Contains( testStation ))
            {
                SelectedTestStations.Add( testStation );
                List<TestStationDescriptionInstrument> instruments = testStation.Instruments;
                if (instruments != null)
                {
                    foreach (TestStationDescriptionInstrument testStationDescriptionInstrument in instruments)
                    {
                        AddAvailableInstrument( new TestStationInstrumentData(testStation, testStationDescriptionInstrument) );
                    }
                }
            }
        }