From fcfa251e4bad139094137691cb3259c87fc01273 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 12 Sep 2018 14:31:14 +0900 Subject: [PATCH] ing --- src/app/pages/home/home-page.component.html | 4 +- src/app/pages/home/home-page.component.ts | 44 ++++++++++----------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index ede8608..c660c19 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -43,11 +43,11 @@ + attr.xlink:href="../../assets/image/icon/icon_{{node.target.serviceType | lowercase}}.svg"> + attr.xlink:href="../../assets/image/logo/logo_{{node.target.key | lowercase}}.svg"> {{node.id}} diff --git a/src/app/pages/home/home-page.component.ts b/src/app/pages/home/home-page.component.ts index d33f911..90c7c9b 100644 --- a/src/app/pages/home/home-page.component.ts +++ b/src/app/pages/home/home-page.component.ts @@ -82,29 +82,29 @@ export class HomePageComponent implements OnInit, OnDestroy { } startDiscovery() { - // this.zone = { - // network: '192.168.1.0/24', - // iface: 'enp3s0', - // metaIPType: toMetaIPType(MetaIPTypeEnum.V4), - // address: '192.168.1.101', - // mac: '44:8a:5b:f1:f1:f3', - // }; + this.zone = { + network: '192.168.1.0/24', + iface: 'enp3s0', + metaIPType: toMetaIPType(MetaIPTypeEnum.V4), + address: '192.168.1.101', + mac: '44:8a:5b:f1:f1:f3', + }; - // this.discoverHost = { - // metaIPType: toMetaIPType(MetaIPTypeEnum.V4), - // firstScanRange: '192.168.1.1', - // lastScanRange: '192.168.1.254', - // discoveryConfig: { - // }, - // discoverPort: { - // firstScanRange: 1, - // lastScanRange: 65535, - // includeTCP: true, - // includeUDP: true, - // discoverService: { - // } - // } - // }; + this.discoverHost = { + metaIPType: toMetaIPType(MetaIPTypeEnum.V4), + firstScanRange: '192.168.1.1', + lastScanRange: '192.168.1.254', + discoveryConfig: { + }, + discoverPort: { + firstScanRange: 1, + lastScanRange: 65535, + includeTCP: true, + includeUDP: true, + discoverService: { + } + } + }; console.log('########################################################'); console.log(this.zone);