Exemplo n.º 1
0
        public static int MassAnalyzerEnumToInt(MassAnalyzerEnum e)
        {
            switch (e)
            {
            case MassAnalyzerEnum.Ftms: return(0);

            case MassAnalyzerEnum.Itms: return(1);

            case MassAnalyzerEnum.Tof: return(2);

            case MassAnalyzerEnum.Unknown: return(3);

            default: throw new Exception("Never get here.");
            }
        }
Exemplo n.º 2
0
 public Ms2Key(MassAnalyzerEnum massAnalyzer, FragmentationTypeEnum fragmentationType, SignalType signalType)
 {
     this.massAnalyzer      = massAnalyzer;
     this.fragmentationType = fragmentationType;
     this.signalType        = signalType;
 }