连续扣车调整
This commit is contained in:
parent
12c16cb9d7
commit
4dffdb5aba
@ -314,7 +314,7 @@ class SkinCode extends defaultStyle {
|
||||
detainNormal:{
|
||||
z:0,
|
||||
position: 1, // 扣车标识在站台上显示方向
|
||||
special:false,
|
||||
special:true,
|
||||
text: 'H', // 扣车显示内容
|
||||
insideOffset: { x: 15, y: -28 }, // 内站台扣车偏移量
|
||||
outsideOffset: { x:15, y: 22 }, // 外站台扣车偏移量
|
||||
|
@ -42,7 +42,8 @@ class EDetain extends Group {
|
||||
this.add(this.detain);
|
||||
|
||||
if (deviceParam.special) {
|
||||
this.detain.setStyle({x:model.position.x - detainD * (model.width / 2 + detainOffset.x), 'textPadding':[1, 3], 'textBorderColor':'#fff', 'textBorderWidth':1});
|
||||
//, 'textPadding':[1, 3], 'textBorderColor':'#fff', 'textBorderWidth':1
|
||||
this.detain.setStyle({x:model.position.x - detainD * (model.width / 2 + detainOffset.x), y: model.position.y - detainD * 10});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1256,9 +1256,9 @@ export default {
|
||||
stationAllJumpTrain() {
|
||||
const list = this.stationStandList.filter(el => el.right == this.selectedObj.right);
|
||||
const index = list.findIndex(el => el.code == this.selectedObj.code);
|
||||
let lists = list.slice(0, index + 1);
|
||||
let lists = list.slice(index);
|
||||
if (this.selectedObj.right) {
|
||||
lists = list.slice(index, 9999);
|
||||
lists = list.slice(0, index + 1);
|
||||
}
|
||||
const row = {};
|
||||
row.operation = OperationEvent.StationStand.setBulkBuckleTrain.menuButton.operation;
|
||||
|
Loading…
Reference in New Issue
Block a user