member_webapp/@overflow/sensor/component/setting/setting-etc/setting-etc.component.ts

33 lines
746 B
TypeScript
Raw Normal View History

2018-05-10 08:56:30 +00:00
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() {
}
}