diff --git a/src/drawApp/lineApp.ts b/src/drawApp/lineApp.ts index 20395c5..8329ce8 100644 --- a/src/drawApp/lineApp.ts +++ b/src/drawApp/lineApp.ts @@ -83,7 +83,10 @@ import { StopPositionData } from './graphics/StopPositionInteraction'; import { SpksSwitchData } from './graphics/SpksSwitchInteraction'; import { GatedBoxData } from './graphics/GatedBoxInteraction'; import { EsbButtonData } from './graphics/EsbButtonInteraction'; -import { Transponder } from 'src/graphics/transponder/Transponder'; +import { + Transponder, + TransponderTemplate, +} from 'src/graphics/transponder/Transponder'; import { TransponderData } from './graphics/TransponderInteraction'; let lineApp: GraphicApp | null = null; @@ -142,6 +145,7 @@ const showType = [ SpksSwitch.Type, GatedBox.Type, EsbButton.Type, + Transponder.Type, ]; const physicShowType = [...showType, Section.Type]; const linkShowType = [...showType, SectionLink.Type, AxleCounting.Type]; @@ -165,6 +169,7 @@ export function initLineApp(dom: HTMLElement): GraphicApp { new SpksSwitchTemplate(new SpksSwitchData()), new GatedBoxTemplate(new GatedBoxData()), new EsbButtonTemplate(new EsbButtonData()), + new TransponderTemplate(new TransponderData()), ]; lineApp.registerGraphicTemplates(...graphicTemplate); lineApp.setOptions({