457 lines
32 KiB
JavaScript
457 lines
32 KiB
JavaScript
// 转换sheet名称
|
|
export const translateSheetTitle = {
|
|
sheetTitle: ['基本信息', '皮肤配置', '交路列表', '交路-区段', '自动信号机', '自动信号机列表', '敌对进路', '进路列表', '进路延续保护区段', '进路延续保护道岔', '进路自动触发区段', '进路侧防道岔', '进路-区段', '进路-信号机', '进路-站台', '进路-道岔', '车站计数器', '车站延时解锁表示器', '线段', 'link', '路径单元关系', '路径单元', '区段', '信号机', '速度等级', '车站控制模式', '站台', '车站', '双动道岔', '道岔', '文字信息', '列车', '列车模型', '车次窗', 'zc区域控制', 'lc控制', '全线临时限速', '图片列表'],
|
|
sheetName: ['base', 'skinVO', 'routingList', 'routingSectionList', 'autoSignalList', 'autoSignalClearList', 'accessAgainstList', 'accessList', 'routeOverlapSectionList', 'routeOverlapSwitchList', 'routeTriggerSectionList', 'routeFlankProtectionList', 'routeSectionList', 'accessSignalList', 'routeStandList', 'accessSwitchList', 'counterList', 'delayShowList', 'lineList', 'linkList', 'routeUnitRelList', 'routeUnitList', 'sectionList', 'signalList', 'speedLevel', 'stationControlList', 'stationStandList', 'stationList', 'switchCoupledList', 'switchList', 'textList', 'trainList', 'trainModelList', 'trainWindowList', 'zcList', 'lcList', 'tempSpeedLimitList', 'resourceList']
|
|
};
|
|
|
|
// 转换属性名称
|
|
export const translate = {
|
|
base: {
|
|
sheetName: '基本信息',
|
|
columns: [
|
|
{ key: 'id', tHeader: '地图id', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '地图名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'authorId', tHeader: '作者id', formatter: (val) => { return val || ''; } },
|
|
{ key: 'cityCode', tHeader: '城市code', formatter: (val) => { return val || ''; } },
|
|
{ key: 'skinCode', tHeader: '皮肤类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'updateTime', tHeader: '更新时间', formatter: (val) => { return val || ''; } },
|
|
{ key: 'version', tHeader: '版本类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
skinVO: {
|
|
sheetName: '皮肤配置',
|
|
columns: [
|
|
{ key: 'code', tHeader: '皮肤code', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '皮肤名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'origin', tHeader: '原点坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'scaling', tHeader: '缩放比例', formatter: (val) => { return val || ''; } },
|
|
{ key: 'linkWidth', tHeader: 'link宽度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'zoneWidth', tHeader: '区段宽度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'watermarkShow', tHeader: '是否显示水印', formatter: (val) => { return val || false; } }
|
|
]
|
|
},
|
|
routingList: {
|
|
sheetName: '交路列表',
|
|
columns: [
|
|
{ key: 'code', tHeader: '交路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '交路名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'directionCode', tHeader: '方向码', formatter: (val) => { return val || 0; } },
|
|
{ key: 'destinationCode', tHeader: '目的地码', formatter: (val) => { return val || ''; } },
|
|
{ key: 'startSectionCode', tHeader: '起始区段', formatter: (val) => { return val || ''; } },
|
|
{ key: 'startStationCode', tHeader: '起始车站', formatter: (val) => { return val || ''; } },
|
|
{ key: 'endSectionCode', tHeader: '终到区段', formatter: (val) => { return val || ''; } },
|
|
{ key: 'endStationCode', tHeader: '终到车站', formatter: (val) => { return val || ''; } },
|
|
{ key: 'remarks', tHeader: '描述', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routingSectionList: {
|
|
sheetName: '交路-区段',
|
|
columns: [
|
|
{ key: 'routingCode', tHeader: '交路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'orderNum', tHeader: '顺序', formatter: (val) => { return val || 0; } },
|
|
{ key: 'sectionCode', tHeader: '区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '车站编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
autoSignalList: {
|
|
sheetName: '自动信号机',
|
|
columns: [
|
|
{ key: 'code', tHeader: '自动信号机编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'signalCode', tHeader: '信号机编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'skinCode', tHeader: '皮肤类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
autoSignalClearList: {
|
|
sheetName: '自动信号机列表',
|
|
columns: [
|
|
{ key: 'autoSignalCode', tHeader: '自动信号机编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCode', tHeader: '区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'skinCode', tHeader: '皮肤类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
accessAgainstList: {
|
|
sheetName: '敌对进路',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'againstRouteCode', tHeader: '敌对进路编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeFlankProtectionList: {
|
|
sheetName: '进路侧防道岔',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchCode', tHeader: '道岔编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchLocateType', tHeader: '道岔位置类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
accessList: {
|
|
sheetName: '进路列表',
|
|
columns: [
|
|
{ key: 'name', tHeader: '进路名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'autoTriggerSectionCode', tHeader: '自动触发区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'nearSectionCode', tHeader: '接近区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'endSignalCode', tHeader: '终端信号机编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'endSignalName', tHeader: '终端信号机名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'startSignalCode', tHeader: '始端信号机编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'startSignalName', tHeader: '始端信号机名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'autoType', tHeader: '自动进路类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'natureType', tHeader: '进路性质类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'overlapSwitchCode', tHeader: '延续保护道岔ID', formatter: (val) => { return val || ''; } },
|
|
{ key: 'overlapSwitchLocateType', tHeader: '延续保护道岔位置类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'turnBackSectionCode', tHeader: '折返轨ID', formatter: (val) => { return val || ''; } },
|
|
{ key: 'arc', tHeader: '是否自动追踪/联锁自动触发', formatter: (val) => { return val || false; } },
|
|
{ key: 'flt', tHeader: '是否车队/联锁自动进路', formatter: (val) => { return val || false; } },
|
|
{ key: 'delayReleaseTime', tHeader: '延时解锁时间', formatter: (val) => { return val || 0; } }
|
|
]
|
|
},
|
|
routeOverlapSectionList: {
|
|
sheetName: '进路延续保护区段',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCode', tHeader: '区段编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeOverlapSwitchList: {
|
|
sheetName: '进路延续保护道岔',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchCode', tHeader: '道岔编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchLocateType', tHeader: '道岔位置类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeTriggerSectionList: {
|
|
sheetName: '自动追踪接近区段',
|
|
columns: [
|
|
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCode', tHeader: '区段编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeSectionList: {
|
|
sheetName: '进路-区段',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCode', tHeader: '区段编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
accessSignalList: {
|
|
sheetName: '进路-信号机',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
routeStandList: {
|
|
sheetName: '进路-站台',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationStandCode', tHeader: '站台编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
accessSwitchList: {
|
|
sheetName: '进路-道岔',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchCode', tHeader: '道岔编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchLocateType', tHeader: '道岔类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
counterList: {
|
|
sheetName: '车站计数器',
|
|
columns: [
|
|
{ key: 'name', tHeader: '车站计数器名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'max', tHeader: '计数器最大值', formatter: (val) => { return val || 0; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'type', tHeader: '类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'val', tHeader: '值', formatter: (val) => { return val || 0; } }
|
|
]
|
|
},
|
|
delayShowList: {
|
|
sheetName: '车站延时解锁表示器',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'font', tHeader: '字体大小', formatter: (val) => { return val || ''; } },
|
|
{ key: 'fontColor', tHeader: '字体颜色', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'unlockTime', tHeader: '延迟时间', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
lineList: {
|
|
sheetName: '线段',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'width', tHeader: '宽度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'type', tHeader: '类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'points', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
linkList: {
|
|
sheetName: 'link',
|
|
columns: [
|
|
{ key: 'name', tHeader: 'link名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'color', tHeader: '颜色', formatter: (val) => { return val || ''; } },
|
|
{ key: 'leftFdCode', tHeader: '左正向link编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'leftSdCode', tHeader: '左侧向link编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'rightFdCode', tHeader: '右正向link编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'rightSdCode', tHeader: '右侧向link编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'lengthFact', tHeader: '实际长度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'lp', tHeader: '起点坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'rp', tHeader: '终点坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'type', tHeader: '类型', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeUnitRelList: {
|
|
sheetName: '路径单元关系',
|
|
columns: [
|
|
{ key: 'routeCode', tHeader: '进路编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'routeUnitCode', tHeader: '路径单元编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'orderNum', tHeader: '顺序', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
routeUnitList: {
|
|
sheetName: '路径单元',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'startSectionCode', tHeader: '起点区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'endSectionCode', tHeader: '终点区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'orderNum', tHeader: '顺序', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
sectionList: {
|
|
sheetName: '区段',
|
|
columns: [
|
|
{ key: 'name', tHeader: '区段名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'namePosition', tHeader: '名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
// { key: 'nameShow', tHeader: '名称是否显示', formatter: (val) => { return val || false; } },
|
|
{ key: 'axleShow', tHeader: '是否显示计轴器', formatter: (val) => { return val || false; } },
|
|
{ key: 'type', tHeader: '类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'linkCode', tHeader: 'link编号', formatter: (val) => { return val || ''; } },
|
|
// { key: 'logicSectionNameShow', tHeader: '是否显示逻辑区段名称', formatter: (val) => { return val || false; } },
|
|
{ key: 'logicSectionNameSort', tHeader: '逻辑区段按名称排序方式', formatter: (val) => { return val || false; } },
|
|
{ key: 'logicSectionNum', tHeader: '逻辑区段数量', formatter: (val) => { return val ? JSON.parse(val) : [0]; } },
|
|
{ key: 'logicSectionShow', tHeader: '是否显示逻辑区段', formatter: (val) => { return val || false; } },
|
|
{ key: 'offsetLeft', tHeader: '左端相对Link偏移量', formatter: (val) => { return val || 0; } },
|
|
{ key: 'offsetRight', tHeader: '右端相对Link偏移量', formatter: (val) => { return val || 0; } },
|
|
{ key: 'parentCode', tHeader: '父元素编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'points', tHeader: '区段坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'sepTypeLeft', tHeader: '左端分隔符类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sepTypeRight', tHeader: '右端分隔符类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'trainPosType', tHeader: '列车位置类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'kmRangeLeft', tHeader: '左侧公里标(米)', formatter: (val) => { return val ? Number(val) : 0; } },
|
|
{ key: 'kmRangeRight', tHeader: '右侧公里标(米)', formatter: (val) => { return val ? Number(val) : 0; } },
|
|
{ key: 'region', tHeader: '区间编码', formatter: (val) => { return val || ''; } },
|
|
{ key: 'isStandTrack', tHeader: '是否站台轨', formatter: (val) => { return val || false; } },
|
|
{ key: 'isReentryTrack', tHeader: '是否折返轨', formatter: (val) => { return val || false; } },
|
|
{ key: 'isSwitchSection', tHeader: '是否道岔区段', formatter: (val) => { return val || false; } },
|
|
{ key: 'isTransferTrack', tHeader: '是否转换轨', formatter: (val) => { return val || false; } },
|
|
{ key: 'reentryTrackName', tHeader: '折返轨名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'reentryTrackNamePosition', tHeader: '折返轨名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'relSwitchCode', tHeader: '道岔区段关联道岔编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'relStandCode', tHeader: '关联站台编码', formatter: (val) => { return val || ''; } },
|
|
{ key: 'leftStopPointOffset', tHeader: '左向停车点偏移量', formatter: (val) => { return val || ''; } },
|
|
{ key: 'rightStopPointOffset', tHeader: '右向停车点偏移量', formatter: (val) => { return val || ''; } },
|
|
{ key: 'destinationCodeShow', tHeader: '目的地码是否显示', formatter: (val) => { return val || false; } },
|
|
{ key: 'destinationCode', tHeader: '目的地码', formatter: (val) => { return val || ''; } },
|
|
{ key: 'destinationCodePoint', tHeader: '目的地码坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'standTrackName', tHeader: '站台轨名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'standTrackNamePosition', tHeader: '站台轨名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'transferTrackName', tHeader: '转换轨名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'transferTrackNamePosition', tHeader: '转换轨名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'isCurve', tHeader: '是否曲线', formatter: (val) => { return val || false; } }
|
|
]
|
|
},
|
|
signalList: {
|
|
sheetName: '信号机',
|
|
columns: [
|
|
{ key: 'name', tHeader: '信号机名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'uniqueName', tHeader: '信号机唯一名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'namePosition', tHeader: '名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
// { key: 'nameShow', tHeader: '名称是否显示', formatter: (val) => { return val || false; } },
|
|
{ key: 'buttonPosition', tHeader: '按钮坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'buttonShow', tHeader: '是否显示按钮', formatter: (val) => { return val || false; } },
|
|
{ key: 'directionType', tHeader: '方向类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'lampPositionType', tHeader: '灯位类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'lampPostType', tHeader: '灯柱类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'positionType', tHeader: '位置类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'useType', tHeader: '用途类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'guidePosition', tHeader: '引导信号位置坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'guideShow', tHeader: '是否显示引导信号', formatter: (val) => { return val || false; } },
|
|
{ key: 'linkCode', tHeader: 'link编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'offset', tHeader: '所属Link偏移量', formatter: (val) => { return val ? Number(val) : 0; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'rotate', tHeader: '信号机旋转角度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
speedLevel: {
|
|
sheetName: '速度等级',
|
|
columns: [
|
|
{ key: 'level1', tHeader: '速度等级1', formatter: (val) => { return val || ''; } },
|
|
{ key: 'level2', tHeader: '速度等级2', formatter: (val) => { return val || ''; } },
|
|
{ key: 'level3', tHeader: '速度等级3', formatter: (val) => { return val || ''; } },
|
|
{ key: 'level4', tHeader: '速度等级4', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
stationControlList: {
|
|
sheetName: '车站控制模式',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'jjzkContent', tHeader: '紧急站控显示内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'zakContent', tHeader: '站控显示内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'zokContent', tHeader: '中控显示内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'zzkContent', tHeader: '站中控显示内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
stationStandList: {
|
|
sheetName: '站台',
|
|
columns: [
|
|
{ key: 'name', tHeader: '站台名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'deviceStationCode', tHeader: '所属设备集中站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'direction', tHeader: '行驶方向', formatter: (val) => { return val || ''; } },
|
|
{ key: 'doorLocationType', tHeader: '屏蔽门方位类型', formatter: (val) => { return val || ''; } },
|
|
{ key: 'hasDoor', tHeader: '是否有屏蔽门', formatter: (val) => { return val || false; } },
|
|
{ key: 'width', tHeader: '宽度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'height', tHeader: '高度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'visible', tHeader: '是否显示', formatter: (val) => { return val || false; } }
|
|
]
|
|
},
|
|
stationList: {
|
|
sheetName: '车站',
|
|
columns: [
|
|
{ key: 'name', tHeader: '车站名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'nameFont', tHeader: '车站名称字体', formatter: (val) => { return val || ''; } },
|
|
{ key: 'runPlanName', tHeader: '真实运行图站名', formatter: (val) => { return val || ''; } },
|
|
{ key: 'nameFontColor', tHeader: '车站名称字体颜色', formatter: (val) => { return val || ''; } },
|
|
{ key: 'centralized', tHeader: '是否集中站', formatter: (val) => { return val || false; } },
|
|
{ key: 'concentrateStationCode', tHeader: '所属联锁站编码', formatter: (val) => { return val || ''; } },
|
|
{ key: 'kmPost', tHeader: '公里标内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'kmPostFont', tHeader: '公里标字体', formatter: (val) => { return val || ''; } },
|
|
{ key: 'kmPostFontColor', tHeader: '公里标颜色', formatter: (val) => { return val || ''; } },
|
|
{ key: 'kmPostShow', tHeader: '是否显示公里标', formatter: (val) => { return val || false; } },
|
|
{ key: 'kmRange', tHeader: '公里标距离', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'visible', tHeader: '是否可见', formatter: (val) => { return val || false; } }
|
|
]
|
|
},
|
|
switchCoupledList: {
|
|
sheetName: '双动道岔',
|
|
columns: [
|
|
{ key: 'switchACode', tHeader: '道岔编号A', formatter: (val) => { return val || ''; } },
|
|
{ key: 'switchBCode', tHeader: '道岔编号B', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
switchList: {
|
|
sheetName: '道岔',
|
|
columns: [
|
|
{ key: 'name', tHeader: '道岔名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'namePosition', tHeader: '名称坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
// { key: 'nameShow', tHeader: '名称是否显示', formatter: (val) => { return val || false; } },
|
|
{ key: 'sectionACode', tHeader: 'A线物理区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionBCode', tHeader: 'B线物理区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCCode', tHeader: 'C线物理区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'stationCode', tHeader: '所属车站编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'timeoutShow', tHeader: '是否显示倒计时', formatter: (val) => { return val || false; } },
|
|
{ key: 'tp', tHeader: '倒计时坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'turnTime', tHeader: '道岔转换时间', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
textList: {
|
|
sheetName: '文字信息',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'content', tHeader: '内容', formatter: (val) => { return val || ''; } },
|
|
{ key: 'font', tHeader: '字体大小', formatter: (val) => { return val || ''; } },
|
|
{ key: 'fontColor', tHeader: '字体颜色', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
trainList: {
|
|
sheetName: '列车',
|
|
columns: [
|
|
{ key: 'code', tHeader: '编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'modelCode', tHeader: '列车模型编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'groupNumber', tHeader: '车组号', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
trainModelList: {
|
|
sheetName: '列车模型',
|
|
columns: [
|
|
{ key: 'name', tHeader: '型号名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'code', tHeader: '列车型号编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'averageDeceleration', tHeader: '平均减速度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'averageVelocity', tHeader: '平均速度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'length', tHeader: '车长', formatter: (val) => { return val || ''; } },
|
|
{ key: 'defaultVelocity', tHeader: '默认速度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'maxSafeDistance', tHeader: '安全运行距离上限', formatter: (val) => { return val || ''; } },
|
|
{ key: 'maxVelocity', tHeader: '最大速度', formatter: (val) => { return val || ''; } },
|
|
{ key: 'safeDistance', tHeader: '安全运行距离', formatter: (val) => { return val || ''; } }
|
|
]
|
|
},
|
|
trainWindowList: {
|
|
sheetName: '车次窗',
|
|
columns: [
|
|
{ key: 'code', tHeader: '车次窗编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'sectionCode', tHeader: '所属区段编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'width', tHeader: '车次窗宽度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'height', tHeader: '车次窗高度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'point', tHeader: '车次窗坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
zcList: {
|
|
sheetName: 'zc区域控制',
|
|
columns: [
|
|
{ key: 'code', tHeader: 'zc控制区域编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } },
|
|
{ key: 'visible', tHeader: '是否显示', formatter: (val) => { return val || false; } }
|
|
]
|
|
},
|
|
lcList: {
|
|
sheetName: 'lc控制',
|
|
columns: [
|
|
{ key: 'code', tHeader: 'lc控制编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: 'lc控制名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: 'lc线路坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
tempSpeedLimitList: {
|
|
sheetName: '全线临时限速',
|
|
columns: [
|
|
{ key: 'code', tHeader: '全线临时限速编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '全线临时限速名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
},
|
|
resourceList: {
|
|
sheetName: '图片列表',
|
|
columns: [
|
|
{ key: 'code', tHeader: '资源编号', formatter: (val) => { return val || ''; } },
|
|
{ key: 'name', tHeader: '名称', formatter: (val) => { return val || ''; } },
|
|
{ key: 'rotate', tHeader: '旋转角度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'width', tHeader: '宽度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'height', tHeader: '高度', formatter: (val) => { return val || 0; } },
|
|
{ key: 'url', tHeader: '图片地址', formatter: (val) => { return val || ''; } },
|
|
{ key: 'zIndex', tHeader: '层级', formatter: (val) => { return val || 0; } },
|
|
{ key: 'position', tHeader: '坐标', formatter: (val) => { return val ? JSON.parse(val) : ''; } }
|
|
]
|
|
}
|
|
};
|