using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Server
{
///
/// 常规实时测点缓存辅助类
///
public class GeneralRealMonitorPointCacheHelper
{
private static List _cache = new List();
///
/// 设置
///
public static void Set(List list)
{
if (list == null || list.Count < 1)
{
_cache = new List();
return;
}
_cache = list;
}
///
/// 获取
///
public static List Get()
{
if (_cache == null)
{
_cache = new List();
}
return _cache;
}
}
}