private PlantUnitService() { _daoManager = ServiceConfig.GetInstance().DaoManager; _plantUnit = _daoManager.GetDao(typeof(IPlantUnitDao)) as IPlantUnitDao; }
private DeviceService() { _daoManager = ServiceConfig.GetInstance().DaoManager; _deviceDao = _daoManager.GetDao(typeof(IDeviceDao)) as IDeviceDao; _plantUnitDao = _daoManager.GetDao(typeof(IPlantUnitDao)) as IPlantUnitDao; }