public TimeSeriesController(IReadingRepository readingRepository, IObjectsRepository objectsRepository, IDataFieldRepository dataFieldRepository, IBuildingRepository buildingRepository)
 {
     this.readingRepository   = readingRepository;
     this.buildingRepository  = buildingRepository;
     this.dataFieldRepository = dataFieldRepository;
     this.objectsRepository   = objectsRepository;
 }
 public ApplicationUnitOfWork(ApplicationDbContext context, IBuildingRepository buildingRepository, IObjectsRepository objectsRepository, IDataFieldRepository dataFieldRepository, IReadingRepository readingRepository) : base(context)
 {
     BuildingRepository  = buildingRepository;
     ObjectsRepository   = objectsRepository;
     DataFieldRepository = dataFieldRepository;
     ReadingRepository   = readingRepository;
 }
 public GenfileController(IFieldsRepository fieldRepository, IDataFieldRepository datafieldRepository, ILFileRepository docRepository, IStructRepository structRepository, IStructFieldRepository structFieldRepository)
 {
     this.fieldsRepo      = fieldRepository;
     this.datafieldRepo   = datafieldRepository;
     this.docRepo         = docRepository;
     this.structRepo      = structRepository;
     this.structFieldRepo = structFieldRepository;
 }
Exemple #4
0
 public UnitOfWork(IReadingRepository readingRepository,
                   IBuildingRepository buildingRepository,
                   IDataFieldRepository dataFieldRepository,
                   IObjectRepository objectRepository)
 {
     ReadingRepository   = readingRepository;
     BuildingRepository  = buildingRepository;
     DataFieldRepository = dataFieldRepository;
     ObjectRepository    = objectRepository;
 }
Exemple #5
0
 public DatafieldController(IFieldsRepository fieldRepository, IDataFieldRepository datafieldRepository)
 {
     this.fieldsRepo    = fieldRepository;
     this.datafieldRepo = datafieldRepository;
 }