17 lines
1.1 KiB
TypeScript
17 lines
1.1 KiB
TypeScript
import { GraphicLibraryModule } from '../../visualisierung/library/graphic-library.module';
|
|
import { Module } from '@nestjs/common';
|
|
import { MongooseModule } from '@nestjs/mongoose';
|
|
import { Anlage, AnlageSchema } from '../../_schemas/anlage.schema';
|
|
import { Unit, UnitSchema } from '../../_schemas/anlagen/units';
|
|
import { AnlageModule } from '../../rk-anlagen/anlage/anlage.module';
|
|
import { DrawModule } from '../../draw/draw.module';
|
|
import { SqlModule } from '../../infrastructure/sql/sql.module';
|
|
import { AnalogSchema } from './sensoren-analog.schema';
|
|
import { AnalogService } from './sensoren-analog.service';
|
|
import { AnalogSyncService } from './sensoren-analog-sync.service';
|
|
import { AnalogController } from './sensoren-analog.controller';
|
|
@Module({ imports: [GraphicLibraryModule, AnlageModule, DrawModule, SqlModule, MongooseModule.forFeature([{ name: Anlage.name, schema: AnlageSchema }]),
|
|
MongooseModule.forFeature([{ name: 'SensorenAnalog', schema: AnalogSchema }, { name: Unit.name, schema: UnitSchema }], 'anlagen')],
|
|
controllers: [AnalogController], providers: [AnalogService, AnalogSyncService] })
|
|
export class AnalogModule {}
|