Пример #1
0
        public List <float> GetWaveLength(int idx)
        {
            if (SpecList[idx].specType == SpectType.NoSpectrometer)
            {
                return(null);
            }

            switch (SpecList[idx].specType)
            {
            case SpectType.Avantes:
                return(AvantesObj.GetWaveLength(SpecList[idx].Idx));

            case SpectType.Maya:
                return(MayaObj.GetWaveLength(SpecList[idx].Idx));

            case SpectType.CAS140:
                return(CASObj.GetWaveLength(SpecList[idx].Idx));
            }
            return(null);
        }