This commit is contained in:
sunzhenyu 2021-06-22 17:27:32 +08:00
commit b27ca87efd
35 changed files with 1087 additions and 778 deletions

View File

@ -29,10 +29,10 @@ export function sendSimulationCommand(group, memberId, type, data) {
}); });
} }
/** 获取仿真成员列表 */ /** 获取仿真成员列表 */
export function getMemberListCommon(group,role) { export function getMemberListCommon(group, role) {
if(!role){ if (!role) {
role = ""; role = '';
} }
return request({ return request({
url: `/common/simulation/${group}/members?role=${role}`, url: `/common/simulation/${group}/members?role=${role}`,
@ -96,3 +96,18 @@ export function simulationStart(group) {
method: 'put' method: 'put'
}); });
} }
/** 获取存在的仿真列表 */
export function getExistSimulationList(params) {
return request({
url: `/common/simulation/list`,
method: 'get',
params
});
}
/** 获取仿真用户信息 */
export function getSimulationUserInfo(id) {
return request({
url: `/common/simulation/${id}/users`,
method: 'get'
});
}

View File

@ -163,22 +163,22 @@ export function cancelReplaceBg(group) {
}); });
} }
/** 分页查询存在的仿真 */ // /** 分页查询存在的仿真 */
export function getExistingSimulation(params) { // export function getExistingSimulation(params) {
return request({ // return request({
url: `/manage/simulation/exists`, // url: `/manage/simulation/exists`,
method: 'get', // method: 'get',
params // params
}); // });
} // }
//
/** 删除存在的仿真 */ // /** 删除存在的仿真 */
export function deleteExistingSimulation(group) { // export function deleteExistingSimulation(group) {
return request({ // return request({
url: `/manage/simulation/${group}`, // url: `/manage/simulation/${group}`,
method: 'delete' // method: 'delete'
}); // });
} // }
/** 获取任务录制的所有动作(新版)*/ /** 获取任务录制的所有动作(新版)*/
export function getScriptAllAction(group) { export function getScriptAllAction(group) {

View File

@ -377,8 +377,10 @@ export default {
query(queryData) { query(queryData) {
this.queryData = queryData; this.queryData = queryData;
// this.pageIndex = 1; // this.pageIndex = 1;
if (!this.queryList.paginationHiden) {
this.queryData[this.currentpagerConfig.pageSize] = this.pageSize; this.queryData[this.currentpagerConfig.pageSize] = this.pageSize;
this.queryData[this.currentpagerConfig.pageIndex] = this.pageIndex; this.queryData[this.currentpagerConfig.pageIndex] = this.pageIndex;
}
// this.queryList.reload(); // this.queryList.reload();
this.choose = null; this.choose = null;
this.commitQuery(); this.commitQuery();
@ -512,6 +514,7 @@ export default {
self.enableQuery(); self.enableQuery();
return; return;
} }
delete this.queryData.undefined;
if (this.queryList.query instanceof Function) { if (this.queryList.query instanceof Function) {
this.queryList.query(this.queryData).then(response => { this.queryList.query(this.queryData).then(response => {
self.enableQuery(); self.enableQuery();
@ -519,7 +522,7 @@ export default {
this.queryList.afterQuery(response.data); this.queryList.afterQuery(response.data);
} }
const resultData = response.data; const resultData = response.data;
this.$set(this.queryList, 'data', resultData.list); this.$set(this.queryList, 'data', this.queryList.paginationHiden ? resultData : resultData.list);
this.$set(this.queryList, 'total', resultData.total); this.$set(this.queryList, 'total', resultData.total);
if (resultData.pageNum) { if (resultData.pageNum) {
this.pageIndex = resultData.pageNum; this.pageIndex = resultData.pageNum;

View File

@ -49,11 +49,13 @@ export default class alarm extends Group {
setStatus(state) { setStatus(state) {
// domid还是写在了alarm里面 待优化 // domid还是写在了alarm里面 待优化
const audioDom = document.querySelector('#buzzer'); const audioDom = document.querySelector(`#buzzer_${this.model.code}`);
if (audioDom) {
if (state && state.on) { if (state && state.on) {
audioDom.play().catch(e=>{throw e}) audioDom.play().catch(e=>{throw e})
} else if (state && !state.on) { } else if (state && !state.on) {
audioDom.pause() audioDom.pause()
} }
} }
}
} }

View File

@ -208,7 +208,7 @@ class SkinCode extends defaultStyle {
fillColorVirtual: '#000080', fillColorVirtual: '#000080',
sideLength: 20, sideLength: 20,
textColor: '#fff', textColor: '#fff',
strokeColor: '#00FFFF', strokeColor: '#00FFFF'
}, },
lowButton:{ lowButton:{
display: false // 现地 信号机按钮 display: false // 现地 信号机按钮
@ -282,7 +282,7 @@ class SkinCode extends defaultStyle {
z:1, z:1,
position: 1, // 停跳方向 position: 1, // 停跳方向
text: 'S', // 停跳显示内容 text: 'S', // 停跳显示内容
offset: { x: 20, y: 21 }, offset: { x: 20, y: -21 },
textColor: '#00FF00', // 停跳文字颜色 textColor: '#00FF00', // 停跳文字颜色
fontWeight: 'bold', // 文字居中 fontWeight: 'bold', // 文字居中
fontSize: 18 // 文字大小 fontSize: 18 // 文字大小

View File

@ -5,6 +5,7 @@ import Group from 'zrender/src/container/Group';
import Rect from 'zrender/src/graphic/shape/Rect'; import Rect from 'zrender/src/graphic/shape/Rect';
import Text from 'zrender/src/graphic/Text'; import Text from 'zrender/src/graphic/Text';
import Polygon from 'zrender/src/graphic/shape/Polygon'; import Polygon from 'zrender/src/graphic/shape/Polygon';
import EHighlight from '../element/EHighlight';
const defaultStyle = { const defaultStyle = {
distance: 12, distance: 12,
@ -35,6 +36,7 @@ export default class Responder extends Group {
this.z = model.z || 19; this.z = model.z || 19;
if (model.previewOrMapDraw) { if (model.previewOrMapDraw) {
this.create(); this.create();
this.createMouseEvent();
this.setState(model); this.setState(model);
} }
} }
@ -141,7 +143,7 @@ export default class Responder extends Group {
if (!this.isShowShape) return; if (!this.isShowShape) return;
const responderStyle = this.style.Responder || defaultStyle; const responderStyle = this.style.Responder || defaultStyle;
const style = responderStyle.block.mapStyle[model.type] || {fill: '#000'}; const style = responderStyle.block.mapStyle[model.type] || {fill: '#000'};
this.block.setStyle(style); this.block && this.block.setStyle(style);
[this.delta1, this.delta2].forEach(el => { [this.delta1, this.delta2].forEach(el => {
model.type == 'IB' ? el.show() : el.hide(); model.type == 'IB' ? el.show() : el.hide();
}); });
@ -154,6 +156,21 @@ export default class Responder extends Group {
item.dirty(); item.dirty();
} }
createMouseEvent() {
const path = window.location.href;
if (path.includes('/map/draw')) {
this.highlight = new EHighlight(this);
this.add(this.highlight);
this.on('mouseout', () => { this.highlight.mouseout(); });
this.on('mouseover', () => { this.highlight.mouseover(); });
}
}
// 设置选中态
drawSelected(selected){
this.highlight && this.highlight.drawSelected(selected);
}
getShapeTipPoint() { getShapeTipPoint() {
if (this.block) { if (this.block) {
var distance = 2; var distance = 2;

View File

@ -441,12 +441,12 @@ export default class Section extends Group {
model.overlapLock && this.protectiveLock(model.lockRight); model.overlapLock && this.protectiveLock(model.lockRight);
/** 空闲锁闭或者叫进路锁闭 */ /** 空闲锁闭或者叫进路锁闭 */
model.routeLock && this.routeLock(model.lockRight); model.routeLock && this.routeLock(model.lockRight);
/** 计轴故障 */
model.invalid && this.invalid();
/** 轨道封锁 */ /** 轨道封锁 */
model.blockade && this.block(model.routeLock); model.blockade && this.block(model.routeLock);
/** 非通信车占用状态 */ /** 非通信车占用状态 */
model.nctOccupied && this.unCommunicationOccupied(); model.nctOccupied && this.unCommunicationOccupied();
/** 计轴故障 */
model.invalid && this.invalid();
/** 通信车占用状态 */ /** 通信车占用状态 */
model.ctOccupied && this.communicationOccupied(); model.ctOccupied && this.communicationOccupied();
/** 区段关闭 */ /** 区段关闭 */

View File

@ -16,7 +16,7 @@ class EJump extends Group {
const jumpDirct = model.right ? -1 : 1; const jumpDirct = model.right ? -1 : 1;
const jumpOffsetY = model.inside ? -1 : 1; const jumpOffsetY = model.inside ? -1 : 1;
const jumpX = model.position.x - jumpDirct * (deviceParam.offset.x - model.width / 2); const jumpX = model.position.x - jumpDirct * (deviceParam.offset.x - model.width / 2);
const jumpY = model.position.y + jumpDirct * deviceParam.offset.y; const jumpY = model.position.y + jumpDirct * jumpOffsetY * deviceParam.offset.y;
if (deviceParam.special) { if (deviceParam.special) {
this.jump = new Text({ this.jump = new Text({

View File

@ -53,7 +53,7 @@ export default {
operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL.value, operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL.value,
skinCode: '04', skinCode: '04',
trainingName: '请求站控({2})', trainingName: '请求站控({2})',
trainingRemark: '请求站控功能', trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请站控,中心授权同意后获得控制权,标识为“站控”的圆点,稳定黄色——当前控制模式为站控',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -67,7 +67,7 @@ export default {
operateType: CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL.value, operateType: CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL.value,
skinCode: '04', skinCode: '04',
trainingName: '请求紧急站控({2})', trainingName: '请求紧急站控({2})',
trainingRemark: '请求紧急站控功能', trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请紧急站控,输入密码确认后,直接获得控制权,标识为“站控”的圆点,稳定红色——当前控制模式为站控',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -82,7 +82,7 @@ export default {
operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL.value, operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL.value,
skinCode: '04', skinCode: '04',
trainingName: '请求中控({2})', trainingName: '请求中控({2})',
trainingRemark: '请求中控功能', trainingRemark: '现地工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请中控输入密码确认中心同意后交权至中心ATS',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -97,7 +97,7 @@ export default {
operateType: CMD.ControlConvertMenu.CMD_CM_INTERLOCK_CONTROL.value, operateType: CMD.ControlConvertMenu.CMD_CM_INTERLOCK_CONTROL.value,
skinCode: '04', skinCode: '04',
trainingName: '请求联锁控({2})', trainingName: '请求联锁控({2})',
trainingRemark: '请求联锁控功能', trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请联锁控,输入密码确认后,直接获得控制权。标识为“联锁控”的圆点,稳定紫色 - 当前控制模式为联锁控。在“联锁站”模式下,若办理了“自动进路、自动折返、引导总锁、全站维修点灯”、 或“上电解锁、临时限速清除”可设置时,不允许“联锁控”转 ATS 站控及 ATS 中央控。',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -113,7 +113,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '办理进路({3} 进路)', trainingName: '办理进路({3} 进路)',
trainingRemark: '办理进路功能', trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列了进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -129,7 +129,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '办理进路({3} 进路)', trainingName: '办理进路({3} 进路)',
trainingRemark: '办理进路功能', trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列了进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -144,7 +144,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value, operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value,
skinCode: '04', skinCode: '04',
trainingName: '办理引导进路({3})', trainingName: '办理引导进路({3})',
trainingRemark: '进路办理信号引导', trainingRemark: '因进路内轨道区段故障或允许灯光灯丝故障无法开放信号时通过办理的引导进路接车',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -160,7 +160,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value, operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value,
skinCode: '04', skinCode: '04',
trainingName: '引导进路({3})[进路已锁闭]', trainingName: '引导进路({3})[进路已锁闭]',
trainingRemark: '进路办理信号引导', trainingRemark: '因进路内轨道区段故障或允许灯光灯丝故障无法开放信号时通过办理的引导进路接车',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -175,7 +175,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '取消进路({3} 进路)', trainingName: '取消进路({3} 进路)',
trainingRemark: '取消进路功能', trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -189,7 +189,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '取消进路({3} 进路)', trainingName: '取消进路({3} 进路)',
trainingRemark: '取消进路功能(总取消)', trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。(总取消)',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -203,10 +203,13 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_GUIDE.value, operateType: CMD.Signal.CMD_SIGNAL_CANCEL_GUIDE.value,
skinCode: '04', skinCode: '04',
trainingName: '取消引导({3})', trainingName: '取消引导({3})',
trainingRemark: '取消引导进路功能(总取消)', trainingRemark: '列车通过引导进路后,引导进路不解锁,通过【总人解】解锁引导锁。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
// { deviceType: '04', orderNum: 1, operateCode: '3050', tip: '鼠标左键点击【总人解】' },
// { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123点击【确定】按钮' },
// { deviceType: '04', orderNum: 3, operateCode: '3050', tip: '鼠标左键点击【{5}】', val: '{6}', codeType:'SIGNAL' },
{ deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' },
{ deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } { deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' }
] ]
@ -217,13 +220,13 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '总人解({3})', trainingName: '总人解({3})',
trainingRemark: '总人解', trainingRemark: '当信号机开放后,其接近区段被列车占用,这时要解锁已锁闭的进路,通过“总人解”办理进路的人工解锁(延时解锁时间为 45s',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '305', tip: '鼠标右键菜单选择【总人解】' }, { deviceType: '04', orderNum: 1, operateCode: '305', tip: '鼠标右键菜单选择【总人解】' },
{ deviceType: '04', orderNum: 2, operateCode: '3050', tip: '输入密码123点击【执行】按钮' }, { deviceType: '04', orderNum: 2, operateCode: '3050', tip: '输入密码123点击【执行】按钮' },
{ deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【确定】按钮' }, { deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【确定】按钮' }
] ]
}, },
{ {
@ -232,7 +235,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value,
skinCode: '04', skinCode: '04',
trainingName: '总人解({3})', trainingName: '总人解({3})',
trainingRemark: '总人解', trainingRemark: '当信号机开放后,其接近区段被列车占用,这时要解锁已锁闭的进路,通过“总人解”办理进路的人工解锁(延时解锁时间为 45s',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -247,7 +250,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value, operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
skinCode: '04', skinCode: '04',
trainingName: '信号重开({5})', trainingName: '信号重开({5})',
trainingRemark: '信号重开功能', trainingRemark: '信号由于故障(如锁闭的进路区段故障)或人工干预导致信号关闭,此后调度运营想再次开放此信号(前提是信号开放的条件具备,如故障区段已恢复),可以执行信号重开使信号重新开放',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -261,7 +264,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value, operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
skinCode: '04', skinCode: '04',
trainingName: '信号重开({5})', trainingName: '信号重开({5})',
trainingRemark: '信号重开功能', trainingRemark: '信号由于故障(如锁闭的进路区段故障)或人工干预导致信号关闭,此后调度运营想再次开放此信号(前提是信号开放的条件具备,如故障区段已恢复),可以执行信号重开使信号重新开放',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -275,7 +278,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '信号封锁({5})', trainingName: '信号封锁({5})',
trainingRemark: '信号封锁', trainingRemark: '封锁信号机。信号机封锁后,不可经其办理进路。已开放信号的进路,应在进路解锁或取消后封锁信号机,否则造成信号关闭。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -289,7 +292,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '信号封锁({5})', trainingName: '信号封锁({5})',
trainingRemark: '信号封锁功能', trainingRemark: '封锁信号机。信号机封锁后,不可经其办理进路。已开放信号的进路,应在进路解锁或取消后封锁信号机,否则造成信号关闭。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -303,7 +306,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '信号解封({5})', trainingName: '信号解封({5})',
trainingRemark: '信号解封', trainingRemark: '对封锁的信号解封',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -318,7 +321,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '信号解封({5})', trainingName: '信号解封({5})',
trainingRemark: '信号解封功能', trainingRemark: '对封锁的信号解封',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -333,7 +336,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value, operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value,
skinCode: '04', skinCode: '04',
trainingName: '进路收人工控({3})', trainingName: '进路收人工控({3})',
trainingRemark: '进路收人工控', trainingRemark: '正常情况下,车站 ATS 分机自动触发进路。但在某特定情况下需将某条进路交由人工排列时可使用“人工控”功能。设置该进路的始端信号机为人工控模式ATS 分机将不再自动触发以该信号机为始端的进路,直至取消了该信号机的“人工控”模式。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -348,7 +351,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value, operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value,
skinCode: '04', skinCode: '04',
trainingName: '人工控({5})', trainingName: '人工控({5})',
trainingRemark: '人工控', trainingRemark: '正常情况下,车站 ATS 分机自动触发进路。但在某特定情况下,需将某条进路交由人工排列时,可使用“人工控”功能。设置该进路的始端信号机为人工控模式ATS 分机将不再自动触发以该信号机为始端的进路,直至取消了该信号机的“人工控”模式。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -364,7 +367,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value, operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value,
skinCode: '04', skinCode: '04',
trainingName: '进路交自动控({3})', trainingName: '进路交自动控({3})',
trainingRemark: '进路交自动控', trainingRemark: '取消该进路的始端信号机为人工控模式ATS 分机将自动触发以该信号机为始端的进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -379,7 +382,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value, operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value,
skinCode: '04', skinCode: '04',
trainingName: '自动控({5})', trainingName: '自动控({5})',
trainingRemark: '自动控', trainingRemark: '取消该进路的始端信号机为人工控模式ATS 分机将自动触发以该信号机为始端的进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -394,7 +397,7 @@ export default {
operateType:CMD.Signal.CMD_SIGNAL_DETAIL.value, operateType:CMD.Signal.CMD_SIGNAL_DETAIL.value,
skinCode: '04', skinCode: '04',
trainingName: '查询进路信息({5} 信号机)', trainingName: '查询进路信息({5} 信号机)',
trainingRemark: '查询进路信息', trainingRemark: '查看某个信号机为始端的进路是否处于ATS自动触发状态',
trainingType:'Signal', trainingType:'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -409,7 +412,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, // 0312 新增定位字典 operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, // 0312 新增定位字典
skinCode: '04', skinCode: '04',
trainingName: '单操到定位({7})', trainingName: '单操到定位({7})',
trainingRemark: '单操到定位({15})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -423,7 +426,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value,
skinCode: '04', skinCode: '04',
trainingName: '单操到定位({7})', trainingName: '单操到定位({7})',
trainingRemark: '单操到定位({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -437,7 +440,8 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, // 0313 新增定位字典 operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, // 0313 新增定位字典
skinCode: '04', skinCode: '04',
trainingName: '单操到反位({7})', trainingName: '单操到反位({7})',
trainingRemark: '单操到反位({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -451,7 +455,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value,
skinCode: '04', skinCode: '04',
trainingName: '单操到反位({7})', trainingName: '单操到反位({7})',
trainingRemark: '单操到反位({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -465,7 +469,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value, operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔单锁({7})', trainingName: '道岔单锁({7})',
trainingRemark: '道岔单锁功能', trainingRemark: '单独锁闭道岔',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -479,7 +483,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value, operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔单锁({7})', trainingName: '道岔单锁({7})',
trainingRemark: '道岔单锁功能', trainingRemark: '单独锁闭道岔',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], // 现地操作 productTypes: ['01'], // 现地操作
stepVOList: [ stepVOList: [
@ -493,7 +497,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value, operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔解锁({7})', trainingName: '道岔解锁({7})',
trainingRemark: '道岔解锁功能', trainingRemark: '对单独锁闭的道岔解锁',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -507,7 +511,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value, operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔解锁({7})', trainingName: '道岔解锁({7})',
trainingRemark: '道岔解锁功能', trainingRemark: '对单独锁闭的道岔解锁',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -522,7 +526,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_BLOCK.value, operateType: CMD.Switch.CMD_SWITCH_BLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔封锁({7})', trainingName: '道岔封锁({7})',
trainingRemark: '道岔封锁功能', trainingRemark: '道岔设备检修时使用,道岔封锁后,道岔位置可以操动,但不可经其排列进路',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -537,7 +541,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_BLOCK.value, operateType: CMD.Switch.CMD_SWITCH_BLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔封锁({7})', trainingName: '道岔封锁({7})',
trainingRemark: '道岔封锁功能', trainingRemark: '道岔设备检修时使用,道岔封锁后,道岔位置可以操动,但不可经其排列进路',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -551,7 +555,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value, operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔解封({7})', trainingName: '道岔解封({7})',
trainingRemark: '道岔解封功能', trainingRemark: '对封锁的道岔进行解封',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -566,7 +570,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value, operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '道岔解封({7})', trainingName: '道岔解封({7})',
trainingRemark: '道岔解封功能', trainingRemark: '对封锁的道岔进行解封',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -581,7 +585,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_FAULT_UNLOCK.value, operateType: CMD.Switch.CMD_SWITCH_FAULT_UNLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '区故解({7})', trainingName: '区故解({7})',
trainingRemark: '道岔区段故障解锁功能', trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -597,7 +601,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value, operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '区故解({8}{9})', trainingName: '区故解({8}{9})',
trainingRemark: '故障解锁功能', trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -612,7 +616,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value, operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '区故解({8}{9})', trainingName: '区故解({8}{9})',
trainingRemark: '故障解锁功能', trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -627,7 +631,8 @@ export default {
operateType: CMD.Section.CMD_SECTION_DETAILS.value, operateType: CMD.Section.CMD_SECTION_DETAILS.value,
skinCode: '04', skinCode: '04',
trainingName: '属性({8}{9})', trainingName: '属性({8}{9})',
trainingRemark: '区段详情({8}{9})', trainingRemark: '轨道区段属性窗显示了轨道区段的起始公里标和长度',
// ({8}{9})
trainingType: 'Section', trainingType: 'Section',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -642,7 +647,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value, operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value,
skinCode: '04', skinCode: '04',
trainingName: '设置扣车({10}-{12}站台)', trainingName: '设置扣车({10}-{12}站台)',
trainingRemark: '设置扣车功能', trainingRemark: '对指定站台设置扣车,设置后当列车运行至该站台时,将会执行扣车,列车不再行驶',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -656,7 +661,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value, operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value,
skinCode: '04', skinCode: '04',
trainingName: '取消扣车({10}-{12}站台)', trainingName: '取消扣车({10}-{12}站台)',
trainingRemark: '设置取消扣车功能', trainingRemark: '对指定站台取消之前设置的扣车',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -670,7 +675,8 @@ export default {
operateType: CMD.Stand.CMD_STAND_WHOLE_LINE_CANCEL_HOLD_TRAIN.value, operateType: CMD.Stand.CMD_STAND_WHOLE_LINE_CANCEL_HOLD_TRAIN.value,
skinCode: '04', skinCode: '04',
trainingName: '全线取消扣车', trainingName: '全线取消扣车',
trainingRemark: '设置取消扣车功能({12}全线)', trainingRemark: '指定{12}所有站台取消之前设置的扣车',
// ({12}全线)
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -685,7 +691,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
skinCode: '04', skinCode: '04',
trainingName: '设置跳停({10}-{12}站台)', trainingName: '设置跳停({10}-{12}站台)',
trainingRemark: '设置跳停功能', trainingRemark: '对指定站台设置跳停命令,命令后续列车不停站通过该站台',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -699,7 +705,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
skinCode: '04', skinCode: '04',
trainingName: '设置跳停({10}-{12}站台)', trainingName: '设置跳停({10}-{12}站台)',
trainingRemark: '设置跳停功能', trainingRemark: '对指定站台设置跳停命令,命令后续列车不停站通过该站台',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -713,7 +719,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
skinCode: '04', skinCode: '04',
trainingName: '取消跳停({10}-{12}站台)', trainingName: '取消跳停({10}-{12}站台)',
trainingRemark: '设置取消跳停功能', trainingRemark: '对指定站台取消之前设置的跳停命令',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -727,7 +733,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
skinCode: '04', skinCode: '04',
trainingName: '取消跳停({10}-{12}站台)', trainingName: '取消跳停({10}-{12}站台)',
trainingRemark: '设置取消跳停功能', trainingRemark: '对指定站台取消之前设置的跳停命令',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -741,7 +747,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置停站时间({10}-{12}站台)', trainingName: '设置停站时间({10}-{12}站台)',
trainingRemark: '设置停站时间(自动, 一直有效)', trainingRemark: '对某一指定站台设置列车停站时间 (自动, 一直有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -755,7 +761,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置停站时间({10}-{12}站台)', trainingName: '设置停站时间({10}-{12}站台)',
trainingRemark: '设置停站时间(人工, 20秒, 一直有效)', trainingRemark: '对某一指定站台设置列车停站时间 (人工, 20秒, 一直有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -772,7 +778,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置停站时间({10}-{12}站台)', trainingName: '设置停站时间({10}-{12}站台)',
trainingRemark: '设置停站时间(人工, 20秒, 一次有效)', trainingRemark: '对某一指定站台设置列车停站时间 (人工, 20秒, 一次有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -788,7 +794,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置站间运行等级({10}-{12}站台)', trainingName: '设置站间运行等级({10}-{12}站台)',
trainingRemark: '设置站间运行等级(自动, 一直有效)', trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (自动, 一直有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -802,7 +808,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置站间运行等级({10}-{12}站台)', trainingName: '设置站间运行等级({10}-{12}站台)',
trainingRemark: '设置站间运行等级(人工, 常速, 一直有效)', trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (人工, 常速, 一直有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -818,7 +824,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
skinCode: '04', skinCode: '04',
trainingName: '设置站间运行等级({10}-{12}站台)', trainingName: '设置站间运行等级({10}-{12}站台)',
trainingRemark: '设置站间运行等级(人工, 常速, 一次有效)', trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (人工, 常速, 一次有效)',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -833,7 +839,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value, operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value,
skinCode: '04', skinCode: '04',
trainingName: '显示站台信息({10}-{12}站台)', trainingName: '显示站台信息({10}-{12}站台)',
trainingRemark: '查询站台状态功能', trainingRemark: '显示站台的扣车、停站时间、运行等级状态等信息',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -847,7 +853,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO.value, operateType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO.value,
skinCode: '04', skinCode: '04',
trainingName: '设置自动进路({3})', trainingName: '设置自动进路({3})',
trainingRemark: '设置自动进路功能', trainingRemark: '对于正向运行,经常有连续通过列车的信号机具有自动进路功能。当信号机设置为自动进路属性后,能使防护该进路的信号机随列车运行自动变换相应显示,此时进路中的道岔保证处于锁闭状态。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -863,7 +869,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO.value, operateType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO.value,
skinCode: '04', skinCode: '04',
trainingName: '取消自动进路({3})', trainingName: '取消自动进路({3})',
trainingRemark: '取消自动进路功能', trainingRemark: '取消信号机的自动进路属性',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -879,7 +885,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK.value, operateType: CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK.value,
skinCode: '04', skinCode: '04',
trainingName: '设置自动折返({3})', trainingName: '设置自动折返({3})',
trainingRemark: '设置自动折返功能', trainingRemark: '自动办理终端折返站的折入和折返进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -895,7 +901,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_AUTO_TURN_BACK.value, operateType: CMD.Signal.CMD_SIGNAL_CANCEL_AUTO_TURN_BACK.value,
skinCode: '04', skinCode: '04',
trainingName: '取消自动折返({3})', trainingName: '取消自动折返({3})',
trainingRemark: '取消自动折返功能', trainingRemark: '取消自动办理终端折返站的折入和折返进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -912,7 +918,7 @@ export default {
operateType: CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK.value, operateType: CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK.value,
skinCode: '04', skinCode: '04',
trainingName: '引导总锁({26})', trainingName: '引导总锁({26})',
trainingRemark: '设置引导总锁', trainingRemark: '当道岔失去表示时,通过办理引导总锁,锁闭该设备集中站的所有道岔。道岔锁闭后,可开放相应的引导信号。此时,行车安全完全由人工保证。',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [

View File

@ -100,7 +100,7 @@ export default {
operateType: 'Station_Set_CI_Auto_Trigger', operateType: 'Station_Set_CI_Auto_Trigger',
skinCode: '07', skinCode: '07',
trainingName: '全站设置联锁自动触发({26})', trainingName: '全站设置联锁自动触发({26})',
trainingRemark: '全站设置联锁自动触发', trainingRemark: '向 ATP 下达“全站设置联锁自动触发命令”成功后,本一级集中站内,所有在联锁表中配置了联锁自动触发的进路都会被设置为联锁自动触发模式。',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -113,7 +113,7 @@ export default {
operateType: 'Station_Cancel_CI_Auto_Trigger', operateType: 'Station_Cancel_CI_Auto_Trigger',
skinCode: '07', skinCode: '07',
trainingName: '全站取消联锁自动触发({26})', trainingName: '全站取消联锁自动触发({26})',
trainingRemark: '全站取消联锁自动触发', trainingRemark: '向 ATP 下达“全站取消联锁自动触发命令”成功后,本一级集中站内,所有设置了联锁自动触发的进路都会被取消联锁自动触发模式。',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -629,7 +629,7 @@ export default {
operateType: 'Switch_Set_Limit_Speed', operateType: 'Switch_Set_Limit_Speed',
skinCode: '02', skinCode: '02',
trainingName: '道岔区段设置限速({7})', trainingName: '道岔区段设置限速({7})',
trainingRemark: '对道岔设置限速限速值5', trainingRemark: '对道岔区段设置限速限速值5',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -648,7 +648,7 @@ export default {
operateType: 'Switch_Cancel_Limit_Speed', operateType: 'Switch_Cancel_Limit_Speed',
skinCode: '02', skinCode: '02',
trainingName: '道岔区段取消限速({7})', trainingName: '道岔区段取消限速({7})',
trainingRemark: '取消对道岔的限速', trainingRemark: '取消对道岔区段的限速',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -922,7 +922,7 @@ export default {
operateType: 'Station_Close_Auto_Setting', operateType: 'Station_Close_Auto_Setting',
skinCode: '07', skinCode: '07',
trainingName: '全站进路交人工控({26})', trainingName: '全站进路交人工控({26})',
trainingRemark: '全站进路交人工控', trainingRemark: '将全站信号机为始端的进路取消ATS自动触发使能转为人工办理',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -936,7 +936,7 @@ export default {
operateType: 'Station_Open_Auto_Setting', operateType: 'Station_Open_Auto_Setting',
skinCode: '07', skinCode: '07',
trainingName: '全站进路ATS自排({26})', trainingName: '全站进路ATS自排({26})',
trainingRemark: '全站进路ATS自排', trainingRemark: '将全站信号机为始端的进路设置为由ATS自动触发使能',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [

View File

@ -36,7 +36,7 @@ export default {
operateType: 'Stand_Set_Hold_Train_Batch', operateType: 'Stand_Set_Hold_Train_Batch',
skinCode: '06', skinCode: '06',
trainingName: '批量扣车({10}-{12} 站台)', trainingName: '批量扣车({10}-{12} 站台)',
trainingRemark: '批量扣车功能', trainingRemark: '设置多个站台扣车',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
@ -50,7 +50,7 @@ export default {
operateType: 'Stand_Cancel_Hold_Train_Batch', operateType: 'Stand_Cancel_Hold_Train_Batch',
skinCode: '06', skinCode: '06',
trainingName: '取消批量扣车({10}-{12} 站台)', trainingName: '取消批量扣车({10}-{12} 站台)',
trainingRemark: '取消批量扣车功能', trainingRemark: '取消多个站台扣车',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], // 产品类型 01 现地 02 行调 productTypes: ['02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
@ -204,7 +204,7 @@ export default {
operateType: 'Stand_Set_Hold_Train_Auto', operateType: 'Stand_Set_Hold_Train_Auto',
skinCode: '06', skinCode: '06',
trainingName: '区间列车数量限制({10}-{12}站台)', trainingName: '区间列车数量限制({10}-{12}站台)',
trainingRemark: '区间列车数量限制', trainingRemark: '维护台通过选择此功能可对某一站台上行或下行方向设置自动扣车功能使能。当设置后如果前方隧道内列车超过一定数量ATS会自动在该站台设置相应方向的站台扣车。',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -218,7 +218,7 @@ export default {
operateType: 'Stand_Cancel_Hold_Train_Auto', operateType: 'Stand_Cancel_Hold_Train_Auto',
skinCode: '06', skinCode: '06',
trainingName: '取消区间列车数量限制({10}-{12}站台)', trainingName: '取消区间列车数量限制({10}-{12}站台)',
trainingRemark: '取消区间列车数量限制', trainingRemark: '维护台选择此功能用于取消对某一站台上行或下行方向自动扣车功能',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -380,7 +380,8 @@ export default {
operateType: 'Switch_Normal_Position', operateType: 'Switch_Normal_Position',
skinCode: '06', skinCode: '06',
trainingName: '定操({7})', trainingName: '定操({7})',
trainingRemark: '道岔定操功能({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -395,7 +396,8 @@ export default {
operateType: 'Switch_Reverse_Position', // 0313 新增定位字典 operateType: 'Switch_Reverse_Position', // 0313 新增定位字典
skinCode: '06', skinCode: '06',
trainingName: '反操({7})', trainingName: '反操({7})',
trainingRemark: '道岔反操功能({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -520,7 +522,7 @@ export default {
operateType: 'Switch_Set_Limit_Speed', operateType: 'Switch_Set_Limit_Speed',
skinCode: '06', skinCode: '06',
trainingName: '设置临时限速({7})', trainingName: '设置临时限速({7})',
trainingRemark: '对道岔设置限速限速值10', trainingRemark: '对道岔区段设置限速限速值10',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -539,7 +541,7 @@ export default {
operateType: 'Switch_Set_Limit_Speed', operateType: 'Switch_Set_Limit_Speed',
skinCode: '06', skinCode: '06',
trainingName: '设置临时限速({7})', trainingName: '设置临时限速({7})',
trainingRemark: '取消对道岔的限速(限速值:不限速)', trainingRemark: '取消对道岔区段的限速(限速值:不限速)',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -702,7 +704,7 @@ export default {
operateType: 'Signal_Human_Release_Route', operateType: 'Signal_Human_Release_Route',
skinCode: '06', skinCode: '06',
trainingName: '人解列车进路({5})', trainingName: '人解列车进路({5})',
trainingRemark: '人解列车进路', trainingRemark: '当需取消已处于接近锁闭状态(接近区段有车、信号开放、进路空闲)的进路时,可以使用人解进路功能;在办理取消引导接车进路时,使用人解进路功能',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -772,7 +774,6 @@ export default {
{ deviceType: '04', orderNum: 2, operateCode: '316', tip: '鼠标左键点击【确定】按钮' } { deviceType: '04', orderNum: 2, operateCode: '316', tip: '鼠标左键点击【确定】按钮' }
] ]
}, },
{ {
maxDuration: 20, maxDuration: 20,
minDuration: 15, minDuration: 15,
@ -823,7 +824,7 @@ export default {
operateType: 'Signal_Set_Auto_Turn_Back', operateType: 'Signal_Set_Auto_Turn_Back',
skinCode: '06', skinCode: '06',
trainingName: '设置自动折返({3})', trainingName: '设置自动折返({3})',
trainingRemark: '设置自动折返', trainingRemark: '自动办理终端折返站的折入和折返进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -839,7 +840,7 @@ export default {
operateType: 'Signal_Cancel_Auto_Turn_Back', operateType: 'Signal_Cancel_Auto_Turn_Back',
skinCode: '06', skinCode: '06',
trainingName: '取消自动折返({3})', trainingName: '取消自动折返({3})',
trainingRemark: '取消自动折返', trainingRemark: '取消自动办理终端折返站的折入和折返进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -855,7 +856,7 @@ export default {
operateType: 'Station_Close_Auto_Setting', operateType: 'Station_Close_Auto_Setting',
skinCode: '06', skinCode: '06',
trainingName: '所有进路自排关({26})', trainingName: '所有进路自排关({26})',
trainingRemark: '所有进路自排关', trainingRemark: '将车站中所有进路交人工控',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -869,7 +870,7 @@ export default {
operateType: 'Station_Cancel_CI_Auto_Trigger', operateType: 'Station_Cancel_CI_Auto_Trigger',
skinCode: '06', skinCode: '06',
trainingName: '全站取消联锁自动触发({26})', trainingName: '全站取消联锁自动触发({26})',
trainingRemark: '全站取消联锁自动触发', trainingRemark: '取消全站信号机处于联锁自动排列进路',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -882,7 +883,7 @@ export default {
operateType: 'Station_Set_CI_Auto_Trigger', operateType: 'Station_Set_CI_Auto_Trigger',
skinCode: '06', skinCode: '06',
trainingName: '全站设置联锁自动触发({26})', trainingName: '全站设置联锁自动触发({26})',
trainingRemark: '全站设置联锁自动触发', trainingRemark: '设置全站信号机处于联锁自动排列进路',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -911,7 +912,7 @@ export default {
operateType: 'Station_Set_Or_Cancel_Force_Physical_Signal', operateType: 'Station_Set_Or_Cancel_Force_Physical_Signal',
skinCode: '06', skinCode: '06',
trainingName: '设置/取消强制点灯({26})', trainingName: '设置/取消强制点灯({26})',
trainingRemark: '设置/取消强制点灯', trainingRemark: '信号检修时,使用强制点灯操作',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -930,7 +931,7 @@ export default {
operateType: 'Station_Open_Auto_Setting', operateType: 'Station_Open_Auto_Setting',
skinCode: '06', skinCode: '06',
trainingName: '所有进路自排开({26})', trainingName: '所有进路自排开({26})',
trainingRemark: '所有进路自排开', trainingRemark: '将车站中所有进路交自动控',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -984,6 +985,7 @@ export default {
// { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' }, // { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' },
// ] // ]
// }, // },
// 后端未生成
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
@ -1008,7 +1010,7 @@ export default {
operateType: 'Station_Open_Auto_Setting', operateType: 'Station_Open_Auto_Setting',
skinCode: '06', skinCode: '06',
trainingName: '{26}全站进路交自动控', trainingName: '{26}全站进路交自动控',
trainingRemark: '全站进路交自动控', trainingRemark: '将全站进路设置为由ATS自动触发使能',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -1023,7 +1025,7 @@ export default {
operateType: 'Station_Set_CI_Auto', operateType: 'Station_Set_CI_Auto',
skinCode: '06', skinCode: '06',
trainingName: '设置{26}全站自动通过进路', trainingName: '设置{26}全站自动通过进路',
trainingRemark: '设置全站自动通过进路', trainingRemark: '一次性对集中站所有信号机设置自动通过模式',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -1038,7 +1040,7 @@ export default {
operateType: 'Station_Cancel_CI_Auto', operateType: 'Station_Cancel_CI_Auto',
skinCode: '06', skinCode: '06',
trainingName: '取消{26}全站自动通过进路', trainingName: '取消{26}全站自动通过进路',
trainingRemark: '取消全站自动通过进路', trainingRemark: '一次性对集中站所有信号机取消自动通过模式',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -1046,7 +1048,7 @@ export default {
{ deviceType: 'mbm', orderNum: 2, operateCode: '6151', tip: '鼠标左键点击菜单【取消{26}全站自动通过进路】' }, { deviceType: 'mbm', orderNum: 2, operateCode: '6151', tip: '鼠标左键点击菜单【取消{26}全站自动通过进路】' },
{ deviceType: '05', orderNum: 3, operateCode: '6152', tip: '鼠标左键点击【确定】按钮' } { deviceType: '05', orderNum: 3, operateCode: '6152', tip: '鼠标左键点击【确定】按钮' }
] ]
}, }
// { // {
// maxDuration: 15, // maxDuration: 15,
// minDuration: 8, // minDuration: 8,
@ -1064,22 +1066,23 @@ export default {
// { deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' } // { deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }
// ] // ]
// }, // },
{ // 暂不生成
maxDuration: 15, // {
minDuration: 8, // maxDuration: 15,
operateType: 'Station_Power_On_Unlock', // minDuration: 8,
skinCode: '06', // operateType: 'Station_Power_On_Unlock',
trainingName: '上电解锁({26})', // skinCode: '06',
trainingRemark: '上电解锁', // trainingName: '上电解锁({26})',
trainingType: 'Station', // trainingRemark: '上电解锁当联锁机上电重启后,系统处于初始启动状态,在正常使用之前须在直连视图下执行“上电解锁”操作',
productTypes: ['01'], // trainingType: 'Station',
stepVOList:[ // productTypes: ['01'],
{deviceType: '05', orderNum: 1, operateCode: '603', tip: '鼠标右键菜单选择【上电解锁】'}, // stepVOList:[
{deviceType: '05', orderNum: 2, operateCode: '6031', tip: '鼠标左键点击【下达】'}, // {deviceType: '05', orderNum: 1, operateCode: '603', tip: '鼠标右键菜单选择【上电解锁】'},
{deviceType: '05', orderNum: 3, operateCode: '6033', tip: '鼠标左键点击【确认1】'}, // {deviceType: '05', orderNum: 2, operateCode: '6031', tip: '鼠标左键点击【下达】'},
{deviceType: '05', orderNum: 4, operateCode: '6034', tip: '鼠标左键点击【确认2】'}, // {deviceType: '05', orderNum: 3, operateCode: '6033', tip: '鼠标左键点击【确认1】'},
{deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮'} // {deviceType: '05', orderNum: 4, operateCode: '6034', tip: '鼠标左键点击【确认2】'},
] // {deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮'}
} // ]
// }
] ]
}; };

View File

@ -80,7 +80,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
skinCode: '12', skinCode: '12',
trainingName: '跳停({10}-{12} 站台)', trainingName: '跳停({10}-{12} 站台)',
trainingRemark: '设置跳停功能', trainingRemark: '中央调度员可以使用跳停命令来让列车跳停一个站台',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -90,7 +90,7 @@ export default {
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select1.operation, tip: '请选择列车【{29}】', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select1.operation, tip: '请选择列车【{29}】', val: '{30}' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select2.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select2.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' },
{ deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -99,7 +99,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value, operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
skinCode: '12', skinCode: '12',
trainingName: '取消跳停({10}-{12} 站台)', trainingName: '取消跳停({10}-{12} 站台)',
trainingRemark: '设置取消跳停功能', trainingRemark: '中央调度员可打开同样的命令点击“清除”单选按钮来清除跳停。',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -109,7 +109,7 @@ export default {
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select1.operation, tip: '请选择列车【{29}】', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select1.operation, tip: '请选择列车【{29}】', val: '{30}' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select2.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.select2.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' },
{ deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -118,7 +118,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value, operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value,
skinCode: '12', skinCode: '12',
trainingName: '设置扣车({10}-{12} 站台)', trainingName: '设置扣车({10}-{12} 站台)',
trainingRemark: '设置扣车功能', trainingRemark: '“站台/设置/取消扣车”用于设置或取消列车扣车在一个或多个站台。到达选定站台的所有列车一律都处在扣车状态,直到扣车被释放,或使用“发车”命令让列车发车。',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -127,7 +127,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_holdOrNot.operation, tip: '鼠标左键选择【设置/取消扣车】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_holdOrNot.operation, tip: '鼠标左键选择【设置/取消扣车】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' },
{ deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -136,7 +136,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value, operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value,
skinCode: '12', skinCode: '12',
trainingName: '取消扣车({10}-{12} 站台)', trainingName: '取消扣车({10}-{12} 站台)',
trainingRemark: '设置取消扣车功能', trainingRemark: '扣车被取消后,扣在站台上的列车就会发车离站、继续进行其班次或运行线分配。',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -145,7 +145,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_holdOrNot.operation, tip: '鼠标左键选择【设置/取消扣车】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_holdOrNot.operation, tip: '鼠标左键选择【设置/取消扣车】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' },
{ deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -154,7 +154,7 @@ export default {
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
skinCode: '12', skinCode: '12',
trainingName: '分配停站时间({10}-{12} 站台)', trainingName: '分配停站时间({10}-{12} 站台)',
trainingRemark: '分配停站时间-时间25', trainingRemark: '“分配停站时间”用于调整列车在车站上的停留时间时间25',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -164,7 +164,7 @@ export default {
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择站台【{29}】', codeType: 'STAND', val: '{30}' },
{ deviceType: '04', orderNum: 4, operateCode: OperationEvent.Command.common.choose1.operation, tip: '请输入停站时间【25】', val: '25' }, { deviceType: '04', orderNum: 4, operateCode: OperationEvent.Command.common.choose1.operation, tip: '请输入停站时间【25】', val: '25' },
{ deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -173,25 +173,24 @@ export default {
operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value, operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value,
skinCode: '12', skinCode: '12',
trainingName: '显示({10}-{12} 站台)', trainingName: '显示({10}-{12} 站台)',
trainingRemark: '信号机显示', trainingRemark: '“站台显示”命令可以使窗口显示有关站台的信息。',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
{ deviceType: 'bar', orderNum: 1, operateCode: OperationEvent.Command.commandNingBo3.line.operation, tip: '鼠标左键选择【线路】' }, { deviceType: 'bar', orderNum: 1, operateCode: OperationEvent.Command.commandNingBo3.line.operation, tip: '鼠标左键选择【线路】' },
{ deviceType: 'bar', orderNum: 2, operateCode: OperationEvent.Command.commandNingBo3.line_stand.operation, tip: '鼠标左键选择【站台】' }, { deviceType: 'bar', orderNum: 2, operateCode: OperationEvent.Command.commandNingBo3.line_stand.operation, tip: '鼠标左键选择【站台】' },
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_detail.operation, tip: '鼠标左键选择【显示】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_stand_detail.operation, tip: '鼠标左键选择【显示】' },
{ deviceType: '04', orderNum: 4, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 4, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔定位({7})', trainingName: '道岔定位({7})',
trainingRemark: '道岔定位操作({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -200,7 +199,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_cmd.operation, tip: '鼠标左键选择【命令】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_cmd.operation, tip: '鼠标左键选择【命令】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' },
{ deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -209,7 +208,8 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔反位({7})', trainingName: '道岔反位({7})',
trainingRemark: '道岔反位操作({7})', trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -218,7 +218,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_cmd.operation, tip: '鼠标左键选择【命令】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_cmd.operation, tip: '鼠标左键选择【命令】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' },
{ deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -227,7 +227,8 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_BLOCK.value, operateType: CMD.Switch.CMD_SWITCH_BLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔封锁({7})', trainingName: '道岔封锁({7})',
trainingRemark: '道岔封锁操作({7})', trainingRemark: '命令属于安全命令,以阻止所有穿过或检查该道岔的进路被注册',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -243,7 +244,7 @@ export default {
{ deviceType: 'bar', orderNum: 10, operateCode: OperationEvent.Command.commandNingBo3.line_switch_block.operation, tip: '鼠标左键选择【封锁】' }, { deviceType: 'bar', orderNum: 10, operateCode: OperationEvent.Command.commandNingBo3.line_switch_block.operation, tip: '鼠标左键选择【封锁】' },
{ deviceType: 'bar', orderNum: 11, operateCode: OperationEvent.Command.commandNingBo3.line_switch_block_sure.operation, tip: '鼠标左键选择【确定/取消】' }, { deviceType: 'bar', orderNum: 11, operateCode: OperationEvent.Command.commandNingBo3.line_switch_block_sure.operation, tip: '鼠标左键选择【确定/取消】' },
{ deviceType: '02', orderNum: 12, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 12, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 13, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 13, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -252,7 +253,8 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value, operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔解除封锁({7})', trainingName: '道岔解除封锁({7})',
trainingRemark: '道岔解除封锁操作({7})', // ({7})
trainingRemark: '命令属于安全命令,用于解封已经被封锁的道岔',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -268,7 +270,7 @@ export default {
{ deviceType: 'bar', orderNum: 10, operateCode: OperationEvent.Command.commandNingBo3.line_switch_unblock.operation, tip: '鼠标左键选择【解除封锁】' }, { deviceType: 'bar', orderNum: 10, operateCode: OperationEvent.Command.commandNingBo3.line_switch_unblock.operation, tip: '鼠标左键选择【解除封锁】' },
{ deviceType: 'bar', orderNum: 11, operateCode: OperationEvent.Command.commandNingBo3.line_switch_unblock_sure.operation, tip: '鼠标左键选择【确定/取消】' }, { deviceType: 'bar', orderNum: 11, operateCode: OperationEvent.Command.commandNingBo3.line_switch_unblock_sure.operation, tip: '鼠标左键选择【确定/取消】' },
{ deviceType: '02', orderNum: 12, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 12, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 13, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 13, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -277,7 +279,8 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_ACTIVE.value, operateType: CMD.Switch.CMD_SWITCH_ACTIVE.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔激活({7})', trainingName: '道岔激活({7})',
trainingRemark: '道岔激活操作({7})', // ({7})
trainingRemark: '联络线双方ATS调度员发出“道岔/请求动岔/请求或授权/取消”命令,先后通过命令激活关联继电器,完成动岔请求-允许操作流程。双方相关联继电器都被激活时,联络线上的道岔才可被扳动,联络线进路才可被授权。该命令用于请求或授权联络线动岔操作。',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -286,7 +289,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_empower.operation, tip: '鼠标左键选择【请求动岔/请求或授权/取消】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_empower.operation, tip: '鼠标左键选择【请求动岔/请求或授权/取消】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' },
{ deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -295,7 +298,7 @@ export default {
operateType: CMD.Switch.CMD_SWITCH_CUT_OFF.value, operateType: CMD.Switch.CMD_SWITCH_CUT_OFF.value,
skinCode: '12', skinCode: '12',
trainingName: '道岔取消激活({7})', trainingName: '道岔取消激活({7})',
trainingRemark: '道岔取消激活操作({7})', trainingRemark: '取消道岔激活命令',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -304,7 +307,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_empower.operation, tip: '鼠标左键选择【请求动岔/请求或授权/取消】' }, { deviceType: 'bar', orderNum: 3, operateCode: OperationEvent.Command.commandNingBo3.line_switch_empower.operation, tip: '鼠标左键选择【请求动岔/请求或授权/取消】' },
{ deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' }, { deviceType: 'mbm', orderNum: 4, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择道岔【{7}】', codeType:'SWITCH', val: '{17}' },
{ deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '02', orderNum: 5, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '02', orderNum: 6, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, },
{ {
@ -313,7 +316,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value, operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value,
skinCode: '12', skinCode: '12',
trainingName: '信号机引导({3})', trainingName: '信号机引导({3})',
trainingRemark: '信号机引导', trainingRemark: '所有相关道岔位置正确并锁闭,但由于前方计轴区段故障或者占用,调度员可以开放引导信号,允许停在信号机前的列车进入前方进路。此时由调度员来保证该进路上的列车与前车的安全间隔。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -349,17 +352,17 @@ export default {
{ deviceType: 'bar', orderNum: 4, operateCode: OperationEvent.Command.commandNingBo3.line_signal_guide_clear.operation, tip: '鼠标左键选择【清除】' }, { deviceType: 'bar', orderNum: 4, operateCode: OperationEvent.Command.commandNingBo3.line_signal_guide_clear.operation, tip: '鼠标左键选择【清除】' },
{ deviceType: 'mbm', orderNum: 5, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择信号机【{5}】', codeType:'SIGNAL', val: '{6}' }, { deviceType: 'mbm', orderNum: 5, operateCode: OperationEvent.Command.common.choose.operation, tip: '请选择信号机【{5}】', codeType:'SIGNAL', val: '{6}' },
{ deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '04', orderNum: 6, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '04', orderNum: 7, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }, { deviceType: '04', orderNum: 7, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
], ],
config: {onlySignalOP:true} config: {onlySignalOP:true}
}, },
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, //暂不清楚是那个指令 operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, // 暂不清楚是那个指令
skinCode: '12', skinCode: '12',
trainingName: '信号机取消允许锁闭({3})', trainingName: '信号机取消允许锁闭({3})',
trainingRemark: '信号机取消允许锁闭', trainingRemark: 'CBTC模式下对于联锁信号机PMI为所有列车受控、非受控激活允许锁闭。对于区间信号机仅在该信号机由MAU命令开放时对非受控列车激活。除上述情况如果信号机为出站信号机如果其由于ESB激活或非安全PSD而变为禁止信号允许锁闭不会激活。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -385,7 +388,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '信号机封锁({3})', trainingName: '信号机封锁({3})',
trainingRemark: '信号机封锁', trainingRemark: '命令属于安全命令,以阻止所有以该信号机为始端信号机的进路被注册',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -410,7 +413,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value, operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '信号机解除封锁({3})', trainingName: '信号机解除封锁({3})',
trainingRemark: '信号机解除封锁', trainingRemark: '命令属于安全命令,用于解封已被封锁的信号机',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -435,7 +438,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL.value, operateType: CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL.value,
skinCode: '12', skinCode: '12',
trainingName: '信号机灭灯({3})', trainingName: '信号机灭灯({3})',
trainingRemark: '信号机灭灯', trainingRemark: '信号指示模式包括点灯模式和灭灯模式。灭灯模式指的是除了正线入口信号机车档信号机以及为非受控列车根据固定闭塞原则点亮的信号机其他正线信号机均保持灭灯状态。系统启动之后若为CBTC 模式,“信号指示模式”默认为灭灯模式;若转为后备模式,默认为点灯模式。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -453,7 +456,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value, operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
skinCode: '12', skinCode: '12',
trainingName: '信号机点灯({3})', trainingName: '信号机点灯({3})',
trainingRemark: '信号机点灯', trainingRemark: '信号指示模式包括点灯模式和灭灯模式。系统启动之后若为CBTC 模式,“信号指示模式”默认为灭灯模式;若转为后备模式,默认为点灯模式。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -471,7 +474,7 @@ export default {
operateType: CMD.Signal.CMD_SIGNAL_DETAIL.value, operateType: CMD.Signal.CMD_SIGNAL_DETAIL.value,
skinCode: '12', skinCode: '12',
trainingName: '显示({5} 信号机)', trainingName: '显示({5} 信号机)',
trainingRemark: '信号机显示', trainingRemark: '“信号机/显示”命令可以使窗口显示一些有关信号的信息',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -488,7 +491,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_UNBLOCK.value, operateType: CMD.Section.CMD_SECTION_UNBLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '轨道开放({8}{9})', trainingName: '轨道开放({8}{9})',
trainingRemark: '轨道开放', trainingRemark: '轨道必须开放才能允许ATO和ATPM列车经过该轨道',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -514,7 +517,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_BLOCK.value, operateType: CMD.Section.CMD_SECTION_BLOCK.value,
skinCode: '12', skinCode: '12',
trainingName: '轨道关闭({8}{9})', trainingName: '轨道关闭({8}{9})',
trainingRemark: '轨道关闭', trainingRemark: 'ATO和ATPM列车不允许进入已关闭的轨道。',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -539,7 +542,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED.value, operateType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED.value,
skinCode: '12', skinCode: '12',
trainingName: '轨道临时限速({8}{9})', trainingName: '轨道临时限速({8}{9})',
trainingRemark: '轨道临时限速速度25', trainingRemark: '中央调度员选择需要设置临时限速的轨道和限速大小。列车以规定的速度经过临时限速区域。如果轨道已经存在一个临时限速,那么原来的限速会被新的限速值所替换。速度25',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -568,7 +571,7 @@ export default {
operateType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED.value, operateType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED.value,
skinCode: '12', skinCode: '12',
trainingName: '轨道清除限速({8}{9})', trainingName: '轨道清除限速({8}{9})',
trainingRemark: '轨道清除限速', trainingRemark: '清除轨道临时限速后重置为最初的轨道限速。',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -588,7 +591,7 @@ export default {
{ deviceType: '03', orderNum: 14, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' }, { deviceType: '03', orderNum: 14, operateCode: OperationEvent.Command.common.apply.operation, tip: '请点击【应用】' },
{ deviceType: '03', orderNum: 15, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' } { deviceType: '03', orderNum: 15, operateCode: OperationEvent.Command.common.close.operation, tip: '请点击【关闭】' }
] ]
}, }
// 一下控制权操作,都暂不确定指令 // 一下控制权操作,都暂不确定指令
// { // {

View File

@ -6,7 +6,7 @@ export default {
operateType: 'Stand_Set_Hold_Train', operateType: 'Stand_Set_Hold_Train',
skinCode: '09', skinCode: '09',
trainingName: '扣车({10}-{12} 站台)', trainingName: '扣车({10}-{12} 站台)',
trainingRemark: '设置扣车功能', trainingRemark: '用于在某一指定站台设置扣车,设置后当列车运行至该站台时,将会执行扣车,列车不再行驶',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], // 产品类型 01 现地 02 行调 productTypes: ['01', '02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
@ -21,8 +21,8 @@ export default {
minDuration: 5, minDuration: 5,
operateType: 'Stand_Cancel_Hold_Train', operateType: 'Stand_Cancel_Hold_Train',
skinCode: '09', skinCode: '09',
trainingName: '取消扣车({10}-{12} 站台)', trainingName: '车({10}-{12} 站台)',
trainingRemark: '取消扣车功能', trainingRemark: '对某一指定站台取消之前设置的扣车',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], // 产品类型 01 现地 02 行调 productTypes: ['01', '02'], // 产品类型 01 现地 02 行调
stepVOList: [ stepVOList: [
@ -38,7 +38,7 @@ export default {
operateType: 'Stand_Set_Jump_Stop', operateType: 'Stand_Set_Jump_Stop',
skinCode: '09', skinCode: '09',
trainingName: '设置跳停({10}-{12}站台)', trainingName: '设置跳停({10}-{12}站台)',
trainingRemark: '设置跳停功能', trainingRemark: '设置一个跳停本站命令,请求列车跳过这个计划中本要停靠的车站。系统传输跳停信息给列车',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -54,7 +54,7 @@ export default {
operateType: 'Stand_Cancel_Jump_Stop', operateType: 'Stand_Cancel_Jump_Stop',
skinCode: '09', skinCode: '09',
trainingName: '取消跳停({10}-{12}站台)', trainingName: '取消跳停({10}-{12}站台)',
trainingRemark: '设置取消跳停功能', trainingRemark: '对指定站台取消之前设置的跳停命令',
trainingType: 'Stand', trainingType: 'Stand',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -126,14 +126,13 @@ export default {
{ deviceType: '06', orderNum: 2, operateCode: '0012', tip: '鼠标左键点击【确定】按钮' } { deviceType: '06', orderNum: 2, operateCode: '0012', tip: '鼠标左键点击【确定】按钮' }
] ]
}, },
{ {
maxDuration: 15, maxDuration: 15,
minDuration: 8, minDuration: 8,
operateType: 'Section_Fault_Unlock', operateType: 'Section_Fault_Unlock',
skinCode: '09', skinCode: '09',
trainingName: '区段故障解锁({8}{9})', trainingName: '区段故障解锁({8}{9})',
trainingRemark: '区段故障解锁', trainingRemark: '列车通过进路时,因进路中设备故障,无法正常解锁时,需采用故障解锁使未解锁的部分解锁',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -214,7 +213,7 @@ export default {
operateType: 'Section_Block', operateType: 'Section_Block',
skinCode: '09', skinCode: '09',
trainingName: '区段封锁({8}{9})', trainingName: '区段封锁({8}{9})',
trainingRemark: '区段封锁功能', trainingRemark: '封锁后,禁止通过该区段排列进路',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -228,7 +227,7 @@ export default {
operateType: 'Section_Unblock', operateType: 'Section_Unblock',
skinCode: '09', skinCode: '09',
trainingName: '区段解封({8}{9})', trainingName: '区段解封({8}{9})',
trainingRemark: '区段解封功能', trainingRemark: '允许通过该区段排列进路',
trainingType: 'Section', trainingType: 'Section',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -243,8 +242,9 @@ export default {
minDuration: 8, minDuration: 8,
operateType: 'Switch_Normal_Position', operateType: 'Switch_Normal_Position',
skinCode: '09', skinCode: '09',
trainingName: '定操({7})', trainingName: '道岔定位({7})',
trainingRemark: '定操({7})', trainingRemark: '通过“道岔定位”功能请求道岔转至定位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -257,8 +257,9 @@ export default {
minDuration: 8, minDuration: 8,
operateType: 'Switch_Reverse_Position', operateType: 'Switch_Reverse_Position',
skinCode: '09', skinCode: '09',
trainingName: '反操({7})', trainingName: '道岔反位({7})',
trainingRemark: '反操({7})', trainingRemark: '通过“道岔反位”功能请求道岔转至反位',
// ({7})
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -272,7 +273,7 @@ export default {
operateType: 'Switch_Single_Lock', operateType: 'Switch_Single_Lock',
skinCode: '09', skinCode: '09',
trainingName: '道岔单锁({7})', trainingName: '道岔单锁({7})',
trainingRemark: '道岔单锁功能', trainingRemark: '通过“道岔单锁功能请求系统阻止道岔从其当前位置进行转动',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -286,7 +287,7 @@ export default {
operateType: 'Switch_Single_Unlock', operateType: 'Switch_Single_Unlock',
skinCode: '09', skinCode: '09',
trainingName: '道岔单解({7})', trainingName: '道岔单解({7})',
trainingRemark: '道岔单解功能', trainingRemark: '通过“道岔单解功能请求系统对已单锁的道岔解锁',
trainingType: 'Switch', trainingType: 'Switch',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -303,7 +304,7 @@ export default {
operateType: 'Signal_Set_Route', operateType: 'Signal_Set_Route',
skinCode: '09', skinCode: '09',
trainingName: '排列进路({3})', trainingName: '排列进路({3})',
trainingRemark: '排列进路', trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -318,7 +319,7 @@ export default {
operateType: 'Signal_Cancel_Route', operateType: 'Signal_Cancel_Route',
skinCode: '09', skinCode: '09',
trainingName: '取消进路({3})', trainingName: '取消进路({3})',
trainingRemark: '取消进路', trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -332,7 +333,7 @@ export default {
operateType: 'Signal_Set_CI_Auto', operateType: 'Signal_Set_CI_Auto',
skinCode: '09', skinCode: '09',
trainingName: '开放自动进路({5})', trainingName: '开放自动进路({5})',
trainingRemark: '设置联锁自动进路', trainingRemark: '设置“自动进路”功能可通过信号机开放自动进路或取消自动进路。“开放自动进路”可让系统在进路区段出清时自动重新开放进路。如果信号关闭并且道岔处于定位,则可使用信号自动进路功能开放信号。联锁自动进路',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -346,7 +347,7 @@ export default {
operateType: 'Signal_Cancel_CI_Auto', operateType: 'Signal_Cancel_CI_Auto',
skinCode: '09', skinCode: '09',
trainingName: '关闭自动进路({5})', trainingName: '关闭自动进路({5})',
trainingRemark: '取消自动联锁进路', trainingRemark: '“关闭自动进路”让系统关闭信号机自动进路功能,并且仅可在已经开放自动进路的信号机上请求。“关闭自动进路”并不取消进路。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -360,7 +361,7 @@ export default {
operateType: 'Signal_Block', operateType: 'Signal_Block',
skinCode: '09', skinCode: '09',
trainingName: '终端信号封锁({5})', trainingName: '终端信号封锁({5})',
trainingRemark: '终端信号封锁功能', trainingRemark: '终端信号封锁/解封”功能可以防止调度员开放以此信号机作为终端的进路或在信号解锁并允许再次设置进路。“终端信号封锁”阻止以此信号机作为终端设置进路。',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -374,7 +375,7 @@ export default {
operateType: 'Signal_Unblock', operateType: 'Signal_Unblock',
skinCode: '09', skinCode: '09',
trainingName: '终端信号解封({5})', trainingName: '终端信号解封({5})',
trainingRemark: '终端信号解封功能', trainingRemark: '“终端信号解封”取消信号机终端封锁',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -390,7 +391,7 @@ export default {
operateType: 'Signal_Set_Guide', operateType: 'Signal_Set_Guide',
skinCode: '09', skinCode: '09',
trainingName: '引导信号({5})', trainingName: '引导信号({5})',
trainingRemark: '引导信号功能', trainingRemark: '开放信号并建立引导进路。如果进路内任一轨道故障出现红光带,在确认故障轨道无车占用的情况下,可在接近轨道占用时开放引导信号',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -405,7 +406,7 @@ export default {
operateType: 'Signal_Find_Routes_Status', operateType: 'Signal_Find_Routes_Status',
skinCode: '09', skinCode: '09',
trainingName: '帮助({5})', trainingName: '帮助({5})',
trainingRemark: '帮助', trainingRemark: '查看某个信号机为始端的进路是否处于ATS自动触发状态',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01', '02'], productTypes: ['01', '02'],
stepVOList: [ stepVOList: [
@ -447,7 +448,7 @@ export default {
operateType: 'CM_Apply_For_Station_Control', operateType: 'CM_Apply_For_Station_Control',
skinCode: '09', skinCode: '09',
trainingName: '本地控制许可/请求({2})', trainingName: '本地控制许可/请求({2})',
trainingRemark: '本地控制许可功能/请求', trainingRemark: '从 ATS 车站工作站请求本地控制',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -461,7 +462,7 @@ export default {
operateType: 'CM_Apply_For_Center_Control', operateType: 'CM_Apply_For_Center_Control',
skinCode: '09', skinCode: '09',
trainingName: '本地控制许可/取消({2})', trainingName: '本地控制许可/取消({2})',
trainingRemark: '本地控制许可/取消功能', trainingRemark: '可通过“本地控制->取消”功能释放本地控制将本地控制权限返回中央ATS。',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -475,7 +476,7 @@ export default {
operateType: 'CM_Emergency_Station_Control', operateType: 'CM_Emergency_Station_Control',
skinCode: '09', skinCode: '09',
trainingName: '本地控制许可/紧急本地控制({2})', trainingName: '本地控制许可/紧急本地控制({2})',
trainingRemark: '本地控制许可/紧急本地控制功能', trainingRemark: '在ATS车站工作站进行操作时需要从中央ATS快速获取紧急情况下的控制用户可使用“紧急本地控制”功能。',
trainingType: 'ControlConvertMenu', trainingType: 'ControlConvertMenu',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
@ -490,7 +491,7 @@ export default {
operateType: 'Station_Open_Auto_Setting', operateType: 'Station_Open_Auto_Setting',
skinCode: '09', skinCode: '09',
trainingName: '进路模式/自动({26})', trainingName: '进路模式/自动({26})',
trainingRemark: '进路模式/自动功能', trainingRemark: '将某个信号机为始端的某条进路设置为由ATS自动触发使能',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -505,7 +506,7 @@ export default {
operateType: 'Station_Close_Auto_Setting', operateType: 'Station_Close_Auto_Setting',
skinCode: '09', skinCode: '09',
trainingName: '进路模式/人工({26})', trainingName: '进路模式/人工({26})',
trainingRemark: '进路模式/人工功能', trainingRemark: '将某个信号机为始端的进路取消ATS自动触发使能转为人工办理',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -520,7 +521,7 @@ export default {
operateType: 'Station_Set_Turn_Back_Strategy', operateType: 'Station_Set_Turn_Back_Strategy',
skinCode: '09', skinCode: '09',
trainingName: '折返模式/侧线优先({26})', trainingName: '折返模式/侧线优先({26})',
trainingRemark: '折返模式/侧线优先功能', trainingRemark: '折返站的折返模式应根据运营需要进行设置。(侧线优先)',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -534,7 +535,7 @@ export default {
operateType: 'Station_Set_Turn_Back_Strategy', operateType: 'Station_Set_Turn_Back_Strategy',
skinCode: '09', skinCode: '09',
trainingName: '折返模式/直线折返({26})', trainingName: '折返模式/直线折返({26})',
trainingRemark: '折返模式/直线折返功能', trainingRemark: '折返站的折返模式应根据运营需要进行设置。(直线折返)',
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [
@ -548,7 +549,8 @@ export default {
operateType: 'Station_Set_Turn_Back_Strategy', operateType: 'Station_Set_Turn_Back_Strategy',
skinCode: '09', skinCode: '09',
trainingName: '折返模式/侧线折返({26})', trainingName: '折返模式/侧线折返({26})',
trainingRemark: '折返模式/侧线折返功能', trainingRemark: '折返站的折返模式应根据运营需要进行设置。(侧线折返)',
// 共有三种折返模式:侧线优先、直线折返、侧线折返
trainingType: 'Station', trainingType: 'Station',
productTypes: ['02'], productTypes: ['02'],
stepVOList: [ stepVOList: [

View File

@ -30,7 +30,8 @@ export const MapDeviceType = {
export const deviceFaultType = { export const deviceFaultType = {
Section: [ Section: [
{label: '计轴故障', value: 'FAULT'}, {label: '计轴故障', value: 'FAULT'},
{label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'} {label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'},
{label: 'ARB', value: 'ARB'}
// {label: '计轴干扰', value: 'DISTURBANCE'} // {label: '计轴干扰', value: 'DISTURBANCE'}
], ],
Signal: [ Signal: [
@ -68,7 +69,8 @@ export const deviceFaultType = {
export const deviceFaultMap = { export const deviceFaultMap = {
Section: { Section: {
FAULT: '计轴故障', FAULT: '计轴故障',
CBTC_OCCUPIED_FAULT: '通信车占用' CBTC_OCCUPIED_FAULT: '通信车占用',
ARB: 'ARB'
}, },
Signal: { Signal: {
MAIN_FILAMENT_BROKEN: '熔断' MAIN_FILAMENT_BROKEN: '熔断'

View File

@ -891,15 +891,16 @@ const map = {
updateStationStand: (state, status) => { updateStationStand: (state, status) => {
const holdIndex = state.holdStandList.indexOf(status.code); const holdIndex = state.holdStandList.indexOf(status.code);
const jumpIndex = state.jumpStandList.indexOf(status.code); const jumpIndex = state.jumpStandList.indexOf(status.code);
if ((status.stationHoldTrain || status.centerHoldTrain) && holdIndex < 0) { const device = state.mapDevice[status.code];
state.holdStandList.push(status.code); if ((device.stationHoldTrain || device.centerHoldTrain) && holdIndex < 0) {
} else if (!(status.stationHoldTrain && status.centerHoldTrain) && holdIndex > -1) { state.holdStandList.push(device.code);
} else if (!(device.stationHoldTrain || device.centerHoldTrain) && holdIndex > -1) {
state.holdStandList.splice(holdIndex, 1); state.holdStandList.splice(holdIndex, 1);
} }
state.holdStatus = state.holdStandList.length > 0; state.holdStatus = state.holdStandList.length > 0;
if ((status.assignSkip || status.allSkip) && jumpIndex < 0) { if ((device.assignSkip || device.allSkip) && jumpIndex < 0) {
state.jumpStandList.push(status.code); state.jumpStandList.push(device.code);
} else if (!(status.assignSkip && status.allSkip) && jumpIndex > -1) { } else if (!(device.assignSkip || device.allSkip) && jumpIndex > -1) {
state.jumpStandList.splice(jumpIndex, 1); state.jumpStandList.splice(jumpIndex, 1);
} }
state.jumpStatus = state.jumpStandList.length > 0; state.jumpStatus = state.jumpStandList.length > 0;

View File

@ -71,17 +71,20 @@ export default {
const point = {}; const point = {};
point.x = e.clientX; point.x = e.clientX;
point.y = e.clientY; point.y = e.clientY;
const stationList = [];
if (this.$store.state.map.holdStandList.length) { if (this.$store.state.map.holdStandList.length) {
this.menu = []; this.menu = [];
this.$store.state.map.holdStandList.forEach(item => { this.$store.state.map.holdStandList.forEach(item => {
const stand = this.$store.getters['map/getDeviceByCode'](item); const stand = this.$store.getters['map/getDeviceByCode'](item);
const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode); const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode);
if (stationList.indexOf(station.code) === -1) {
stationList.push(station.code);
this.menu.push({ this.menu.push({
label: station.name, label: station.name,
code: station.code, code: station.code,
handler: this.setCenter handler: this.setCenter
}); });
}
}); });
if (this.$refs && this.$refs.popMenu) { if (this.$refs && this.$refs.popMenu) {
this.$refs.popMenu.resetShowPosition(point); this.$refs.popMenu.resetShowPosition(point);
@ -94,14 +97,18 @@ export default {
point.y = e.clientY; point.y = e.clientY;
if (this.$store.state.map.jumpStandList.length) { if (this.$store.state.map.jumpStandList.length) {
this.menu = []; this.menu = [];
const stationList = [];
this.$store.state.map.jumpStandList.forEach(item => { this.$store.state.map.jumpStandList.forEach(item => {
const stand = this.$store.getters['map/getDeviceByCode'](item); const stand = this.$store.getters['map/getDeviceByCode'](item);
const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode); const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode);
if (stationList.indexOf(station.code) === -1) {
stationList.push(station.code);
this.menu.push({ this.menu.push({
label: station.name, label: station.name,
code: station.code, code: station.code,
handler: this.setCenter handler: this.setCenter
}); });
}
}); });
if (this.$refs && this.$refs.popMenu) { if (this.$refs && this.$refs.popMenu) {
this.$refs.popMenu.resetShowPosition(point); this.$refs.popMenu.resetShowPosition(point);

View File

@ -15,6 +15,16 @@
<el-form-item :label="this.$t('ibp.yCoordinate')"> <el-form-item :label="this.$t('ibp.yCoordinate')">
<el-input-number v-model="form.y" controls-position="right" :min="1" /> <el-input-number v-model="form.y" controls-position="right" :min="1" />
</el-form-item> </el-form-item>
<el-form-item label="方向">
<el-select v-model="form.direction" placeholder="请选择">
<el-option
v-for="(item, i) in directions"
:key="i"
:label="item.name"
:value="item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button> <el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button> <el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
@ -38,7 +48,8 @@ export default {
code: '', code: '',
alarmWidth: '', alarmWidth: '',
x: 10, x: 10,
y: 10 y: 10,
direction: null,
}, },
rules: { rules: {
code: [ code: [
@ -47,7 +58,12 @@ export default {
alarmWidth: [ alarmWidth: [
{ required: true, message: this.$t('rules.enterTheAlarmWidth'), trigger: 'blur' } { required: true, message: this.$t('rules.enterTheAlarmWidth'), trigger: 'blur' }
] ]
} },
directions: [
{ name: '全部', value: null},
{ name: '上行', value: true},
{ name: '下行', value: false},
],
}; };
}, },
computed: { computed: {
@ -64,6 +80,7 @@ export default {
this.form.alarmWidth = model.width; this.form.alarmWidth = model.width;
this.form.x = model.point.x; this.form.x = model.point.x;
this.form.y = model.point.y; this.form.y = model.point.y;
this.form.direction = model.direction
} }
} }
}, },
@ -80,7 +97,8 @@ export default {
}, },
code: this.form.code, code: this.form.code,
_type: 'Alarm', _type: 'Alarm',
width: this.form.alarmWidth width: this.form.alarmWidth,
direction: this.form.direction
}; };
this.$emit('createData', alarmModel); this.$emit('createData', alarmModel);
this.initPage(); this.initPage();
@ -97,7 +115,8 @@ export default {
}, },
code: this.form.code, code: this.form.code,
_type: 'Alarm', _type: 'Alarm',
width: this.form.alarmWidth width: this.form.alarmWidth,
direction: this.form.direction
}; };
this.$emit('deleteDataModel', alarmModel ); this.$emit('deleteDataModel', alarmModel );
this.initPage(); this.initPage();
@ -110,7 +129,8 @@ export default {
code: '', code: '',
alarmWidth: '', alarmWidth: '',
x: 10, x: 10,
y: 10 y: 10,
direction: null
}; };
}, },
generateCode() { generateCode() {

View File

@ -44,6 +44,16 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="needDirectionItem" label="方向">
<el-select v-model="form.direction" placeholder="请选择">
<el-option
v-for="(item, i) in directions"
:key="i"
:label="item.name"
:value="item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button> <el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button> <el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
@ -65,19 +75,17 @@ export default {
buttonText: this.$t('ibp.createNow'), buttonText: this.$t('ibp.createNow'),
showDeleteButton: false, showDeleteButton: false,
operateMeanList: [ operateMeanList: [
{ label: '上行扣车', value: 'SXKC' }, { label: '扣车', value: 'KC' },
{ label: '下行扣车', value: 'XXKC' }, { label: '终止扣车', value: 'ZZKC' },
{ label: '上行终止扣车', value: 'SXZZKC' },
{ label: '下行终止扣车', value: 'XXZZKC' },
{ label: '紧急停车', value: 'JJTC' }, { label: '紧急停车', value: 'JJTC' },
{ label: '取消紧急停车', value: 'QXJJTC' }, { label: '取消紧急停车', value: 'QXJJTC' },
{ label: '报警切除', value: 'BJQC' }, { label: '报警切除', value: 'BJQC' },
{ label: '下行屏蔽门开门', value: 'XXKM' }, { label: '屏蔽门开门', value: 'KM' },
{ label: '上行屏蔽门开门', value: 'SXKM' },
{ label: '计轴复位', value: 'AXLE_RESET' }, { label: '计轴复位', value: 'AXLE_RESET' },
{ label: '计轴预复位', value: 'AXLE_PRE_RESET' }, { label: '计轴预复位', value: 'AXLE_PRE_RESET' },
{ label: '计轴预复零', value: 'PRERESET_Z' }, { label: '计轴预复零', value: 'PRERESET_Z' },
], ],
operateWithoutDirections: ['AXLE_RESET', 'AXLE_PRE_RESET', 'PRERESET_Z'],
form: { form: {
code: '', code: '',
buttonColor: 'red', buttonColor: 'red',
@ -85,7 +93,8 @@ export default {
x: 10, x: 10,
y: 10, y: 10,
sectionCode: '', sectionCode: '',
mean: '' mean: '',
direction: null,
}, },
rules: { rules: {
code: [ code: [
@ -99,13 +108,20 @@ export default {
], ],
sectionCode: [ sectionCode: [
{ required: true, message: '请选择关联区段', trigger: 'blur' } { required: true, message: '请选择关联区段', trigger: 'blur' }
] ],
}, },
sectionList: [] sectionList: [],
directions: [
{ name: '全部', value: null},
{ name: '上行', value: true},
{ name: '下行', value: false},
],
}; };
}, },
computed: { computed: {
needDirectionItem() {
return !this.operateWithoutDirections.includes(this.form.mean);
}
}, },
watch: { watch: {
'$store.state.ibp.rightClickCount': function (val) { '$store.state.ibp.rightClickCount': function (val) {
@ -121,6 +137,7 @@ export default {
this.form.y = model.point.y; this.form.y = model.point.y;
this.form.mean = model.mean; this.form.mean = model.mean;
this.form.sectionCode = model.sectionCode; this.form.sectionCode = model.sectionCode;
this.form.direction = model.direction;
} }
} }
}, },
@ -128,7 +145,7 @@ export default {
if (this.$route.query.stationCode) { if (this.$route.query.stationCode) {
getSectionListByCenStationCode(this.$route.query.mapId, this.$route.query.stationCode).then(resp => { getSectionListByCenStationCode(this.$route.query.mapId, this.$route.query.stationCode).then(resp => {
this.sectionList = resp.data; this.sectionList = resp.data;
console.log(resp.data); // console.log(resp.data);
}).catch(() => { }).catch(() => {
this.$message.error('获取区段列表失败!'); this.$message.error('获取区段列表失败!');
}); });
@ -142,9 +159,6 @@ export default {
} }
}, },
methods: { methods: {
// consoleChange() {
// console.log(this.form.mean === 'PRERESET', this.form.mean );
// },
onSubmit(form) { onSubmit(form) {
this.$refs[form].validate((valid) => { this.$refs[form].validate((valid) => {
if (valid) { if (valid) {
@ -159,7 +173,8 @@ export default {
status: 'off', status: 'off',
width: this.form.buttonWidth, width: this.form.buttonWidth,
mean: this.form.mean, mean: this.form.mean,
sectionCode: this.form.sectionCode sectionCode: this.form.sectionCode,
direction: this.form.direction,
}; };
this.$emit('createData', buttonModel); this.$emit('createData', buttonModel);
this.initPage(); this.initPage();
@ -180,7 +195,8 @@ export default {
status: 'off', status: 'off',
width: this.form.buttonWidth, width: this.form.buttonWidth,
mean: this.form.mean, mean: this.form.mean,
sectionCode: this.form.sectionCode sectionCode: this.form.sectionCode,
direction: this.form.direction,
}; };
this.$emit('deleteDataModel', buttonModel ); this.$emit('deleteDataModel', buttonModel );
this.initPage(); this.initPage();
@ -196,7 +212,8 @@ export default {
x: 10, x: 10,
y: 10, y: 10,
mean: '', mean: '',
sectionCode: '' sectionCode: '',
direction: null,
}; };
}, },
generateCode() { generateCode() {

View File

@ -25,6 +25,16 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="方向">
<el-select v-model="form.direction" placeholder="请选择">
<el-option
v-for="(item, i) in directions"
:key="i"
:label="item.name"
:value="item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button> <el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button> <el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
@ -45,20 +55,18 @@ export default {
buttonText: this.$t('ibp.createNow'), buttonText: this.$t('ibp.createNow'),
showDeleteButton: false, showDeleteButton: false,
showMeanList: [ showMeanList: [
{label: '下行扣车', value: 'xxkcLight'}, {label: '扣车灯', value: 'kcLight'},
{label: '上行扣车', value: 'sxkcLight'}, {label: '关门灯', value: 'gmLight'},
{label: '下行关门灯', value: 'xxgmLight'}, {label: '开门灯', value: 'kmLight'},
{label: '下行开门灯', value: 'xxkmLight'}, {label: '紧急停车灯', value: 'jjtcLight'},
{label: '上行关门灯', value: 'sxgmLight'},
{label: '上行开门灯', value: 'sxkmLight'},
{label: '紧急停车灯', value: 'jjtcLight'}
], ],
form: { form: {
code: '', code: '',
r: '', r: '',
x: 10, x: 10,
y: 10, y: 10,
mean: '' mean: '',
direction: null
}, },
rules: { rules: {
code: [ code: [
@ -67,7 +75,12 @@ export default {
r: [ r: [
{ required: true, message: '请输入圆形灯半径', trigger: 'blur'} { required: true, message: '请输入圆形灯半径', trigger: 'blur'}
] ]
} },
directions: [
{ name: '全部', value: null},
{ name: '上行', value: true},
{ name: '下行', value: false},
],
}; };
}, },
computed: { computed: {
@ -85,6 +98,7 @@ export default {
this.form.x = model.point.x; this.form.x = model.point.x;
this.form.y = model.point.y; this.form.y = model.point.y;
this.form.mean = model.mean; this.form.mean = model.mean;
this.form.direction = model.direction
} }
} }
}, },
@ -103,6 +117,7 @@ export default {
code: this.form.code, code: this.form.code,
r: this.form.r, r: this.form.r,
mean: this.form.mean, mean: this.form.mean,
direction: this.form.direction,
fillColor: '#332C22' fillColor: '#332C22'
}; };
this.$emit('createData', lampModel); this.$emit('createData', lampModel);
@ -123,6 +138,7 @@ export default {
code: this.form.code, code: this.form.code,
r: this.form.r, r: this.form.r,
mean: this.form.mean, mean: this.form.mean,
direction: this.form.direction,
fillColor: '#332C22' fillColor: '#332C22'
}; };
this.$emit('deleteDataModel', lampModel ); this.$emit('deleteDataModel', lampModel );
@ -137,7 +153,8 @@ export default {
r: '', r: '',
x: 10, x: 10,
y: 10, y: 10,
mean: '' mean: '',
direction: null
}; };
}, },
generateCode() { generateCode() {

View File

@ -7,9 +7,11 @@
<el-button v-if="$route.query.noPreLogout" type="primary" @click="quit">退出</el-button> <el-button v-if="$route.query.noPreLogout" type="primary" @click="quit">退出</el-button>
</el-button-group> </el-button-group>
<audio id="buzzer" controls loop="loop"> <template v-for="alarm in alarmList" >
<audio :key="alarm.code" :id="`buzzer_${alarm.code}`" controls loop="loop">
<source :src="buzzerAudio" type="audio/mpeg"> <source :src="buzzerAudio" type="audio/mpeg">
</audio> </audio>
</template>
</div> </div>
</template> </template>
@ -64,7 +66,8 @@ export default {
stationCode: '', stationCode: '',
banUpOpenScreenDoor: false, banUpOpenScreenDoor: false,
banDownOpenScreenDoor: false, banDownOpenScreenDoor: false,
buzzerAudio:BuzzerAudio buzzerAudio:BuzzerAudio,
alarmList: []
}; };
}, },
computed: { computed: {
@ -193,7 +196,8 @@ export default {
this.setIbp(data, ibpDatas); this.setIbp(data, ibpDatas);
this.$store.dispatch('ibp/setIbpData', ibpDatas); this.$store.dispatch('ibp/setIbpData', ibpDatas);
this.handleBanOpenScreenDoorStatus(); this.handleBanOpenScreenDoorStatus();
this.preResetBtn = this.$ibp.$painter.ibpInstanceLevel.SquareButton.children().find(e=>e.model.mean === IbpOperation.PRERESET_Z.event); this.preResetBtn = this.$ibp.$painter.ibpInstanceLevel.SquareButton.children().find(e=>e.model.mean === IbpOperation.PRERESET_Z.event); //
this.alarmList = this.$ibp.$painter.ibpInstanceLevel.Alarm.children().map(e=>e.model);
} else { } else {
// //
this.loading = false; this.loading = false;

View File

@ -44,6 +44,13 @@
@deviceChange="deviceChange" @deviceChange="deviceChange"
@deviceSelect="deviceSelect" /> @deviceSelect="deviceSelect" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane class="view-control" label="批量操作" name="fourth" :lazy="lazy">
<responder-batch-operate
:responder-list="responderList"
:section-list="filterSectionList"
:signal-list="signalList"
/>
</el-tab-pane>
</el-tabs> </el-tabs>
</template> </template>
@ -53,13 +60,15 @@ import ConstConfig from '@/scripts/ConstConfig';
import ResponderCreate from './responderCreate'; import ResponderCreate from './responderCreate';
import ResponderModel from './responderModel'; import ResponderModel from './responderModel';
import ResponderBatch from './responderBatch'; import ResponderBatch from './responderBatch';
import ResponderBatchOperate from './responderBatchOperate';
export default { export default {
name: 'ResponderDraft', name: 'ResponderDraft',
components: { components: {
ResponderCreate, ResponderCreate,
ResponderModel, ResponderModel,
ResponderBatch ResponderBatch,
ResponderBatchOperate
}, },
props: { props: {
selected: { selected: {

View File

@ -0,0 +1,86 @@
<template>
<div class="content">
<el-button type="primary" size="mini" @click="batchConnectHandler"
>一键关联信号机</el-button
>
<div class="desc">一键将未关联信号机的可变应答器关联到最近的信号机</div>
</div>
</template>
<script>
export default {
name: "responderBatchOperate",
props: ["responderList", "sectionList", "signalList"],
data() {
return {};
},
methods: {
batchConnectHandler() {
try {
let models = this.responderList.filter(
el => el.type === "VB" && !el.signalCode
);
models.forEach(responder => {
const sectionCode = responder.sectionCode;
let signals = this.signalList.filter(
signal => signal.sectionCode === sectionCode
);
if (signals.length === 1) {
responder.signalCode = signals[0].code;
} else if (signals.length > 1) {
let signalsPosition = signals.map(_ => _.position);
let nearestSignalCode =
signals[
this.chooseNearestSignal(
responder.position,
signalsPosition
)
].code;
responder.signalCode = nearestSignalCode;
}
});
this.$emit("updateMapModel", models);
this.$message.success("关联成功");
} catch (error) {
this.$message.info(error);
}
},
/**
* 计算最近的信号机的序号
* @param {Object} respPos
* @param {Number} respPos.x
* @param {Number} respPos.y
* @returns {Number} index of the Nearest element
*/
chooseNearestSignal(respPos, sigPos) {
let [minDistance, idx] = [Infinity, -1];
sigPos.forEach((s, i) => {
let distance = this.distanceOf(respPos, s);
if (distance < minDistance) [minDistance, idx] = [distance, i];
});
return idx;
},
// ,
distanceOf(a, b) {
return (b.x - a.x) ** 2 + (b.y - a.y) ** 2;
}
}
};
</script>
<style lang="scss" scoped>
.content {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
.desc {
font-size: 12px;
color: gray;
margin-top: 10px;
}
}
</style>

View File

@ -167,6 +167,7 @@ export default {
this.editModel[prop] = selected.code; this.editModel[prop] = selected.code;
}, },
setModel(selected) { setModel(selected) {
if (!selected.signalCode) selected.signalCode = '';
this.editModel = deepAssign(this.editModel, selected); this.editModel = deepAssign(this.editModel, selected);
}, },
deviceChange(code) { deviceChange(code) {

View File

@ -85,6 +85,7 @@ export default {
deletePlanTrip(model).then(resp => { deletePlanTrip(model).then(resp => {
this.$store.dispatch('runPlan/setSelected', {}); this.$store.dispatch('runPlan/setSelected', {});
this.$store.dispatch('runPlan/setDraftSelected', {});
this.$emit('refresh'); this.$emit('refresh');
// this.$emit('dispatchOperate', { // this.$emit('dispatchOperate', {
// dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query) // dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)

View File

@ -74,7 +74,7 @@ export default {
handleServiceNumber() { handleServiceNumber() {
let newValue = parseInt(this.serviceNumber); let newValue = parseInt(this.serviceNumber);
if (newValue) { if (newValue) {
if (newValue > 0 & newValue < 9) { if (newValue > 0 & newValue <= 9) {
newValue = '00' + newValue; newValue = '00' + newValue;
} else if (newValue > 10 & newValue < 99) { } else if (newValue > 10 & newValue < 99) {
newValue = '0' + newValue; newValue = '0' + newValue;

View File

@ -243,7 +243,8 @@ export default {
this.reSize({ width: this.$store.state.runPlan.width, height: this.$store.state.runPlan.height }); this.reSize({ width: this.$store.state.runPlan.width, height: this.$store.state.runPlan.height });
}, },
'$store.state.runPlan.refreshCount': function() { '$store.state.runPlan.refreshCount': function() {
if (this.planId || this.loadRunPlanId) { // || this.loadRunPlanId
if (this.planId) {
this.loadChartPage(); this.loadChartPage();
} }
}, },
@ -252,8 +253,8 @@ export default {
// this.loadChartPage(); // this.loadChartPage();
// }); // });
// }, // },
loadRunPlanId() { planId() {
if (this.planId || this.loadRunPlanId) { if (this.planId) {
this.loadChartPage(); this.loadChartPage();
} else { } else {
this.clearCanvas(); this.clearCanvas();
@ -268,6 +269,9 @@ export default {
}, },
mounted() { mounted() {
this.setPosition(); this.setPosition();
if (this.planId) {
this.loadChartPage();
}
// this.loadChartPage(); // this.loadChartPage();
}, },
beforeDestroy() { beforeDestroy() {
@ -316,11 +320,21 @@ export default {
}); });
this.myChart.setOption(op, true); this.myChart.setOption(op, true);
} }
if (this.loadRunPlanId) {
this.$store.dispatch('runPlan/setDraftSelected', { serviceNumber: serviceNumber, tripNumber: null });
} else {
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: null }); this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: null });
}
this.analyticalTripNumber(serviceObj.trainMap || {}); this.analyticalTripNumber(serviceObj.trainMap || {});
}, },
tripNumberChange(row) { tripNumberChange(row) {
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber; let serviceNumber;
if (this.loadRunPlanId) {
serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
} else {
serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
}
let tripNumber = null; let tripNumber = null;
if (row) { if (row) {
const data = []; const data = [];
@ -362,7 +376,12 @@ export default {
}, 50); }, 50);
} }
if (this.loadRunPlanId) {
this.$store.dispatch('runPlan/setDraftSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber });
} else {
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber }); this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber });
}
}, },
async analyticalServiceNumber(data) { async analyticalServiceNumber(data) {
this.serviceNumberConfig.data = Object.keys(data || {}) this.serviceNumberConfig.data = Object.keys(data || {})
@ -422,7 +441,11 @@ export default {
// }); // });
// } else { // } else {
getPublishMapInfo(this.$route.query.mapId).then(resp => { getPublishMapInfo(this.$route.query.mapId).then(resp => {
if (this.loadRunPlanId) {
this.mapName = this.$route.query.planName || this.loadRunPlanName || '';
} else {
this.mapName = `${resp.data.name} (${this.$route.query.planName || this.loadRunPlanName || ''})`; this.mapName = `${resp.data.name} (${this.$route.query.planName || this.loadRunPlanName || ''})`;
}
}); });
// } // }
@ -643,7 +666,12 @@ export default {
}, },
refreshRunPlanName(name) { refreshRunPlanName(name) {
getPublishMapInfo(this.$route.query.mapId).then(resp => { getPublishMapInfo(this.$route.query.mapId).then(resp => {
if (this.loadRunPlanId) {
this.mapName = name;
} else {
this.mapName = `${resp.data.name} (${name})`; this.mapName = `${resp.data.name} (${name})`;
}
this.myChart.setOption({ this.myChart.setOption({
title: { title: {
text: this.mapName, text: this.mapName,

View File

@ -2,28 +2,31 @@
<div class="plan-tool" style="width: 100%; height: 100%;"> <div class="plan-tool" style="width: 100%; height: 100%;">
<menu-bar <menu-bar
ref="menuBar" ref="menuBar"
:load-run-plan-id="loadRunPlanId"
@doClose="doClose" @doClose="doClose"
@refresh="refresh" @refresh="refresh"
@dispatchDialog="dispatchDialog" @dispatchDialog="dispatchDialog"
@loadingRunPlan="loadingRunPlan"
@modifyRunPlanName="modifyRunPlanName" @modifyRunPlanName="modifyRunPlanName"
/> />
<!-- :load-run-plan-id="loadRunPlanId" -->
<!-- @loadingRunPlan="loadingRunPlan" -->
<!-- @checkIsLoadRunPlan="checkIsLoadRunPlan" --> <!-- @checkIsLoadRunPlan="checkIsLoadRunPlan" -->
<div class="scheduleIn"> <div class="scheduleIn">
<schedule <schedule
ref="schedule" ref="schedule"
v-loading="runplanLoading" v-loading="runplanLoading"
:plan-parser="PlanParser" :plan-parser="PlanParser"
:load-run-plan-id="loadRunPlanId"
:load-run-plan-name="loadRunPlanName" :load-run-plan-name="loadRunPlanName"
/> />
<status-bar ref="statusBar" :load-run-plan-id="loadRunPlanId" @dispatchDialog="dispatchDialog" @showTrain="showTrain" @refresh="refresh" /> <!-- :load-run-plan-id="loadRunPlanId" -->
<status-bar ref="statusBar" @dispatchDialog="dispatchDialog" @showTrain="showTrain" @refresh="refresh" />
<!-- :load-run-plan-id="loadRunPlanId" -->
</div> </div>
<parameter ref="parameter" /> <parameter ref="parameter" />
<!-- 删除计划 --> <!-- 删除计划 -->
<off-line ref="offLine" @handleConfirm="handleConfirm" @dispatchDialog="dispatchDialog" /> <off-line ref="offLine" @handleConfirm="handleConfirm" @dispatchDialog="dispatchDialog" />
<add-planning-train ref="addPlanningTrain" :load-run-plan-id="loadRunPlanId" @dispatchDialog="dispatchDialog" /> <add-planning-train ref="addPlanningTrain" @dispatchDialog="dispatchDialog" />
<!-- :load-run-plan-id="loadRunPlanId" -->
<edit-planning-train <edit-planning-train
ref="editPlanningTrain" ref="editPlanningTrain"
@dispatchDialog="dispatchDialog" @dispatchDialog="dispatchDialog"
@ -179,10 +182,10 @@ export default {
doClose() { doClose() {
this.$emit('doClose'); this.$emit('doClose');
}, },
loadingRunPlan(param) { // loadingRunPlan(param) {
this.loadRunPlanId = param.planId; // // this.loadRunPlanId = param.planId;
this.loadRunPlanName = param.planName; // this.loadRunPlanName = param.planName;
}, // },
checkIsLoadRunPlan(planId) { checkIsLoadRunPlan(planId) {
// this.refreshRunPlanList(planId === this.loadRunPlanId); // this.refreshRunPlanList(planId === this.loadRunPlanId);
}, },

View File

@ -133,13 +133,13 @@ export default {
default: function() { default: function() {
return { }; return { };
} }
},
loadRunPlanId: {
type: String,
default: function() {
return '';
}
} }
// loadRunPlanId: {
// type: String,
// default: function() {
// return '';
// }
// }
}, },
data() { data() {
return { return {
@ -475,7 +475,7 @@ export default {
}, },
// //
async handleTestRunPlan() { async handleTestRunPlan() {
const data = { planId: this.$route.query.planId || this.loadRunPlanId }; const data = { planId: this.$route.query.planId };
runPlanNotify(data).then(resp => { runPlanNotify(data).then(resp => {
if (resp.data) { if (resp.data) {
const query = { const query = {
@ -497,7 +497,7 @@ export default {
}, },
// //
handleAddPlanningTrain() { handleAddPlanningTrain() {
const planId = this.$route.query.planId || this.loadRunPlanId; const planId = this.$route.query.planId;
if (planId) { if (planId) {
this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} }); this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} });
} else { } else {
@ -606,9 +606,9 @@ export default {
const params = this.$store.state.runPlan.selected; const params = this.$store.state.runPlan.selected;
this.$emit('dispatchDialog', { name: 'modifyingBeginTime', params }); this.$emit('dispatchDialog', { name: 'modifyingBeginTime', params });
}, },
loadingRunPlan(param) { // loadingRunPlan(param) {
this.$emit('loadingRunPlan', param); // this.$emit('loadingRunPlan', param);
}, // },
// deleteRunPlanOperate(param) { // deleteRunPlanOperate(param) {
// // // //
// this.$confirm(this.$t('planMonitor.openRunPlan.confirmDeleteRunPlan'), this.$t('tip.hint'), { // this.$confirm(this.$t('planMonitor.openRunPlan.confirmDeleteRunPlan'), this.$t('tip.hint'), {

View File

@ -27,12 +27,12 @@ import { UrlConfig } from '@/scripts/ConstDic';
export default { export default {
name: 'PlanStatusBar', name: 'PlanStatusBar',
props: { props: {
loadRunPlanId: { // loadRunPlanId: {
type: String, // type: String,
default() { // default() {
return ''; // return '';
} // }
} // }
}, },
data() { data() {
return { return {
@ -49,7 +49,7 @@ export default {
}, },
// //
handleAddPlanningTrain() { handleAddPlanningTrain() {
const planId = this.$route.query.planId || this.loadRunPlanId; const planId = this.$route.query.planId;
if (planId) { if (planId) {
this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} }); this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} });
} else { } else {
@ -57,7 +57,7 @@ export default {
} }
}, },
handleGernarateRouting() { handleGernarateRouting() {
const planId = this.$route.query.planId || this.loadRunPlanId; const planId = this.$route.query.planId;
if (planId) { if (planId) {
this.$emit('dispatchDialog', { name: 'generateRouting', params: {} }); this.$emit('dispatchDialog', { name: 'generateRouting', params: {} });
} else { } else {

View File

@ -161,7 +161,8 @@ export default {
}; };
deletePlanService(model).then(resp => { deletePlanService(model).then(resp => {
this.$message.success(this.$t('tip.deletePlanSuccessfully')); this.$message.success(this.$t('tip.deletePlanSuccessfully'));
this.$store.dispatch('runPlan/setSelected', {}); // this.$store.dispatch('runPlan/setSelected', {});
this.$store.dispatch('runPlan/setDraftSelected', {});
this.$store.dispatch('runPlan/refresh'); this.$store.dispatch('runPlan/refresh');
// this.$refs.openRunPlan.loadRunPlanData(Object.assign({refresh: true}, this.$route.query)); // this.$refs.openRunPlan.loadRunPlanData(Object.assign({refresh: true}, this.$route.query));
}).catch(() => { }).catch(() => {
@ -211,6 +212,7 @@ export default {
}, },
refreshRunPlanName(name) { refreshRunPlanName(name) {
this.$refs.schedule.refreshRunPlanName(name); this.$refs.schedule.refreshRunPlanName(name);
this.refreshRunPlanList(this.loadRunPlanId);
this.$router.replace({ path: this.$route.path, query: { ...this.$route.query, planName: name }}); this.$router.replace({ path: this.$route.path, query: { ...this.$route.query, planName: name }});
} }
} }

View File

@ -73,7 +73,7 @@ export default {
}, },
// //
handleDeletePlanningTrain() { handleDeletePlanningTrain() {
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber; const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
if (serviceNumber) { if (serviceNumber) {
this.$emit('dispatchDialog', { this.$emit('dispatchDialog', {
name: 'offLine', params: { name: 'offLine', params: {
@ -90,7 +90,7 @@ export default {
} }
}, },
handleMovePlanningTrain() { handleMovePlanningTrain() {
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber; const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
if (serviceNumber) { if (serviceNumber) {
this.$emit('dispatchDialog', { name: 'movePlaningTrain', params: { serviceNumber } }); this.$emit('dispatchDialog', { name: 'movePlaningTrain', params: { serviceNumber } });
} else { } else {
@ -99,7 +99,7 @@ export default {
}, },
// //
handleDuplicateTrain() { handleDuplicateTrain() {
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber; const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
if (serviceNumber) { if (serviceNumber) {
this.$emit('dispatchDialog', { name: 'duplicateTrain', params: { serviceNumber } }); this.$emit('dispatchDialog', { name: 'duplicateTrain', params: { serviceNumber } });
} else { } else {
@ -108,7 +108,7 @@ export default {
}, },
// //
handleAddTask() { handleAddTask() {
const params = this.$store.state.runPlan.selected; const params = this.$store.state.runPlan.draftSelected;
if (params.serviceNumber && params.tripNumber) { if (params.serviceNumber && params.tripNumber) {
this.$emit('dispatchDialog', { name: 'addTask', params }); this.$emit('dispatchDialog', { name: 'addTask', params });
} else { } else {
@ -117,7 +117,7 @@ export default {
}, },
// //
handleDeleteTask() { handleDeleteTask() {
const params = this.$store.state.runPlan.selected; const params = this.$store.state.runPlan.draftSelected;
if (params.serviceNumber && params.tripNumber) { if (params.serviceNumber && params.tripNumber) {
this.$emit('dispatchDialog', { name: 'deleteTask', params }); this.$emit('dispatchDialog', { name: 'deleteTask', params });
} else { } else {
@ -126,7 +126,7 @@ export default {
}, },
// //
handleModifyingTask() { handleModifyingTask() {
const params = this.$store.state.runPlan.selected; const params = this.$store.state.runPlan.draftSelected;
if (params.serviceNumber && params.tripNumber) { if (params.serviceNumber && params.tripNumber) {
this.$emit('dispatchDialog', { name: 'modifyingTask', params }); this.$emit('dispatchDialog', { name: 'modifyingTask', params });
} else { } else {

View File

@ -1,15 +1,19 @@
<template> <template>
<div> <div>
<QueryListPage ref="queryListPage" :pager-config="pagerConfig" :query-form="queryForm" :query-list="queryList" /> <QueryListPage ref="queryListPage" :query-form="queryForm" :query-list="queryList" />
<view-member ref="viewMember" />
</div> </div>
</template> </template>
<script> <script>
import ConstConfig from '@/scripts/ConstConfig'; import ConstConfig from '@/scripts/ConstConfig';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import { getExistingSimulation, deleteExistingSimulation } from '@/api/simulation'; import ViewMember from './viewMember';
// import { getExistingSimulation, deleteExistingSimulation } from '@/api/simulation';
import { getExistSimulationList, destroySimulation } from '@/api/rtSimulation';
export default { export default {
name: 'SimulationManage', name: 'SimulationManage',
components: { components: {
ViewMember
}, },
data() { data() {
return { return {
@ -44,65 +48,52 @@ export default {
}, },
simulationTypeList: [{label: '仿真', value: 'SIMULATION'}, {label: '课程', value: 'LESSON'}, {label: '考试', value: 'EXAM'}, {label: '剧本编制', value: 'SCRIPT_MAKING'}], simulationTypeList: [{label: '仿真', value: 'SIMULATION'}, {label: '课程', value: 'LESSON'}, {label: '考试', value: 'EXAM'}, {label: '剧本编制', value: 'SCRIPT_MAKING'}],
queryList: { queryList: {
query: getExistingSimulation, query: getExistSimulationList,
selectCheckShow: false, selectCheckShow: false,
paginationHiden: true,
indexShow: true, indexShow: true,
columns: [ columns: [
// {
// title: this.$t('system.userName'),
// prop: 'creator.name'
// },
{ {
title: this.$t('system.userName'), title: '仿真ID',
prop: 'creator.name' prop: 'id'
}, },
{
title: '仿真状态',
prop: 'state',
type: 'tag',
columnValue: (row) => {
if (row.state === 1) { return '仿真开始'; } else if (row.state === 0) { return '仿真暂停'; } else if (row.state === 4) { return '仿真错误'; } else { return '未知状态'; }
},
tagType: (row) => {
return 'success';
}
},
{
title: '仿真倍速',
prop: 'speed'
},
// {
// title: '',
// prop: 'type',
// type: 'tag',
// columnValue: (row) => { return this.$convertField(row.type, this.simulationTypeList, ['value', 'label']); },
// tagType: (row) => { return ''; }
//
// },
{ {
title: this.$t('system.mapName'), title: this.$t('system.mapName'),
prop: 'map.name' prop: 'map.name',
},
{
title: 'Group',
prop: 'group'
},
{
title: this.$t('system.isError'),
prop: 'error',
type: 'tag', type: 'tag',
columnValue: (row) => { return this.$ConstSelect.translate(row.error, 'Whether'); }, columnValue: (row) => {
return `${row.map.name}( ${row.map.id}- ${row.map.version})`;
},
tagType: (row) => { tagType: (row) => {
switch (row.error) { return 'success';
case true: return 'success';
case false: return 'danger';
} }
}
},
{
title: this.$t('system.isSuspend'),
prop: 'pause',
type: 'tag',
columnValue: (row) => { return this.$ConstSelect.translate(row.pause, 'Whether'); },
tagType: (row) => {
switch (row.pause) {
case true: return 'success';
case false: return 'danger';
}
}
},
{
title: this.$t('system.isDrivingAsplanned'),
prop: 'planRunning',
type: 'tag',
columnValue: (row) => { return this.$ConstSelect.translate(row.planRunning, 'Whether'); },
tagType: (row) => {
switch (row.runAsPlan) {
case true: return 'success';
case false: return 'danger';
}
}
},
{
title: '类型',
prop: 'type',
type: 'tag',
columnValue: (row) => { return this.$convertField(row.type, this.simulationTypeList, ['value', 'label']); },
tagType: (row) => { return ''; }
}, },
{ {
title: this.$t('system.prdType'), title: this.$t('system.prdType'),
@ -112,16 +103,21 @@ export default {
tagType: (row) => { return ''; } tagType: (row) => { return ''; }
}, },
{ // {
title: this.$t('system.simulationGroupId'), // title: this.$t('system.simulationGroupId'),
prop: 'onlineUserIdList', // prop: 'userList',
type: 'basicText', // type: 'basicText',
columnValue: (row) => { return this.listJoiningTogether(row.onlineUserIdList); } // columnValue: (row) => { return this.listJoiningTogether(row.userList); }
}, // },
{ {
type: 'button', type: 'button',
title: this.$t('global.operate'), title: this.$t('global.operate'),
buttons: [ buttons: [
{
name: '仿真用户信息',
handleClick: this.viewMember,
type: ''
},
{ {
name: this.$t('system.destory'), name: this.$t('system.destory'),
handleClick: this.handleDelete, handleClick: this.handleDelete,
@ -146,15 +142,18 @@ export default {
this.queryForm.queryObject.prdType.config.data = this.prdTypeList; this.queryForm.queryObject.prdType.config.data = this.prdTypeList;
}, },
methods: { methods: {
listJoiningTogether(sessionList) { // listJoiningTogether(sessionList) {
let sessionId = ''; // let sessionId = '';
if (sessionList && sessionList.length > 0) { // if (sessionList && sessionList.length > 0) {
sessionList.forEach((item) => { // sessionList.forEach((item) => {
sessionId = sessionId + item + ','; // sessionId = sessionId + item.name + '(' + item.id + ')' + ',';
}); // });
sessionId = sessionId.substring(0, sessionId.length - 1); // sessionId = sessionId.substring(0, sessionId.length - 1);
} // }
return sessionId; // return sessionId;
// },
viewMember(index, row) {
this.$refs.viewMember.doShow(row.id);
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm(this.$t('system.wellDelUserSimulation'), this.$t('global.tips'), { this.$confirm(this.$t('system.wellDelUserSimulation'), this.$t('global.tips'), {
@ -162,7 +161,7 @@ export default {
cancelButtonText: this.$t('global.cancel'), cancelButtonText: this.$t('global.cancel'),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
deleteExistingSimulation(row.group).then(response => { destroySimulation(row.id).then(response => {
this.$message.success(this.$t('system.deleteSuccess')); this.$message.success(this.$t('system.deleteSuccess'));
this.reloadTable(); this.reloadTable();
}).catch(() => { }).catch(() => {

View File

@ -0,0 +1,61 @@
<template>
<el-dialog v-dialogDrag title="仿真用户列表" :visible.sync="dialogVisible" width="80%" :before-close="handleClose" center :close-on-click-modal="false">
<el-table
:data="tableData"
border
style="width: 100%"
>
<el-table-column prop="id" label="用户Id" width="100" />
<el-table-column prop="name" label="用户名" width="100" />
<el-table-column prop="creator" label="仿真创建者" width="100">
<template slot-scope="scope">
<span>{{ scope.row.creator? '是':'否' }}</span>
</template>
</el-table-column>
<el-table-column prop="wsSubscribeMap" label="订阅路径">
<template slot-scope="scope">
<template v-for="(item, key) in scope.row.wsSubscribeMap">
<div :key="key">{{ key + ':' }}
<template v-for="(elem, i) in item">
<el-tag :key="key+i">{{ elem }}</el-tag>
</template>
</div>
</template>
</template>
</el-table-column>
</el-table>
</el-dialog>
</template>
<script>
import { getSimulationUserInfo } from '@/api/rtSimulation';
export default {
name: 'DictionaryEdit',
data() {
return {
dialogVisible: false,
tableData: [],
title:'',
isAdd:false
};
},
computed: {
},
methods: {
doShow(id) {
getSimulationUserInfo(id).then(resp => {
this.dialogVisible = true;
this.tableData = resp.data;
}).catch(error => {
this.$message.error('获取仿真用户列表失表:' + error.message);
});
},
handleClose() {
this.dialogVisible = false;
}
}
};
</script>