using IStation.Untity;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.BLL
{
///
/// 配置辅助类
///
internal class ConfigHelper
{
///
/// 缓存保持时间 (分钟)
///
public static int CacheKeepTime
{
get
{
return Settings.MemoryCache.KeepTime;
}
}
///
/// 缓存随机时间 (秒)
///
public static int CacheRandomTime
{
get
{
return RandomHelper.Random(0, Settings.MemoryCache.RandomTime);
}
}
}
}