| | |
| | | import { FormBuilder } from '@angular/forms'; |
| | | import { DeviceService } from '@business/services/http/device.service'; |
| | | import { OperateUserService } from '@business/services/http/operate-user.service'; |
| | | import { CoordinatesPickerComponent } from 'app/routes/map/coordinates-picker/coordinates-picker.component'; |
| | | import { MapModule } from 'app/routes/map/map.module'; |
| | | import { CoorPickerService } from 'app/routes/map/coordinates-picker/coordinates-picker.service'; |
| | | import { CoordinatesPickerComponent } from '../map/coordinates-picker/coordinates-picker.component'; |
| | | import { MapModule } from '../map/map.module'; |
| | | import { CoorPickerService } from '../map/coordinates-picker/coordinates-picker.service'; |
| | | import { AdjustConfigComponent } from '../devices/basic-info/adjust-config/adjust-config.component'; |
| | | import { DeviceEditComponent } from '../devices/basic-info/device-edit/device-edit.component'; |
| | | import { VersionEditComponent } from '../devices/version/version-edit/version-edit.component'; |
| | |
| | | import { NgxEchartsModule } from 'ngx-echarts'; |
| | | import { DeviceMaintenanceComponent } from './device-maintenance/device-maintenance.component'; |
| | | import { DevicesModule } from '../devices/devices.module'; |
| | | import { DeviceDataComponent } from './device-data/device-data.component'; |
| | | import { DeviceControllerComponent } from './device-controller/device-controller.component'; |
| | | const COMPONENTS_NOROUNT = []; |
| | | |
| | | const routes: Routes = [ |
| | |
| | | children: [ |
| | | { path: 'data-audit', component: DataAuditComponent }, |
| | | { path: 'device-status', component: DeviceStatusComponent }, |
| | | { path: 'device-maintenance', component: DeviceMaintenanceComponent } |
| | | { path: 'device-maintenance', component: DeviceMaintenanceComponent }, |
| | | { path: 'device-data', component: DeviceDataComponent }, |
| | | { path: 'device-controller', component: DeviceControllerComponent }, |
| | | ] |
| | | } |
| | | ]; |
| | |
| | | DevicesModule |
| | | ], |
| | | declarations: [ |
| | | ...COMPONENTS_NOROUNT, |
| | | DataAuditComponent, |
| | | DeviceStatusComponent, |
| | | DeviceMaintenanceComponent, |
| | | ...COMPONENTS_NOROUNT |
| | | DeviceDataComponent, |
| | | DeviceControllerComponent , |
| | | ], |
| | | providers: [CoorPickerService, DeviceAdjustValueService, OrganizationService, VersionService, |
| | | SensorsService, AreacodeService, MonitorPointService, |