From 7fbe309f7093bc42b4a67018e9574b745a165692 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 15 Apr 2022 16:49:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E7=BA=BF=E8=B7=AF=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/deviceStyle.js | 3 +- src/jmapNew/config/skinCode/datie_01.js | 33 +- src/jmapNew/config/skinCode/datie_02.js | 1052 +++++++++++++++++ src/jmapNew/constant/deviceRender.js | 45 + src/jmapNew/constant/deviceType.js | 12 +- src/jmapNew/parser/parser-graph.js | 9 + .../graph/SaidLamp/EPickOrDepartArrow.js | 56 + src/jmapNew/shape/graph/SaidLamp/index.js | 21 +- src/jmapNew/shape/graph/SignalButton/index.js | 7 +- .../shape/graph/Station/ESingleControl.js | 4 +- src/jmapNew/shape/graph/Station/index.js | 94 +- src/jmapNew/shape/graph/index.js | 9 + .../dialog/childDialog/confirmControl.vue | 141 +++ .../childDialog/confirmControlSpeed.vue | 156 +++ .../menus/dialog/childDialog/confirmTip.vue | 74 ++ .../menus/dialog/childDialog/confirmTrain.vue | 173 +++ .../dialog/childDialog/passwordInputBox.vue | 194 +++ .../menus/dialog/childDialog/popupAlarm.vue | 94 ++ .../datie_02/menus/dialog/drawSelect.vue | 163 +++ .../datie_02/menus/dialog/routeDetail.vue | 196 +++ .../datie_02/menus/dialog/routeGuide.vue | 278 +++++ .../menus/dialog/routeHandControl.vue | 267 +++++ .../datie_02/menus/dialog/routeSelection.vue | 325 +++++ .../datie_02/menus/dialog/sectionDetail.vue | 114 ++ .../datie_02/menus/dialog/standControl.vue | 603 ++++++++++ .../datie_02/menus/dialog/standDetail.vue | 217 ++++ .../datie_02/menus/dialog/trainControl.vue | 332 ++++++ .../datie_02/menus/dialog/trainCreate.vue | 133 +++ .../menus/dialog/trainCreateNumber.vue | 181 +++ .../datie_02/menus/dialog/trainDelete.vue | 150 +++ .../menus/dialog/trainDeleteNumber.vue | 176 +++ .../datie_02/menus/dialog/trainDetailInfo.vue | 378 ++++++ .../datie_02/menus/dialog/trainEditNumber.vue | 174 +++ .../theme/datie_02/menus/dialog/trainMove.vue | 200 ++++ .../datie_02/menus/dialog/trainMoveNumber.vue | 193 +++ .../datie_02/menus/dialog/trainSwitch.vue | 209 ++++ src/jmapNew/theme/datie_02/menus/index.vue | 478 ++++++++ src/jmapNew/theme/datie_02/menus/menuBar.vue | 685 +++++++++++ .../theme/datie_02/menus/menuButton.vue | 692 +++++++++++ .../childDialog/twoConfirmation.vue | 133 +++ .../menus/menuDialog/childDialog/userAdd.vue | 157 +++ .../menuDialog/childDialog/userDelete.vue | 129 ++ .../menus/menuDialog/childDialog/userEdit.vue | 173 +++ .../datie_02/menus/menuDialog/helpAbout.vue | 126 ++ .../datie_02/menus/menuDialog/limitSpeed.vue | 138 +++ .../datie_02/menus/menuDialog/manageUser.vue | 285 +++++ .../datie_02/menus/menuDialog/passwordBox.vue | 221 ++++ .../menus/menuDialog/setLimitSpeed.vue | 286 +++++ .../menuDialog/stationControlConvert.vue | 433 +++++++ .../datie_02/menus/menuDialog/trainAdd.vue | 168 +++ .../datie_02/menus/menuDialog/trainDelete.vue | 151 +++ .../menus/menuDialog/trainTranstalet.vue | 158 +++ .../datie_02/menus/menuDialog/viewName.vue | 256 ++++ .../theme/datie_02/menus/menuSection.vue | 239 ++++ .../theme/datie_02/menus/menuSignal.vue | 366 ++++++ .../theme/datie_02/menus/menuStation.vue | 162 +++ .../theme/datie_02/menus/menuStationStand.vue | 220 ++++ .../theme/datie_02/menus/menuSwitch.vue | 275 +++++ src/jmapNew/theme/datie_02/menus/menuTool.vue | 211 ++++ .../theme/datie_02/menus/menuTrain.vue | 428 +++++++ .../datie_02/menus/passiveDialog/alarm.vue | 216 ++++ .../datie_02/menus/passiveDialog/timeout.vue | 109 ++ src/jmapNew/theme/datie_02/model.js | 71 ++ src/jmapNew/theme/datie_02/operationConfig.js | 945 +++++++++++++++ src/jmapNew/theme/datie_02/planConfig.js | 74 ++ src/jmapNew/theme/factory.js | 9 +- src/scripts/cmdPlugin/OperationHandler.js | 16 +- .../newMapdraft/mapoperate/controlLamp.vue | 113 +- .../newMap/newMapdraft/mapoperate/models.js | 1 + .../newMapdraft/mapoperate/signalButton.vue | 7 +- .../newMapdraft/mapoperate/train/create.vue | 3 - 71 files changed, 14573 insertions(+), 27 deletions(-) create mode 100644 src/jmapNew/config/skinCode/datie_02.js create mode 100644 src/jmapNew/shape/graph/SaidLamp/EPickOrDepartArrow.js create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControl.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControlSpeed.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTip.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTrain.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/passwordInputBox.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/childDialog/popupAlarm.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/drawSelect.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/routeDetail.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/routeGuide.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/routeHandControl.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/routeSelection.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/sectionDetail.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/standControl.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/standDetail.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainControl.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainCreate.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainCreateNumber.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainDelete.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainDeleteNumber.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainDetailInfo.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainEditNumber.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainMove.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainMoveNumber.vue create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/trainSwitch.vue create mode 100644 src/jmapNew/theme/datie_02/menus/index.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuBar.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuButton.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/twoConfirmation.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userAdd.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userDelete.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userEdit.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/helpAbout.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/limitSpeed.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/manageUser.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/passwordBox.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/setLimitSpeed.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/stationControlConvert.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/trainAdd.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/trainDelete.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/trainTranstalet.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuDialog/viewName.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuSection.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuSignal.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuStation.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuStationStand.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuSwitch.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuTool.vue create mode 100644 src/jmapNew/theme/datie_02/menus/menuTrain.vue create mode 100644 src/jmapNew/theme/datie_02/menus/passiveDialog/alarm.vue create mode 100644 src/jmapNew/theme/datie_02/menus/passiveDialog/timeout.vue create mode 100644 src/jmapNew/theme/datie_02/model.js create mode 100644 src/jmapNew/theme/datie_02/operationConfig.js create mode 100644 src/jmapNew/theme/datie_02/planConfig.js diff --git a/src/jmapNew/config/deviceStyle.js b/src/jmapNew/config/deviceStyle.js index d00baa3a8..2bbb9a821 100644 --- a/src/jmapNew/config/deviceStyle.js +++ b/src/jmapNew/config/deviceStyle.js @@ -13,7 +13,8 @@ const mapDeviceStyle = { '12': 'ningbo_03', // 宁波三号线 '13': 'race_01', // 2020国赛线路 '14':'nanjing_02', // 南京二号线 - '15': 'datie_01' // 大铁线路一 + '15': 'datie_01', // 大铁线路一 + '16': 'datie_02' // 大铁线路二 }; export function selectLineCode(code) { diff --git a/src/jmapNew/config/skinCode/datie_01.js b/src/jmapNew/config/skinCode/datie_01.js index 9707823b8..ce52da05a 100644 --- a/src/jmapNew/config/skinCode/datie_01.js +++ b/src/jmapNew/config/skinCode/datie_01.js @@ -394,17 +394,19 @@ class SkinCode extends defaultStyle { greenColor: '#00FF00', // 控制模式绿色 redColor: '#FF0000', // 控制模式红色 yellowColor: '#FFFF00', // 控制模式黄色 - purpleColor:'#840084' // 控制模式紫色 + purpleColor:'#840084', // 控制模式紫色 + strokeColor: '#fff', + lineWidth: 1 }, emergencyControl: { // 紧急站控 - show: true, + show: false, offset: { x: 0, y: 0 }, text: '紧急站控', arrowShow: false, grayColor: '#7F7F7F' }, centerControl: { // 中控 - show: true, + show: false, offset: { x: 0, y: 0 }, text: '中控', buttonShow: false, @@ -412,19 +414,38 @@ class SkinCode extends defaultStyle { grayColor: '#7F7F7F' }, substationControl: { // 站控按钮 - show: true, + show: false, offset: { x: 0, y: 0 }, text: '站控', arrowShow: false, grayColor: '#7F7F7F' }, interconnectedControl: { // 联锁控 - show: true, + show: false, offset: { x: 0, y: 0 }, text: '联锁控', arrowShow: false, grayColor: '#7F7F7F' - } + }, + veryControl: { + show: true, + offset: { x: 0, y: 0 }, + text: '非常站控' + }, + selfDiscipline: { + show: true, + offset: { x: 0, y: 0 }, + text: '允许自律' + }, + selfDisciplineControl: { + show: true, + offset: { x: 0, y: 0 }, + text: '自律控制' + }, + veryControlButton: { + offset: { x: 0, y: 0 }, + text: '非常站控' + } } }; diff --git a/src/jmapNew/config/skinCode/datie_02.js b/src/jmapNew/config/skinCode/datie_02.js new file mode 100644 index 000000000..f05984fb4 --- /dev/null +++ b/src/jmapNew/config/skinCode/datie_02.js @@ -0,0 +1,1052 @@ +import defaultStyle from '../defaultStyle'; +import deviceType from '../../constant/deviceType'; + +class SkinCode extends defaultStyle { + constructor() { + super(); + this.fontFamily = '宋体'; + this[deviceType.Section] = { + elemnetType:['name', 'line', 'separator', 'badShunt', 'derailer'], + // 'speedLimit', 'speedLimitName','standTrackText','reentryTrackText','transferTrackText', + active: { + routeColor: true // 进路触发颜色 + }, + name: { + z: 10, + position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + distance: 10, // 文字离区段距离 + fontSize: 12, // 字体大小 + fontWeight: 'normal', // 字体粗细 + fontColor: 'rgb(192,192,192)', // 字体颜色 (银白) + textAlign: 'center', // 水平对齐方式 + textPosition: 'inside', // 文字位置 + textVerticalAlign: 'middle', // 文字垂直对齐方式 + approachColor: '#FFFFFF' + }, + logicText: { + z: 10, + position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + distance: 12, // 文字离区段距离 + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + fontColor: '#FFFFFF', // 字体颜色 + textAlign: 'center', // 水平对齐方式 + textPosition: 'inside', // 文字位置 + textVerticalAlign: 'middle' // 文字垂直对齐方式 + }, + // standTrackText: { + // z: 10, + // position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + // distance: 24, // 文字离区段距离 + // fontSize: 11, // 字体大小 + // fontWeight: 'normal', // 字体粗细 + // fontColor: '#FFFFFF', // 字体颜色 + // textAlign: 'center', // 水平对齐方式 + // textPosition: 'inside', // 文字位置 + // textVerticalAlign: 'middle' // 文字垂直对齐方式 + // }, + // reentryTrackText: { + // z: 10, + // position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + // distance: 36, // 文字离区段距离 + // fontSize: 11, // 字体大小 + // fontWeight: 'normal', // 字体粗细 + // fontColor: '#FFFFFF', // 字体颜色 + // textAlign: 'center', // 水平对齐方式 + // textPosition: 'inside', // 文字位置 + // textVerticalAlign: 'middle' // 文字垂直对齐方式 + // }, + // transferTrackText: { + // z: 10, + // position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + // distance: 36, // 文字离区段距离 + // fontSize: 11, // 字体大小 + // fontWeight: 'normal', // 字体粗细 + // fontColor: '#FFFFFF', // 字体颜色 + // textAlign: 'center', // 水平对齐方式 + // textPosition: 'inside', // 文字位置 + // textVerticalAlign: 'middle' // 文字垂直对齐方式 + // }, + destinationText: { + z: 10, + position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + distance: 12, // 文字离区段距离 + fontSize: 11, // 字体大小 + fontWeight: 'bold', // 字体粗细 + fontColor: 'yellow', // 字体颜色 + textAlign: 'center', // 水平对齐方式 + textPosition: 'inside', // 文字位置 + textVerticalAlign: 'middle' // 文字垂直对齐方式 + }, + line: { + z: 0, + width: 3, // 区段宽度 + beyondWidth: 0, // 区段宽超出宽度 + invadeColor: '#FF0000', // 区段侵入颜色 (红色) + spareColor: 'rgb(85,120,182)', // 区段空闲颜色 (浅蓝) + + communicationOccupiedColor: '#FF0000', // 区段通信车占用颜色 (红色) + unCommunicationOccupiedColor: '#FF0000', // 区段非通讯车占用颜色 (红色) + + routeLockColor: '#FFFFFF', // 区段进路锁定颜色 (白色) + faultLockColor: '#006400', // 区段故障锁定颜色 + + undefinedColor: '#0071C1', // 区段未定义颜色 + blockColor: '#00FF00', // 区段封锁颜色 + atcExcisionColor: '#A0522D', // 区段atc切除颜色 + atsExcisionColor: '#A0522D', // 区段ats切除颜色 + timeReleaseColor: '#3F3F3F', // 区段延时释放颜色 + + protectiveLockColor: '#FFFF00', // 区段保护锁闭 + + protectiveTimeReleaseColor: '#0071C1', // 区段保护延时解锁 + logicalColor: '#FFFF00', // 逻辑区段颜色 (未用) + logicalTextColor: '#C0C0C0', // 逻辑区段名称颜色 (未用) + invalidColor: '#B18E38' // 区段ARB故障颜色 + }, + badShunt:{ + z: 2, + distance: 2, // 分路不良 距离区段距离 + width: 1, // 分路不良的宽度 + lineColor: 'rgb(188,67,180)' // 分路不良颜色 (粉红色) + }, + // speedLimit: { // 限速元素 + // z: 2, + // width: 1, // 限速线的宽度 + // distance: 5, // 限速线距离区段距离 + // lineColor: '#C0C000', // 限速线颜色 (黄色透明光) + // nameShow: true // 名称显示 + // }, + // speedLimitName: { + // z: 10, + // leftName: true, // 左侧限速值是否展示 + // rightName: true, // 右侧限速值是否展示 + // nameBackgroundIsRect: false, // 限速值背景是否为矩形 + // nameBackgroundBorderWidth: 0, // 限速值背景是否边框宽度 + // nameBackgroundBorderColor: '#000', // 限速值背景边框颜色 + // limitValueDistance: -15, + // kilometerFontSize: 8, // 公里标大小 + // kilometerColor: '#fff', // 公里标颜色 + // nameNumberFontSize: 11, // 限速值大小 + // nameNumberColor: '#C00808', // 限速值颜色 + // nameBackground: '#C0C000', // 限速名称背景颜色 + // drogueWidth: 19, // 浮标宽度 + // drogueHeight: 12 // 浮标高度 + // }, + separator: { + z: 3, // 分割符层级 + width: 2, // 物理区段分隔符宽度 + logicWidth:2, // 逻辑区段分隔符宽度 + endWidth: 2, // 尽头分隔符宽度 + endColor: 'rgb(128,128,128)', // 尽头分隔符颜色 + color: 'rgb(128,128,128)', // 区段边界符颜色 + invadeSpecial:true, // 特殊侵限 + halfHeight: 3 // 区段分隔符高度的一半 + }, + shuttleBack: { // 折返进路 (存在此对象 显示折返箭头) + z: 10, + width: 1.5, + color: '#FFFFFF', + distance: 5 // 限速线距离区段距离 + }, + derailer: { + text: { + color: 'green', + offset: { + x: -5, + y: -15 + } + }, + symbol: { + color: 'red' + } + }, + trainPosition:{ + display: false // 列车实时位置显示 + } + }; + + this[deviceType.Signal] = { + distance: 10, // 设备距离区段的距离 + colorSpecial: true, // 特殊处理灯位颜色 + post: { + standardLength: 6, // 高柱长度 + standardHeight: 6, // 灯柱高度 + standardColor: '#FFFFFF', // 灯柱颜色 + standardVerticalWidth: 2, // 灯柱竖杆宽度 + standardRailWidth: 2 // 灯柱横杆宽度 + }, + text: { + show: true, // 信号机名称显示 + distance: 3, // 文字和灯杆的距离 + isAlignCenter: false, // 信号字体对其方式 + fontSize: 11, // 信号机名称字体大小 + fontWeight: 'bold', // 信号机名称字体粗细 + defaultColor: '#FFFFFF', // 信号灯字体默认色 + blockColor: '#FFFFFF', // 信号灯字体锁定颜色 + checkColor: '#00FF00' // 信号保护区段检查颜色 + }, + remainTimeColor: '#F00', + tText: { + offsetX: 0, + offsetY: -30, + fontSize: 11, // 信号机名称字体大小 + fontWeight: 'bold', // 信号机名称字体粗细 + defaultColor: '#F00', // 信号灯字体默认色 + defaultText: 0 + }, + lamp: { + bgShow: false, // 是否被选中 + guidName: 'singleRY', // 成都三号线引导类型 + borderVariable: false, // 信号灯边框可变 + stopWidth: 2, // 禁止线宽度 + borderWidth: 2, // 信号灯边框线宽度 + borderColor: '#677DBB', // 信号灯边框线颜色 + radiusR: 6, // 信号灯半径 + grayColor: '#7F7F7F', // 信号灯灰色 + redColor: '#FF0000', // 信号灯红色 + greenColor: '#00FF00', // 信号灯绿色 + yellowColor: '#FFFF00', // 信号灯黄色 + whiteColor: '#FFFFFF', // 信号灯白色 + blueColor: '#0070C0', // 信号灯蓝色 + faultType: 'light', // 信号机故障类型 (light闪) + special:true // 大铁类型信号机 + }, + route: { + direction: true, // 自动通过方向 + offset: { x: 4, y: 0}, // 自动通过偏移量 + routeColor: '#00FF00', // 自动进路 + radiusR: 6 + }, + auto: { + signalFrontTriangle: true, // 信号灯前三角展示 + fleetModeTriangle: true, // 自动进路显示三角形非箭头 + direction: false, // 自动通过方向 + offset: { x: -4, y: 0}, // 自动通过偏移量 + width: 5, // 自动宽度 + manualControl: '#FFFF00', // 人工控制 + autoRoute: '#00FF00', // 自动进路 + autoTrigger: '#FFFF00', // 自动触发 + outConflict: '#C00808' // 出车冲突 + }, + delay: { + direction: false, // 延时解锁方向 + offset: { x: -5, y: 0}, // 延时解锁偏移量 + fontSize: 11, // 延迟解锁字体大小 + fontColor: '#C00808', // 延迟解锁颜色 + fontWeight: 'bold' // 字体粗细 + + }, + button: { + distance: 5, // 信号灯按钮距离区段的距离 + borderDashColor: '#FFFFFF', // 信号灯按钮边线 + buttonColor: 'darkgreen', // 信号灯按钮颜色 + buttonLightenColor: '#E4EF50' // 信号灯按钮闪烁颜色 + }, + lowButton:{ + display: false // 现地 信号机按钮 + }, + sigBack: { + fillColor:'rgba(0,0,0,0)', // 信号背景颜色 + strokecolor:'#F00', // 信号描边颜色 + lineWidth: 1, // 信号背景描边宽度 + distanceX: 2, // 信号背景x偏移距离 + distanceY: 1 // 信号背景Y偏移距离 + } + }; + + // 供电线路 + this[deviceType.Power] = { + noElectricStrokeColor:'#808080', // 无电颜色 + defaultStrokeColor: '#F00', // 线条颜色 + extendLength: 10 // 延伸长度 + }; + + // 延续保护计时 + this[deviceType.OverAp] = { + show: false + }; + + // 屏蔽门 + this[deviceType.Psd] = { + // 成都三号线屏蔽门 + elemnetType:['safetyDoorNormal'], + safetyDoorNormal: { // 屏蔽门 + z:0, + height: 3, // 站台屏蔽门高度 + distance: 8, // 站台和屏蔽门之间的距离 + defaultColor: '#00FF00', // 屏蔽门默认颜色 + splitDoorColor: '#C00808' // 屏蔽门切除颜色 + } + }; + + this[deviceType.StationStand] = { + // 站台元素 站台 + elemnetType:['lineStand'], + // 站台 + lineStand:{ + // 层级 + z:0, + spareColor: '#02cc3d', // 站台空闲颜色 + lineWidth:2 // 线宽 + // jumpStopColor: '#808080', // 站台跳停颜色 + // designatedJumpStopColor: '#808080', // 站台指定列车跳停颜色 + // headFontSize: 10, // 站台首端字体大小 + // stopColor: '#FFF000' // 站台列车停站颜色 + }, + common: { // 通用属性 + textFontSize: 10, // 站台默认字体大小 + functionButtonShow: '03' // 功能灯按钮显示条件(prdType) + }, + lamp: { + radiusR: 6, // 控制灯大小 + lampColor: '#5A5D5A' // 功能按钮颜色 + }, + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + } + // reentry: {}, // 站台折返策略 + // trainStop: {}, // 停车标志 + // trainDepart: {}, // 停车计时 + }; + + this[deviceType.StationCounter] = { + text: { + distance: 2, // 计数器名称和文字的距离 + fontColor: '#FFFFFF', // 计数器字体颜色 + borderColor: '#E4EF50' // 计数器边框颜色 + } + }; + + this[deviceType.StationDelayUnlock] = { + text: { + distance: 3, // 延迟解锁和设备之间的距离 + fontColor: '#FFFFFF', // 延时解锁字体颜色 + borderColor: '#FFFFFF' // 延迟解锁边框颜色 + } + }; + + this[deviceType.StationTurnBack] = { // 站后折返 + displayCondition: '01', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + lamp: { + fill: '#f1f1f1', // 填充色 + radiusR: 7 // 控制灯大小 + }, + text: { + titleTextShow: false, + fontWeight: 580, + fontSize: 10, + distance: 10 + }, + rect: { + fill: 'rgba(0,0,0,0)', + stroke: '#fff', + lineWidth: 0, + padding: 6 + } + }; + + this[deviceType.Station] = { + // 成都三号线车站元素 车站名称 + elemnetType:['stationText'], + stationText:{ + z:0, + fontWeight:'normal', // 字体粗细 + textPadding:[0, 0], // 字体边距 + borderColor:'', // 字体边框颜色 + textBorderWidth:0 // 字体边框宽度 + }, + + kmPostShow: false, // 公里标显示 + kilometerPosition: 'up', // 公里标朝向 + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#FFFF00', // 控制灯颜色 + guideColor: '#5A5D5A' // 引导总锁灯颜色 + }, + turnBack: { // 按图折返 + lamp: 1, // 灯数量 + lampSpace: 60 // 灯间距 + }, + StationControl:{ + text: { + distance: 2, // 灯和文字之间的距离 + fontSize: 11, // 字体大小 + fontFormat: 'consolas', // 字体格式 + fontColor: '#ffffff', // 字体颜色 + fontWeight: 'normal', // 字体粗细 + textAlign: 'middle', // 字体水平对齐 + textVerticalAlign: 'top' // 字体垂直对齐 + }, + lamp: { + count: 4, // 控制模式的个数 + offset: {x: 0, y: 0}, // 偏移量 + radiusR: 6, // 控制模式灯的半径 + distance: 46, // 控制模式之间灯之间的距离 + grayColor: '#7F7F7F', // 控制模式灰色 + greenColor: '#00FF00', // 控制模式绿色 + redColor: '#FF0000', // 控制模式红色 + yellowColor: '#FFFF00', // 控制模式黄色 + purpleColor:'#840084', // 控制模式紫色 + strokeColor: '#fff', + lineWidth: 1 + }, + emergencyControl: { // 紧急站控 + show: false, + offset: { x: 0, y: 0 }, + text: '紧急站控', + arrowShow: false, + grayColor: '#7F7F7F' + }, + centerControl: { // 中控 + show: false, + offset: { x: 0, y: 0 }, + text: '中控', + buttonShow: false, + arrowShow: false, + grayColor: '#7F7F7F' + }, + substationControl: { // 站控按钮 + show: false, + offset: { x: 0, y: 0 }, + text: '站控', + arrowShow: false, + grayColor: '#7F7F7F' + }, + interconnectedControl: { // 联锁控 + show: false, + offset: { x: 0, y: 0 }, + text: '联锁控', + arrowShow: false, + grayColor: '#7F7F7F' + }, + veryControl: { + show: true, + offset: { x: 0, y: 0 }, + text: '非常站控' + }, + selfDiscipline: { + show: true, + offset: { x: 0, y: 0 }, + text: '允许自律' + }, + selfDisciplineControl: { + show: true, + offset: { x: 0, y: 0 }, + text: '自律控制' + }, + veryControlButton: { + offset: { x: 0, y: 0 }, + text: '非常站控' + } + } + }; + + this[deviceType.Switch] = { + text: { + show: true, // 道岔名称显示 + position: 0, // 区段名称位置 1 上面 -1 下面 0 对称 + offset: {x: 5, y: -10}, // 道岔名称与区段距离 + fontSize: 11, // 字体大小 + fontColor: '#fff', // 道岔名称颜色 + fontWeight: 'normal', // 字体粗细 + borderColor: '#FE0000', // 道岔边框颜色 + lossColor: '#C00808', // 道岔失去颜色 + locateColor: '#00FF00', // 道岔定位颜色 + inversionColor: '#FFFF00', // 道岔反位颜色 + monolockLocationColor: '#00FF00', // 道岔单锁'定位'颜色 (绿色) + monolockInversionColor: '#FFFF00', // 道岔单锁'反位'颜色 (黄色) + faultFlashing: false // 故障闪烁 + }, + sectionAction: { + flag: false, // 道岔 关联区段显示 + spareColor: '#5b5b5b' // 区段显示颜色 + }, + core: { + length: 6, // 道岔单边长度 + graphShow: true, // 图形显示 + graphInversionColor: '#FFFF00', // 反位颜色 + graphLocalColor: '#00FF00' // 定位颜色 + }, + jointImg: { // 道岔 A B C D四元素属性配置 + trapezoidLength: 8, // 直角梯形元素默认长度 + faultStatus: true, // 挤岔表示 + fork: true, // 挤岔专用(如有挤岔操作 变为true) + forKColor: 'red' // 挤岔颜色 配合挤岔专用 + }, + // arcBlcok: { // 圆形封锁图形 + // show: false, // 显示 + // arcBorderColor: 'green', // 默认边框颜色 + // locationColor: 'green', // 定位封锁颜色 + // inversionColor: '#FFFF00' // 反位封锁颜色 + // }, + rectLock: { // 矩形封锁框图形 + rectWidth: 18, // 矩形框 宽高 + rectBorderColor: '#fff', // 矩形边框颜色 + block: true, // 封锁显示 + blockColor: 'red', // 封锁颜色 + followName: true // 位置跟随名称确定 + }, + arcBlcok: { // 圆形封锁图形 + show: true, // 显示 + shapeR: 10, + arcBorderColor: 'red', // 默认边框颜色 + locationColor: 'red', // 定位封锁颜色 + inversionColor: 'red' // 反位封锁颜色 + } + }; + + this[deviceType.LcControl] = { + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#FFFF00' // 控制灯颜色 + } + }; + this[deviceType.PowerSupply] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00', // 控制灯颜色 + offColor: '#000', + strokeColor: '#fff' + } + }; + this[deviceType.Maintain] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + this[deviceType.NoOneReturn] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#FFFFFF' + } + }; + this[deviceType.AtsControl] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00', // 控制灯颜色 + offColor: '#FF0000' + } + }; + this[deviceType.MaintenanceLamps] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#b5b3b3' // 控制灯颜色 + } + }; + this[deviceType.ZcCommunication] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + this[deviceType.ChainControl] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00', // 控制灯颜色 + offColor: '#ff0000' + } + }; + this[deviceType.IntersiteControl] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + this[deviceType.CenterCommunication] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + this[deviceType.LeuControl] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + this[deviceType.LocalControl] = { + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00', // 控制灯颜色 + offColor: '#ff0000' + } + }; + this[deviceType.ZcControl] = { + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#00FF00' // 控制灯颜色 + } + }; + + this[deviceType.LimitControl] = { + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#ECE9D8' // 控制灯颜色 + } + }; + + this[deviceType.Line] = { + lineColor: '#FFFFFF' // 线条颜色 + }; + this[deviceType.Automactic] = { + // 是否显示 + visible: true, + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + subtitleText: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 17 // 等于副标题距离 + }, + lamp: { + lineDash: null, // 灯的包围框 + stroke: '#FFFFFF', // 框的颜色 + fill: 'rgba(0,0,0,0)', // 填充色 + radiusR: 6, // 控制灯大小 + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightColor: '#FFFF00' // 控制灯亮颜色 + } + }; + this[deviceType.AutomaticRoute] = { + // 是否显示 + displayCondition: '03', // 显示条件prdType 为01 + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + fill: 'rgba(0,0,0,0)', // 填充色 + radiusR: 6, // 控制灯大小 + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightColor: '#FFFF00' // 控制灯亮颜色 + } + }; + this[deviceType.AutoTurnBack] = { + // 是否显示 + visibleConditions: '03', + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + subtitleText: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 17 // 等于副标题距离 + }, + lamp: { + borderShow: false, // 是否显示边框 + lineDash: null, // 灯的包围框 + stroke: '#FFFFFF', // 框的颜色 + fill: 'rgba(0,0,0,0)', // 填充色 + radiusR: 6, // 控制灯大小 + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightUpColor: '#ffff00' // 点亮灯颜色 + }, + OutFrame: { + + } + }; + + /** 引导总锁 */ + this[deviceType.GuideLock] = { + // 是否显示 + displayCondition: '03', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + fill: 'rgba(0,0,0,0)', // 填充色 + radiusR: 6, // 控制灯大小 + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightUpColor: '#FF0000' // 点亮灯颜色 + } + }; + + this[deviceType.TrainWindow] = { + lineColor: '#4DD43F', // 车次窗颜色 + lineDash: null, // 车次窗虚线间隔 + lineWidth: 1, // 车次窗线宽 + trainWindowSmooth: 0, // 车次窗矩形圆滑程度 + show: true // 车次窗是否显示 + }; + this[deviceType.SplitStation] = { + lineLength: 15, // 箭头线长度 + lineWidth: 2, // 线宽 + height: 35, // 分隔整体高度 + strokeColor: '#00FF00', // 线颜色 + triangleFillColor: '#00FF00', // 三角填充颜色 + textFill: '#FFFFFF', // 文字颜色 + verticalDistance: 10, // 箭头三角垂直高度 + horizontalDistance: 7// 箭头三角水平高度 + }; + this[deviceType.Train] = { + trainBody: { + fontFamily: 'consolas', + trainBodyLineWidth: 1, // 车身line宽 + changeTrainWidth: false, // 是否根据车身上车组号、服务号、车次号、目的地码显示情况改变列车长度 + specialTrainType: [ + { + type: '03', + serviceNumber: '---', + nameFormat: 'groupNumber:serviceNumber' + }, + { + type: '03', + nameFormat: 'serviceNumber:trainNumber' + } + ], // 特殊列车类型需设置显示格式 + lrPadding: 4, // 两边间隔 + upPadding: 4, // 上边距离 + trainBodyFillColor: '#000099', // 列车车身填充颜色 + trainNameFormat: 'serviceNumber:targetCode'// 列车显示格式 + }, + directionArrow: { + }, + soonerOrLater: { + level: 3, + trainBody: true, + earlyColor: '#00FF00', + lateColor: '#800000', + normalColor: '#FFF' + }, + hsda: { + lrPaddingHSDA: 3, // HSDA两边间隔 + upPaddingHSDA: 4, // HSDA上边距离 + trainHSDATextFontSize: 9, // 列车HDSA字号 + textHContent: '扣', // textH文本 + textSContent: '跳', // textS文本 + textDContent: '门', // textD文本 + textAContent: '警' // textA文本 + }, + trainNumber: { + targetCodePrefix: '000', // 目的地码前缀 + defaultTargetCode: 'DDD', // 默认目的地码 + trainTargetTextAlign: 'left', // 目的地码文字显示位置 + trainNumberOffset: { x: 24, y: 4}// 目的地码偏移量 + }, + trainServer: { + serviceNumberPrefix: '000', // 服务号(表号)前缀 + defaultServiceNumber: 'TTT', // 默认服务号(表号) + defaultServerNoColor: '#FFFFFF', // 默认服务号状态显示颜色 + trainServerOffset: { x: 4, y: 4} // 列车服务号偏移 + }, + trainTarget: { + tripNumberPrefix: '000', // 车次号前缀 + defaultTripNumber: 'DDD', // 默认车次号2 + trainTargetOffset: { x: 36, y: 4}, // 列车车次号偏移 + trainTargetTextAlign: 'right' // 车次号文字显示位置 + }, + trainTargetNumber: { + groupNumberPrefix: '000', // 车组号前缀 + defaultGroupNumber: 'EEE', // 默认车组号 + trainTargetNumberOffset: {x: -4, y: 4}// 车组号偏移量 + }, + trainHead: { + trainConntWidth: 3, // 列车竖杠的宽度 + trainHeadFillColor: '#000000', // 列车车头矩形填充颜色 + trainHeadRectHeight: 20, // 列车车头矩形高度 + directionStopType:'normal', // special 西安二号线 停车 列车方向图标不消失 normal 正常 + trainHeadHeight: 'trainBox', // 列车车头高度取决于trainBox高度 + trainHeadArrowWidth: 6, // 列车车头三角宽度 + trainHeadArrowOffsetX: 5 // 列车车头三角偏移 + }, + common: { + trainHeight: 20, // 列车高度 + trainHeadDistance: 4, // 列车和车头之间的间距 + trainWidth: 48, // 列车长度 + trainTextFontSize: 12, // 列车字号 + fontFamily: 'consolas', // 默认字体 族类 + haveTextHSDA: true, // 是否需创建textHSDA对象 + haveArrowText: true, // 是否需创建arrowText对象 + textOffset: 4, // 字体偏移(用以控制字体据车头的距离) + trainWidthMoreText: 8, // 计算列车长度时--列车长比text多出尺寸 + trainTip:true // 鼠标悬停列车状态信息框是否显示 + }, + trainStatusStyle: { + trainTypeStatus: [ + {type: '03', serviceNumberColor: '#FFF000', groupNumberColor: '#FFF000'}, + {type: '02', trainNumberColor: '#FFF000', groupNumberColor: '#FFF000'} + ], // 列车类型对应的识别号样式 + defaultDestinationColor: '#FFFFFF', // 默认目的地状态显示颜色 + destinationStatusSetText: 'trainWindowBorder', // 目的地状态设置的对应哪个颜色 + destinationStatus: [ + {status: '01', showColor: '#FFFFFF'}, + {status: '02', showColor: '#00FF00'}, + {status: '03', showColor: '#A0522D'} + ], // 目的地状态 01准点 02早点 03晚点 04头码车 + serverNoType: [ + {type: '01', showColor: '#FFFFFF'}, + {type: '02', showColor: '#FFF000'} + ], // 服务号状态类型 01显示服务号 计划车 02显示车组号: 头码车与人工车 + directionType: [ + { + type: 1, + lineLShow: false, + lineRShow: true, + arrowLShow: false, + arrowRShow: true + }, + { + type: 0, + lineLShow: true, + lineRShow: false, + arrowLShow: true, + arrowRShow: false + } + ], // 列车运行方向状态类型对应车头显示状态 1从左往右 0从右往左 + directionStopType: [ + { + type: 1, + lineLShow: false, + lineRShow: true + }, + { + type: 0, + lineLShow: true, + lineRShow: false + } + ], // 列车停止方向类型对应车头显示状态 1从左往右 0从右往左 + driveModeStatus: [ + { + status: 'AM', + trainLColor: '#FF8000', + trainRColor: '#FF8000' + }, + { + status: 'CM', + trainLColor: '#FFFF00', + trainRColor: '#FFFF00' + }, + { + status: 'RM', + trainLColor: '#C2C2C2', + trainRColor: '#C2C2C2' + }, + { + status: 'NRM', + trainLColor: '#FF0000', + trainRColor: '#FF0000' + } + ], // 列车运行模式对应车头颜色 ATO自动驾驶模式AM ATP监控下的人工驾驶模式CM 限制人工驾驶模式RM 非限制人工驾驶模式NRM + communicationStatus: [ + {status: 'CBTC', trainColor: '#000099'}, + {status: 'ITC', trainColor: '#747474'}, + {status: 'IL', trainColor: '#747474'} + ] // 设置通信状态 cbtc级别CBTC 点式通信ITC 联锁级IL + } + }; + this[deviceType.FloodGate] = {}; + this[deviceType.DirectionRod] = {}; + this[deviceType.IndicatorLight] = { + displayCondition: '01', // 显示条件 (01所有模式下显示 02 行调显示 03现地显示) + indicator:{ + radiusR:6, + offset:{ x:0, y:20}, + color:'red' + }, + text:{ + fontWeight:'normal', + fontSize:12, + fontFamily:'宋体' + } + }; + this[deviceType.PickOrDepartArrow] = { + triangleLength: 10, + lineWidth: 4, + length: 20, + distance: 15, + fill: '#000', + stroke: '#fff', + fontSize: 11, + defaultText: '接发车', + defaultColor: '#ccc' + }; + this[deviceType.Occlusion] = { + text: { + fontSize: 11, // 字体大小 + fontWeight: 'normal', // 字体粗细 + distance: 5 // 灯跟文字距离 + }, + lamp: { + radiusR: 6, // 控制灯大小 + controlColor: '#ccc' // 控制灯颜色 + } + }; + this[deviceType.Accident] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.Recovery] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.PickAssist] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.DepartAssist] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.TotalAssist] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.AssistStatus] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + this[deviceType.SectionOccupied] = { + text: { + fontSize: 11, + fontWeight: 'normal', + distance: 5 + }, + lamp: { + radiusR: 6, + controlColor: '#ccc' + } + }; + } +} + +export default new SkinCode(); diff --git a/src/jmapNew/constant/deviceRender.js b/src/jmapNew/constant/deviceRender.js index a56eed264..c8cf5434e 100644 --- a/src/jmapNew/constant/deviceRender.js +++ b/src/jmapNew/constant/deviceRender.js @@ -285,4 +285,49 @@ deviceRender[deviceType.IndicatorLight] = { _type: deviceType.IndicatorLight, zlevel: 1 }; +/** 接发车指示灯 */ +deviceRender[deviceType.PickOrDepartArrow] = { + _type: deviceType.PickOrDepartArrow, + zlevel: 1 +}; +/** 区间占用 区间监控 */ +deviceRender[deviceType.SectionOccupied] = { + _type: deviceType.SectionOccupied, + zlevel: 1 +}; +/** 辅助状态 */ +deviceRender[deviceType.AssistStatus] = { + _type: deviceType.AssistStatus, + zlevel: 1 +}; +/** 总辅助状态 */ +deviceRender[deviceType.TotalAssist] = { + _type: deviceType.TotalAssist, + zlevel: 1 +}; +/** 发车辅助 */ +deviceRender[deviceType.DepartAssist] = { + _type: deviceType.DepartAssist, + zlevel: 1 +}; +/** 接车辅助 */ +deviceRender[deviceType.PickAssist] = { + _type: deviceType.PickAssist, + zlevel: 1 +}; +/** 复原状态灯 */ +deviceRender[deviceType.Recovery] = { + _type: deviceType.Recovery, + zlevel: 1 +}; +/** 事故状态灯 */ +deviceRender[deviceType.Accident] = { + _type: deviceType.Accident, + zlevel: 1 +}; +/** 闭塞状态灯 */ +deviceRender[deviceType.Occlusion] = { + _type: deviceType.Occlusion, + zlevel: 1 +}; export default deviceRender; diff --git a/src/jmapNew/constant/deviceType.js b/src/jmapNew/constant/deviceType.js index c4a2d6351..88359412a 100644 --- a/src/jmapNew/constant/deviceType.js +++ b/src/jmapNew/constant/deviceType.js @@ -50,7 +50,15 @@ const deviceType = { FloodGate: 'FloodGate', DirectionRod: 'DirectionRod', Responder: 'Responder', - SignalButton: 'SignalButton' + SignalButton: 'SignalButton', + PickOrDepartArrow: 'PickOrDepartArrow', + Occlusion: 'Occlusion', + Accident: 'Accident', + Recovery: 'Recovery', + PickAssist: 'PickAssist', + DepartAssist: 'DepartAssist', + TotalAssist: 'TotalAssist', + AssistStatus: 'AssistStatus', + SectionOccupied: 'SectionOccupied' }; - export default deviceType; diff --git a/src/jmapNew/parser/parser-graph.js b/src/jmapNew/parser/parser-graph.js index 4a73436f8..ba73b2e75 100644 --- a/src/jmapNew/parser/parser-graph.js +++ b/src/jmapNew/parser/parser-graph.js @@ -350,6 +350,15 @@ export function updateMapData(state, model) { case deviceType.Axle: updateForList(model, state, 'indicatorLightList'); break; case deviceType.SwitchFault: updateForList(model, state, 'indicatorLightList'); break; case deviceType.IndicatorLight: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.PickOrDepartArrow: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.Occlusion: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.Accident: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.Recovery: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.PickAssist: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.DepartAssist: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.TotalAssist: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.AssistStatus: updateForList(model, state, 'indicatorLightList'); break; + case deviceType.SectionOccupied: updateForList(model, state, 'indicatorLightList'); break; case deviceType.SplitStation: updateForList(model, state, 'splitStationList'); break; case deviceType.Arrow: updateForList(model, state, 'arrowList'); break; case deviceType.Power: updateForList(model, state, 'powerLineList'); break; diff --git a/src/jmapNew/shape/graph/SaidLamp/EPickOrDepartArrow.js b/src/jmapNew/shape/graph/SaidLamp/EPickOrDepartArrow.js new file mode 100644 index 000000000..1af75865e --- /dev/null +++ b/src/jmapNew/shape/graph/SaidLamp/EPickOrDepartArrow.js @@ -0,0 +1,56 @@ +import Group from 'zrender/src/container/Group'; +import Text from 'zrender/src/graphic/Text'; +import Polygon from 'zrender/src/graphic/shape/Polygon'; + +export default class EPickOrDepartArrow extends Group { + constructor(model) { + super(); + this.model = model; + this.zlevel = model.zlevel; + this._subType = model._subType; + this.z = model.z; + this.create(model); + } + create(model) { + const style = this.model.style; + this.arrow = new Polygon({ + zlevel: this.zlevel, + z: this.z, + origin: [model.x + style.PickOrDepartArrow.length/2, model.y], + rotation: model.right ? Math.PI : 0, + shape: { + points: [ + [model.x, model.y], + [model.x + style.PickOrDepartArrow.triangleLength, model.y - style.PickOrDepartArrow.triangleLength / 2], + [model.x + style.PickOrDepartArrow.triangleLength, model.y - style.PickOrDepartArrow.lineWidth / 2], + [model.x + style.PickOrDepartArrow.length, model.y - style.PickOrDepartArrow.lineWidth / 2], + [model.x + style.PickOrDepartArrow.length, model.y + style.PickOrDepartArrow.lineWidth / 2], + [model.x + style.PickOrDepartArrow.triangleLength, model.y + style.PickOrDepartArrow.lineWidth / 2], + [model.x + style.PickOrDepartArrow.triangleLength, model.y + style.PickOrDepartArrow.triangleLength / 2] + ] + }, + style: { + fill: style.PickOrDepartArrow.fill, + stroke: style.PickOrDepartArrow.stroke, + lineWidth: 1 + } + }); + this.arrowText = new Text({ + zlevel: this.zlevel, + z: this.z, + style: { + x: model.x + style.PickOrDepartArrow.length / 2, + y: model.y + style.PickOrDepartArrow.distance, + fontWeight: style.textStyle.fontWeight, + fontSize: style.PickOrDepartArrow.fontSize, + fontFamily: style.fontFamily, + text: model.text, + textFill: style.PickOrDepartArrow.defaultColor, + textAlign: style.textStyle.textAlign, + textVerticalAlign: style.textStyle.textVerticalAlign + } + }); + this.add(this.arrow); + this.add(this.arrowText); + } +} diff --git a/src/jmapNew/shape/graph/SaidLamp/index.js b/src/jmapNew/shape/graph/SaidLamp/index.js index 6115e6eae..528733e6c 100644 --- a/src/jmapNew/shape/graph/SaidLamp/index.js +++ b/src/jmapNew/shape/graph/SaidLamp/index.js @@ -10,6 +10,7 @@ import EModeStatus from './EModeStatus'; import EUnmanned from './EUnmanned'; import EAxle from './EAxle'; import EIndicatorLight from './EIndicatorLight'; +import EPickOrDepartArrow from './EPickOrDepartArrow'; import store from '@/store/index'; export default class SaidLamp extends Group { @@ -31,7 +32,9 @@ export default class SaidLamp extends Group { create() { const model = this.model; - const lampDevice = ['LeuControl', 'IntersiteControl', 'CenterCommunication', 'AtsControl', 'LocalControl', 'ChainControl', 'Maintain', 'PowerSupply', 'MaintenanceLamps', 'ZcCommunication', 'SwitchFault']; + const lampDevice = ['LeuControl', 'IntersiteControl', 'CenterCommunication', 'AtsControl', 'LocalControl', 'ChainControl', 'Maintain', + 'PowerSupply', 'MaintenanceLamps', 'ZcCommunication', 'SwitchFault', 'SectionOccupied', 'AssistStatus', 'TotalAssist', 'DepartAssist', + 'PickAssist', 'Recovery', 'Accident', 'Occlusion']; if (lampDevice.includes(this._type)) { this.control = new EControl({ zlevel: this.zlevel, @@ -176,10 +179,22 @@ export default class SaidLamp extends Group { _subType: 'IndicatorLight' }); this.add(this.control); - } + } else if (this._type === 'PickOrDepartArrow') { + this.control = new EPickOrDepartArrow({ + zlevel: this.zlevel, + z: this.z, + x: model.position.x, + y: model.position.y, + text: model.name, + right: model.right, + style: this.style, + _subType: 'PickOrDepartArrow' + }); + this.add(this.control); + } } - // 设置状态 + // 设置状态 498 setState(model) { this.recover(); if (!store.getters['map/checkDeviceShow'](this._code)) { diff --git a/src/jmapNew/shape/graph/SignalButton/index.js b/src/jmapNew/shape/graph/SignalButton/index.js index 06b830fff..f7c52d48d 100644 --- a/src/jmapNew/shape/graph/SignalButton/index.js +++ b/src/jmapNew/shape/graph/SignalButton/index.js @@ -100,15 +100,18 @@ export default class SignalButton extends Group { } getTypeColor() { let color = ''; + const list = ['ASSIST', 'ACCIDENT', 'PICK_ASSIST', 'DEPART_ASSIST', 'CHANGE_DIRECTION']; if (this.model.type === 'FLEXIBLE' || this.model.type === 'SHUNT_TERMINAL') { color = '#808080'; } else if (this.model.type === 'GUIDE') { color = '#5050E1'; - } else { + } else if (list.includes(this.model.type)) { + color = '#ccc' + } else { color = '#008000'; } return color; - } + }//12 recover() { this.stopAnimation(); this.rectButton && this.rectButton.setStyle({ fill:this.getTypeColor() }); diff --git a/src/jmapNew/shape/graph/Station/ESingleControl.js b/src/jmapNew/shape/graph/Station/ESingleControl.js index 68188592d..cc1e2582a 100644 --- a/src/jmapNew/shape/graph/Station/ESingleControl.js +++ b/src/jmapNew/shape/graph/Station/ESingleControl.js @@ -36,9 +36,9 @@ export default class ESingleControl extends Group { r: model.style.Station.StationControl.lamp.radiusR }, style: { - lineWidth: 0, + lineWidth: model.style.Station.StationControl.lamp.lineWidth || 0, fill: model.style.Station.StationControl.lamp.grayColor, - stroke: model.style.Station.StationControl.lamp.grayColor + stroke: model.style.Station.StationControl.lamp.strokeColor } }); diff --git a/src/jmapNew/shape/graph/Station/index.js b/src/jmapNew/shape/graph/Station/index.js index a837e5fee..1dbe18501 100644 --- a/src/jmapNew/shape/graph/Station/index.js +++ b/src/jmapNew/shape/graph/Station/index.js @@ -161,6 +161,8 @@ export default class Station extends Group { this.createCenterControl(); // 中控按钮 this.createSubstationControl(); // 站控按钮 this.createInterconnectedControl(); // 联锁控 + this.createVeryControl(); + this.createSelfDiscipline(); } } } @@ -304,7 +306,97 @@ export default class Station extends Group { } } } - + createSelfDiscipline() { + const model = this.model; + if (this.style.Station.StationControl.selfDiscipline) { + this.selfDiscipline = new ESingleControl({ + _subType: 'self_discipline', + style: this.style, + zlevel: this.zlevel, + z: this.z, + point: { + x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance * 2 + this.style.Station.StationControl.selfDiscipline.offset.x, + y: model.controlModePoint.y + this.style.Station.StationControl.selfDiscipline.offset.y + }, + context: this.style.Station.StationControl.selfDiscipline.text, + pop: false + }); + this.add(this.selfDiscipline); + } + if (this.style.Station.StationControl.selfDisciplineControl) { + this.selfDisciplineControl = new ESingleControl({ + _subType: 'self_discipline_control', + style: this.style, + zlevel: this.zlevel, + z: this.z, + point: { + x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance + this.style.Station.StationControl.selfDisciplineControl.offset.x, + y: model.controlModePoint.y + this.style.Station.StationControl.selfDisciplineControl.offset.y + }, + context: this.style.Station.StationControl.selfDisciplineControl.text, + pop: false + }); + this.add(this.selfDisciplineControl); + } + } + createVeryControl() { + console.log('createVeryControl', this.style.Station.StationControl.veryControl); + const model = this.model; + if (this.style.Station.StationControl.veryControl) { + this.veryControl = new ESingleControl({ + _subType: 'very', + style: this.style, + zlevel: this.zlevel, + z: this.z, + point: { + x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 3 / 2 + this.style.Station.StationControl.veryControl.offset.x, + y: model.controlModePoint.y + this.style.Station.StationControl.centerControl.offset.y + }, + context: this.style.Station.StationControl.veryControl.text, + pop: false + }); + console.log(this.veryControl, 'veryContro'); + this.add(this.veryControl); + } + if (this.style.Station.StationControl.veryControlButton) { + this.veryControlButton = new Rect({ + zlevel: this.zlevel, + z: this.z, + _subType: 'veryControlButton', + shape: { + x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 5 / 2 + this.style.Station.StationControl.veryControlButton.offset.x - this.style.Station.StationControl.lamp.radiusR, + y: model.controlModePoint.y + this.style.Station.StationControl.veryControlButton.offset.y - this.style.Station.StationControl.lamp.radiusR, + width: this.style.Station.StationControl.lamp.radiusR * 2, + height: this.style.Station.StationControl.lamp.radiusR * 2 + }, + style: { + lineWidth: 1, + stroke: '#fff', + fill: '#ccc' + } + }); + this.add(this.veryControlButton); + this.veryControlButtonText = new Text({ + zlevel: this.zlevel, + z: this.z, + _subType: 'veryControlButtonText', + position: [0, 0], + style: { + x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 5 / 2 + this.style.Station.StationControl.veryControlButton.offset.y, + y: model.controlModePoint.y + this.style.Station.StationControl.veryControlButton.offset.y + this.style.Station.StationControl.lamp.radiusR + this.style.Station.StationControl.text.distance, + fontWeight: this.style.Station.StationControl.text.fontWeight, + fontSize: this.style.Station.StationControl.text.fontSize, + fontFamily: this.style.fontFamily, + text: this.style.Station.StationControl.veryControlButton.text, + textFill: this.style.Station.StationControl.text.fontColor, + textAlign: this.style.Station.StationControl.text.textAlign, + textVerticalAlign: this.style.Station.StationControl.text.textVerticalAlign + }, + pop: false, + }); + this.add(this.veryControlButtonText); + } + } createCenterControl() { // 中控按钮 const model = this.model; if (this.style.Station.StationControl.centerControl.show) { diff --git a/src/jmapNew/shape/graph/index.js b/src/jmapNew/shape/graph/index.js index df795cbff..db2761975 100644 --- a/src/jmapNew/shape/graph/index.js +++ b/src/jmapNew/shape/graph/index.js @@ -77,6 +77,15 @@ mapShape[deviceType.ReturnModeGroup] = SaidLamp; mapShape[deviceType.Axle] = SaidLamp; mapShape[deviceType.SwitchFault] = SaidLamp; mapShape[deviceType.IndicatorLight] = SaidLamp; +mapShape[deviceType.PickOrDepartArrow] = SaidLamp; +mapShape[deviceType.Occlusion] = SaidLamp; +mapShape[deviceType.Accident] = SaidLamp; +mapShape[deviceType.Recovery] = SaidLamp; +mapShape[deviceType.PickAssist] = SaidLamp; +mapShape[deviceType.DepartAssist] = SaidLamp; +mapShape[deviceType.TotalAssist] = SaidLamp; +mapShape[deviceType.AssistStatus] = SaidLamp; +mapShape[deviceType.SectionOccupied] = SaidLamp; mapShape[deviceType.SplitStation] = SplitStation; mapShape[deviceType.Arrow] = Arrow; mapShape[deviceType.Power] = Power; diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControl.vue new file mode 100644 index 000000000..d298f8bc1 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControl.vue @@ -0,0 +1,141 @@ + + + + + {{ message }} + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControlSpeed.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControlSpeed.vue new file mode 100644 index 000000000..d49556383 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmControlSpeed.vue @@ -0,0 +1,156 @@ + + + + {{ message }} + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTip.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTip.vue new file mode 100644 index 000000000..6852074ca --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTip.vue @@ -0,0 +1,74 @@ + + + + {{ message }} + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTrain.vue new file mode 100644 index 000000000..494347b75 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/confirmTrain.vue @@ -0,0 +1,173 @@ + + + + + {{ message }} + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/passwordInputBox.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/passwordInputBox.vue new file mode 100644 index 000000000..2f41411df --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/passwordInputBox.vue @@ -0,0 +1,194 @@ + + + + + + + + + + *密码输入错误请重新输入* + + + + + 7 + + + 8 + + + 9 + + + + + 4 + + + 5 + + + 6 + + + + + 1 + + + 2 + + + 3 + + + + + 0 + + + C + + + < + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/childDialog/popupAlarm.vue b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/popupAlarm.vue new file mode 100644 index 000000000..b6b925622 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/childDialog/popupAlarm.vue @@ -0,0 +1,94 @@ + + + + + {{ message }} + + + + + 确定 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/drawSelect.vue b/src/jmapNew/theme/datie_02/menus/dialog/drawSelect.vue new file mode 100644 index 000000000..10fb5b5cd --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/drawSelect.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + 打开 + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/routeDetail.vue b/src/jmapNew/theme/datie_02/menus/dialog/routeDetail.vue new file mode 100644 index 000000000..b7211c025 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/routeDetail.vue @@ -0,0 +1,196 @@ + + + + + 车站 + + + + 始端信号机 + + + + + + + + + + + {{ handleRouteName(scope.row.name) }} + + + + + + + {{ handleDirection(scope.row.startSignalCode) }} + + + + + + + {{ scope.row.turnBack ? '折返': '直通' }} + + + + + + + {{ scope.row.atsControl == '0' ? '人工' : '自动' }} + + + + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/routeGuide.vue b/src/jmapNew/theme/datie_02/menus/dialog/routeGuide.vue new file mode 100644 index 000000000..11cba9131 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/routeGuide.vue @@ -0,0 +1,278 @@ + + + + 车站 + + + + 始端信号机 + + + + + + 进路列表 + + + + + {{ handleRouteName(scope.row.name) }} + + + + + + + {{ handleDirection(scope.row.startSignalCode) }} + + + + + + + {{ scope.row.turnBack ? '折返': '直通' }} + + + + + + + {{ scope.row.atsControl == '0' ? '人工' : '自动' }} + + + + + + + + 执行 + 取 消 + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/datie_02/menus/dialog/routeHandControl.vue new file mode 100644 index 000000000..69ce0d572 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/routeHandControl.vue @@ -0,0 +1,267 @@ + + + + + 车站 + 始端信号机 + + + + + + + + + + + + + + + {{ handleRouteName(scope.row.name) }} + + + + + + + {{ handleDirection(scope.row.startSignalCode) }} + + + + + + + {{ scope.row.turnBack ? '折返': '直通' }} + + + + + + + {{ scope.row.atsControl == '0' ? '人工' : '自动' }} + + + + + + + + 确定 + + + 取 消 + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/routeSelection.vue b/src/jmapNew/theme/datie_02/menus/dialog/routeSelection.vue new file mode 100644 index 000000000..12014afb3 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/routeSelection.vue @@ -0,0 +1,325 @@ + + + + 车站 + + + + 始端信号机 + + + + + + 进路列表 + + + + + {{ handleRouteName(scope.row.name) }} + + + + + + + {{ handleDirection(scope.row.startSignalCode) }} + + + + + + + {{ scope.row.turnBack ? '折返': '直通' }} + + + + + + + {{ scope.row.atsControl == '0' ? '人工' : '自动' }} + + + + + + + + 执行 + 取 消 + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/sectionDetail.vue b/src/jmapNew/theme/datie_02/menus/dialog/sectionDetail.vue new file mode 100644 index 000000000..7e6a03371 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/sectionDetail.vue @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + 确定 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/standControl.vue b/src/jmapNew/theme/datie_02/menus/dialog/standControl.vue new file mode 100644 index 000000000..c6c29c830 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/standControl.vue @@ -0,0 +1,603 @@ + + + + + 车站 + + + + 站台 + + + + + + 范围 + + + + 本站台 + + 上行全线 + + 下行全线 + + + + + + 功能 + + + + 扣车 + + + + 取消扣车 + + + + + + + 范围 + + + + + 站台跳停 + + + 指定列车跳停 + + 车组号 + + + + + + + + + + 功能 + + + + 跳停 + + + + 取消跳停 + + + + + + + 范围 + + + + + 自动 + + + 人工 + + 运行等级 + + + + + + 停站时间 + + 秒 + + + + + + + 功能 + + + 一次有效 + 一直有效 + + + + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/standDetail.vue b/src/jmapNew/theme/datie_02/menus/dialog/standDetail.vue new file mode 100644 index 000000000..efe048e52 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/standDetail.vue @@ -0,0 +1,217 @@ + + + + + 车站 + + + 站台 + + + + + + + + + + + + + 停站时间 + + + + + + + + 运行等级 + + + + + + + + 扣车 + + + + + + + + 跳停 + + + + + + + + 1 + + + 退出 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainControl.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainControl.vue new file mode 100644 index 000000000..738d9509e --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainControl.vue @@ -0,0 +1,332 @@ + + + + + + + + 车站 + + + + + + 轨道 + + + + 车次窗 + + + + + + + + + + + + + + + + + 服务号 + + + + 目的地 + + + + + + 序列号 + + + + 服务号 + + + + + + + + 运行模式 + + + 普通 + 专列 + 不停站直达 + + + + + + + + + 确定 + + + 取 消 + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainCreate.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainCreate.vue new file mode 100644 index 000000000..59f7935b6 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainCreate.vue @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + 确定 + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainCreateNumber.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainCreateNumber.vue new file mode 100644 index 000000000..e56f2f80d --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainCreateNumber.vue @@ -0,0 +1,181 @@ + + + + + + + + 车站 + + + + + + 车次窗 + + + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainDelete.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainDelete.vue new file mode 100644 index 000000000..895d6024c --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainDelete.vue @@ -0,0 +1,150 @@ + + + + + + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainDeleteNumber.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainDeleteNumber.vue new file mode 100644 index 000000000..210e2dc87 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainDeleteNumber.vue @@ -0,0 +1,176 @@ + + + + + + + + 车站 + + + + + + 车次窗 + + + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainDetailInfo.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainDetailInfo.vue new file mode 100644 index 000000000..907727139 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainDetailInfo.vue @@ -0,0 +1,378 @@ + + + + + + + + + + 车组号 + + + + + + 服务类型 + + + + + + + + 服务号 + + + + + + 序列号 + + + + + + + + 司机号 + + + + + + 目的地号 + + + + + + + + 车站 + + + + + + 轨道 + + + + + + + + 下一站 + + + + + + 目的地 + + + + + + + + 跟踪模式 + + + + + + 运行状态 + + + + + + + + 出发时刻 + + + + + + 到达时刻 + + + + + + + + 计划偏离 + + + + + + + + + + + + 编组号 + + + + + + + + 车头号1 + + + + + + 车头号2 + + + + + + + + + + + + + + + + 车载ID + + + + + + 运行方向 + + + + + + + + 驾驶模式 + + + + + + 速度 + + + + + + + + 停准状态 + + + + + + 车门状态 + + + + + + + + 运行等级 + + + + + + 停跳状态 + + + + + + + + 车头位置 + + + + + + 载重率 + + + + + + + + + + + + 退出 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainEditNumber.vue new file mode 100644 index 000000000..570e22144 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainEditNumber.vue @@ -0,0 +1,174 @@ + + + + + + + + 车站 + + + + + + 车次窗 + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainMove.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainMove.vue new file mode 100644 index 000000000..82c84dc13 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainMove.vue @@ -0,0 +1,200 @@ + + + + + + + + + + + 源车次窗 + + + 车 站: + + + + + + + + + + + 目的车次窗 + + + 车 站: + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainMoveNumber.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainMoveNumber.vue new file mode 100644 index 000000000..7e7635d23 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainMoveNumber.vue @@ -0,0 +1,193 @@ + + + + + + + + 车站 + + + + + + 车次窗 + + + + + + + + + + + + + + + + + 车站 + + + + + + 目的车次窗 + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainSwitch.vue new file mode 100644 index 000000000..583e53d8e --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainSwitch.vue @@ -0,0 +1,209 @@ + + + + + + 源车次窗 + + + + + + 车 站: + + + + + + + + + + + 目的车次窗 + + + + + + 车 站: + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue new file mode 100644 index 000000000..952041774 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/index.vue @@ -0,0 +1,478 @@ + + + + + + {{ elem.message }} + + + + 联锁I + 联锁II + 操作A + 操作B + 维修机 + + + + {{ elem.message }} + + + + 提示信息窗 + {{ '操控A:主机' + ' ' + dateString + ' ' + time }} + + + + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuBar.vue b/src/jmapNew/theme/datie_02/menus/menuBar.vue new file mode 100644 index 000000000..e7be252ef --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuBar.vue @@ -0,0 +1,685 @@ + + + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuButton.vue b/src/jmapNew/theme/datie_02/menus/menuButton.vue new file mode 100644 index 000000000..8137af30a --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuButton.vue @@ -0,0 +1,692 @@ + + + + + X引导总锁 + + + + + + 坡道解锁 + + + + + 总取消 + + + + + 总人解 + + + + + 区故解 + + + + + 总定位 + + + + + 总反位 + + + + + 清除 + + + + + 单锁 + + + + + 单解 + + + + + 按钮封锁 + + + + + 按钮解封 + + + + + 道岔封锁 + + + + + 道岔解封 + + + + + 点灯 + + + + + 灭灯 + + + + + S引导总锁 + + + + + + 上电解锁 + + + + + + 辅助菜单 + + + + + + 分路不良 + + + + + + 标记窗 + + + + + 故障通知 + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/twoConfirmation.vue new file mode 100644 index 000000000..c1f7b93a3 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/twoConfirmation.vue @@ -0,0 +1,133 @@ + + + + + {{ message }} + + + + + 确认 + + + 关闭 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userAdd.vue new file mode 100644 index 000000000..6c98c5a53 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userAdd.vue @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userDelete.vue new file mode 100644 index 000000000..e64aa49f3 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userDelete.vue @@ -0,0 +1,129 @@ + + + + + + {{message}} + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userEdit.vue new file mode 100644 index 000000000..b03165a1b --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/childDialog/userEdit.vue @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/helpAbout.vue new file mode 100644 index 000000000..4dc26a4ce --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/helpAbout.vue @@ -0,0 +1,126 @@ + + + + + + + + ControlMonitor 1.3.5.0 + 确定 + + + 版权所有(C)2010-2011 北京玖琏科技有限公司 + + + + + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/limitSpeed.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/limitSpeed.vue new file mode 100644 index 000000000..e416e68e0 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/limitSpeed.vue @@ -0,0 +1,138 @@ + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/manageUser.vue new file mode 100644 index 000000000..deef68f43 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/manageUser.vue @@ -0,0 +1,285 @@ + + + + 用户列表 + + + + + + {{scope.row.jobNumber}} + + + + + {{scope.row.userName}} + + + + + + + + 刷新 + + 增加 + + 修改 + + 删除 + + + + + + + 确定 + + + 取 消 + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/passwordBox.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/passwordBox.vue new file mode 100644 index 000000000..69fa03d70 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/passwordBox.vue @@ -0,0 +1,221 @@ + + + + + + 用户名: + + + + 密 码: + + + + + + 1 + 2 + 3 + 4 + 5 + + + 回退 + + + 6 + 7 + 8 + 9 + 0 + + + 清空 + + + + + + 确定 + + + 取 消 + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/setLimitSpeed.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/setLimitSpeed.vue new file mode 100644 index 000000000..dfb5821b3 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/setLimitSpeed.vue @@ -0,0 +1,286 @@ + + + + + + 请求 + + 线路选择 + + + + + + 限制速度 + + + + + + + + 起始公里标 + + + + 结束公里标 + + + + + + 限速区段长度 + + + + + 查看 + + + 请求 + + + + + 执行 + + 线路选择 + + + + + + 限制速度 + + + + + + + + 起始公里标 + + + + 结束公里标 + + + + + + 限速区段长度 + + + + + 查看 + + + 请求 + + + + + 操作提示 + + + + + 设备列表 + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/stationControlConvert.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/stationControlConvert.vue new file mode 100644 index 000000000..046b66327 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/stationControlConvert.vue @@ -0,0 +1,433 @@ + + + + + + + + + + + {{ scope.row.operate }} + + + + + {{ scope.row.control }} + + + + + {{ scope.row.status }} + + + + + {{ scope.row.result }} + + + + + + 强制站控 + 请求站控 + + 请求中控 + + + + 关闭 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/trainAdd.vue new file mode 100644 index 000000000..fba049a10 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/trainAdd.vue @@ -0,0 +1,168 @@ + + + + + 添加位置 + + + 终 端: + + + + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/trainDelete.vue new file mode 100644 index 000000000..b1139915a --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/trainDelete.vue @@ -0,0 +1,151 @@ + + + + + 终 端: + + + + + + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/trainTranstalet.vue new file mode 100644 index 000000000..97918ae44 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/trainTranstalet.vue @@ -0,0 +1,158 @@ + + + + + + + + 目的 + + + 终 端: + + + + + + + + + + + + + 确定 + + + 取 消 + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/viewName.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/viewName.vue new file mode 100644 index 000000000..4a32473d5 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/viewName.vue @@ -0,0 +1,256 @@ + + + + + + 信号机名称 + + + 站台轨名称 + + + + + 按钮名称 + + + 折返轨名称 + + + + + 轨道名称 + + + 转换轨名称 + + + + + 道岔名称 + + + 标识灯名称 + + + + + 道岔区段名称 + + + 目的地名称 + + + + + 计轴区段名称 + + + 公里标 + + + + + + 确定 + + + 取 消 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuSection.vue b/src/jmapNew/theme/datie_02/menus/menuSection.vue new file mode 100644 index 000000000..210aa664a --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuSection.vue @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuSignal.vue b/src/jmapNew/theme/datie_02/menus/menuSignal.vue new file mode 100644 index 000000000..06e046f46 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuSignal.vue @@ -0,0 +1,366 @@ + + + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuStation.vue b/src/jmapNew/theme/datie_02/menus/menuStation.vue new file mode 100644 index 000000000..e370afb71 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuStation.vue @@ -0,0 +1,162 @@ + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuStationStand.vue b/src/jmapNew/theme/datie_02/menus/menuStationStand.vue new file mode 100644 index 000000000..252b55010 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuStationStand.vue @@ -0,0 +1,220 @@ + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuSwitch.vue b/src/jmapNew/theme/datie_02/menus/menuSwitch.vue new file mode 100644 index 000000000..983d64619 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuSwitch.vue @@ -0,0 +1,275 @@ + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuTool.vue b/src/jmapNew/theme/datie_02/menus/menuTool.vue new file mode 100644 index 000000000..95bc382b2 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuTool.vue @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/menuTrain.vue b/src/jmapNew/theme/datie_02/menus/menuTrain.vue new file mode 100644 index 000000000..0aa2adfb2 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/menuTrain.vue @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/datie_02/menus/passiveDialog/alarm.vue new file mode 100644 index 000000000..afbff9ddc --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/passiveDialog/alarm.vue @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 等 级 + + + + + + + + + + + + + 类 型 + + + + + + + + + + + + + + + + + 报警详细描述 + + + + + + 确 定 + + + 未确认{{ level }}级报警数目:1 + + + + + + + diff --git a/src/jmapNew/theme/datie_02/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/datie_02/menus/passiveDialog/timeout.vue new file mode 100644 index 000000000..e4ef062a6 --- /dev/null +++ b/src/jmapNew/theme/datie_02/menus/passiveDialog/timeout.vue @@ -0,0 +1,109 @@ + + + {{ name }},{{ msg }}! + + 确认 + + + + + diff --git a/src/jmapNew/theme/datie_02/model.js b/src/jmapNew/theme/datie_02/model.js new file mode 100644 index 000000000..c7d80a99e --- /dev/null +++ b/src/jmapNew/theme/datie_02/model.js @@ -0,0 +1,71 @@ +import deviceType from '../../constant/deviceType'; + +class Model { + constructor() { + this.screenLine = 3; + // 公共字段部分默认初始值 + 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/datie_02/operationConfig.js b/src/jmapNew/theme/datie_02/operationConfig.js new file mode 100644 index 000000000..1a6e6e84d --- /dev/null +++ b/src/jmapNew/theme/datie_02/operationConfig.js @@ -0,0 +1,945 @@ +// SECTION 区段 +// SWITCH 道岔 +// SIGNAL 信号机 +// START_SIGNAL 进路起始信号机 +// END_SIGNAL 进路终端信号机 + +// STATION 车站 +// STAND 站台 +// ROUTE 进路 +// CYCLE 自动折返 + +// {id: "1", trainingType: "ControlConvertMenu", name: "车站名称"} +// {id: "2", trainingType: "ControlConvertMenu", name: "车站控制模式编号"} +// {id: "3", trainingType: "Signal", name: "进路名称"} +// {id: "4", trainingType: "Signal", name: "进路编号"} +// {id: "5", trainingType: "Signal", name: "信号机名称"} +// {id: "6", trainingType: "Signal", name: "信号机编号"} + +// {id: "7", trainingType: "Switch", name: "道岔名称"} + +// {id: "8", trainingType: "Section", name: "物理区段名称"} +// {id: "9", trainingType: "Section", name: "逻辑区段名称"} + +// {id: "10", trainingType: "Stand", name: "车站名称"} +// {id: "11", trainingType: "Stand", name: "站台行驶方向编号"} +// {id: "12", trainingType: "Stand", name: "站台行驶方向"} +// {id: "13", trainingType: "Stand", name: "站台行驶方向编号(反)"} +// {id: "14", trainingType: "Stand", name: "站台行驶方向(反)"} +// {id: "29", trainingType: "Stand", name: "站台名称"} +// {id: "30", trainingType: "Stand", name: "站台编码"} + +// {id: "15", trainingType: "Switch", name: "道岔位置"} +// {id: "16", trainingType: "Switch", name: "道岔位置(反)"} +// {id: "17", trainingType: "Switch", name: "道岔编码"} + +// {id: "18", trainingType: "Section", name: "逻辑区段编码"} +// {id: "19", trainingType: "Section", name: "区段编号"} +// {id: "20", trainingType: "Section", name: "车站名称"} + +// {id: "21", trainingType: "Switch", name: "车站名称"} +// {id: "22", trainingType: "Section", name: "车站编号"} +// {id: "23", trainingType: "Switch", name: "车站编号"} +// {id: "24", trainingType: "Switch", name: "道岔计轴区段编号"} +// {id: "25", trainingType: "Switch", name: "道岔计轴区段名称"} + +import CMD from '@/scripts/cmdPlugin/CommandEnum'; +export default { + list: [ + // 控制模式 + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL.value, + skinCode: '04', + trainingName: '请求站控({2})', + trainingRemark: '请求站控功能', + trainingType: 'ControlConvertMenu', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【站控】', codeType:'STATION', subType:'substation' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL.value, + skinCode: '04', + trainingName: '请求紧急站控({2})', + trainingRemark: '请求紧急站控功能', + trainingType: 'ControlConvertMenu', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【紧急站控】', codeType:'STATION', subType:'emergency' }, + { deviceType: '04', orderNum: 3, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL.value, + skinCode: '04', + trainingName: '请求中控({2})', + trainingRemark: '请求中控功能', + trainingType: 'ControlConvertMenu', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【中控】', codeType:'STATION', subType:'center' }, + { deviceType: '04', orderNum: 3, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.ControlConvertMenu.CMD_CM_INTERLOCK_CONTROL.value, + skinCode: '04', + trainingName: '请求联锁控({2})', + trainingRemark: '请求联锁控功能', + trainingType: 'ControlConvertMenu', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【联锁控】', codeType:'STATION', subType:'interconnected' }, + { deviceType: '04', orderNum: 3, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' } + ] + }, + // 信号机列表 + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value, + skinCode: '04', + trainingName: '办理进路({3} 进路)', + trainingRemark: '办理进路功能', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '301', tip: '鼠标右键菜单选择【办理进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '3011', tip: '鼠标左键选择进路名称【{3}】', val: '{4}' }, + { deviceType: '04', orderNum: 3, operateCode: '3012', tip: '鼠标左键点击【执行】按钮' }, + { deviceType: '04', orderNum: 4, operateCode: '301', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value, + skinCode: '04', + trainingName: '办理进路({3} 进路)', + trainingRemark: '办理进路功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '3010', tip: '鼠标左键点击【排列进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '3010', tip: '鼠标左键点击【{5}】', codeType:'START_SIGNAL' }, + { deviceType: '04', orderNum: 3, operateCode: '3010', tip: '鼠标左键点击【{5}】', codeType:'END_SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value, + skinCode: '04', + trainingName: '办理引导进路({3})', + trainingRemark: '进路办理信号引导', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '308', tip: '鼠标右键菜单选择【办理引导进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '308', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '3086', tip: '鼠标左键选择进路名称【{3}】', val: '{4}' }, + { deviceType: '04', orderNum: 4, operateCode: '3082', tip: '鼠标左键点击【执行】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value, + skinCode: '04', + trainingName: '引导进路({3})[进路已锁闭]', + trainingRemark: '进路办理信号引导', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '3080', tip: '鼠标左键点击【引导进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '3080', tip: '鼠标左键点击【{5}】', codeType:'START_SIGNAL'}, // 进路编号值不正确 + { deviceType: 'mbm', orderNum: 3, operateCode: '0011', tip: '输入密码123,点击【确定】按钮', codeType: 'START_SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value, + skinCode: '04', + trainingName: '取消进路({3} 进路)', + trainingRemark: '取消进路功能', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '303', tip: '鼠标右键菜单选择【取消进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '303', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value, + skinCode: '04', + trainingName: '取消进路({3} 进路)', + trainingRemark: '取消进路功能(总取消)', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, + { deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CANCEL_GUIDE.value, + skinCode: '04', + trainingName: '取消引导({3})', + trainingRemark: '取消引导进路功能(总取消)', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, + { deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, + skinCode: '04', + trainingName: '总人解({3})', + trainingRemark: '总人解', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '305', tip: '鼠标右键菜单选择【总人解】' }, + { deviceType: '04', orderNum: 2, operateCode: '3050', tip: '输入密码123,点击【执行】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【确定】按钮' }, + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value, + skinCode: '04', + trainingName: '总人解({3})', + trainingRemark: '总人解', + trainingType: 'Signal', + productTypes: ['01'], + 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' } + ] + }, + { + maxDuration: 8, + minDuration: 5, + operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value, + skinCode: '04', + trainingName: '信号重开({5})', + trainingRemark: '信号重开功能', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '304', tip: '鼠标右键菜单选择【信号重开】' }, + { deviceType: '04', orderNum: 2, operateCode: '304', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 8, + minDuration: 5, + operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value, + skinCode: '04', + trainingName: '信号重开({5})', + trainingRemark: '信号重开功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '3010', tip: '鼠标左键点击【排列进路】' }, + { deviceType: '04', orderNum: 2, operateCode: '3010', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value, + skinCode: '04', + trainingName: '信号封锁({5})', + trainingRemark: '信号封锁', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '306', tip: '鼠标右键菜单选择【信号封锁】' }, + { deviceType: '04', orderNum: 2, operateCode: '306', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value, + skinCode: '04', + trainingName: '信号封锁({5})', + trainingRemark: '信号封锁功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2991', tip: '鼠标左键点击【封锁】' }, + { deviceType: '04', orderNum: 1, operateCode: '2991', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value, + skinCode: '04', + trainingName: '信号解封({5})', + trainingRemark: '信号解封', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '307', tip: '鼠标右键菜单选择【信号解封】' }, + { deviceType: '04', orderNum: 2, operateCode: '3072', tip: '鼠标左键点击【确认】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '307', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value, + skinCode: '04', + trainingName: '信号解封({5})', + trainingRemark: '信号解封功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2992', tip: '鼠标左键点击【解封】' }, + { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '2992', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value, + skinCode: '04', + trainingName: '进路收人工控({3})', + trainingRemark: '进路收人工控', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '314', tip: '鼠标右键菜单选择【进路收人工控】' }, + { deviceType: '04', orderNum: 2, operateCode: '3141', tip: '鼠标左键选择进路名称【{3}】', val: '{4}' }, + { deviceType: '04', orderNum: 3, operateCode: '314', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value, + skinCode: '04', + trainingName: '人工控({5})', + trainingRemark: '人工控', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '3140', tip: '鼠标左键点击【人工控】' }, + { deviceType: '04', orderNum: 2, operateCode: '3140', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ], + // 成都三号线 特殊配置 类似于哈尔滨线的 atp/联锁进路 配置 + config:{onlySignalOP:true} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value, + skinCode: '04', + trainingName: '进路交自动控({3})', + trainingRemark: '进路交自动控', + trainingType: 'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '315', tip: '鼠标右键菜单选择【进路交自动控】' }, + { deviceType: '04', orderNum: 2, operateCode: '3151', tip: '鼠标左键选择进路名称【{3}】', val: '{4}' }, + { deviceType: '04', orderNum: 3, operateCode: '315', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value, + skinCode: '04', + trainingName: '自动控({5})', + trainingRemark: '自动控', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '3150', tip: '鼠标左键点击【自动控】' }, + { deviceType: '04', orderNum: 2, operateCode: '3150', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' } + ], + config:{onlySignalOP:true} + }, + { + maxDuration: 15, + minDuration: 8, + operateType:CMD.Signal.CMD_SIGNAL_DETAIL.value, + skinCode: '04', + trainingName: '查询进路信息({5} 信号机)', + trainingRemark: '查询进路信息', + trainingType:'Signal', + productTypes: ['02'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '316', tip: '鼠标右键菜单选择【进路信息】' }, + { deviceType: '04', orderNum: 2, operateCode: '316', tip: '鼠标左键点击【确定】按钮' } + ] + }, + // 道岔列表 + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, // 0312 新增定位字典 + skinCode: '04', + trainingName: '单操到定位({7})', + trainingRemark: '单操到定位({15})', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '101', tip: '鼠标右键菜单选择【单操到定位】' }, + { deviceType: '02', orderNum: 2, operateCode: '101', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, + skinCode: '04', + trainingName: '单操到定位({7})', + trainingRemark: '单操到定位({7})', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '1010', tip: '鼠标左键点击【道岔定操】' }, + { deviceType: '02', orderNum: 2, operateCode: '1010', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, // 0313 新增定位字典 + skinCode: '04', + trainingName: '单操到反位({7})', + trainingRemark: '单操到反位({7})', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '102', tip: '鼠标右键菜单选择【单操到反位】' }, + { deviceType: '02', orderNum: 2, operateCode: '102', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, + skinCode: '04', + trainingName: '单操到反位({7})', + trainingRemark: '单操到反位({7})', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '1020', tip: '鼠标左键点击【道岔反操】' }, + { deviceType: '02', orderNum: 2, operateCode: '1020', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value, + skinCode: '04', + trainingName: '道岔单锁({7})', + trainingRemark: '道岔单锁功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '103', tip: '鼠标右键菜单选择【道岔单锁】' }, + { deviceType: '02', orderNum: 2, operateCode: '103', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value, + skinCode: '04', + trainingName: '道岔单锁({7})', + trainingRemark: '道岔单锁功能', + trainingType: 'Switch', + productTypes: ['01'], // 现地操作 + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '1030', tip: '鼠标左键点击【道岔单锁】' }, + { deviceType: '02', orderNum: 2, operateCode: '1030', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value, + skinCode: '04', + 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: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value, + skinCode: '04', + trainingName: '道岔解锁({7})', + trainingRemark: '道岔解锁功能', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '1040', tip: '鼠标左键点击【道岔解锁】' }, + { deviceType: '02', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '1040', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_BLOCK.value, + skinCode: '04', + trainingName: '道岔封锁({7})', + trainingRemark: '道岔封锁功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '105', tip: '鼠标右键菜单选择【道岔封锁】' }, + { deviceType: '02', orderNum: 2, operateCode: '1051', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '105', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_BLOCK.value, + skinCode: '04', + trainingName: '道岔封锁({7})', + trainingRemark: '道岔封锁功能', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '2991', tip: '鼠标左键点击【封锁】' }, + { deviceType: '02', orderNum: 2, operateCode: '2991', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value, + skinCode: '04', + trainingName: '道岔解封({7})', + trainingRemark: '道岔解封功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '106', tip: '鼠标右键菜单选择【道岔解封】' }, + { deviceType: '02', orderNum: 2, operateCode: '1062', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '106', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value, + skinCode: '04', + trainingName: '道岔解封({7})', + trainingRemark: '道岔解封功能', + trainingType: 'Switch', + productTypes: ['01'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '2992', tip: '鼠标左键点击【解封】' }, + { deviceType: '02', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '2992', tip: '鼠标左键点击【{7}】', codeType:'SWITCH' } + ] + }, + { + maxDuration: 20, + minDuration: 10, + operateType: CMD.Switch.CMD_SWITCH_FAULT_UNLOCK.value, + skinCode: '04', + trainingName: '区故解({7})', + trainingRemark: '道岔区段故障解锁功能', + trainingType: 'Switch', + productTypes: ['02'], + stepVOList: [ + { deviceType: '02', orderNum: 1, operateCode: '109', tip: '鼠标右键菜单选择【区故解】' }, + { deviceType: '02', orderNum: 2, operateCode: '1092', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '02', orderNum: 3, operateCode: '109', tip: '输入密码123,点击【确定】按钮' } + ] + }, + // 区段列表 + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value, + skinCode: '04', + trainingName: '区故解({8}{9})', + trainingRemark: '故障解锁功能', + trainingType: 'Section', + productTypes: ['02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: '402', tip: '鼠标右键菜单选择【区故解】' }, + { deviceType: '03', orderNum: 2, operateCode: '4023', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '402', tip: '输入密码123,点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value, + skinCode: '04', + trainingName: '区故解({8}{9})', + trainingRemark: '故障解锁功能', + trainingType: 'Section', + productTypes: ['01'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: '4020', tip: '鼠标左键点击【区故解】'}, + { deviceType: '03', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '03', orderNum: 3, operateCode: '4020', tip: '鼠标左键点击【{8}{9}】', codeType:'SECTION' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Section.CMD_SECTION_DETAILS.value, + skinCode: '04', + trainingName: '属性({8}{9})', + trainingRemark: '区段详情({8}{9})', + trainingType: 'Section', + productTypes: ['02'], + stepVOList: [ + { deviceType: '03', orderNum: 1, operateCode: '410', tip: '鼠标右键菜单选择【属性】' }, + { deviceType: '03', orderNum: 2, operateCode: '410', tip: '鼠标左键点击【确定】按钮' } + ] + }, + // 站台列表 + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value, + skinCode: '04', + trainingName: '设置扣车({10}-{12}站台)', + trainingRemark: '设置扣车功能', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '504', tip: '鼠标右键菜单选择【设置扣车】' }, + { deviceType: '06', orderNum: 2, operateCode: '504', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value, + skinCode: '04', + trainingName: '取消扣车({10}-{12}站台)', + trainingRemark: '设置取消扣车功能', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '505', tip: '鼠标右键菜单选择【取消扣车】' }, + { deviceType: '06', orderNum: 2, operateCode: '505', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_WHOLE_LINE_CANCEL_HOLD_TRAIN.value, + skinCode: '04', + trainingName: '全线取消扣车', + trainingRemark: '设置取消扣车功能({12}全线)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '505', tip: '鼠标右键菜单选择【取消扣车】' }, + { deviceType: '06', orderNum: 2, operateCode: 'com01', tip: '鼠标左键点击【{12}全线】按钮', val: 'true' }, + { deviceType: '06', orderNum: 3, operateCode: '505', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value, + skinCode: '04', + trainingName: '设置跳停({10}-{12}站台)', + trainingRemark: '设置跳停功能', + trainingType: 'Stand', + productTypes: ['01'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】'}, + { deviceType: '06', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【跳停】', codeType:'STAND', subType:'StopJumpLamp' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value, + skinCode: '04', + trainingName: '设置跳停({10}-{12}站台)', + trainingRemark: '设置跳停功能', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '502', tip: '鼠标右键菜单选择【跳停】' }, + { deviceType: '06', orderNum: 2, operateCode: '502', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value, + skinCode: '04', + trainingName: '取消跳停({10}-{12}站台)', + trainingRemark: '设置取消跳停功能', + trainingType: 'Stand', + productTypes: ['01'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】'}, + { deviceType: '06', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【取消跳停】', codeType:'STAND', subType:'CancelStopJumpLamp' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value, + skinCode: '04', + trainingName: '取消跳停({10}-{12}站台)', + trainingRemark: '设置取消跳停功能', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '503', tip: '鼠标右键菜单选择【取消跳停】' }, + { deviceType: '06', orderNum: 2, operateCode: '503', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, + skinCode: '04', + trainingName: '设置停站时间({10}-{12}站台)', + trainingRemark: '设置停站时间(自动, 一直有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, + { deviceType: '06', orderNum: 3, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, + skinCode: '04', + trainingName: '设置停站时间({10}-{12}站台)', + trainingRemark: '设置停站时间(人工, 20秒, 一直有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, + { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, + { deviceType: '06', orderNum: 4, operateCode: '5093', tip: '标左键点击,选择【一直有效】', val: '02' }, + { deviceType: '06', orderNum: 5, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value, + skinCode: '04', + trainingName: '设置停站时间({10}-{12}站台)', + trainingRemark: '设置停站时间(人工, 20秒, 一次有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, + { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, + { deviceType: '06', orderNum: 4, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, + skinCode: '04', + trainingName: '设置站间运行等级({10}-{12}站台)', + trainingRemark: '设置站间运行等级(自动, 一直有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【设置站间运行等级】' }, + { deviceType: '06', orderNum: 4, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, + skinCode: '04', + trainingName: '设置站间运行等级({10}-{12}站台)', + trainingRemark: '设置站间运行等级(人工, 常速, 一直有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【设置站间运行等级】' }, + { deviceType: '06', orderNum: 2, operateCode: '5106', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 3, operateCode: '5107', tip: '鼠标左键点击,取消选择【一直有效】', val: '02' }, + { deviceType: '06', orderNum: 4, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value, + skinCode: '04', + trainingName: '设置站间运行等级({10}-{12}站台)', + trainingRemark: '设置站间运行等级(人工, 常速, 一次有效)', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【设置站间运行等级】' }, + { deviceType: '06', orderNum: 2, operateCode: '5106', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 4, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } + ] + }, + { + maxDuration: 8, // 自动生成实训失败 + minDuration: 5, + operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value, + skinCode: '04', + trainingName: '显示站台信息({10}-{12}站台)', + trainingRemark: '查询站台状态功能', + trainingType: 'Stand', + productTypes: ['02'], + stepVOList: [ + { deviceType: '06', orderNum: 1, operateCode: '507', tip: '鼠标右键菜单选择【显示站台信息】' }, + { deviceType: '06', orderNum: 2, operateCode: '0012', tip: '鼠标左键点击【退出】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO.value, + skinCode: '04', + trainingName: '设置自动进路({3})', + trainingRemark: '设置自动进路功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【{3}】', codeType:'BUTTON' } + ], + // 成都三号线 特殊配置 类似于哈尔滨线的 atp/联锁进路 配置 + config:{autoRouteBT:true} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO.value, + skinCode: '04', + trainingName: '取消自动进路({3})', + trainingRemark: '取消自动进路功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, + { deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{3}】', codeType:'BUTTON' } + ], + // 成都三号线 特殊配置 类似于哈尔滨线的 atp/联锁进路 配置 + config:{autoRouteBT:true} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK.value, + skinCode: '04', + trainingName: '设置自动折返({3})', + trainingRemark: '设置自动折返功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2993', tip: '鼠标左键点击【功能按钮】' }, + { deviceType: '04', orderNum: 2, operateCode: '2993', tip: '鼠标左键点击【{3}】', codeType:'BUTTON' } + ], + // 成都三号线 特殊配置 类似于哈尔滨线的 atp/联锁进路 配置 + config:{autoCycleBT:true} + }, + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Signal.CMD_SIGNAL_CANCEL_AUTO_TURN_BACK.value, + skinCode: '04', + trainingName: '取消自动折返({3})', + trainingRemark: '取消自动折返功能', + trainingType: 'Signal', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' }, + { deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{3}】', codeType:'BUTTON' } + ], + // 成都三号线 特殊配置 类似于哈尔滨线的 atp/联锁进路 配置 + config:{autoCycleBT:true} + }, + /** 引导总锁 */ + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK.value, + skinCode: '04', + trainingName: '引导总锁({26})', + trainingRemark: '设置引导总锁', + trainingType: 'Station', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' }, + { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '609', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' } + ], + config:{guideTotalLockBT:true} + }, + /** 取消引导总锁 */ + { + maxDuration: 15, + minDuration: 8, + operateType: CMD.Station.CMD_STATION_CANCEL_MASTER_GUIDE_LOCK.value, + skinCode: '04', + trainingName: '取消引导总锁({26})', + trainingRemark: '取消引导总锁', + trainingType: 'Station', + productTypes: ['01'], + stepVOList: [ + { deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' }, + { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' }, + { deviceType: '04', orderNum: 3, operateCode: '609', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' } + ], + config:{guideTotalLockBT:true} + } + // totalGuideLock + // + ] +}; diff --git a/src/jmapNew/theme/datie_02/planConfig.js b/src/jmapNew/theme/datie_02/planConfig.js new file mode 100644 index 000000000..0cb8b8311 --- /dev/null +++ b/src/jmapNew/theme/datie_02/planConfig.js @@ -0,0 +1,74 @@ +import { convertSheetToList } from '../parser/util'; + +export default { + /** 运行图解析方式*/ + type: 'Ratio', + + /** 边缘高度*/ + edge: 600, + + /** 间隔高度*/ + multiple: 1, + + /** 偏移时间*/ + translation: 60 * 60 * 2, + + /** excel解析配置*/ + excelConfig: { + beginRow: 1, + beginCol: 0, + fieldNum: 8, + sepField: '车次', + columns: { + '车站名称': { key: 'stationName', formatter: (val) => { return val; } }, + '到点': { key: 'arriveTime', formatter: (val) => { return val; } }, + '发点': { key: 'departureTime', formatter: (val) => { return val; } } + } + }, + + /** 解析excel数据转换为Json后台数据*/ + importData(Sheet, JsonData) { + var dataList = convertSheetToList(Sheet, false); + var needList = Object.keys(this.excelConfig.columns); + if (dataList && dataList.length) { + for (var rowIndex = this.excelConfig.beginRow; rowIndex < dataList.length; rowIndex += 1) { + for (var colIndex = this.excelConfig.beginCol; colIndex < dataList[this.excelConfig.beginCol].length; colIndex += this.excelConfig.fieldNum + 1) { + var tripNew, tripObj; + var stationObj = {}; + + tripNew = tripObj = { code: '', arrivalList: [] }; + for (var index = 0; index < this.excelConfig.fieldNum; index += 1) { + var title = dataList[0][colIndex + index]; + var value = dataList[rowIndex][colIndex + index]; + + if (title && value) { + var titleStr = `${title}`.trim(); + var valueStr = `${value}`.trim(); + + if (titleStr.includes(this.excelConfig.sepField)) { + tripObj.code = valueStr; + JsonData.forEach(elem => { + if (elem.code == valueStr) { + tripObj = elem; + return; + } + }); + } + + // 取需要的字段 + if (needList.findIndex(elem => { return elem == titleStr; }) >= 0) { + stationObj[this.excelConfig.columns[titleStr].key] = this.excelConfig.columns[titleStr].formatter(valueStr); + } + } + } + + tripObj.arrivalList.push(stationObj); + if (tripObj.code && tripObj == tripNew) { + JsonData.push(tripObj); + } + } + } + } + return JsonData; + } +}; diff --git a/src/jmapNew/theme/factory.js b/src/jmapNew/theme/factory.js index 707164725..37488ff9d 100644 --- a/src/jmapNew/theme/factory.js +++ b/src/jmapNew/theme/factory.js @@ -50,7 +50,8 @@ class Theme { '12': 'ningbo_03', '13': 'race_01', '14': 'nanjing_02', // 南京二号线 - '15': 'datie_01' + '15': 'datie_01', + '16': 'datie_02' }; this._runplan = { @@ -69,7 +70,8 @@ class Theme { '12': 'ningbo_03', '13': 'race_01', '14': 'nanjing_02', // 南京二号线 - '15': 'datie_01' + '15': 'datie_01', + '16': 'datie_02' }; this._localShowMode = { // 现地显示模式 @@ -87,7 +89,8 @@ class Theme { '12': 'all', '13':'all', '14':'ecStation', - '15':'all' + '15':'all', + '16':'all' }; } diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js index dcb4609e8..ca8281842 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -1747,7 +1747,21 @@ export const OperationEvent = { operation: '322', domId: '_Tips-Signal-conflictRoute-Menu{TOP}' } - } + }, + // 点灯 (大铁) + signalLight: { + menuButton: { + operation: '3231', + domId: '_Tips-Signal-signalLight-MenuButton{BOTTOM}' + } + }, + // 灭灯 (大铁) + signalDestroy: { + menuButton: { + operation: '3232', + domId: '_Tips-Signal-signalDestroy-MenuButton{BOTTOM}' + } + } }, // 物理区段操作 diff --git a/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue b/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue index 1bd56a692..a9f8f1c6c 100644 --- a/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue +++ b/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue @@ -90,7 +90,16 @@ export default { 'ControlSwitch', 'Axle', 'SwitchFault', - 'IndicatorLight' + 'IndicatorLight', + 'SectionOccupied', + 'AssistStatus', + 'TotalAssist', + 'DepartAssist', + 'PickAssist', + 'Recovery', + 'Accident', + 'Occlusion', + 'PickOrDepartArrow' ], noNameTypeList: ['FaultStatusGroup', 'ModeStatusGroup', 'LampFilament', 'ReturnModeGroup', 'ControlSwitch', 'Axle'], typeList: [ @@ -112,7 +121,16 @@ export default { { name: 'LCW/ATS控制开关', value: 'ControlSwitch'}, { name: '计轴预复位', value: 'Axle'}, { name: '道岔故障', value: 'SwitchFault'}, - { name: '指示灯', value: 'IndicatorLight'} + { name: '指示灯', value: 'IndicatorLight'}, + { name: '区间占用', value: 'SectionOccupied' }, + { name: '辅助状态', value: 'AssistStatus' }, + { name: '总辅助', value: 'TotalAssist' }, + { name: '发车辅助', value: 'DepartAssist' }, + { name: '接车辅助', value: 'PickAssist' }, + { name: '复原', value: 'Recovery' }, + { name: '事故', value: 'Accident' }, + { name: '闭塞', value: 'Occlusion' }, + { name: '接发车箭头', value: 'PickOrDepartArrow' } ], editModel:getModel('ControlLamp'), addModel:getModel('ControlLamp'), @@ -145,6 +163,7 @@ export default { ] }, { prop: 'mfNum', label: '报警指示故障数量:', type: 'number', min: 0, isHidden: this.editModel.type !== 'FaultStatusGroup' }, { prop: 'pfNum', label: '电源故障数量:', type: 'number', min: 0, isHidden: this.editModel.type !== 'FaultStatusGroup'}, + { prop: 'right', label: '朝右:', type: 'checkbox', isHidden: this.editModel.type !== 'PickOrDepartArrow' }, { prop: 'switchCode', label: '所属道岔:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', options: this.switchList, isHidden: this.editModel.type !== 'SwitchFault', hover: this.hover, buttonType: 'switchSelectCode', buttonShowType: this.isButtonType }, { prop:'stationCode', label: '所属车站:', type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.stationList} ] @@ -258,6 +277,15 @@ export default { this.AxleList = []; this.SwitchFaultList = []; this.IndicatorLightList = []; + this.SectionOccupiedList = []; + this.AssistStatusList = []; + this.TotalAssistList = []; + this.DepartAssistList = []; + this.PickAssistList = []; + this.RecoveryList = []; + this.AccidentList = []; + this.OcclusionList = []; + this.PickOrDepartArrowList = []; indicatorLightList.forEach(item => { switch (item._type) { case 'AtsControl': @@ -317,6 +345,33 @@ export default { case 'IndicatorLight': this.IndicatorLightList.push(item); break; + case 'SectionOccupied': + this.SectionOccupiedList.push(item); + break; + case 'AssistStatus': + this.AssistStatusList.push(item); + break; + case 'TotalAssist': + this.TotalAssistList.push(item); + break; + case 'DepartAssist': + this.DepartAssistList.push(item); + break; + case 'PickAssist': + this.PickAssistList.push(item); + break; + case 'Recovery': + this.RecoveryList.push(item); + break; + case 'Accident': + this.AccidentList.push(item); + break; + case 'Occlusion': + this.OcclusionList.push(item); + break; + case 'PickOrDepartArrow': + this.PickOrDepartArrowList.push(item); + break; } }); }, @@ -379,6 +434,33 @@ export default { case 'IndicatorLight': this.selectLists = this.IndicatorLightList; break; + case 'SectionOccupied': + this.selectLists = this.SectionOccupiedList; + break; + case 'AssistStatus': + this.selectLists = this.AssistStatusList; + break; + case 'TotalAssist': + this.selectLists = this.TotalAssistList; + break; + case 'DepartAssist': + this.selectLists = this.DepartAssistList; + break; + case 'PickAssist': + this.selectLists = this.PickAssistList; + break; + case 'Recovery': + this.selectLists = this.RecoveryList; + break; + case 'Accident': + this.selectLists = this.AccidentList; + break; + case 'Occlusion': + this.selectLists = this.OcclusionList; + break; + case 'PickOrDepartArrow': + this.selectLists = this.PickOrDepartArrowList; + break; default : this.selectLists = this.intersiteControlList; break; @@ -463,6 +545,33 @@ export default { // case 'SwitchFault': // idPrefix = ''; // break; + case 'SectionOccupied': + idPrefix = 'sectionOcc'; + break; + case 'AssistStatus': + idPrefix = 'assistStatus'; + break; + case 'TotalAssist': + idPrefix = 'totalAssist'; + break; + case 'DepartAssist': + idPrefix = 'departAssist'; + break; + case 'PickAssist': + idPrefix = 'pickAssist'; + break; + case 'Recovery': + idPrefix = 'recovery'; + break; + case 'Accident': + idPrefix = 'accident'; + break; + case 'Occlusion': + idPrefix = 'occlusion'; + break; + case 'PickOrDepartArrow': + idPrefix = 'podArrow' + break; } return idPrefix; }, diff --git a/src/views/newMap/newMapdraft/mapoperate/models.js b/src/views/newMap/newMapdraft/mapoperate/models.js index 8a521fdf4..484846ab5 100644 --- a/src/views/newMap/newMapdraft/mapoperate/models.js +++ b/src/views/newMap/newMapdraft/mapoperate/models.js @@ -201,6 +201,7 @@ class Model { this.mfNum = 0; this.pfNum = 0; this.switchCode = ''; + this.right = false; } } diff --git a/src/views/newMap/newMapdraft/mapoperate/signalButton.vue b/src/views/newMap/newMapdraft/mapoperate/signalButton.vue index 134e3543f..111b33d2a 100644 --- a/src/views/newMap/newMapdraft/mapoperate/signalButton.vue +++ b/src/views/newMap/newMapdraft/mapoperate/signalButton.vue @@ -85,7 +85,12 @@ export default { { value: 'FLEXIBLE', label: '变通按钮' }, { value: 'RAMP_TERMINAL', label: '坡道终端按钮' }, { value: 'TRAIN_TERMINAL', label: '列车终端按钮'}, - { value: 'SHUNT_TERMINAL', label: '调车终端按钮'} + { value: 'SHUNT_TERMINAL', label: '调车终端按钮'}, + { value: 'ASSIST', label: '总辅助按钮' }, + { value: 'PICK_ASSIST', label: '接辅助按钮' }, + { value: 'DEPART_ASSIST', label: '发辅助按钮' }, + { value: 'ACCIDENT', label: '事故按钮' }, + { value: 'CHANGE_DIRECTION', label: '改方按钮' } ], centralizedStationList: [], // 设备集中站列表 rules: { diff --git a/src/views/newMap/newMapdraft/mapoperate/train/create.vue b/src/views/newMap/newMapdraft/mapoperate/train/create.vue index 2d9062115..912e80277 100644 --- a/src/views/newMap/newMapdraft/mapoperate/train/create.vue +++ b/src/views/newMap/newMapdraft/mapoperate/train/create.vue @@ -109,9 +109,6 @@ export default { ], modelCode: [ { required: true, message: this.$t('rules.selectTrainType'), trigger: 'change' } - ], - stationCode: [ - { required: true, message: '请选择车辆段/停车场', trigger: 'change' } ] }; }