33 lines
746 B
TypeScript
33 lines
746 B
TypeScript
|
import { Component, OnInit, Input } from '@angular/core';
|
||
|
import { Router } from '@angular/router';
|
||
|
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||
|
import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
|
||
|
import { Target } from '@overflow/commons-typescript/model/target';
|
||
|
|
||
|
|
||
|
@Component({
|
||
|
selector: 'of-sensor-setting-etc',
|
||
|
templateUrl: './setting-etc.component.html',
|
||
|
})
|
||
|
export class SettingETCComponent implements OnInit {
|
||
|
|
||
|
@Input() selectedTarget: Target;
|
||
|
@Input() selectedCrawler: MetaCrawler;
|
||
|
@Input() selectedItems: MetaSensorDisplayItem[];
|
||
|
|
||
|
intervals = [
|
||
|
'600 sec',
|
||
|
'400 sec',
|
||
|
'200 sec',
|
||
|
];
|
||
|
|
||
|
|
||
|
constructor(
|
||
|
private router: Router,
|
||
|
) { }
|
||
|
|
||
|
ngOnInit() {
|
||
|
}
|
||
|
|
||
|
}
|