Warning, /firebird/firebird-ng/src/app/services/user-config.service.ts is written in an unsupported language. File is not indexed.
0001 import { Injectable } from '@angular/core';
0002 import {ConfigProperty} from "../utils/config-property";
0003
0004 @Injectable({
0005 providedIn: 'root'
0006 })
0007 export class UserConfigService {
0008
0009 public selectedGeometry: ConfigProperty<string>;
0010 public onlyCentralDetector: ConfigProperty<boolean>;
0011 public trajectoryEventSource: ConfigProperty<string>;
0012 public edm4eicEventSource: ConfigProperty<string>;
0013 public localServerUseApi: ConfigProperty<boolean>;
0014 public localServerUrl: ConfigProperty<string>;
0015
0016 constructor() {
0017 this.selectedGeometry = new ConfigProperty("geometry.selectedGeometry", "epic-central-optimized");
0018 this.onlyCentralDetector = new ConfigProperty("geometry.onlyCentralDetector", true);
0019 this.trajectoryEventSource = new ConfigProperty("events.trajectoryEventsSource", "");
0020 this.edm4eicEventSource = new ConfigProperty("events.edm4eicEventsSource", "");
0021 this.localServerUseApi = new ConfigProperty("server.useApi", false);
0022 this.localServerUrl = new ConfigProperty("server.url", "http://localhost:5454");
0023 }
0024 }