This commit is contained in:
joylink_cuiweidong 2020-07-31 17:30:43 +08:00
commit 88b03d240b
6 changed files with 25 additions and 24 deletions

View File

@ -741,12 +741,12 @@ class SkinCode extends defaultStyle {
status: 'RMCBTC', status: 'RMCBTC',
trainLColor: '#808080', trainLColor: '#808080',
trainRColor: '#808080' trainRColor: '#808080'
},
{
status: 'NRMCBTC',
trainLColor: 'rgba(0, 0, 0, 0)',
trainRColor: 'rgba(0, 0, 0, 0)'
} }
// {
// status: 'NRM',
// trainLColor: '#A0522D',
// trainRColor: '#A0522D'
// }
], // 列车运行模式对应车头颜色 ATO自动驾驶模式AM ATP监控下的人工驾驶模式CM 限制人工驾驶模式RM 非限制人工驾驶模式NRM ], // 列车运行模式对应车头颜色 ATO自动驾驶模式AM ATP监控下的人工驾驶模式CM 限制人工驾驶模式RM 非限制人工驾驶模式NRM
communicationStatus: [ communicationStatus: [
] // 设置通信状态 cbtc级别CBTC 点式通信ITC 联锁级IL ] // 设置通信状态 cbtc级别CBTC 点式通信ITC 联锁级IL

View File

@ -24,7 +24,7 @@ export default class TrainHead extends Group {
height: style.Train.trainHead.trainHeadHeight === 'trainBox' ? style.Train.common.trainHeight : model.height height: style.Train.trainHead.trainHeadHeight === 'trainBox' ? style.Train.common.trainHeight : model.height
}, },
style: { style: {
lineWidth: 0.1, lineWidth: 0,
stroke: style.trainSidelineColor, stroke: style.trainSidelineColor,
fill: style.Train.trainHead.trainHeadFillColor fill: style.Train.trainHead.trainHeadFillColor
} }
@ -45,7 +45,7 @@ export default class TrainHead extends Group {
points: points points: points
}, },
style: { style: {
lineWidth: 0.1, lineWidth: 0,
stroke: style.trainSidelineColor, stroke: style.trainSidelineColor,
fill: style.Train.trainHead.trainHeadFillColor fill: style.Train.trainHead.trainHeadFillColor
} }

View File

@ -5,7 +5,7 @@ const scriptRecord = {
namespaced: true, namespaced: true,
state: { state: {
mapLocation: {}, // 地图定位, mapLocation: {}, // 地图定位,
simulationPause: true, simulationPause: true, // 剧本 暂停判断
scriptId: '', scriptId: '',
bgSet: false, bgSet: false,
isScriptCommand:false, // 当前是否为添加剧本动作指令状态 isScriptCommand:false, // 当前是否为添加剧本动作指令状态

View File

@ -218,21 +218,22 @@ import axios from 'axios';
this.selVal = netdata.data[i].groupNumber; this.selVal = netdata.data[i].groupNumber;
this.groupnum = netdata.data[i].groupNumber; this.groupnum = netdata.data[i].groupNumber;
bindSimulationTrain(this.group,this.selVal).then(netdata => { this.dialogVisible = true;
for(let i=0;i<this.trainlist.length;i++){
this.dialogVisible = true; if(this.trainlist[i].groupNumber == this.groupnum){
for(let i=0;i<this.trainlist.length;i++){ // console.log(this.trainlist[i].gear);
if(this.trainlist[i].groupNumber == this.groupnum){ // this.groupnum
// console.log(this.trainlist[i].gear); this.$refs.centercontrol.centerstate(this.trainlist[i].gear);
// this.groupnum
this.$refs.centercontrol.centerstate(this.trainlist[i].gear);
}
} }
}
this.value = this.groupnum; this.value = this.groupnum;
this.nowdrive = this.groupnum; this.nowdrive = this.groupnum;
}).catch(error => { // bindSimulationTrain(this.group,this.selVal).then(netdata => {
}); //
//
// }).catch(error => {
// });
} }
} }

View File

@ -85,8 +85,8 @@ export default {
lastData = JSON.parse(lastData); lastData = JSON.parse(lastData);
const lastMemberList = []; const lastMemberList = [];
const dispatcherList = []; const dispatcherList = [];
const electricDispatcherList = []; // const electricDispatcherList = [];
const depotDispatcherList = []; // const depotDispatcherList = [];
const stationSupervisorList = []; const stationSupervisorList = [];
this.driverList = []; this.driverList = [];
const maintainerList = []; const maintainerList = [];

View File

@ -96,7 +96,7 @@ export default {
}; };
</script> </script>
<style scoped rel="stylesheet/scss" lang="scss" scoped> <style scoped rel="stylesheet/scss" lang="scss">
@import "src/styles/mixin.scss"; @import "src/styles/mixin.scss";
#PlanStatusBar { #PlanStatusBar {