diff --git a/src/jmapNew/config/skinCode/nanjing_02.js b/src/jmapNew/config/skinCode/nanjing_02.js index 74017588d..e4954d5a1 100644 --- a/src/jmapNew/config/skinCode/nanjing_02.js +++ b/src/jmapNew/config/skinCode/nanjing_02.js @@ -170,8 +170,7 @@ class SkinCode extends defaultStyle { }, lamp: { bgShow: true, // 是否被选中 - logicDisplayNone: true, // 逻辑点灯斜线不显示 - guidName: 'doubleAndBase', // 默认引导类型 + guidName: 'double', // 默认引导类型 stopWidth: 2, // 禁止线宽度 borderWidth: 0, // 信号灯边框线宽度 borderColor: '#FF0000', // 信号灯边框线颜色 (虚拟信号机) diff --git a/src/jmapNew/shape/Signal/index.js b/src/jmapNew/shape/Signal/index.js index c32bda234..67051a2a8 100644 --- a/src/jmapNew/shape/Signal/index.js +++ b/src/jmapNew/shape/Signal/index.js @@ -516,7 +516,7 @@ class Signal extends Group { // 逻辑点灯 logicalLight() { - if (this.style.Signal.lamp.guideName == 'half') { + if (this.style.Signal.lamp.guidName == 'half') { // 宁波三号线逻辑电灯灯柱颜色 this.sigPost.setColor(this.style.Signal.post.standardColor); this.lamps.forEach(lamp => { lamp.setBorderColor(this.style.Signal.lamp.borderColor); }); @@ -527,7 +527,7 @@ class Signal extends Group { // 物理点灯 physicsLight() { - if (this.style.Signal.lamp.guideName == 'half') { + if (this.style.Signal.lamp.guidName == 'half') { // 宁波三号线逻辑电灯灯柱颜色 this.sigPost.setColor(this.style.Signal.post.physicColor); this.lamps.forEach(lamp => { lamp.setBorderColor(this.style.Signal.lamp.physicColor); }); diff --git a/src/jmapNew/theme/factory.js b/src/jmapNew/theme/factory.js index b45c410e7..9b21255df 100644 --- a/src/jmapNew/theme/factory.js +++ b/src/jmapNew/theme/factory.js @@ -16,7 +16,7 @@ class Theme { '11': 'xian_01', '12': 'ningbo_03', '13': 'race_01', - '14': 'haerbin_01' // 南京二号线菜单暂用 哈尔滨的 + '14': 'nanjing_02' // 南京二号线 }; this._localShowMode = { // 现地显示模式 '01': 'all', // 成都一 全显 diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControl.vue new file mode 100644 index 000000000..8555ce074 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControl.vue @@ -0,0 +1,370 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControlSpeed.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControlSpeed.vue new file mode 100644 index 000000000..67a0a32c5 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmControlSpeed.vue @@ -0,0 +1,144 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmSignalUnlock.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmSignalUnlock.vue new file mode 100644 index 000000000..bf590181f --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmSignalUnlock.vue @@ -0,0 +1,126 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue new file mode 100644 index 000000000..cca00f197 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue @@ -0,0 +1,180 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/routeCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/routeCmdControl.vue new file mode 100644 index 000000000..064111fc2 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/routeCmdControl.vue @@ -0,0 +1,450 @@ + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/routeDetail.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/routeDetail.vue new file mode 100644 index 000000000..f7deab0fc --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/routeDetail.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/routeHandControl.vue new file mode 100644 index 000000000..31eb2a78d --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/routeHandControl.vue @@ -0,0 +1,309 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/routeLock.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/routeLock.vue new file mode 100644 index 000000000..79b34fe17 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/routeLock.vue @@ -0,0 +1,168 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/routeSelection.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/routeSelection.vue new file mode 100644 index 000000000..5cf48803f --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/routeSelection.vue @@ -0,0 +1,219 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/sectionCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/sectionCmdControl.vue new file mode 100644 index 000000000..dd0db453f --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/sectionCmdControl.vue @@ -0,0 +1,419 @@ + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/speedCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/speedCmdControl.vue new file mode 100644 index 000000000..7c360feaf --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/speedCmdControl.vue @@ -0,0 +1,553 @@ + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standBackStrategy.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standBackStrategy.vue new file mode 100644 index 000000000..56a9ec6ab --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standBackStrategy.vue @@ -0,0 +1,253 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standControl.vue new file mode 100644 index 000000000..8b745631e --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standControl.vue @@ -0,0 +1,271 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standDetail.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetail.vue new file mode 100644 index 000000000..efc518b1f --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetail.vue @@ -0,0 +1,180 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue new file mode 100644 index 000000000..98e8ecd9b --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue @@ -0,0 +1,192 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue new file mode 100644 index 000000000..d1ce49db9 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue @@ -0,0 +1,276 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue new file mode 100644 index 000000000..53d0b1b03 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue @@ -0,0 +1,265 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue new file mode 100644 index 000000000..e3164076b --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue @@ -0,0 +1,406 @@ + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue new file mode 100644 index 000000000..ca3ebd9c4 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue @@ -0,0 +1,123 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue new file mode 100644 index 000000000..23ecc9608 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue @@ -0,0 +1,145 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/switchCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/switchCmdControl.vue new file mode 100644 index 000000000..8fd361da4 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/switchCmdControl.vue @@ -0,0 +1,482 @@ + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainControl.vue new file mode 100644 index 000000000..11ee4744d --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainControl.vue @@ -0,0 +1,400 @@ + + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue new file mode 100644 index 000000000..8b8ecfc12 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue @@ -0,0 +1,155 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue new file mode 100644 index 000000000..c4eeda2d1 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue @@ -0,0 +1,167 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue new file mode 100644 index 000000000..8307b4383 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue @@ -0,0 +1,138 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue new file mode 100644 index 000000000..39afcc99b --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue @@ -0,0 +1,201 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue new file mode 100644 index 000000000..65700d69c --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue @@ -0,0 +1,206 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/index.vue b/src/jmapNew/theme/nanjing_02/menus/index.vue new file mode 100644 index 000000000..4b41d47f1 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/index.vue @@ -0,0 +1,369 @@ + + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuBar.vue b/src/jmapNew/theme/nanjing_02/menus/menuBar.vue new file mode 100644 index 000000000..774ee154c --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuBar.vue @@ -0,0 +1,676 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuButton.vue b/src/jmapNew/theme/nanjing_02/menus/menuButton.vue new file mode 100644 index 000000000..169abaeb1 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuButton.vue @@ -0,0 +1,1104 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableHmi.vue b/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableHmi.vue new file mode 100644 index 000000000..89cf1c601 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableHmi.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableLow.vue b/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableLow.vue new file mode 100644 index 000000000..38d2d6429 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuDialog/alarmTableLow.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuDialog/commandEnum.js b/src/jmapNew/theme/nanjing_02/menus/menuDialog/commandEnum.js new file mode 100644 index 000000000..bdadab5db --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuDialog/commandEnum.js @@ -0,0 +1,61 @@ +export default { + Signal_Set_Route:{name:'ATP进路', code:'routeCode' }, + Signal_Cancel_Route:{name:'取消ATP', code:'signalCode' }, + // Signal_Set_Route:{name:'联锁进路',}, + // Signal_Cancel_Route:{name:'取消联锁',}, + Signal_Set_Guide:{name:'引导进路', code:'routeCode' }, + Signal_Cancel_Guide:{name:'取消引导', code:'signalCode' }, + + // 道岔操作 + Switch_Block:{name:'封锁道岔', code:'switchCode' }, + Switch_Unblock:{name:'解封道岔', code:'switchCode' }, + Switch_Single_Unlock:{name:'取消锁定', code:'switchCode' }, + Switch_Single_Lock:{name:'单锁道岔', code:'switchCode' }, + Switch_Normal_Position:{name:'转换定位', code:'switchCode' }, + Switch_Reverse_Position:{name:'转换反位', code:'switchCode' }, + Switch_Section_Block:{name:'封锁区段', code:'switchCode' }, + Switch_Section_Unblock:{name:'解封区段', code:'switchCode' }, + Switch_Cancel_Limit_Speed:{name:'轨区消限', code:'switchCode' }, + Switch_Set_Limit_Speed:{name:'轨区设限', code:'switchCode', params:[{code:'speedLimitValue', name:'限速值为:'}]}, + Switch_Fault_Unlock:{name:'强解区段', code:'switchCode' }, + + // 信号机操作 + Signal_Set_CI_Auto_Trigger:{name:'追踪单开', code:'signalCode' }, + Signal_Cancel_CI_Auto_Trigger:{name:'追踪单关', code:'signalCode' }, + Signal_Open_Auto_Setting:{name:'自排单开', code:'signalCode' }, + Signal_Close_Auto_Setting:{name:'自排单关', code:'signalCode' }, + Signal_Block:{name:'封锁信号', code:'signalCode' }, + Signal_Reopen_Signal:{name:'重复开放', code:'signalCode' }, + Signal_Unblock:{name:'解封信号', code:'signalCode' }, + Signal_Close_Signal:{name:'关单信号', code:'signalCode' }, + + // 站台操作 + Stand_Set_Hold_Train:{name:'扣车', code:'standCode' }, + Stand_Cancel_Hold_Train:{name:'取消扣车', code:'standCode' }, + Stand_Set_Jump_Stop:{name:'越站', code:'standCode' }, + Stand_Cancel_Jump_Stop:{name:'取消越站', code:'standCode' }, + + // 方向杆 + Direction_Change:{name:'切换右向', code:'code' }, + // Direction_Change:{name:'切换右向', code:'signalCode' } + + // 区段操作 + Section_Block:{name:'封锁区段', code:'sectionCode' }, + Section_Unblock:{name:'解封区段', code:'sectionCode' }, + Section_Cancel_Limit_Speed:{name:'轨区消限', code:'sectionCode' }, + Section_Set_Limit_Speed:{name:'轨区设限', code:'sectionCode', params:[{code:'speedLimitValue', name:'限速值为:'}] }, + Section_Fault_Unlock:{name:'强解区段', code:'sectionCode' }, + + // 车站操作 + Station_Set_CI_Auto_Trigger:{name:'追踪全开', code:'stationCode' }, + Station_Cancel_CI_Auto_Trigger:{name:'追踪全关', code:'stationCode' }, + Station_CIArea_Close_AllSignal :{name:'关区信号', code:'stationCode' }, + Station_Open_Auto_Setting:{name:'自排全开', code:'stationCode' }, + Station_Close_Auto_Setting :{name:'自排全关', code:'stationCode' }, + Station_Close_AllSignal:{name:'关站信号', code:'stationCode' }, + + // 联锁区操作 + CM_Receive_Control:{name:'接收控制', code:'stationCode' }, + CM_Surrender_Control :{name:'交出控制', code:'stationCode' } + +}; diff --git a/src/jmapNew/theme/nanjing_02/menus/menuDialog/logDetail.vue b/src/jmapNew/theme/nanjing_02/menus/menuDialog/logDetail.vue new file mode 100644 index 000000000..b3cf77c06 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuDialog/logDetail.vue @@ -0,0 +1,190 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuSection.vue b/src/jmapNew/theme/nanjing_02/menus/menuSection.vue new file mode 100644 index 000000000..fd074f917 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuSection.vue @@ -0,0 +1,168 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuSignal.vue b/src/jmapNew/theme/nanjing_02/menus/menuSignal.vue new file mode 100644 index 000000000..48ce21e34 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuSignal.vue @@ -0,0 +1,130 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuStation.vue b/src/jmapNew/theme/nanjing_02/menus/menuStation.vue new file mode 100644 index 000000000..3aa307a9a --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuStation.vue @@ -0,0 +1,162 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuStationStand.vue b/src/jmapNew/theme/nanjing_02/menus/menuStationStand.vue new file mode 100644 index 000000000..46cb0fda3 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuStationStand.vue @@ -0,0 +1,130 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuSwitch.vue b/src/jmapNew/theme/nanjing_02/menus/menuSwitch.vue new file mode 100644 index 000000000..b95b7f0e0 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuSwitch.vue @@ -0,0 +1,144 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/menuTrain.vue b/src/jmapNew/theme/nanjing_02/menus/menuTrain.vue new file mode 100644 index 000000000..4ae4a8b0d --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/menuTrain.vue @@ -0,0 +1,357 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue new file mode 100644 index 000000000..03317eb1e --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue @@ -0,0 +1,218 @@ + + + + diff --git a/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue new file mode 100644 index 000000000..7b52fc5c5 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue @@ -0,0 +1,111 @@ + + + diff --git a/src/jmapNew/theme/nanjing_02/model.js b/src/jmapNew/theme/nanjing_02/model.js new file mode 100644 index 000000000..53a250e7f --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/model.js @@ -0,0 +1,72 @@ +import deviceType from '../../constant/deviceType'; + +class Model { + constructor() { + this.screenLine = 3; + this.screenDifference = 50; + // 公共字段部分默认初始值 + this['public'] = {}; + this['public'][deviceType.Signal] = { + lampPositionType: '02', + lampPostType: '02' + }; + + // 私有字段部分默认初始值 + this['private'] = {}; + this['private'][deviceType.StationControl] = { + indicatorShow: true // 标识灯名称显示 + }; + this['private'][deviceType.Station] = { + kmPostShow: true // 公里标显示 + }; + this['private'][deviceType.Switch] = { + nameShow: true + }; + this['private'][deviceType.Section] = { + nameShow: true, + borderBorderShow: true, // 区段边界显示 + destinationNameShow: true, // 目的地码名称显示 + standTrackNameShow: true, // 站台轨名称显示 + reentryTrackNameShow: true, // 折返轨名称显示 + transferTrackNameShow: true // 转换轨名称显示 + }; + this['private'][deviceType.Signal] = { + nameShow: true, // 信号机名称显示 + linkageAutoRouteShow: true, // 联锁自动进路表示灯显示 + atsAutoTriggerShow: true // ATS自动触发表示灯显示 + }; + this['private'][deviceType.Train] = { + }; + this['private'][deviceType.TrainWindow] = { + trainWindowShow: true + }; + } + + initPublicProps(model) { + if (model) { + var modelInitial = this.public[model._type]; + if (modelInitial) { + for (var prop in modelInitial) { + model[prop] = modelInitial[prop]; + } + } + } + + return model; + } + + initPrivateProps(model) { + if (model) { + var modelInitial = this.private[model._type]; + if (modelInitial) { + for (var prop in modelInitial) { + model[prop] = modelInitial[prop]; + } + } + } + + return model; + } +} + +export default new Model(); diff --git a/src/jmapNew/theme/nanjing_02/operationConfig.js b/src/jmapNew/theme/nanjing_02/operationConfig.js new file mode 100644 index 000000000..a36d64097 --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/operationConfig.js @@ -0,0 +1,1082 @@ +// 操作规则定义 +// {id: "1", trainingType: "01", name: "车站名称"} +// {id: "2", trainingType: "01", name: "车站控制模式编号"} +// {id: "3", trainingType: "02", name: "进路名称"} +// {id: "4", trainingType: "02", name: "进路编号"} +// {id: "5", trainingType: "02", name: "信号机名称"} +// {id: "6", trainingType: "02", name: "信号机编号"} + +// {id: "7", trainingType: "03", name: "道岔名称"} +// {id: "17", trainingType: "03", name: "道岔编码"} +// {id: "15", trainingType: "03", name: "道岔位置"} +// {id: "16", trainingType: "03", name: "道岔位置(反)"} +// {id: "21", trainingType: "03", name: "车站名称"} +// {id: "23", trainingType: "03", name: "车站编号"} +// {id: "24", trainingType: "03", name: "道岔计轴区段编号"} +// {id: "25", trainingType: "03", name: "道岔计轴区段名称"} + +// {id: "8", trainingType: "04", name: "物理区段名称"} +// {id: "9", trainingType: "04", name: "逻辑区段名称"} +// {id: "18", trainingType: "04", name: "逻辑区段编码"} +// {id: "19", trainingType: "04", name: "区段编号"} +// {id: "20", trainingType: "04", name: "车站名称"} +// {id: "22", trainingType: "04", name: "车站编号"} + +// {id: "10", trainingType: "05", name: "车站名称"} +// {id: "11", trainingType: "05", name: "站台行驶方向编号"} +// {id: "12", trainingType: "05", name: "站台行驶方向"} +// {id: "13", trainingType: "05", name: "站台行驶方向编号(反)"} +// {id: "14", trainingType: "05", name: "站台行驶方向(反)"} +export default { + list: [ + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Block', + skinCode: '07', + trainingName: '区段封锁({8}{9})', + trainingRemark: '区段封锁功能', + trainingType: 'Section', + productTypes: ['02'], // 产品类型 01 现地 02 行调 + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4031', tip: '鼠标左键点击【封锁区段】' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Block', + skinCode: '07', + trainingName: '区段封锁({8}{9})', + trainingRemark: '区段封锁功能', + trainingType: 'Section', + productTypes: ['01'], // 产品类型 01 现地 02 行调 + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4031', tip: '鼠标左键点击【封锁区段】' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Section_Unblock', + // skinCode: '07', + // trainingName: '区段解封({8}{9})', + // trainingRemark: '区段解封功能', + // trainingType: 'Section', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标右键菜单选择【区段解封】' }, + // { deviceType: '03', orderNum: 2, operateCode: '4047', tip: '鼠标左键点击【下达】按钮' }, + // { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【确认1】按钮' }, + // { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【确认2】按钮' }, + // { deviceType: '03', orderNum: 5, operateCode: '0081', tip: '鼠标左键点击【关闭】按钮' } + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Unblock', + skinCode: '07', + trainingName: '区段解封({8}{9})', + trainingRemark: '区段解封功能', + trainingType: 'Section', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4047', tip: '鼠标左键点击【解封区段】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Section_Set_Limit_Speed', + // skinCode: '07', + // trainingName: '区段设置限速({8}{9})', + // trainingRemark: '区段设置限速功能(限速值:5)', + // trainingType: 'Section', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '03', orderNum: 1, operateCode: '407', tip: '鼠标右键菜单选择【区段设置限速】' }, + // { deviceType: '03', orderNum: 2, operateCode: '4076', tip: '鼠标左键选择【限速值5】', val: '5' }, + // { deviceType: '03', orderNum: 3, operateCode: '4071', tip: '鼠标左键点击【下达】按钮' }, + // { deviceType: '03', orderNum: 4, operateCode: '4072', tip: '鼠标左键点击【确认】按钮' }, + // { deviceType: '03', orderNum: 5, operateCode: '4073', tip: '鼠标左键点击【确认1】按钮' }, + // { deviceType: '03', orderNum: 6, operateCode: '4074', tip: '鼠标左键点击【确认2】按钮', val: '5' }, + // { deviceType: '03', orderNum: 7, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' } + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Set_Limit_Speed', + skinCode: '07', + trainingName: '轨区设限({8}{9})', + trainingRemark: '区段设置限速功能(限速值:5)', + trainingType: 'Section', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4077', tip: '鼠标左键点击【轨区设限】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Section_Cancel_Limit_Speed', + // skinCode: '07', + // trainingName: '区段取消限速({8}{9})', + // trainingRemark: '区段取消限速功能', + // trainingType: 'Section', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '03', orderNum: 1, operateCode: '408', tip: '鼠标右键菜单选择【区段取消限速】' }, + // { deviceType: '03', orderNum: 2, operateCode: '4081', tip: '鼠标左键点击【下达】按钮' }, + // { deviceType: '03', orderNum: 3, operateCode: '4082', tip: '鼠标左键点击【确认】按钮' }, + // { deviceType: '03', orderNum: 4, operateCode: '4083', tip: '鼠标左键点击【确认1】按钮' }, + // { deviceType: '03', orderNum: 5, operateCode: '4084', tip: '鼠标左键点击【确认2】按钮' }, + // { deviceType: '03', orderNum: 6, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' } + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Cancel_Limit_Speed', + skinCode: '07', + trainingName: '轨区消限({8}{9})', + trainingRemark: '区段取消限速功能', + trainingType: 'Section', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4086', tip: '鼠标左键点击【轨区消限】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Section_Fault_Unlock', + skinCode: '02', + trainingName: '强解区段({8}{9})', + trainingRemark: '强解区段功能', + trainingType: 'Section', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' }, + { deviceType: '03', orderNum: 2, operateCode: '4029', tip: '鼠标左键点击【强解区段】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Normal_Position', // 0312 新增定位字典 + skinCode: '07', + trainingName: '转换定位({7})', + trainingRemark: '转换定位({7})', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1011', tip: '鼠标左键点击【转换定位】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Normal_Position', + skinCode: '07', + trainingName: '转换定位({7})', + trainingRemark: '转换定位({7})', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1011', tip: '鼠标左键点击【转换定位】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Reverse_Position', // 0313 新增定位字典 + skinCode: '07', + trainingName: '转换反位({7})', + trainingRemark: '转换反位({7})', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1021', tip: '鼠标左键点击【转换反位】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Reverse_Position', // 0313 新增定位字典 + skinCode: '07', + trainingName: '转换反位({7})', + trainingRemark: '转换反位({7})', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1021', tip: '鼠标左键点击【转换反位】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Single_Lock', + skinCode: '07', + trainingName: '道岔单锁({7})', + trainingRemark: '道岔单锁功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1031', tip: '鼠标左键点击【单锁道岔】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Single_Lock', + skinCode: '07', + trainingName: '道岔单锁({7})', + trainingRemark: '道岔单锁功能', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1031', tip: '鼠标左键点击【单锁道岔】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Switch_Single_Unlock', + // skinCode: '07', + // trainingName: '道岔单解({7})', + // trainingRemark: '道岔单解功能', + // trainingType: 'Switch', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '02', orderNum: 1, operateCode: '104', tip: '鼠标右键菜单选择【道岔单解】' }, + // { deviceType: '02', orderNum: 2, operateCode: '104', tip: '鼠标左键点击【确定】按钮' } + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Single_Unlock', + skinCode: '07', + trainingName: '道岔单解({7})', + trainingRemark: '道岔单解功能', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1047', tip: '鼠标左键点击【取消锁定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '02', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '02', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Block', + skinCode: '07', + trainingName: '道岔封锁({7})', + trainingRemark: '道岔封锁功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1052', tip: '鼠标左键点击【封锁道岔】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Block', + skinCode: '07', + trainingName: '道岔封锁({7})', + trainingRemark: '道岔封锁功能', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1052', tip: '鼠标左键点击【封锁道岔】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Switch_Unblock', + // skinCode: '07', + // trainingName: '道岔解封({7})', + // trainingRemark: '道岔解封功能', + // trainingType: 'Switch', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '02', orderNum: 1, operateCode: '106', tip: '鼠标右键菜单选择【道岔解封】' }, + // { deviceType: '02', orderNum: 2, operateCode: '106', tip: '鼠标左键点击【确认】按钮' } + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Unblock', + skinCode: '07', + trainingName: '道岔解封({7})', + trainingRemark: '道岔解封功能', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '02', orderNum: 2, operateCode: '1067', tip: '鼠标左键点击【解封道岔】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '02', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '02', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Section_Block', + skinCode: '07', + trainingName: '道岔区段封锁({7})', + trainingRemark: '区段封锁功能', + trainingType: 'Switch', + productTypes: ['01'], // 产品类型 01 现地 02 行调 + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '03', orderNum: 2, operateCode: '4031', tip: '鼠标左键点击【封锁区段】' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Section_Unblock', + skinCode: '07', + trainingName: '道岔区段解封({7})', + trainingRemark: '区段解封功能', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '03', orderNum: 2, operateCode: '4047', tip: '鼠标左键点击【解封区段】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Fault_Unlock', + skinCode: '02', + trainingName: '强解区段({7})', + trainingRemark: '强解区段', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '03', orderNum: 2, operateCode: '4029', tip: '鼠标左键点击【强解区段】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Set_Limit_Speed', + skinCode: '02', + trainingName: '道岔轨区设限({7})', + trainingRemark: '轨区设限功能', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '03', orderNum: 2, operateCode: '1137', tip: '鼠标左键点击【轨区设限】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Switch_Cancel_Limit_Speed', + skinCode: '02', + trainingName: '道岔轨区消限({7})', + trainingRemark: '轨区消限功能', + trainingType: 'Switch', + productTypes: ['01', '02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该道岔' }, + { deviceType: '03', orderNum: 2, operateCode: '1146', tip: '鼠标左键点击【轨区消限】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '03', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '03', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Route', + skinCode: '07', + trainingName: 'ATP进路({3})', + trainingRemark: '选择ATP进路', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3013', tip: '鼠标左键点击【ATP进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'ATP'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Route', + skinCode: '07', + trainingName: 'ATP进路({3})', + trainingRemark: '选择ATP进路', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3013', tip: '鼠标左键点击【ATP进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'ATP'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Route', + skinCode: '07', + trainingName: '取消ATP({3})', + trainingRemark: '取消ATP', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3032', tip: '鼠标左键点击【取消ATP】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'ATP'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Route', + skinCode: '07', + trainingName: '取消ATP({3})', + trainingRemark: '取消ATP', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL'}, + { deviceType: '04', orderNum: 3, operateCode: '3032', tip: '鼠标左键点击【取消ATP】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'ATP'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Block', + skinCode: '07', + trainingName: '封锁信号({5})', + trainingRemark: '封锁信号', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3062', tip: '鼠标左键点击【封锁信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Block', + skinCode: '07', + trainingName: '封锁信号({5})', + trainingRemark: '封锁信号', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3062', tip: '鼠标左键点击【封锁信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Unblock', + skinCode: '07', + trainingName: '解封信号({5})', + trainingRemark: '解封信号', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3077', tip: '鼠标左键点击【解封信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Unblock', + skinCode: '07', + trainingName: '解封信号({5})', + trainingRemark: '解封信号', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3077', tip: '鼠标左键点击【解封信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Open_Auto_Setting', + skinCode: '07', + trainingName: '自排单开({5})', + trainingRemark: '自排单开', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3153', tip: '鼠标左键点击【自排单开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Open_Auto_Setting', + skinCode: '07', + trainingName: '自排单开({5})', + trainingRemark: '自排单开', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3153', tip: '鼠标左键点击【自排单开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Close_Auto_Setting', + skinCode: '07', + trainingName: '自排单关({5})', + trainingRemark: '自排单关', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3143', tip: '鼠标左键点击【自排单关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Close_Auto_Setting', + skinCode: '07', + trainingName: '自排单关({5})', + trainingRemark: '自排单关', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3143', tip: '鼠标左键点击【自排单关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Close_Signal', + skinCode: '07', + trainingName: '关单信号({3})', + trainingRemark: '关单信号', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3132', tip: '鼠标左键点击【关单信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Close_Signal', + skinCode: '07', + trainingName: '关单信号({3})', + trainingRemark: '关单信号', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3132', tip: '鼠标左键点击【关单信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Reopen_Signal', + skinCode: '07', + trainingName: '重复开放({3})', + trainingRemark: '重复开放', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3042', tip: '鼠标左键点击【重复开放】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Reopen_Signal', + skinCode: '07', + trainingName: '重复开放({3})', + trainingRemark: '重复开放', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3042', tip: '鼠标左键点击【重复开放】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Route', + skinCode: '07', + trainingName: '联锁进路({3})', + trainingRemark: '联锁进路', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3191', tip: '鼠标左键点击【联锁进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'GROUND'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Route', + skinCode: '07', + trainingName: '取消联锁({3})', + trainingRemark: '取消联锁', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3201', tip: '鼠标左键点击【取消联锁】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'GROUND'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Route', + skinCode: '07', + trainingName: '联锁进路({3})', + trainingRemark: '联锁进路', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3191', tip: '鼠标左键点击【联锁进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'GROUND'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Route', + skinCode: '07', + trainingName: '取消联锁({3})', + trainingRemark: '取消联锁', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3201', tip: '鼠标左键点击【取消联锁】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ], + config:{routeType:'GROUND'} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Guide', + skinCode: '07', + trainingName: '引导进路({3})', + trainingRemark: '引导进路办理', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL'}, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL'}, + { deviceType: '04', orderNum: 3, operateCode: '3087', tip: '鼠标左键点击【引导进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Guide', + skinCode: '07', + trainingName: '取消引导({3})', + trainingRemark: '取消引导', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3182', tip: '鼠标左键点击【取消引导】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_Guide', + skinCode: '07', + trainingName: '引导进路({3})', + trainingRemark: '引导进路办理', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL'}, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL'}, + { deviceType: '04', orderNum: 3, operateCode: '3087', tip: '鼠标左键点击【引导进路】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_Guide', + skinCode: '07', + trainingName: '取消引导({3})', + trainingRemark: '取消引导', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机', codeType:'END_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3182', tip: '鼠标左键点击【取消引导】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪单开({5})', + trainingRemark: '追踪单开', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3112', tip: '鼠标左键点击【追踪单开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Set_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪单开({5})', + trainingRemark: '追踪单开', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3112', tip: '鼠标左键点击【追踪单开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪单关({5})', + trainingRemark: '追踪单关', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3122', tip: '鼠标左键点击【追踪单关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Signal_Cancel_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪单关({5})', + trainingRemark: '追踪单关', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, + { deviceType: '04', orderNum: 2, operateCode: '3122', tip: '鼠标左键点击【追踪单关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Stand_Set_Hold_Train', + skinCode: '07', + trainingName: '扣车({10})', + trainingRemark: '扣车', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + // { deviceType: '04', orderNum: 1, tip: '鼠标左键点击选择该站台' }, + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', subType:'trainSetButton'}, + { deviceType: '04', orderNum: 2, operateCode: '5041', tip: '鼠标左键点击【扣车】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Stand_Cancel_Hold_Train', + skinCode: '07', + trainingName: '取消扣车({10})', + trainingRemark: '取消扣车', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', subType:'trainSetButton'}, + { deviceType: '04', orderNum: 2, operateCode: '5052', tip: '鼠标左键点击【取消扣车】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Stand_Set_Jump_Stop', + skinCode: '07', + trainingName: '越站({10})', + trainingRemark: '越站', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', subType:'trainSetButton'}, + { deviceType: '04', orderNum: 2, operateCode: '5025', tip: '鼠标左键点击【越站】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Stand_Cancel_Jump_Stop', + skinCode: '07', + trainingName: '取消越站({10})', + trainingRemark: '取消越站', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', subType:'trainSetButton'}, + { deviceType: '04', orderNum: 2, operateCode: '5035', tip: '鼠标左键点击【取消越站】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Close_AllSignal', + skinCode: '07', + trainingName: '关站信号({26})', + trainingRemark: '关站信号', + trainingType: 'Station', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6114', tip: '鼠标左键点击【关站信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Set_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪全开({26})', + trainingRemark: '追踪全开', + trainingType: 'Station', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6011', tip: '鼠标左键点击【追踪全开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Cancel_CI_Auto_Trigger', + skinCode: '07', + trainingName: '追踪全关({26})', + trainingRemark: '追踪全关', + trainingType: 'Station', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6021', tip: '鼠标左键点击【追踪全关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Open_Auto_Setting', + skinCode: '07', + trainingName: '自排全开({26})', + trainingRemark: '自排全开', + trainingType: 'Station', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6061', tip: '鼠标左键点击【自排全开】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Close_Auto_Setting', + skinCode: '07', + trainingName: '自排全关({26})', + trainingRemark: '自排全关', + trainingType: 'Station', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6051', tip: '鼠标左键点击【自排全关】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_CIArea_Close_AllSignal', + skinCode: '07', + trainingName: '关区信号({26})', + trainingRemark: '关区信号', + trainingType: 'Station', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '6124', tip: '鼠标左键点击【关区信号】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'CM_Receive_Control', + skinCode: '07', + trainingName: '接收控制({1})', + trainingRemark: '接收控制', + trainingType: 'ControlConvertMenu', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '2024', tip: '鼠标左键点击【接收控制】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'CM_Surrender_Control', + skinCode: '07', + trainingName: '交出控制({1})', + trainingRemark: '交出控制', + trainingType: 'ControlConvertMenu', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该车站' }, + { deviceType: '04', orderNum: 2, operateCode: '2044', tip: '鼠标左键点击【交出控制】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } + ] + } + ] +}; diff --git a/src/jmapNew/theme/nanjing_02/planConvert.js b/src/jmapNew/theme/nanjing_02/planConvert.js new file mode 100644 index 000000000..f352b834d --- /dev/null +++ b/src/jmapNew/theme/nanjing_02/planConvert.js @@ -0,0 +1,380 @@ +import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, prefixTime, convertSheetToList } from '@/utils/runPlan'; +import store from '@/store/index'; +export default { + /** 边缘高度*/ + EdgeHeight: 3, + + /** 间隔高度*/ + CoordMultiple: 3, + + /** 偏移时间*/ + TranslationTime: 60 * 60 * 2, + + /** excel解析配置*/ + ExcelConfig: { + beginRow: 1, + beginCol: 0, + // fieldNum: 10, + columns: { + '默认上行折返轨': { key: 'upTrack', formatter: (val) => { return val; } }, + '默认下行折返轨': { key: 'downTrack', formatter: (val) => { return val; } } + } + }, + + /** 解析exal数据转换为Json后台数据*/ + importData(Sheet, JsonData) { + const dataList = convertSheetToList(Sheet, true); + const needList = Object.keys(this.ExcelConfig.columns); + const tripObj = { upTrack: '', downTrack: '' }; + if (dataList && dataList.length && dataList[1] && dataList[0]) { + const tIndex = dataList.findIndex(it => { return it[0]; }); + if (dataList[0][0] == needList[0] && dataList[1][0] == needList[1]) { + for (var colIndex = this.ExcelConfig.beginCol; colIndex < dataList.length; colIndex += 1) { + var isContinue = true; + + for (var rowIndex = this.ExcelConfig.beginRow; isContinue; rowIndex += 1) { + isContinue = false; + + var title = dataList[colIndex][0]; + var value = dataList[colIndex][rowIndex]; + + if (title && value) { + // 数据列解析 + isContinue = true; + var titleStr = `${title}`.replace(/\s*/g, ''); + var valueStr = `${value}`.replace(/\s*/g, ''); + + // 取需要的字段 + if (needList.findIndex(elem => { return elem == titleStr; }) >= 0) { + tripObj[this.ExcelConfig.columns[titleStr].key] = this.ExcelConfig.columns[titleStr].formatter(valueStr); + } + } + + } + } + } else { + /** 解析二维数组为json对象*/ + const reg0 = /^[↑|↓|¡|ü|ý|]+(.*)/; // ↑|↓ + const reg1 = /^([▼|▲|¡ø|¨‹]+)\s*(\d+:\d+:\d+)/; // ▲ 06:10:00 + const reg2 = /^(\d+:\d+:\d+)\s*([▼|▲|¡ø|¨‹]+)/; // 06:10:00 ▲ + const reg3 = /^(\d+:\d+:\d+)\s*(\d+:\d+:\d+|)/; // 06:10:00 06:12:00 + const reg4 = /[▼|▲|¡|ø|¨|‹]+/; // ▲ + + dataList.forEach((elem, i) => { + var begin = -1; + /** 跳过名称所在的行*/ + if (i != tIndex && elem && elem.length > 0) { + elem.forEach((item, j) => { + /** 过滤空值*/ + if (item) { + var value = `${item}`.trim(); + var title = `${dataList[tIndex][j]}`.replace(/\s*/g, ''); + /** 匹配到开始位置或者结束位置*/ + if (reg0.test(value)) { + if (begin == -1) { + begin = value; // 设置初始索引 + JsonData.push({ + code: reg0.exec(value)[1], + arrivalList: [] + }); + } else if (begin === value) { + begin = -1; // 清空初始索引 + } + } else if (begin !== -1) { + /** 匹配到中间位置*/ + var begTime, endTime; + var runFlag = JsonData[JsonData.length - 1].code[2]; + var stationName = title.replace(/\s/, ''); + var need = false; + var flag = false; + if (reg1.test(value)) { + /** 含有特殊字符的时间格式*/ + [, begTime, endTime] = reg1.exec(value); + + begTime = reg4.test(begTime) ? '' : begTime; + endTime = reg4.test(endTime) ? '' : endTime; + + /** 下行方向时间互换*/ + if (runFlag === '2') { + [begTime, endTime] = [endTime, begTime]; + } + + /** 设置标志*/ + [need, flag] = [true, true]; + } else if (reg2.test(value)) { + /** 含有特殊字符的时间格式*/ + [, begTime, endTime] = reg2.exec(value); + + begTime = reg4.test(begTime) ? '' : begTime; + endTime = reg4.test(endTime) ? '' : endTime; + + /** 下行方向时间互换*/ + if (runFlag === '2') { + [begTime, endTime] = [endTime, begTime]; + } + + /** 设置标志*/ + [need, flag] = [true, true]; + } else if (reg3.test(value)) { + /** 正常时间格式*/ + [, begTime, endTime] = reg3.exec(value); + + /** 如果只存在一个数据时,则开始和结束设置一样*/ + endTime = endTime || begTime; + + /** 下行方向时间互换*/ + if (runFlag === '2') { + [begTime, endTime] = [endTime, begTime]; + } + + /** 设置标志*/ + [need, flag] = [true, false]; + } + + /** 添加json数据*/ + if (need) { // 储存非空 数据 + var stationObj = { + stationName: stationName + }; + + if (begTime) { stationObj['arriveTime'] = prefixTime(begTime); } + if (endTime) { stationObj['departureTime'] = prefixTime(endTime); } + if (flag) { stationObj['flag'] = flag; } // 是否转换轨 + JsonData[JsonData.length - 1].arrivalList.push(stationObj); + } + } + } + }); + } + }); + } + } + JsonData.forEach(item => { + item['upTrack'] = tripObj.upTrack; + item['downTrack'] = tripObj.downTrack; + }); + + return JsonData; + }, + + /** 将后台数据解析成图表*/ + convertDataToModels(data, stations, kmRangeCoordMap, lineStyle) { + var models = []; + + if (data && data.serviceNumberDataList && data.serviceNumberDataList.length) { + /** 按服务遍历数据*/ + data.serviceNumberDataList.forEach((service) => { + /** 按车次遍历数据*/ + var isBackup = true; + var opt = { name: '', markPointData: [], data: [] }; + if (service.tripNumberDataList && service.tripNumberDataList.length) { + service.tripNumberDataList.forEach((train, j) => { + var pointdata = {}; + var idx = 0; + var lastPoint = null; + var nextPoint = null; + + /** 创建标记点名称和坐标*/ + // pointdata.name = `${service.serviceNumber}${train.directionCode}${train.tripNumber}`; + pointdata.name = `${service.serviceNumber}${train.tripNumber}`; + pointdata.color = '#000' || lineStyle.color; + pointdata.directionCode = train.right ? '2' : '1'; + if (!store.state.map.mapConfig.upRight) { + pointdata.directionCode = train.right ? '1' : '2'; + } + pointdata.coord = [train.stationTimeList[0].secondTime, this.getCoordYByElem(stations, kmRangeCoordMap, train.stationTimeList[0], train.directionCode, false)]; + + /** 给服务对象添加服务名称和标记点*/ + opt.name = '' + service.serviceNumber; + opt.markPointData.push(createMartPoint(pointdata)); + + /** 计算非折返点车次点坐标集合*/ + train.stationTimeList.forEach((elem, index) => { + idx = index; + // ${train.directionCode} + const aa = `${train.tripNumber}`; + opt.data.push([elem.secondTime, this.getCoordYByElem(stations, kmRangeCoordMap, elem, elem.directionCode, false), elem.stationCode, aa]); + }); + + /** 计算折返点车次坐标点集合*/ + if (!train.backup && train.reentry && service.tripNumberDataList[j + 1] && service.tripNumberDataList[j + 1].stationTimeList) { + lastPoint = train.stationTimeList[idx]; + nextPoint = service.tripNumberDataList[j + 1].stationTimeList[0]; + // ${train.directionCode} + const aa = `${train.tripNumber}`; + opt.data.push([lastPoint.secondTime, this.getCoordYByElem(stations, kmRangeCoordMap, lastPoint, train.directionCode, true), lastPoint.stationCode, aa, '折返轨']); + opt.data.push([nextPoint.secondTime, this.getCoordYByElem(stations, kmRangeCoordMap, lastPoint, train.directionCode, true), lastPoint.stationCode, aa, '折返轨']); + } + + /** 如果是备用车,按车次添加线*/ + if (train.backup) { + /** 创建一条完成的服务数据*/ + opt.name += j; + // var model = createSeriesModel(opt, Object.assign({ color: hexColor.toCreate() }, lineStyle)); + var model = createSeriesModel(opt, Object.assign({ color: '#000' }, lineStyle)); + if (model) { + models.push(model); + opt = { name: '', markPointData: [], data: [] }; + } + } + + isBackup = train.backup; + }); + + // 不是备用车,按服务添加线 + if (!isBackup) { + /** 创建一条完成的服务数据*/ + // var model = createSeriesModel(opt, Object.assign({ color: hexColor.toCreate() }, lineStyle)); + var model = createSeriesModel(opt, Object.assign({ color: '#000' }, lineStyle)); + if (model) { + models.push(model); + } + } + } + }); + return models; + } else { + return []; + } + }, + + /** 更新数据并解析成图表*/ + updateDataToModels(data, stations, kmRangeCoordMap, runPlanData, series, lineStyle) { + if (data && data.length) { + data.forEach(elem => { + /** 判断此条记录的服务号是否存在*/ + if (!runPlanData[elem.serviceNumber]) { + /** 创建一个新服务号标记*/ + runPlanData[elem.serviceNumber] = {}; + + /** 不存在此服务号,则需要创建一条新的line*/ + series.push(createSeriesModel({ + zlevel: 1, + name: `run${elem.serviceNumber}`, + data: [], + markPointData: [] + }, Object.assign({ color: hexColor.toCreate() }, lineStyle))); + } + + /** 添加数据*/ + series.forEach(serie => { + /** 找到服务号所在图数据的位置*/ + if (serie.name == `run${elem.serviceNumber}`) { + /** 添加车组号记录标记*/ + if (!runPlanData[elem.serviceNumber][elem.tripNumber]) { + runPlanData[elem.serviceNumber][elem.tripNumber] = []; + } + + runPlanData[elem.serviceNumber][elem.tripNumber].push(elem); + runPlanData[elem.serviceNumber][elem.tripNumber].sort((a, b) => { + return parseInt(a.secondTime) - parseInt(b.secondTime); + }); + + /** 如果此记录车组号的数据为第一条时,则打上标签*/ + if (runPlanData[elem.serviceNumber][elem.tripNumber].length <= 1) { + const result = serie.markPoint.data.some(ele => ele.name == `(${elem.groupNumber})${elem.serviceNumber}${elem.tripNumber}`); + if (!result) { + let directionCode = elem.right ? '2' : '1'; + if (!store.state.map.mapConfig.upRight) { + directionCode = elem.right ? '1' : '2'; + } + serie.markPoint.data.push(createMartPoint({ + directionCode: directionCode, + coord: [parseInt(elem.secondTime), this.getCoordYByElem(stations, kmRangeCoordMap, elem)], + name: `(${elem.groupNumber})${elem.serviceNumber}${elem.tripNumber}`, + color: lineStyle.color || '#000' + })); + } + } + + /** 计算折返点*/ + var nextPoint = [parseInt(elem.secondTime), this.getCoordYByElem(stations, kmRangeCoordMap, elem), elem.directionCode]; + if (serie.data.length > 0) { + var lastPoint = serie.data[serie.data.length - 1]; + if (lastPoint[2] !== nextPoint[2]) { + serie.data.push([lastPoint[0], this.getYvalueByDirectionCode(lastPoint[1], lastPoint[2]), lastPoint[2]]); + serie.data.push([nextPoint[0], this.getYvalueByDirectionCode(nextPoint[1], lastPoint[2]), lastPoint[2]]); + } + } + + /** 添加车组号数据到对应的服务图数据中*/ + serie.data.push(nextPoint); + /** 保证原始数据排序*/ + serie.data.sort((a, b) => { + return parseInt(a[0]) - parseInt(b[0]); + }); + } + }); + }); + } + + return series; + }, + + getYaxisValueByStation(station, index) { + return this.EdgeHeight + index * this.CoordMultiple; + }, + + /** 将后台数据转换为试图序列模型*/ + convertStationsToMap(stations) { + var map = {}; + if (stations && stations.length) { + stations.forEach((elem, index) => { + map[`${elem.kmRange}`] = this.getYaxisValueByStation(elem, index); + }); + } + + return map; + }, + /** 初始化Y轴*/ + initializeYaxis(stations) { + return createMarkLineModels(stations, (elem, index) => { + return this.EdgeHeight + index * this.CoordMultiple; + }); + }, + + /** 计算y轴最小值*/ + computedYaxisMinValue() { + return 0; + }, + + /** 计算y轴最大值*/ + computedYaxisMaxValue(stations) { + return this.EdgeHeight * 2 + (stations.length - 1) * this.CoordMultiple; + }, + + /** 格式化y轴数据*/ + computedFormatYAxis(stations, params) { + var yText = '0m'; + var index = Math.floor((parseInt(params.value) - this.EdgeHeight) / this.CoordMultiple); + if (index >= 0 && index < stations.length) { + yText = Math.floor(stations[index].kmRange) + 'm'; + } + return yText; + }, + + /** 根据方向计算y折返偏移量*/ + getYvalueByDirectionCode(defaultVlue, directionCode) { + if (directionCode === '1') { + defaultVlue -= this.EdgeHeight / 2; + } else if (directionCode === '2') { + defaultVlue += this.EdgeHeight / 2; + } + + return defaultVlue; + }, + + /** 根据elem计算y值*/ + getCoordYByElem(stations, kmRangeCoordMap, elem, directionCode, isSpecial) { + var defaultVlue = 0; + var station = stations.find(it => { return it.code == elem.stationCode; }); + if (station) { + defaultVlue = kmRangeCoordMap[`${station.kmRange}`]; + if (isSpecial) { + defaultVlue = this.getYvalueByDirectionCode(defaultVlue, directionCode); + } + } + + return defaultVlue; + } +}; diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 1310fdfc7..51ddbe296 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,11 +2,11 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://api.joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.8.129:9000'; // 旭强 // BASE_API = 'http://192.168.8.119:9000'; // 张赛 - BASE_API = 'http://192.168.8.140:9000'; // 杜康 + // BASE_API = 'http://192.168.8.140:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 // BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛 diff --git a/src/utils/sock.js b/src/utils/sock.js index b9bfc119a..53e48839c 100644 --- a/src/utils/sock.js +++ b/src/utils/sock.js @@ -101,9 +101,9 @@ StompClient.prototype = { closeStompDebug() { if (this.clientIns) { if (isDev || isTest) { - this.clientIns.debug = function (message) { - console.debug(message); - }; + this.clientIns.debug = function (message) { console.debug(message); }; + } else { + this.clientIns.debug = function (message) {}; } } }, diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 7113cbbbf..7d0c81a58 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -206,7 +206,6 @@ export default { project() { const project = this.$route.query.project; const split = this.$route.path.split('/')[1]; - console.log(process.env.VUE_APP_PRO, localPackageProject); if (process.env.VUE_APP_PRO) { return localPackageProject[process.env.VUE_APP_PRO + split]; } else if (split == 'design') { diff --git a/src/views/organization/gradeExport.vue b/src/views/organization/gradeExport.vue index c0236c570..f12512a6c 100644 --- a/src/views/organization/gradeExport.vue +++ b/src/views/organization/gradeExport.vue @@ -400,13 +400,13 @@ export default { } let className = ''; this.classList.forEach(item => { - if (item.id === this.exportData.classId) { - className = item.name; + if (item.departmentId === this.exportData.classId) { + className = item.departmentName; } }); const wb = XLSX.utils.book_new(); let cellNum = 0; - let data = [{A:'贵 州 装 备 制 造 职 业 学 院'}, {A:'实 训 成 绩 登 记 表'}, {A:`班级:${className} 实训课程名称: 20XX 学年 第 学期 `}]; + let data = [{A:this.$store.state.user.companyName}, {A:'实 训 成 绩 登 记 表'}, {A:`班级:${className} 实训课程名称: 20XX 学年 第 学期 `}]; const data1 = [{A: '序号', B: '姓名', C:'学号', D:'考勤(10分)', E: '技能操作(30分)', F: '', G: '考试成绩(60分)', H: '', I: '期末成绩', J: '备注'}, {E: 'ATS现地(15分)', F: 'ATS行调(15分)', G: 'ATS现地(30分)', H: 'ATS行调(30分)'}]; const data2 = [{A: '序号', B: '姓名', C:'学号', D:'考勤(10分)', E: '技能操作(30分)', F: '考试成绩(60分)', G: '期末成绩', H: '备注'}, { E: 'ATS现地(30分)', F: 'ATS现地(60分)'}]; const data3 = [{A: '序号', B: '姓名', C:'学号', D:'考勤(10分)', E: '技能操作(30分)', F: '考试成绩(60分)', G: '期末成绩', H: '备注'}, {E: 'ATS行调(30分)', F: 'ATS行调(60分)'}];