diff --git a/src/environments/environment.ts b/src/environments/environment.ts index b6a2113..a586811 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -5,9 +5,9 @@ export const environment = { production: false, - restBaseURL: 'http://192.168.1.103:19080/webapp', + restBaseURL: 'http://192.168.1.50:19080/webapp', webappRPCConfig: { - url: 'ws://192.168.1.103:19090/webapp', + url: 'ws://192.168.1.50:19090/webapp', reconnectInterval: 5000, reconnectRetry: 10, }, diff --git a/src/packages/infra/component/map/map.component.html b/src/packages/infra/component/map/map.component.html index 1fe7afd..980ce2f 100644 --- a/src/packages/infra/component/map/map.component.html +++ b/src/packages/infra/component/map/map.component.html @@ -25,31 +25,47 @@
- +
{{node.label}}
-
{{node.label}}
+
+
{{node.label}}
+
-
{{node.label}}
+
+
{{node.label}}
+
-
{{node.label}}
+
+
{{node.label}}
+ +
-
{{node.label}}
+
+
{{node.label}}
+
- {{node.label}}
+
+ {{node.label}} +
+
+ {{node.obj.itemCount}} SensorItems +
+
diff --git a/src/packages/infra/component/map/map.component.ts b/src/packages/infra/component/map/map.component.ts index b958676..a749cfd 100644 --- a/src/packages/infra/component/map/map.component.ts +++ b/src/packages/infra/component/map/map.component.ts @@ -437,10 +437,9 @@ export class MapComponent implements OnInit, AfterContentInit { } viewInfo() { - const temp = { + this.onNodeSelect({ node : this.selectedNode, - }; - this.onNodeSelect(temp); + }); } nodeMenu(event: MouseEvent, node: any) { @@ -483,6 +482,7 @@ export class MapComponent implements OnInit, AfterContentInit { } discovery() { + this.display = true; } addSensorWithTarget() {