Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-client
This commit is contained in:
commit
4a0d42f97e
@ -89,6 +89,8 @@ export class SeparatorTemplate extends JlGraphicTemplate<Separator> {
|
||||
});
|
||||
}
|
||||
new(): Separator {
|
||||
return new Separator();
|
||||
const separator = new Separator();
|
||||
separator.loadData(this.datas);
|
||||
return separator;
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,9 @@ export class Transponder extends JlGraphic {
|
||||
get datas(): ITransponderData {
|
||||
return this.getDatas<ITransponderData>();
|
||||
}
|
||||
get code(): string {
|
||||
return this.datas.index + '';
|
||||
}
|
||||
clear() {
|
||||
this.polygonGraphic.clear();
|
||||
this.labelGraphic.clear();
|
||||
@ -159,6 +162,8 @@ export class TransponderTemplate extends JlGraphicTemplate<Transponder> {
|
||||
});
|
||||
}
|
||||
new(): Transponder {
|
||||
return new Transponder();
|
||||
const transponder = new Transponder();
|
||||
transponder.loadData(this.datas);
|
||||
return transponder;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user