rt-graphic-component/components/packages/Platform/GPPlatform.js
joylink_zhaoerwei 3c81ca8a83 重新打包
2024-01-11 13:38:16 +08:00

27 lines
587 B
JavaScript

import { GPConsts } from './common/PlatformConfig.js';
import { JlPlatform } from './common/JlPlatform.js';
class GPPlatform extends JlPlatform {
constructor() {
super(GPConsts);
}
get states() {
return this.getStates();
}
doRepaint() {
this.rectGraphic.stateFillColor = GPConsts.noTrainStop;
super.draw();
}
buildRelation() {
super.buildCommonRelation();
}
saveRelations() {
super.saveCommonRelations();
}
loadRelations() {
super.loadCommonRelations();
}
}
export { GPPlatform };