rt-graphic-component/components/packages/Platform/BeiJingPlatform.js

18 lines
429 B
JavaScript
Raw Normal View History

2024-01-03 09:30:56 +08:00
import { CategoryType, BeiJingConsts } from './PlatformConfig.js';
2024-01-02 14:36:10 +08:00
import { JlPlatform } from './JlPlatform.js';
class BeiJingPlatform extends JlPlatform {
2024-01-03 09:30:56 +08:00
constructor() {
super(CategoryType.BeiJing);
2024-01-02 14:36:10 +08:00
}
get states() {
return this.getStates();
}
doRepaint() {
this.rectGraphic.stateFillColor = BeiJingConsts.noTrainStop;
super.doRepaint();
}
}
export { BeiJingPlatform };