Exemplo n.º 1
0
        private void UpdateImagerModelRunMode()
        {
            switch (runMode)
            {
            case ImagingRunMode.Assay:
                imagerModel.DisplayImages(true);
                imagerModel.SaveImages(true);
                imagerModel.AnalyzeImages(true);
                break;

            case ImagingRunMode.BlindAssay:
                imagerModel.DisplayImages(false);
                imagerModel.SaveImages(true);
                imagerModel.AnalyzeImages(true);
                break;

            case ImagingRunMode.BlindTestAnalysis:
                imagerModel.DisplayImages(false);
                imagerModel.SaveImages(false);
                imagerModel.AnalyzeImages(true);
                break;

            case ImagingRunMode.ImageCapture:
                imagerModel.DisplayImages(true);
                imagerModel.SaveImages(true);
                imagerModel.AnalyzeImages(false);
                break;

            case ImagingRunMode.BlindImageCapture:
                imagerModel.DisplayImages(false);
                imagerModel.SaveImages(true);
                imagerModel.AnalyzeImages(false);
                break;

            case ImagingRunMode.TestAnalysis:
                imagerModel.DisplayImages(true);
                imagerModel.SaveImages(false);
                imagerModel.AnalyzeImages(true);
                break;

            case ImagingRunMode.Video:
            default:
                imagerModel.DisplayImages(true);
                imagerModel.SaveImages(false);
                imagerModel.AnalyzeImages(false);
                break;
            }
        }