Exemplo n.º 1
0
        public static ExperimentPresetViewModel Create(ExperimentPresets preset)
        {
            ExperimentPresetViewModel model = null;

            switch (preset)
            {
                case ExperimentPresets.LipidsPositive:
                    model = new ExperimentPresetViewModel("Small Molecules Positive Mode (Lipids, Metabolites)",
                        2000,
                        300,
                        false,
                        InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                    break;
                case ExperimentPresets.LipidsNegative:
                    model = new ExperimentPresetViewModel("Small Molecules Negative Mode (Lipids, Metabolites)",
                        2000,
                        200,
                        false,
                        InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                    break;
                case ExperimentPresets.Peptides:
                    model = new ExperimentPresetViewModel("Bottom Up Proteomics (Peptides)",
                        10000,
                        200,
                        false,
                        InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                    break;
            }
            return model;
        }
Exemplo n.º 2
0
        public static ExperimentPresetViewModel Create(ExperimentPresets preset)
        {
            ExperimentPresetViewModel model = null;

            switch (preset)
            {
            case ExperimentPresets.LipidsPositive:
                model = new ExperimentPresetViewModel("Small Molecules Positive Mode (Lipids, Metabolites)",
                                                      2000,
                                                      300,
                                                      false,
                                                      InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                break;

            case ExperimentPresets.LipidsNegative:
                model = new ExperimentPresetViewModel("Small Molecules Negative Mode (Lipids, Metabolites)",
                                                      2000,
                                                      200,
                                                      false,
                                                      InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                break;

            case ExperimentPresets.Peptides:
                model = new ExperimentPresetViewModel("Bottom Up Proteomics (Peptides)",
                                                      10000,
                                                      200,
                                                      false,
                                                      InstrumentPresetFactory.Create(InstrumentPresets.LtqOrbitrap));
                break;
            }
            return(model);
        }