Пример #1
0
        private void InitPlatformObject()
        {
            _cd4Platform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.CD4.ToString())),
                                                      DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.CD4.ToString()),
                                                      DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.CD4.ToString()));

            _hemPlatform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.Hematology.ToString())),
                                                      DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Hematology.ToString()),
                                                      DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.Hematology.ToString()));

            _vlPlatform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString())),
                                                     DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString()),
                                                     DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString()));

            _chemPlatform = new PlatformQuantifyObject(GetListOfChemistryPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.Chemistry.ToString())),
                                                       DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Chemistry.ToString()),
                                                       DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.Chemistry.ToString()));

            _otherPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.OtherTest.ToString()),
                                                        DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.OtherTest.ToString()));

            _conPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Consumable.ToString()),
                                                      DataRepository.GetAllGeneralQuantifyMenus());

            _rapidPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.RapidTest.ToString()),
                                                        DataRepository.GetAllQuantifyMenuByClass(ClassOfMorbidityTestEnum.RapidTest.ToString()));
        }
Пример #2
0
        private void InitPlatformObject()
        {
            _cd4Platform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.CD4.ToString())),
                            DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.CD4.ToString()),
                            DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.CD4.ToString()));

            _hemPlatform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.Hematology.ToString())),
                            DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Hematology.ToString()),
                            DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.Hematology.ToString()));

            _vlPlatform = new PlatformQuantifyObject(GetListOfPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString())),
                            DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString()),
                            DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.ViralLoad.ToString()));

            _chemPlatform = new PlatformQuantifyObject(GetListOfChemistryPQM(DataRepository.GetAllMorbidityTestByClass(ClassOfMorbidityTestEnum.Chemistry.ToString())),
                            DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Chemistry.ToString()),
                            DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.Chemistry.ToString()));

            _otherPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.OtherTest.ToString()),
                            DataRepository.GetGeneralQuantifyMenuByClass(ClassOfMorbidityTestEnum.OtherTest.ToString()));

            _conPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.Consumable.ToString()),
                            DataRepository.GetAllGeneralQuantifyMenus());

            _rapidPlatform = new PlatformQuantifyObject(null, DataRepository.GetAllQuantificationMetricByClass(ClassOfMorbidityTestEnum.RapidTest.ToString()),
                            DataRepository.GetAllQuantifyMenuByClass(ClassOfMorbidityTestEnum.RapidTest.ToString()));
        }