Exemple #1
0
        /// <summary>
        /// 获取顶部火险等级
        /// </summary>
        /// <returns></returns>
        public static string getTopFireLevel()
        {
            string tmp = T_SYSSEC_USER_DEFINPROPCls.getPROPVALUEByUIDDICTVALUE(new T_SYSSEC_USER_DEFINPROP_SW {
                UID = SystemCls.getUserID(), DICTVALUE = "5"
            });                                                                                                                                                 //用户自定义系统Logo名称

            if (string.IsNullOrEmpty(tmp) == false)
            {
                return(tmp);
            }
            return("1"); //"默认显示";
        }
Exemple #2
0
        /// <summary>
        /// 获取系统Logo图片
        /// </summary>
        /// <returns></returns>
        public static string getSystemLogo()
        {
            string tmp = T_SYSSEC_USER_DEFINPROPCls.getPROPVALUEByUIDDICTVALUE(new T_SYSSEC_USER_DEFINPROP_SW {
                UID = SystemCls.getUserID(), DICTVALUE = "2"
            });                                                                                                                                                 //用户自定义系统Logo名称

            if (string.IsNullOrEmpty(tmp) == false)
            {
                return(tmp);
            }
            return("yjjc_logo.png"); //"智能巡护系统";
        }
Exemple #3
0
        /// <summary>
        /// 系统名称
        /// </summary>
        /// <returns>系统名称</returns>
        public static string getSystemName()
        {
            string tmp = T_SYSSEC_USER_DEFINPROPCls.getPROPVALUEByUIDDICTVALUE(new T_SYSSEC_USER_DEFINPROP_SW {
                UID = SystemCls.getUserID(), DICTVALUE = "3"
            });                                                                                                                                               //用户自定义系统名称

            if (string.IsNullOrEmpty(tmp) == false)
            {
                return(tmp);
            }
            return(ConfigurationManager.AppSettings["getSystemName"].ToString()); //"智能巡护系统";
        }
Exemple #4
0
        /// <summary>
        /// 是否显示OA集成信息   考勤  待办  拟办  短信
        /// </summary>
        /// <returns></returns>
        public static string getOAShowMethod()
        {
            string tmp = T_SYSSEC_USER_DEFINPROPCls.getPROPVALUEByUIDDICTVALUE(new T_SYSSEC_USER_DEFINPROP_SW {
                UID = SystemCls.getUserID(), DICTVALUE = "1"
            });                                                                                                                                                 //用户自定义系统名称

            if (string.IsNullOrEmpty(tmp) == false)
            {
                return(tmp);
            }

            string str = ConfigurationManager.AppSettings["getOAShowMethod"].ToString();

            if (string.IsNullOrEmpty(str))
            {
                str = "0";
            }
            return(str);
        }