(icAgent: HttpAgent)
| 32 | constructor(public services: Services = getDefaultServices()) {} |
| 33 | |
| 34 | withAgent(icAgent: HttpAgent): ServiceManager { |
| 35 | this.services.controlPanel = new ControlPanelService(icAgent); |
| 36 | this.services.station = new StationService(icAgent); |
| 37 | |
| 38 | return this; |
| 39 | } |
| 40 | |
| 41 | install(app: App): void { |
| 42 | app.config.globalProperties.$services = this.services; |