From a188d377c0847e9732884b05d4cb57df3a50389e Mon Sep 17 00:00:00 2001 From: snoop Date: Tue, 20 Mar 2018 19:32:36 +0900 Subject: [PATCH] ing discovery result --- .../component/setting/setting.component.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/packages/discovery/component/setting/setting.component.ts b/src/packages/discovery/component/setting/setting.component.ts index 0a60390..c315cb4 100644 --- a/src/packages/discovery/component/setting/setting.component.ts +++ b/src/packages/discovery/component/setting/setting.component.ts @@ -145,14 +145,30 @@ export class SettingComponent implements OnInit, AfterContentInit { findHost(host) { + const jHost: any = { + title: 'Host - ' + host.ip, + className : 'cn' + host.ip + }; + jHost.obj = host; + } findPort(port) { + const jPort: any = { + title: 'Port - ' + port.portNumber, + className : 'cn' + port.portNumber, + }; + jPort.obj = port; + } findService(service) { - + const jService: any = { + title: 'Service - ' + service.serviceName, + className : 'cn' + service.serviceName, + }; + jService.obj = service; } }