From d9f6d515fd9eb1cf5269a0bb44da8d912d0143b5 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 18 Jun 2020 18:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E6=B7=BB=E5=8A=A0=E5=8F=B8?= =?UTF-8?q?=E6=9C=BA=E7=9A=84=E6=8C=87=E4=BB=A4=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/cmdPlugin/CommandEnum.js | 12 ++++++++++++ src/views/scriptManage/scriptRecord/getActionNew.vue | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js index 73452e650..9acc93bc8 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -64,6 +64,18 @@ export default { CMD_CM_REPLY_CENTER_CONTROL: {value:'CM_Reply_Center_Control', label: '回复中控请求'} }, + // 司机操作 + Driver:{ + CMD_DRIVER_FORCE_CHANGE:{value:'Driver_Force_Change', label:'改变列车的牵引/制动力'}, + CMD_DRIVER_EB:{value:'Driver_EB', label:'按EB按钮'}, + CMD_DRIVER_GEAR_CHANGE:{value:'Driver_Gear_Change', label:'改变列车档位'}, + CMD_DRIVER_ATO_OPEN:{value:'Driver_ATO_Open', label:'开启ATO'}, + CMD_DRIVER_ATP_CHANGE:{value:'Driver_ATP_Change', label:'改变ATP状态'}, + CMD_DRIVER_Drive_MODE_CHANGE:{value:'Driver_Drive_Mode_Change', label:'改变列车运行模式'}, + CMD_DRIVER_CHANGE_HEAD:{value:'Driver_Change_Head', label:'换端'}, + CMD_DRIVER_DOOR_ON_OFF:{value:'Driver_Door_On_Off', label:'列车车门开关'} + }, + // 信号机操作 Signal: { /** 设置故障 */ diff --git a/src/views/scriptManage/scriptRecord/getActionNew.vue b/src/views/scriptManage/scriptRecord/getActionNew.vue index 17b51f80c..3417f70ab 100644 --- a/src/views/scriptManage/scriptRecord/getActionNew.vue +++ b/src/views/scriptManage/scriptRecord/getActionNew.vue @@ -134,7 +134,7 @@ export default { operateType = 'ControlConvertMenu'; } const operateName = CMD[operateType]['CMD_' + data]; - const deviceTypeList = {Section:'区段', Switch:'道岔', Signal:'信号机', Stand:'站台', Station:'车站', TrainWindow:'车次窗', ControlConvertMenu:'控制模式'}; + const deviceTypeList = {Section:'区段', Switch:'道岔', Signal:'信号机', Stand:'站台', Station:'车站', TrainWindow:'车次窗', ControlConvertMenu:'控制模式', Driver:'司机'}; const operateTypeName = deviceTypeList[operateType]; this.actionInfoList.push({id: element.id, isCoversition: false, memberName: memberName, command: operateTypeName + '(' + operateName.label + ')', row: element, visible: false}); break;