コード例 #1
0
        private CareTrackingVM populateDropDownList(CareTrackingVM viewModel)
        {
            viewModel.BusinessCenterList = EnumService.GetBusinessCenterList();
            viewModel.MachineGroupList   = EnumService.GetMachineGroupList();
            viewModel.MachineList        = EnumService.GetMachineList();
            viewModel.CareTypeList       = EnumService.GetEnumTypesByParent((int)TypeEnum.CareType);
            viewModel.PlanedCareTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.PlanedCareType);
            viewModel.CareTeamTypeList   = EnumService.GetEnumTypesByParent((int)TypeEnum.CareTeamType);

            return(viewModel);
        }