示例#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>());
            }
        }