Exemple #1
0
        //public void Delay(int idx, int Gain)
        //{
        //    MayaObj.DoDelay(SpecList[idx].Idx, Gain);
        //}
        //public List<double> GetDarkRef(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;
        //}
        public void ShowSettings(DeltaMotionMgr myMotion)
        {
            WinSpectrometer myWin = new WinSpectrometer(this, myMotion);

            myWin.Show();
        }
Exemple #2
0
 public WinSpectrometer(SpectManager MgrObj, DeltaMotionMgr myMotion)
 {
     InitializeComponent();
     myMgr = MgrObj;
     mtMgr = myMotion;
 }