namespace IStation.Service
{
///
/// 配置辅助类
///
public class ConfigHelper
{
///
/// 缓存保持时间 (分钟)
///
public static int CacheKeepTime
{
get
{
return Yw.Settings.MemoryCacheParasHelper.MemoryCache.KeepTime;
}
}
///
/// 缓存随机时间 (秒)
///
public static int CacheRandomTime
{
get
{
return RandomHelper.Random(0, Yw.Settings.MemoryCacheParasHelper.MemoryCache.RandomTime);
}
}
}
}