ing
This commit is contained in:
parent
6796fd8216
commit
fcfa251e4b
|
@ -43,11 +43,11 @@
|
||||||
</g>
|
</g>
|
||||||
<g *ngIf="node.group === 'service'">
|
<g *ngIf="node.group === 'service'">
|
||||||
<image [attr.x]="-node.r" [attr.y]="-node.r" [attr.width]="node.r * 2" [attr.height]="node.r * 2"
|
<image [attr.x]="-node.r" [attr.y]="-node.r" [attr.width]="node.r * 2" [attr.height]="node.r * 2"
|
||||||
xlink:href="../../assets/image/icon/icon_was.svg"></image>
|
attr.xlink:href="../../assets/image/icon/icon_{{node.target.serviceType | lowercase}}.svg"></image>
|
||||||
</g>
|
</g>
|
||||||
<g *ngIf="node.group === 'service'">
|
<g *ngIf="node.group === 'service'">
|
||||||
<image [attr.x]="-node.r" [attr.y]="-node.r" [attr.width]="node.r * 2" [attr.height]="node.r * 2"
|
<image [attr.x]="-node.r" [attr.y]="-node.r" [attr.width]="node.r * 2" [attr.height]="node.r * 2"
|
||||||
xlink:href="../../assets/image/logo/logo_tomcat.svg"></image>
|
attr.xlink:href="../../assets/image/logo/logo_{{node.target.key | lowercase}}.svg"></image>
|
||||||
</g>
|
</g>
|
||||||
<g>
|
<g>
|
||||||
<text class="textClass" [attr.y]="(node.r - 10) / 10 + 'em'" text-anchor="middle">{{node.id}}</text>
|
<text class="textClass" [attr.y]="(node.r - 10) / 10 + 'em'" text-anchor="middle">{{node.id}}</text>
|
||||||
|
|
|
@ -82,29 +82,29 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
startDiscovery() {
|
startDiscovery() {
|
||||||
// this.zone = {
|
this.zone = {
|
||||||
// network: '192.168.1.0/24',
|
network: '192.168.1.0/24',
|
||||||
// iface: 'enp3s0',
|
iface: 'enp3s0',
|
||||||
// metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
|
metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
|
||||||
// address: '192.168.1.101',
|
address: '192.168.1.101',
|
||||||
// mac: '44:8a:5b:f1:f1:f3',
|
mac: '44:8a:5b:f1:f1:f3',
|
||||||
// };
|
};
|
||||||
|
|
||||||
// this.discoverHost = {
|
this.discoverHost = {
|
||||||
// metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
|
metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
|
||||||
// firstScanRange: '192.168.1.1',
|
firstScanRange: '192.168.1.1',
|
||||||
// lastScanRange: '192.168.1.254',
|
lastScanRange: '192.168.1.254',
|
||||||
// discoveryConfig: {
|
discoveryConfig: {
|
||||||
// },
|
},
|
||||||
// discoverPort: {
|
discoverPort: {
|
||||||
// firstScanRange: 1,
|
firstScanRange: 1,
|
||||||
// lastScanRange: 65535,
|
lastScanRange: 65535,
|
||||||
// includeTCP: true,
|
includeTCP: true,
|
||||||
// includeUDP: true,
|
includeUDP: true,
|
||||||
// discoverService: {
|
discoverService: {
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// };
|
};
|
||||||
|
|
||||||
console.log('########################################################');
|
console.log('########################################################');
|
||||||
console.log(this.zone);
|
console.log(this.zone);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user