| | |
| | | import { _HttpClient } from '@delon/theme/services/http/http.client'; |
| | | import { FormBuilder } from '@angular/forms'; |
| | | import { SensorEditComponent } from './basic-info/sensor-edit/sensor-edit.component'; |
| | | import { SensorUnitComponent } from './basic-info/sensor-unit/sensor-unit.component'; |
| | | |
| | | const routes: Routes = [ |
| | | { |
| | |
| | | ] |
| | | } |
| | | ]; |
| | | const COMPONENTS_NOROUNT = [SensorEditComponent]; |
| | | const COMPONENTS_NOROUNT = [SensorEditComponent, SensorUnitComponent]; |
| | | @NgModule({ |
| | | imports: [ |
| | | // 管道模块必须当前模块导入 |
| | |
| | | ], |
| | | declarations: [ |
| | | BasicInfoComponent, |
| | | SensorUnitComponent, |
| | | SensorEditComponent |
| | | ], |
| | | providers: [SensorsService, _HttpClient, FormBuilder], |