using System;
using System.Data;
using System.Reflection;
using System.Text;
using Maticsoft.Common;
namespace Maticsoft.BLL
{
	/// <summary>
	/// PubConstant µÄÕªÒªËµÃ÷¡£
	/// </summary>
	public class PubConstant
	{
        public static string GetConstantConfig()
        {           
            string CacheKey = "IsKeysReg";
            object objModel = DataCache.GetCache(CacheKey);
            if (objModel == null)
            {
                try
                {
                    string iskeyreg = Maticsoft.Common.ConfigHelper.GetConfigString("IsKeysReg");
                    DataCache.SetCache(CacheKey, iskeyreg, DateTime.Now.AddMinutes(60), TimeSpan.Zero);
                }
                catch
                { }
            }
            return objModel.ToString();
        }		
	}
}
