Exemplo n.º 1
0
 /// <summary>
 /// 创建一个不带参的构造函数
 /// </summary>
 private CollectorInfoService()
 {
     //获取采集器接口
     _daoManager     = ServiceConfig.GetInstance().DaoManager;
     _stationInfoDao = _daoManager.GetDao(typeof(ICollectorDao)) as ICollectorDao;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建一个不带参的构造函数
 /// </summary>
 private CollectorInfoService()
 {
     //获取采集器接口
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _stationInfoDao = _daoManager.GetDao(typeof(ICollectorDao)) as ICollectorDao;
 }