Example #1
0
 public RapidTestAlgorithm(AlgorithmType algorithm)
 {
     _algorithm = algorithm;
     _paramNegative = DataRepository.GetForlabParameterByParamName("RulesBothNegative");
     _paramPositive = DataRepository.GetForlabParameterByParamName("RulesBothPositive");
     _paramDiscordant = DataRepository.GetForlabParameterByParamName("RulesDiscordant");
     InitTestSpec();
 }
Example #2
0
        public RapidTestForm()
        {
            InitializeComponent();

            lsvSerial.AddNoneEditableColumn(0);
            lsvSerial.AddNoneEditableColumn(3);
            lsvSerial.AddNoneEditableColumn(4);
            lsvSerial.SubitemTextChanged +=new EventHandler<SubitemTextEventArgs>(lsvSerial_SubitemTextChanged);

            lsvParallel.AddNoneEditableColumn(0);
            lsvParallel.AddNoneEditableColumn(3);
            lsvParallel.AddNoneEditableColumn(4);
            lsvParallel.SubitemTextChanged += new EventHandler<SubitemTextEventArgs>(lsvParallel_SubitemTextChanged);

            PopProductToComboBox(comSrapid1, TestingSpecificationGroup.Screening);
            PopProductToComboBox(comSrapid2, TestingSpecificationGroup.Screening);
            PopProductToComboBox(comSrapid3, TestingSpecificationGroup.Screening);

            PopProductToComboBox(comSCrapid1, TestingSpecificationGroup.Confirmatory);
            PopProductToComboBox(comSCrapid2, TestingSpecificationGroup.Confirmatory);
            PopProductToComboBox(comSCrapid3, TestingSpecificationGroup.Confirmatory);

            PopProductToComboBox(comSTrapid1, TestingSpecificationGroup.Tie_Breaker);
            PopProductToComboBox(comSTrapid2, TestingSpecificationGroup.Tie_Breaker);
            PopProductToComboBox(comSTrapid3, TestingSpecificationGroup.Tie_Breaker);

            BindRapidTests();
            BindSerialRapidTest();
            BindParallelRapidTest();

            _paramNegative = DataRepository.GetForlabParameterByParamName("RulesBothNegative");
            _paramPositive = DataRepository.GetForlabParameterByParamName("RulesBothPositive");
            _paramDiscordant = DataRepository.GetForlabParameterByParamName("RulesDiscordant");

            comBothnegative.Text = _paramNegative.ParmValue;
            comBothpostive.Text = _paramPositive.ParmValue;
            comDiscordant.Text = _paramDiscordant.ParmValue;
        }
Example #3
0
 public static void SaveOrUpdateForlabParameter(ForlabParameter forlab)
 {
     DaoFactory.GetDaoFactory().CreateForlabParameterDao().SaveOrUpdate(forlab);
 }