blob: 3b68a4c94af373bf3472e4248d39e05177242bfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import {NetworkInstance} from "./networkInstance";
import {Level1Model} from "./nodeModel";
import {FirstLevelTreeNode} from "./firstLevelTreeNode";
export class NetworkTreeNode extends FirstLevelTreeNode {
routeTargetId: string;
routeTargetRole: string;
constructor(instance: NetworkInstance, networkModel: Level1Model, networkStoreKey: string) {
super(instance, networkModel, networkStoreKey);
this.routeTargetId = instance && instance.routeTarget ? instance.routeTarget.globalRouteTarget : null;
this.routeTargetRole = instance && instance.routeTarget ? instance.routeTarget.routeTargetRole : null;
}
}
|