This commit is contained in:
zyy 2020-04-13 18:59:19 +08:00
commit 64279ed484
9 changed files with 306 additions and 231 deletions

View File

@ -410,6 +410,30 @@ class SkinCode extends defaultStyle {
invalidColor: '#FF0000' // 验证旁路检查(无检验起效) invalidColor: '#FF0000' // 验证旁路检查(无检验起效)
} }
}, },
deviceStatus: {
fontSize: 12, // 字体大小
distance: 30, // 模式间距
psd: {
text: 'PSD',
defaultColor: '#FFF'
},
mfa: {
text: 'MFA',
defaultColor: '#FFF'
},
mfb: {
text: 'MFB',
defaultColor: '#FFF'
},
pfa: {
text: 'PFA',
defaultColor: '#FFF'
},
pfb: {
text: 'PFB',
defaultColor: '#FFF'
}
},
StationControl:{ StationControl:{
text: { text: {
distance: 2, // 灯和文字之间的距离 distance: 2, // 灯和文字之间的距离

View File

@ -0,0 +1,95 @@
import Group from 'zrender/src/container/Group';
import Text from 'zrender/src/graphic/Text';
export default class EDeviceStatus extends Group {
constructor(model) {
super();
this.model = model;
this.zlevel = model.zlevel;
this._subType = model._subType;
this.z = model.z;
this.create(model);
}
create(model) {
this.psd = new Text({
zlevel: this.zlevel,
z: this.z,
style: {
x: model.x,
y: model.y,
fontWeight: model.style.textStyle.fontWeight,
fontSize: model.style.Station.deviceStatus.fontSize,
fontFamily: model.style.fontFamily,
text: model.style.Station.deviceStatus.psd.text,
textFill: model.style.Station.deviceStatus.psd.defaultColor,
textAlign: model.style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign
}
});
this.mfa = new Text({
zlevel: this.zlevel,
z: this.z,
style: {
x: model.x + model.style.Station.deviceStatus.distance,
y: model.y,
fontWeight: model.style.textStyle.fontWeight,
fontSize: model.style.Station.deviceStatus.fontSize,
fontFamily: model.style.fontFamily,
text: model.style.Station.deviceStatus.mfa.text,
textFill: model.style.Station.deviceStatus.mfa.defaultColor,
textAlign: model.style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign
}
});
this.mfb = new Text({
zlevel: this.zlevel,
z: this.z,
style: {
x: model.x + model.style.Station.deviceStatus.distance * 2,
y: model.y,
fontWeight: model.style.textStyle.fontWeight,
fontSize: model.style.Station.deviceStatus.fontSize,
fontFamily: model.style.fontFamily,
text: model.style.Station.deviceStatus.mfb.text,
textFill: model.style.Station.deviceStatus.mfb.defaultColor,
textAlign: model.style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign
}
});
this.pfa = new Text({
zlevel: this.zlevel,
z: this.z,
style: {
x: model.x + model.style.Station.deviceStatus.distance * 3,
y: model.y,
fontWeight: model.style.textStyle.fontWeight,
fontSize: model.style.Station.deviceStatus.fontSize,
fontFamily: model.style.fontFamily,
text: model.style.Station.deviceStatus.pfa.text,
textFill: model.style.Station.deviceStatus.pfa.defaultColor,
textAlign: model.style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign
}
});
this.pfb = new Text({
zlevel: this.zlevel,
z: this.z,
style: {
x: model.x + model.style.Station.deviceStatus.distance * 4,
y: model.y,
fontWeight: model.style.textStyle.fontWeight,
fontSize: model.style.Station.deviceStatus.fontSize,
fontFamily: model.style.fontFamily,
text: model.style.Station.deviceStatus.pfb.text,
textFill: model.style.Station.deviceStatus.pfb.defaultColor,
textAlign: model.style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign
}
});
this.add(this.psd);
this.add(this.mfa);
this.add(this.mfb);
this.add(this.pfa);
this.add(this.pfb);
}
}

View File

@ -16,6 +16,7 @@ import EControlSwitch from './EControlSwitch';
import EAxle from './EAxle'; import EAxle from './EAxle';
// import {isShowThePrdType} from '../../utils/handlePath'; // import {isShowThePrdType} from '../../utils/handlePath';
import EFoldbackMode from './EFoldbackMode'; import EFoldbackMode from './EFoldbackMode';
import EDeviceStatus from './EDeviceStatus';
import Text from 'zrender/src/graphic/Text'; import Text from 'zrender/src/graphic/Text';
export default class Station extends Group { export default class Station extends Group {
@ -31,6 +32,7 @@ export default class Station extends Group {
this.create(); this.create();
this.createTurnBack(); // 创建按图折返 this.createTurnBack(); // 创建按图折返
this.createControlMode(); this.createControlMode();
this.createTextControlMode();
this.setState(model); this.setState(model);
this.checkIsDrawMap(); this.checkIsDrawMap();
} }
@ -117,6 +119,16 @@ export default class Station extends Group {
}); });
this.add(this.axle); this.add(this.axle);
} }
if (style.Station.deviceStatus && model.showDeviceStatus) {
this.deviceStatus = new EDeviceStatus({
zlevel: this.zlevel,
z: this.z,
x: model.deviceStatusPosition.x,
y: model.deviceStatusPosition.y,
style: style
});
this.add(this.deviceStatus);
}
const path = window.location.href; const path = window.location.href;
if (style.Station.kmPostShow || path.includes('/map/draw')) { if (style.Station.kmPostShow || path.includes('/map/draw')) {
// 公里标是否显示 // 公里标是否显示
@ -208,65 +220,66 @@ export default class Station extends Group {
// 创建文字控制模式组(西安二号线-(进路模式, 车站控制模式, 车站通信状态, 验证旁路)) // 创建文字控制模式组(西安二号线-(进路模式, 车站控制模式, 车站通信状态, 验证旁路))
createTextControlMode() { createTextControlMode() {
const model = this.model; const model = this.model;
if (model.visible && model.textControlMode) { const style = this.style;
if (model.visible && model.textControlMode && style.Station.controlMode) {
this.routeMode = new Text({ this.routeMode = new Text({
zlevel: this.zlevel, zlevel: this.zlevel,
z: this.z, z: this.z,
style: { style: {
x: model.textControlModePosition.x, x: model.textControlModePosition.x,
y: model.textControlModePosition.y, y: model.textControlModePosition.y,
fontWeight: model.style.textStyle.fontWeight, fontWeight: style.textStyle.fontWeight,
fontSize: model.style.Station.textControlMode.fontSize, fontSize: style.Station.controlMode.fontSize,
fontFamily: model.style.fontFamily, fontFamily: style.fontFamily,
text: model.style.Station.textControlMode.routeMode.defaultText, text: style.Station.controlMode.routeMode.defaultText,
textFill: model.style.Station.textControlMode.routeMode.defaultColor, textFill: style.Station.controlMode.routeMode.defaultColor,
textAlign: model.style.textStyle.textAlign, textAlign: style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign textVerticalAlign: style.textStyle.textVerticalAlign
} }
}); });
this.stationControlMode = new Text({ this.stationControlMode = new Text({
zlevle: this.zlevle, zlevle: this.zlevle,
z: this.z, z: this.z,
style: { style: {
x: model.textControlModePosition.x + model.style.Station.textControlMode.distance, x: model.textControlModePosition.x + style.Station.controlMode.distance,
y: model.textControlModePosition.y, y: model.textControlModePosition.y,
fontWeight: model.style.textStyle.fontWeight, fontWeight: style.textStyle.fontWeight,
fontSize: model.style.Station.textControlMode.fontSize, fontSize: style.Station.controlMode.fontSize,
fontFamily: model.style.fontFamily, fontFamily: style.fontFamily,
text: model.style.Station.textControlMode.stationControlMode.defaultText, text: style.Station.controlMode.stationControlMode.defaultText,
textFill: model.style.Station.textControlMode.stationControlMode.defaultColor, textFill: style.Station.controlMode.stationControlMode.defaultColor,
textAlign: model.style.textStyle.textAlign, textAlign: style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign textVerticalAlign: style.textStyle.textVerticalAlign
} }
}); });
this.stationCommunication = new Text({ this.stationCommunication = new Text({
zlevel: this.zlevel, zlevel: this.zlevel,
z: this.z, z: this.z,
style: { style: {
x: model.textControlModePosition.x + model.style.Station.textControlMode.distance * 2, x: model.textControlModePosition.x + style.Station.controlMode.distance * 2,
y: model.textControlMode.Position.y, y: model.textControlModePosition.y,
fontWeight: model.style.textStyle.fontWeight, fontWeight: style.textStyle.fontWeight,
fontSize: model.style.Station.textControlMode.fontSize, fontSize: style.Station.controlMode.fontSize,
fontFamily: model.style.fontFamily, fontFamily: style.fontFamily,
text: model.style.Station.textControlMode.stationCommunication.defaultText, text: style.Station.controlMode.stationCommunication.defaultText,
textFill: model.style.Station.textControlMode.stationControlMode.defaultColor, textFill: style.Station.controlMode.stationControlMode.defaultColor,
textAlign: model.style.textStyle.textAlign, textAlign: style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign textVerticalAlign: style.textStyle.textVerticalAlign
} }
}); });
this.verifyBypass = new Text({ this.verifyBypass = new Text({
zlevel: this.zlevel, zlevel: this.zlevel,
z: this.z, z: this.z,
style: { style: {
x: model.textControlModePosition.x + model.style.Station.textControlMode.distance * 3, x: model.textControlModePosition.x + style.Station.controlMode.distance * 3,
y: model.textControlMode.Position.y, y: model.textControlModePosition.y,
fontWeight: model.style.textStyle.fontWeight, fontWeight: style.textStyle.fontWeight,
fontSize: model.style.Station.textControlMode.fontSize, fontSize: style.Station.controlMode.fontSize,
fontFamily: model.style.fontFamily, fontFamily: style.fontFamily,
text: model.style.Station.textControlMode.verifyBypass.defaultText, text: style.Station.controlMode.verifyBypass.defaultText,
textFill: model.style.Station.textControlMode.verifyBypass.defaultColor, textFill: style.Station.controlMode.verifyBypass.defaultColor,
textAlign: model.style.textStyle.textAlign, textAlign: style.textStyle.textAlign,
textVerticalAlign: model.style.textStyle.textVerticalAlign textVerticalAlign: style.textStyle.textVerticalAlign
} }
}); });
this.add(this.routeMode); this.add(this.routeMode);

View File

@ -371,6 +371,7 @@ export default {
}, },
// //
reopenSignalByRoute(selectType) { reopenSignalByRoute(selectType) {
debugger;
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:selectType.code}, 3).then(({valid, operate})=>{ commitOperate(menuOperate.Signal.reopenSignal, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
}).catch(error=>{ }).catch(error=>{
this.$refs.noticeInfo.doShow({}, error.message); this.$refs.noticeInfo.doShow({}, error.message);

View File

@ -4,13 +4,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0501', operateType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value,
// operateType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN,
skinCode: '03', skinCode: '03',
trainingName: '设置扣车({10}-{12} 站台)', trainingName: '设置扣车({10}-{12} 站台)',
trainingRemark: '设置扣车功能', trainingRemark: '设置扣车功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '504', tip: '鼠标右键菜单选择【设置扣车】'}, { deviceType: '06', orderNum: 1, operateCode: '504', tip: '鼠标右键菜单选择【设置扣车】'},
@ -20,13 +18,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0501', operateType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value,
// operateType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN,
skinCode: '03', skinCode: '03',
trainingName: '设置扣车({10}-{12} 站台)', trainingName: '设置扣车({10}-{12} 站台)',
trainingRemark: '设置扣车功能', trainingRemark: '设置扣车功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['01'], // 产品类型 01 现地 02 行调 productTypes: ['01'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】'}, { deviceType: '06', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】'},
@ -36,13 +32,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0502', operateType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value,
// operateType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN,
skinCode: '03', skinCode: '03',
trainingName: '取消扣车({10}-{12} 站台)', trainingName: '取消扣车({10}-{12} 站台)',
trainingRemark: '取消扣车功能', trainingRemark: '取消扣车功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '505', tip: '鼠标右键菜单选择【取消扣车】'}, { deviceType: '06', orderNum: 1, operateCode: '505', tip: '鼠标右键菜单选择【取消扣车】'},
@ -52,13 +46,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0502', operateType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value,
// operateType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN,
skinCode: '03', skinCode: '03',
trainingName: '取消扣车({10}-{12} 站台)', trainingName: '取消扣车({10}-{12} 站台)',
trainingRemark: '取消扣车功能', trainingRemark: '取消扣车功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['01'], // 产品类型 01 现地 02 行调 productTypes: ['01'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, { deviceType: '06', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' },
@ -68,13 +60,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0505', operateType:CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
// operateType:CMD.Stand.CMD_STAND_SET_JUMP_STOP,
skinCode: '03', skinCode: '03',
trainingName: '设置跳停({10}-{12} 站台)', trainingName: '设置跳停({10}-{12} 站台)',
trainingRemark: '设置跳停功能', trainingRemark: '设置跳停功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '502', tip: '鼠标右键菜单选择【设置跳停】' }, { deviceType: '06', orderNum: 1, operateCode: '502', tip: '鼠标右键菜单选择【设置跳停】' },
@ -84,13 +74,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0505', operateType:CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
// operateType:CMD.Stand.CMD_STAND_SET_JUMP_STOP,
skinCode: '03', skinCode: '03',
trainingName: '设置跳停({10}-{12} 站台)', trainingName: '设置跳停({10}-{12} 站台)',
trainingRemark: '设置指定001号列车跳停功能', trainingRemark: '设置指定001号列车跳停功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '502', tip: '鼠标右键菜单选择【设置跳停】' }, { deviceType: '06', orderNum: 1, operateCode: '502', tip: '鼠标右键菜单选择【设置跳停】' },
@ -102,13 +90,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0506', operateType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
// operateType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP,
skinCode: '03', skinCode: '03',
trainingName: '取消跳停({10}-{12} 站台)', trainingName: '取消跳停({10}-{12} 站台)',
trainingRemark: '取消跳停功能', trainingRemark: '取消跳停功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '503', tip: '鼠标右键菜单选择【取消跳停】' }, { deviceType: '06', orderNum: 1, operateCode: '503', tip: '鼠标右键菜单选择【取消跳停】' },
@ -118,13 +104,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0506', operateType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
// operateType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP,
skinCode: '03', skinCode: '03',
trainingName: '取消跳停({10}-{12} 站台)', trainingName: '取消跳停({10}-{12} 站台)',
trainingRemark: '取消指定001号列车跳停功能', trainingRemark: '取消指定001号列车跳停功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '503', tip: '鼠标右键菜单选择【取消跳停】' }, { deviceType: '06', orderNum: 1, operateCode: '503', tip: '鼠标右键菜单选择【取消跳停】' },
@ -136,13 +120,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0507', operateType:CMD.Stand.CMD_STAND_VIEW_STATUS.value,
// operateType:CMD.Stand.CMD_STAND_VIEW_STATUS,
skinCode: '03', skinCode: '03',
trainingName: '查询站台状态({10}-{12} 站台)', trainingName: '查询站台状态({10}-{12} 站台)',
trainingRemark: '查询站台状态功能', trainingRemark: '查询站台状态功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '507', tip: '鼠标右键菜单选择【站台信息】' }, { deviceType: '06', orderNum: 1, operateCode: '507', tip: '鼠标右键菜单选择【站台信息】' },
@ -152,13 +134,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0508', operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
// operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME,
skinCode: '03', skinCode: '03',
trainingName: '停站时间控制({10}-{12} 站台)', trainingName: '停站时间控制({10}-{12} 站台)',
trainingRemark: '停站时间控制(自动, 一直有效)', trainingRemark: '停站时间控制(自动, 一直有效)',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' }, { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' },
@ -169,13 +149,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0508', operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
// operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME,
skinCode: '03', skinCode: '03',
trainingName: '停站时间控制({10}-{12} 站台)', trainingName: '停站时间控制({10}-{12} 站台)',
trainingRemark: '停站时间控制(人工, 20秒, 一直有效)', trainingRemark: '停站时间控制(人工, 20秒, 一直有效)',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' }, { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' },
@ -187,13 +165,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0508', operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
// operateType:CMD.Stand.CMD_STAND_SET_PARK_TIME,
skinCode: '03', skinCode: '03',
trainingName: '停站时间控制({10}-{12} 站台)', trainingName: '停站时间控制({10}-{12} 站台)',
trainingRemark: '停站时间控制(人工, 20秒, 一次有效)', trainingRemark: '停站时间控制(人工, 20秒, 一次有效)',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' }, { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' },
@ -206,13 +182,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0509', operateType:CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
// operateType:CMD.Stand.CMD_STAND_SET_RUN_TIME,
skinCode: '03', skinCode: '03',
trainingName: '运行时间控制({10}-{12} 站台)', trainingName: '运行时间控制({10}-{12} 站台)',
trainingRemark: '运行时间控制(设置区间 运行等级1运行时间为115一直有效)', trainingRemark: '运行时间控制(设置区间 运行等级1运行时间为115一直有效)',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【运行时间控制】' }, { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【运行时间控制】' },
@ -224,13 +198,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0509', operateType:CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
// operateType:CMD.Stand.CMD_STAND_SET_RUN_TIME,
skinCode: '03', skinCode: '03',
trainingName: '运行时间控制({10}-{12} 站台)', trainingName: '运行时间控制({10}-{12} 站台)',
trainingRemark: '运行时间控制(设置区间 运行等级1运行时间为115一次有效)', trainingRemark: '运行时间控制(设置区间 运行等级1运行时间为115一次有效)',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【运行时间控制】' }, { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【运行时间控制】' },
@ -243,13 +215,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0510', operateType:CMD.Stand.CMD_STAND_EARLY_DEPART.value,
// operateType:CMD.Stand.CMD_STAND_EARLY_DEPART,
skinCode: '03', skinCode: '03',
trainingName: '提前发车({10}-{12} 站台)', trainingName: '提前发车({10}-{12} 站台)',
trainingRemark: '提前发车功能', trainingRemark: '提前发车功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '501', tip: '鼠标右键菜单选择【提前发车】' }, { deviceType: '06', orderNum: 1, operateCode: '501', tip: '鼠标右键菜单选择【提前发车】' },
@ -259,13 +229,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0511', operateType:CMD.Stand.CMD_STAND_SET_REENTRY_STRATEGY.value,
// operateType:CMD.Stand.CMD_STAND_SET_REENTRY_STRATEGY,
skinCode: '03', skinCode: '03',
trainingName: '变通策略管理({10}-{12} 站台)', trainingName: '变通策略管理({10}-{12} 站台)',
trainingRemark: '变通策略管理功能', trainingRemark: '变通策略管理功能',
trainingType: '05', trainingType:'Stand',
// trainingType:'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '06', orderNum: 1, operateCode: '511', tip: '鼠标右键菜单选择【变通策略管理】' }, { deviceType: '06', orderNum: 1, operateCode: '511', tip: '鼠标右键菜单选择【变通策略管理】' },
@ -276,13 +244,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0402', operateType:CMD.Section.CMD_SECTION_CUT_OFF.value,
// operateType:CMD.Section.CMD_SECTION_CUT_OFF,
skinCode: '03', skinCode: '03',
trainingName: '轨道切除({8}{9} 区段)', trainingName: '轨道切除({8}{9} 区段)',
trainingRemark: '轨道切除功能', trainingRemark: '轨道切除功能',
trainingType: '04', trainingType:'Section',
// trainingType:'Section',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: '405', tip: '鼠标右键菜单选择【轨道切除】' }, { deviceType: '03', orderNum: 1, operateCode: '405', tip: '鼠标右键菜单选择【轨道切除】' },
@ -292,13 +258,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0403', operateType:CMD.Section.CMD_SECTION_ACTIVE.value,
// operateType:CMD.Section.CMD_SECTION_ACTIVE,
skinCode: '03', skinCode: '03',
trainingName: '轨道激活({8}{9} 区段)', trainingName: '轨道激活({8}{9} 区段)',
trainingRemark: '轨道激活功能', trainingRemark: '轨道激活功能',
trainingType: '04', trainingType:'Section',
// trainingType:'Section',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: '406', tip: '鼠标右键菜单选择【轨道激活】' }, { deviceType: '03', orderNum: 1, operateCode: '406', tip: '鼠标右键菜单选择【轨道激活】' },
@ -308,13 +272,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0407', operateType:CMD.Section.CMD_SECTION_SET_LIMIT_SPEED.value,
// operateType:CMD.Section.CMD_SECTION_SET_LIMIT_SPEED,
skinCode: '03', skinCode: '03',
trainingName: '设置临时限速({8}{9} 区段)', trainingName: '设置临时限速({8}{9} 区段)',
trainingRemark: '设置临时限速功能限速值15', trainingRemark: '设置临时限速功能限速值15',
trainingType: '04', trainingType:'Section',
// trainingType:'Section',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: '407', tip: '鼠标右键菜单选择【设置临时限速】' }, { deviceType: '03', orderNum: 1, operateCode: '407', tip: '鼠标右键菜单选择【设置临时限速】' },
@ -330,13 +292,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0308', operateType:CMD.Switch.CMD_SWITCH_CUT_OFF.value,
// operateType:CMD.Switch.CMD_SWITCH_CUT_OFF,
skinCode: '03', skinCode: '03',
trainingName: '轨道切除({7} 道岔)', trainingName: '轨道切除({7} 道岔)',
trainingRemark: '轨道切除功能', trainingRemark: '轨道切除功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '111', tip: '鼠标右键菜单选择【轨道切除】' }, { deviceType: '02', orderNum: 1, operateCode: '111', tip: '鼠标右键菜单选择【轨道切除】' },
@ -346,13 +306,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0309', operateType:CMD.Switch.CMD_SWITCH_ACTIVE.value,
// operateType:CMD.Switch.CMD_SWITCH_ACTIVE,
skinCode: '03', skinCode: '03',
trainingName: '轨道激活({7} 道岔)', trainingName: '轨道激活({7} 道岔)',
trainingRemark: '轨道激活功能', trainingRemark: '轨道激活功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '112', tip: '鼠标右键菜单选择【轨道激活】' }, { deviceType: '02', orderNum: 1, operateCode: '112', tip: '鼠标右键菜单选择【轨道激活】' },
@ -362,13 +320,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0310', operateType:CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED.value,
// operateType:CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED,
skinCode: '03', skinCode: '03',
trainingName: '设置临时限速({7} 道岔)', trainingName: '设置临时限速({7} 道岔)',
trainingRemark: '设置临时限速功能(限速值 35 ', trainingRemark: '设置临时限速功能(限速值 35 ',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '113', tip: '鼠标右键菜单选择【设置临时限速】' }, { deviceType: '02', orderNum: 1, operateCode: '113', tip: '鼠标右键菜单选择【设置临时限速】' },
@ -383,13 +339,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0313', operateType:CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value,
// operateType:CMD.Switch.CMD_SWITCH_REVERSE_POSITION,
skinCode: '03', skinCode: '03',
trainingName: '道岔总反({7} 道岔)', trainingName: '道岔总反({7} 道岔)',
trainingRemark: '道岔反位功能', trainingRemark: '道岔反位功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '1020', tip: '鼠标左键点击【道岔总反】' }, { deviceType: '02', orderNum: 1, operateCode: '1020', tip: '鼠标左键点击【道岔总反】' },
@ -399,13 +353,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0312', operateType:CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value,
// operateType:CMD.Switch.CMD_SWITCH_NORMAL_POSITION,
skinCode: '03', skinCode: '03',
trainingName: '道岔总定({7} 道岔)', trainingName: '道岔总定({7} 道岔)',
trainingRemark: '道岔定位功能', trainingRemark: '道岔定位功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '1010', tip: '鼠标左键点击【道岔总定】' }, { deviceType: '02', orderNum: 1, operateCode: '1010', tip: '鼠标左键点击【道岔总定】' },
@ -415,13 +367,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0301', operateType:CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value,
// operateType:CMD.Switch.CMD_SWITCH_SINGLE_LOCK,
skinCode: '03', skinCode: '03',
trainingName: '道岔单锁({7} 道岔)', trainingName: '道岔单锁({7} 道岔)',
trainingRemark: '道岔单锁功能', trainingRemark: '道岔单锁功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '1030', tip: '鼠标左键点击【道岔单锁】' }, { deviceType: '02', orderNum: 1, operateCode: '1030', tip: '鼠标左键点击【道岔单锁】' },
@ -431,13 +381,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0302', operateType:CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value,
// operateType:CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK,
skinCode: '03', skinCode: '03',
trainingName: '道岔解锁({7} 道岔)', trainingName: '道岔解锁({7} 道岔)',
trainingRemark: '道岔单解功能', trainingRemark: '道岔单解功能',
trainingType: '03', trainingType:'Switch',
// trainingType:'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '02', orderNum: 1, operateCode: '1040', tip: '鼠标左键点击【道岔解锁】' }, { deviceType: '02', orderNum: 1, operateCode: '1040', tip: '鼠标左键点击【道岔解锁】' },
@ -448,13 +396,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0201', operateType:CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
// operateType:CMD.Signal.CMD_SIGNAL_SET_ROUTE,
skinCode: '03', skinCode: '03',
trainingName: '排列进路({3} 进路)', trainingName: '排列进路({3} 进路)',
trainingRemark: '排列进路功能', trainingRemark: '排列进路功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '301', tip: '鼠标右键菜单选择【排列进路】' }, { deviceType: '04', orderNum: 1, operateCode: '301', tip: '鼠标右键菜单选择【排列进路】' },
@ -465,13 +411,11 @@ export default {
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: '0202', operateType:CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
// operateType:CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE,
skinCode: '03', skinCode: '03',
trainingName: '取消进路({3} 进路)', trainingName: '取消进路({3} 进路)',
trainingRemark: '取消进路功能', trainingRemark: '取消进路功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '303', tip: '鼠标右键菜单选择【取消进路】' }, { deviceType: '04', orderNum: 1, operateCode: '303', tip: '鼠标右键菜单选择【取消进路】' },
@ -481,13 +425,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0210', operateType:CMD.Signal.CMD_SIGNAL_DETAIL.value,
// operateType:CMD.Signal.CMD_SIGNAL_DETAIL,
skinCode: '03', skinCode: '03',
trainingName: '查询进路控制状态({5} 信号机)', trainingName: '查询进路控制状态({5} 信号机)',
trainingRemark: '查询进路控制状态功能', trainingRemark: '查询进路控制状态功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '316', tip: '鼠标右键菜单选择【查询进路控制状态】' }, { deviceType: '04', orderNum: 1, operateCode: '316', tip: '鼠标右键菜单选择【查询进路控制状态】' },
@ -497,13 +439,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0208', operateType:CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value,
// operateType:CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING,
skinCode: '03', skinCode: '03',
trainingName: '进路交自动控({5} 信号机)', trainingName: '进路交自动控({5} 信号机)',
trainingRemark: '进路交自动控功能', trainingRemark: '进路交自动控功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '315', tip: '鼠标右键菜单选择【进路交自动控】' }, { deviceType: '04', orderNum: 1, operateCode: '315', tip: '鼠标右键菜单选择【进路交自动控】' },
@ -514,13 +454,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0209', operateType:CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value,
// operateType:CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING,
skinCode: '03', skinCode: '03',
trainingName: '进路交人工控({5} 信号机)', trainingName: '进路交人工控({5} 信号机)',
trainingRemark: '进路交人工控功能', trainingRemark: '进路交人工控功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '314', tip: '鼠标右键菜单选择【进路交人工控】' }, { deviceType: '04', orderNum: 1, operateCode: '314', tip: '鼠标右键菜单选择【进路交人工控】' },
@ -531,13 +469,11 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0206', operateType:CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
// operateType:CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL,
skinCode: '03', skinCode: '03',
trainingName: '信号重开({3} 进路)', trainingName: '信号重开({3} 进路)',
trainingRemark: '信号重开功能', trainingRemark: '信号重开功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '304', tip: '鼠标右键菜单选择【信号重开】' }, { deviceType: '04', orderNum: 1, operateCode: '304', tip: '鼠标右键菜单选择【信号重开】' },
@ -547,138 +483,124 @@ export default {
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0206', operateType:CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
// operateType:CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL,
skinCode: '03', skinCode: '03',
trainingName: '信号重开({3} 进路)', trainingName: '信号重开({3} 进路)',
trainingRemark: '信号重开功能', trainingRemark: '信号重开功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '3040', tip: '鼠标左键点击【信号重开】' }, { deviceType: '04', orderNum: 1, operateCode: '3040', tip: '鼠标左键点击【信号重开】' },
{ deviceType: '04', orderNum: 2, operateCode: '3040', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '304', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0211', operateType:CMD.Signal.CMD_SIGNAL_SET_CI_AUTO.value,
// operateType:CMD.Signal.CMD_SIGNAL_SET_CI_AUTO,
skinCode: '03', skinCode: '03',
trainingName: '设置自动进路({3} 进路)', trainingName: '设置自动进路({3} 进路)',
trainingRemark: '设置自动进路功能', trainingRemark: '设置自动进路功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '3090', tip: '鼠标左键点击【自动进路】' }, { deviceType: '04', orderNum: 1, operateCode: '3090', tip: '鼠标左键点击【自动进路】' },
{ deviceType: '04', orderNum: 2, operateCode: '3090', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '3090', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0212', operateType:CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO.value,
// operateType:CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO,
skinCode: '03', skinCode: '03',
trainingName: '取消自动进路({3} 进路)', trainingName: '取消自动进路({3} 进路)',
trainingRemark: '取消自动进路功能', trainingRemark: '取消自动进路功能',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '3090', tip: '鼠标左键点击【自动进路】' }, { deviceType: '04', orderNum: 1, operateCode: '3090', tip: '鼠标左键点击【自动进路】' },
{ deviceType: '04', orderNum: 2, operateCode: '3090', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '3090', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0215', operateType:CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value,
// operateType:CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE,
skinCode: '03', skinCode: '03',
trainingName: '总人解({3} 进路)', trainingName: '总人解({3} 进路)',
trainingRemark: '人解进路(总人解)', trainingRemark: '人解进路(总人解)',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '3050', tip: '鼠标左键点击【总人解】' }, { deviceType: '04', orderNum: 1, operateCode: '3050', tip: '鼠标左键点击【总人解】' },
{ deviceType: '04', orderNum: 2, operateCode: '3050', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '3050', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0205', operateType:CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL.value,
// operateType:CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL,
skinCode: '03', skinCode: '03',
trainingName: '关闭信号({5} )', trainingName: '关闭信号({5} )',
trainingRemark: '关闭信号', trainingRemark: '关闭信号',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' },
{ deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '313', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0205', operateType:CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
// operateType:CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE,
skinCode: '03', skinCode: '03',
trainingName: '取消进路({5} )', trainingName: '取消进路({5} )',
trainingRemark: '取消进路', trainingRemark: '取消进路',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' },
{ deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 2, operateCode: '303', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, },
{ {
maxDuration: 8, maxDuration: 8,
minDuration: 5, minDuration: 5,
operateType: '0201', operateType:CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
// operateType:CMD.Signal.CMD_SIGNAL_SET_ROUTE,
skinCode: '03', skinCode: '03',
trainingName: '进路建立({3})', trainingName: '进路建立({3})',
trainingRemark: '进路建立', trainingRemark: '进路建立',
trainingType: '02', trainingType:'Signal',
// trainingType:'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '3010', tip: '鼠标左键点击【排列进路】' }, { deviceType: '04', orderNum: 1, operateCode: '3010', tip: '鼠标左键点击【排列进路】' },
{ deviceType: '04', orderNum: 2, operateCode: '3010', tip: '鼠标左键点击【始端信号机】', codeType:'SIGNAL'}, { deviceType: '04', orderNum: 2, operateCode: '3010', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'},
{ deviceType: '04', orderNum: 3, operateCode: '3010', tip: '鼠标左键点击【终端信号机】', codeType:'SIGNAL'} { deviceType: '04', orderNum: 3, operateCode: '3010', tip: '鼠标左键点击选择该信号机', codeType:'SIGNAL'}
] ]
}, }
// 自动折返 (暂时没有) // 自动折返 (暂时没有)
// 取消自动折返 (暂时没有) // 取消自动折返 (暂时没有)
// 引导信号 (暂时没有) // 引导信号 (暂时没有)
// 取消引导信号 (暂时没有) // 取消引导信号 (暂时没有)
{ // {
// 暂时没有 // // 暂时没有
maxDuration: 15, // maxDuration: 15,
minDuration: 8, // minDuration: 8,
operateType: '0801', // operateType: '0801',
skinCode: '03', // skinCode: '03',
trainingName: '全线取消临时限速', // trainingName: '全线取消临时限速',
trainingRemark: '全线取消临时限速功能', // trainingRemark: '全线取消临时限速功能',
trainingType: '08', // trainingType: '08',
productTypes: ['01', '02'], // productTypes: ['01', '02'],
stepVOList: [ // stepVOList: [
{ deviceType: '10', orderNum: 1, operateCode: '800', tip: '鼠标右键菜单选择【取消全线临时限速】' }, // { deviceType: '10', orderNum: 1, operateCode: '800', tip: '鼠标右键菜单选择【取消全线临时限速】' },
{ deviceType: '10', orderNum: 2, operateCode: '8001', tip: '鼠标左键点击【打开会话】按钮' }, // { deviceType: '10', orderNum: 2, operateCode: '8001', tip: '鼠标左键点击【打开会话】按钮' },
{ deviceType: '10', orderNum: 3, operateCode: '8003', tip: '鼠标左键点击【确认】按钮' }, // { deviceType: '10', orderNum: 3, operateCode: '8003', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '10', orderNum: 4, operateCode: '8004', tip: '鼠标左键点击【确认】按钮' }, // { deviceType: '10', orderNum: 4, operateCode: '8004', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '10', orderNum: 5, operateCode: '8005', tip: '鼠标左键点击【关闭】按钮' }, // { deviceType: '10', orderNum: 5, operateCode: '8005', tip: '鼠标左键点击【关闭】按钮' },
{ deviceType: '10', orderNum: 6, operateCode: '8006', tip: '鼠标左键点击【确定】按钮' } // { deviceType: '10', orderNum: 6, operateCode: '8006', tip: '鼠标左键点击【确定】按钮' }
] // ]
} // }
] ]
}; };

View File

@ -83,8 +83,8 @@ export default {
return this.dialogShow ? OperationEvent.StationStand.cancelDetainTrainAll.menu.domId : ''; return this.dialogShow ? OperationEvent.StationStand.cancelDetainTrainAll.menu.domId : '';
}, },
title() { title() {
// if (this.operation == OperationEvent.StationStand.cancelDetainTrainAll.menu.operation) { if (this.operation == OperationEvent.StationStand.cancelDetainTrainAll.menu.operation) {
if (this.operation == OperationEvent.StationStand.cancelDetainTrainAll.mbar.operation) { // if (this.operation == OperationEvent.StationStand.cancelDetainTrainAll.mbar.operation) {
return '全线取消扣车'; return '全线取消扣车';
} else { } else {
return '全线取消跳停'; return '全线取消跳停';

View File

@ -67,8 +67,8 @@ export default {
if (reg3.test(dataList[i][item + j]) || reg3.test(dataList[i][item + j + 1])) { if (reg3.test(dataList[i][item + j]) || reg3.test(dataList[i][item + j + 1])) {
arrivalList.push({ arrivalList.push({
stationName: dataList[columnNum][item + j], stationName: dataList[columnNum][item + j],
arriveTime: reg3.test(dataList[i][item + j]) ? prefixTime(dataList[i][item + j]) : prefixTime(dataList[i][item + j + 1]), departureTime: reg3.test(dataList[i][item + j]) ? prefixTime(dataList[i][item + j]) : prefixTime(dataList[i][item + j + 1]),
departureTime: reg3.test(dataList[i][item + j + 1]) ? prefixTime(dataList[i][item + j + 1]) : prefixTime(dataList[i][item + j]) arriveTime: reg3.test(dataList[i][item + j + 1]) ? prefixTime(dataList[i][item + j + 1]) : prefixTime(dataList[i][item + j])
}); });
} }
} }

View File

@ -718,7 +718,7 @@ export const OperationEvent = {
reopenSignal: { reopenSignal: {
button: { button: {
operation: '3040', operation: '3040',
domId: '_Tips-Signal-Reopen-Mbm' domId: '_Tips-Signal-Reopen-Mbm{TOP}'
}, },
menu: { menu: {
operation: '304', operation: '304',

View File

@ -159,7 +159,9 @@ export default {
showFoldbackMode: false, // showFoldbackMode: false, //
foldbackModePosition: {x: 0, y: 0}, foldbackModePosition: {x: 0, y: 0},
showAxle: false, // showAxle: false, //
axlePosition: {x: 0, y: 0} axlePosition: {x: 0, y: 0},
showDeviceStatus: false,
deviceStatusPosition: {x: 0, y: 0}
}, },
addModel: { addModel: {
modelList: [], modelList: [],
@ -265,6 +267,11 @@ export default {
{ prop: 'axlePosition', label: '计轴预复位坐标:', type: 'coordinate', width: '120px', isHidden: !this.editModel.showAxle, children: [ { prop: 'axlePosition', label: '计轴预复位坐标:', type: 'coordinate', width: '120px', isHidden: !this.editModel.showAxle, children: [
{prop: 'axlePosition.x', firstLevel: 'axlePosition', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px'}, {prop: 'axlePosition.x', firstLevel: 'axlePosition', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px'},
{prop: 'axlePosition.y', firstLevel: 'axlePosition', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px'} {prop: 'axlePosition.y', firstLevel: 'axlePosition', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px'}
]},
{ prop: 'showDeviceStatus', label: '设备状态:', type: 'checkbox', change: true, deviceChange: this.changeShowDeviceStatus},
{ prop: 'deviceStatusPosition', label: '设备状态坐标:', type: 'coordinate', width: '120px', isHidden: !this.editModel.showDeviceStatus, children: [
{prop: 'deviceStatusPosition.x', firstLevel: 'deviceStatusPosition', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px'},
{prop: 'deviceStatusPosition.y', firstLevel: 'deviceStatusPosition', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px'}
]} ]}
] ]
}, },
@ -370,8 +377,8 @@ export default {
changeTextControlMode(data) { changeTextControlMode(data) {
if (data) { if (data) {
this.editModel.textControlModePosition = { this.editModel.textControlModePosition = {
x: this.editModel.position.x, x: this.editModel.position.x - 40,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.textControlModePosition = { this.editModel.textControlModePosition = {
@ -384,7 +391,7 @@ export default {
if (data) { if (data) {
this.editModel.unmannedPosition = { this.editModel.unmannedPosition = {
x: this.editModel.position.x, x: this.editModel.position.x,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.unmannedPosition = { this.editModel.unmannedPosition = {
@ -397,7 +404,7 @@ export default {
if (data) { if (data) {
this.editModel.lampFilamentPosition = { this.editModel.lampFilamentPosition = {
x: this.editModel.position.x, x: this.editModel.position.x,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.lampFilamentPosition = { this.editModel.lampFilamentPosition = {
@ -410,7 +417,7 @@ export default {
if (data) { if (data) {
this.editModel.controlSwitchPosition = { this.editModel.controlSwitchPosition = {
x: this.editModel.position.x, x: this.editModel.position.x,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.controlSwitchPosition = { this.editModel.controlSwitchPosition = {
@ -423,7 +430,7 @@ export default {
if (data) { if (data) {
this.editModel.foldbackModePosition = { this.editModel.foldbackModePosition = {
x: this.editModel.position.x, x: this.editModel.position.x,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.foldbackModePosition = { this.editModel.foldbackModePosition = {
@ -436,7 +443,7 @@ export default {
if (data) { if (data) {
this.editModel.axlePosition = { this.editModel.axlePosition = {
x: this.editModel.position.x, x: this.editModel.position.x,
y: this.editModel.position.y + 30 y: this.editModel.position.y + 60
}; };
} else { } else {
this.editModel.axlePosition = { this.editModel.axlePosition = {
@ -445,6 +452,19 @@ export default {
}; };
} }
}, },
changeShowDeviceStatus(data) {
if (data) {
this.editModel.deviceStatusPosition = {
x: this.editModel.position.x - 60,
y: this.editModel.position.y + 90
};
} else {
this.editModel.deviceStatusPosition = {
x: 0,
y: 0
};
}
},
// //
changeChargeStation(data) { changeChargeStation(data) {
if (data.length > 0) { if (data.length > 0) {