From cf912b7834e41267a827b15a75a4ff067a3d0e30 Mon Sep 17 00:00:00 2001 From: lVAL Date: Tue, 23 Feb 2021 12:16:54 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E7=BA=BF=E8=B7=AF=EF=BC=9A=E5=AE=81?= =?UTF-8?q?=E6=B3=A23=20=E9=97=AE=E9=A2=98=EF=BC=9A=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=B7=B3=E5=81=9C=E7=9A=84=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/haerbin_01/operationConfig.js | 8 +- src/jmapNew/theme/ningbo_03/menus/menuBar.vue | 5 +- .../menus/menuDialog/trainJumpStop.vue | 156 +++++++++++++++--- .../theme/ningbo_03/operationConfig.js | 56 ++++++- src/scripts/cmdPlugin/CommandEnum.js | 4 + src/scripts/cmdPlugin/OperationHandler.js | 17 +- 6 files changed, 205 insertions(+), 41 deletions(-) diff --git a/src/jmapNew/theme/haerbin_01/operationConfig.js b/src/jmapNew/theme/haerbin_01/operationConfig.js index 74fc7ad6b..53d5b7082 100644 --- a/src/jmapNew/theme/haerbin_01/operationConfig.js +++ b/src/jmapNew/theme/haerbin_01/operationConfig.js @@ -783,7 +783,9 @@ export default { { 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: '鼠标左键点击【执行】按钮' } + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 6, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } ] }, { @@ -815,7 +817,9 @@ export default { { 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: '鼠标左键点击【执行】按钮' } + { deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 5, operateCode: '0081', tip: '鼠标左键点击【CR1】按钮' }, + { deviceType: '04', orderNum: 6, operateCode: '0082', tip: '鼠标左键点击【CR2】按钮' } ] }, { diff --git a/src/jmapNew/theme/ningbo_03/menus/menuBar.vue b/src/jmapNew/theme/ningbo_03/menus/menuBar.vue index 3722ff914..b429633e7 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuBar.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuBar.vue @@ -291,7 +291,7 @@ export default { // }, { title: '列车(T)', - operate: OperationEvent.Command.mBar.check, + operate: OperationEvent.Command.mBar.train, children: [ { title: '排列进路', @@ -327,7 +327,7 @@ export default { }, { title: '操作', - operate: '', + operate: OperationEvent.Command.commandNingBo3.train_operate, children: [ { title: '发车', @@ -343,6 +343,7 @@ export default { }, { title: '跳停', + operate: OperationEvent.Command.commandNingBo3.train_operate_jump, click: this.setJumpStop }, { diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainJumpStop.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainJumpStop.vue index 1553b68cc..217aef93a 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainJumpStop.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainJumpStop.vue @@ -2,26 +2,30 @@ - - - + + + - + - - + + - - + + - + + + - 所有站台 + 所有站台 @@ -30,18 +34,18 @@
跳停
- 设置(S) + 设置(S)
- 清除(R) + 清除(R)
- 确定(O) + 确定(O) - 应用(A) + 应用(A) 关闭(C) @@ -57,7 +61,7 @@