列车调整
This commit is contained in:
parent
8076e0bd6d
commit
bc0017057c
@ -146,6 +146,11 @@ export class Train extends XaTrain {
|
||||
this.setCodeBText(codeB);
|
||||
this.trainbody.doRepaint();
|
||||
this.trainHead.doRepaint();
|
||||
if (this.states.mode?.ipModeTrainStoped) {
|
||||
this.stop();
|
||||
} else {
|
||||
this.run();
|
||||
}
|
||||
if (this.states.mode?.ipModeTrainHolded) {
|
||||
this.showStatus(EnumStatusText.H);
|
||||
} else {
|
||||
@ -208,6 +213,8 @@ export class Train extends XaTrain {
|
||||
}
|
||||
|
||||
const updataConsts: UpdateTrainConsts = {
|
||||
arrowPauseOnlyOne: true,
|
||||
hasBodyRact: false,
|
||||
textMarginY: 10, // 状态字母与列车距离
|
||||
marginX: 4, // 图形x轴边距
|
||||
borderColor: '0xA3E198', // 边框的颜色
|
||||
|
Loading…
Reference in New Issue
Block a user