コード例 #1
0
        public static List <EnumcodeInfo> GetListEnumProperty()
        {
            List <EnumcodeInfo> list = new List <EnumcodeInfo>();

            try
            {
                list = ClientAlarmModle.GetListEnumProperty();
            }
            catch (Exception ex)
            {
                LogHelper.Error("ClientAlarmServer-GetListEnumProperty-发生异常 " + ex.Message);
            }
            return(list);
        }
コード例 #2
0
        public static List <EnumcodeInfo> GetListEnum()
        {
            List <EnumcodeInfo> list = new List <EnumcodeInfo>();

            try
            {
                EnumcodeInfo dto = new EnumcodeInfo();
                list = ClientAlarmModle.GetListEnumProperty();
                list.AddRange(ClientAlarmModle.GetListEnumClass());
                return(list);
            }
            catch (Exception ex)
            {
                LogHelper.Error("ClientAlarmServer-GetListEnum-发生异常 " + ex.Message);
            }
            return(list);
        }