예제 #1
0
        public List <DocObject> GetWellReportFields()
        {
            try
            {
                var reportFields = new EnumToObjList().ConvertEnumToList(typeof(WellReportFields));

                if (reportFields == null || !reportFields.Any())
                {
                    return(new List <DocObject>());
                }

                return(reportFields);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }
예제 #2
0
        public List <DocObject> GetGenderInfo()
        {
            try
            {
                var genders = new EnumToObjList().ConvertEnumToList(typeof(GenderInfo));

                if (genders == null || !genders.Any())
                {
                    return(new List <DocObject>());
                }

                return(genders);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }
예제 #3
0
        public List <DocObject> GetMonthList()
        {
            try
            {
                var monthList = new EnumToObjList().ConvertEnumToList(typeof(MonthList));

                if (monthList == null || !monthList.Any())
                {
                    return(new List <DocObject>());
                }

                return(monthList);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }
예제 #4
0
        public List <DocObject> GetCompletionStatuses()
        {
            try
            {
                var completionStatuses = new EnumToObjList().ConvertEnumToList(typeof(CompletionStatus));

                if (completionStatuses == null || !completionStatuses.Any())
                {
                    return(new List <DocObject>());
                }

                return(completionStatuses);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }