2019-07-17 15:54:01 +08:00
|
|
|
import defaultSkin from '../config/defaultSkin';
|
|
|
|
import deviceType from '../constant/deviceType';
|
|
|
|
|
|
|
|
class Fuzhou extends defaultSkin {
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
this.Link = {
|
|
|
|
textFontColor: ''
|
|
|
|
};
|
|
|
|
this[deviceType.Section] = {
|
2019-07-18 10:17:42 +08:00
|
|
|
sectionTextPosition: 0, // 区段名称位置 1 上行 -1 下面 0 默认
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 区段 宽度*/
|
|
|
|
sectionWidth: 5,
|
|
|
|
/** 区段宽超出宽度*/
|
|
|
|
sectionBeyondWidth: 1,
|
|
|
|
/** 计轴 半径*/
|
|
|
|
sectionAxleR: 3,
|
|
|
|
/** 计轴和区段之间的距离*/ /** 需要添加*/
|
|
|
|
sectionAxleDistance: 5,
|
|
|
|
/** 限速线的宽短*/
|
|
|
|
sectionSpeedLimitLinewidth: 1,
|
|
|
|
/** 限速线距离区段距离*/
|
|
|
|
sectionSpeedLimitDistance: 5,
|
|
|
|
sectionSeparatorWidth: 1.2, // 分隔符宽度
|
|
|
|
sectionEndSeparatorWidth: 3.5, // 尽头分隔符宽度
|
|
|
|
sectionEndSeparatorStroke: '#3F3F3F', // 尽头分隔符颜色
|
|
|
|
/** 区段侵入颜色*/
|
|
|
|
sectionInvadeColor: '#EF0C08',
|
|
|
|
/** 限速线颜色*/
|
|
|
|
sectionSpeedLimitColor: '#FFFF00',
|
|
|
|
sectionLogicalBackgroundColor: '#FFFF00', // 逻辑区段颜色
|
|
|
|
/** 区段计轴颜色*/
|
|
|
|
sectionAxleColor: '#FFFFFF',
|
|
|
|
/** 区段边界符颜色*/
|
|
|
|
sectionSeparatorColor: '#3149C3',
|
|
|
|
/** 区段空闲颜色*/
|
|
|
|
sectionSpareColor: '#3F3F3F',
|
|
|
|
/** 逻辑区段名称颜色*/
|
|
|
|
sectionLogicalTextColor: '#FFFFFF',
|
|
|
|
/** 区段通信车占用颜色**/
|
|
|
|
sectionCommunicationOccupiedColor: '#FF329A',
|
|
|
|
/** 区段非通讯车占用颜色*/
|
|
|
|
sectionUnCommunicationOccupiedColor: '#FE0000',
|
|
|
|
/** 区段路由锁定颜色*/
|
|
|
|
sectionRouteLockColor: '#FFFFFF',
|
|
|
|
/** 区段故障锁定颜色*/
|
|
|
|
sectionFaultLockColor: '#9B4A0A',
|
|
|
|
/** 区段未定义颜色*/
|
|
|
|
sectionUndefinedColor: '#0071C1',
|
|
|
|
/** 保护区段锁闭*/
|
|
|
|
sectionProtectionSectionLockedColor: '#FEFF00',
|
|
|
|
/** 区段计轴预复位*/
|
|
|
|
sectionAxleResetColor: '#00FFFF',
|
|
|
|
/** 区段封锁颜色*/
|
|
|
|
sectionBlockColor: '#800080',
|
|
|
|
/** 区段atc切除颜色*/
|
|
|
|
sectionAtcExcisionColor: '#A0522D',
|
|
|
|
/** 区段ats切除颜色*/
|
|
|
|
sectionAtsExcisionColor: '#A0522D',
|
|
|
|
/** 区段延时释放颜色*/
|
|
|
|
sectionTimeReleaseColor: '#3F3F3F',
|
|
|
|
/** 区段保护锁闭*/
|
|
|
|
sectionProtectiveLockColor: '#FFFF00',
|
|
|
|
/** 区段保护延时解锁*/
|
|
|
|
sectionProtectiveTimeReleaseColor: '#0071C1',
|
|
|
|
sectionAxleFailure: '#E6A23C' // #FFFF00 计轴失效
|
|
|
|
};
|
|
|
|
this[deviceType.Signal] = {
|
|
|
|
/** 信号机宽度 */
|
|
|
|
signalR: 5,
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 自动信号宽度*/
|
2019-07-18 18:24:40 +08:00
|
|
|
signalSigPassWidth: 6,
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 延迟解锁字体大小*/
|
2019-07-18 18:26:56 +08:00
|
|
|
signalDelayTextFontSize: 9,
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 信号机名称字体大小*/
|
|
|
|
signalTextFontSize: 12,
|
|
|
|
/** 灯柱宽度*/
|
|
|
|
signalLampStandardWidth: 1.2,
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 设备距离区段的距离*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalDistance: 3,
|
|
|
|
/** 信号灯按钮距离区段的距离*/
|
|
|
|
signalButtonDistance: 5,
|
2019-07-18 17:01:21 +08:00
|
|
|
/** 自动进路方向*/
|
|
|
|
signalSigRouteDirection: false,
|
|
|
|
/** 自动进路偏移量*/
|
2019-07-18 18:24:40 +08:00
|
|
|
signalSigRouteOffset: { x: -4, y: -2 },
|
2019-07-18 17:01:21 +08:00
|
|
|
/** 自动通过方向*/
|
2019-07-18 18:24:40 +08:00
|
|
|
signalSigPassDirection: false,
|
2019-07-18 17:01:21 +08:00
|
|
|
/** 自动通过偏移量*/
|
2019-07-18 18:24:40 +08:00
|
|
|
signalSigPassOffset: { x: -12, y: 0},
|
|
|
|
/** 延时解锁方向*/
|
|
|
|
signalSigDelayDirection: true,
|
|
|
|
/** 延时解锁偏移量*/
|
|
|
|
signalSigDelayOffset: { x: 15, y: -10},
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 信号灯按钮边线*/
|
|
|
|
signalButtonDashColor: '#FFFFFF',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯按钮颜色*/
|
|
|
|
signalButtonColor: 'darkgreen',
|
|
|
|
/** 信号灯按钮闪烁颜色*/
|
|
|
|
signalButtonLightenColor: '#E4EF50',
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 信号灯字体颜色*/
|
|
|
|
signalTextRed: '#EF0C08',
|
|
|
|
/** 信号机字体绿色*/
|
|
|
|
signalTextGreen: '#4DD43F',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯灯柱颜色*/
|
2019-07-18 10:05:16 +08:00
|
|
|
signalLampStandardColor: '#3149C3',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯锁闭*/
|
|
|
|
signalBlockColor: '#EF0C08',
|
|
|
|
/** 信号灯灰色*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalLampGrayColor: '#7F7F7F',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯红色*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalLampRedColor: '#FF0000',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯绿色*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalLampGreenColor: '#00FF00',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯黄色*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalLampYellowColor: '#FFFF00',
|
2019-07-17 15:54:01 +08:00
|
|
|
/** 信号灯白色*/
|
|
|
|
signalLampWhiteColor: '#FFFFFF',
|
|
|
|
/** 信号灯蓝色*/
|
2019-07-17 18:18:28 +08:00
|
|
|
signalLampBlueColor: '#0070C0'
|
|
|
|
};
|
|
|
|
this[deviceType.StationStand] = {
|
|
|
|
/** 站台和屏蔽门之间的距离*/
|
|
|
|
standDistance: 8,
|
|
|
|
/** 站台屏蔽门高度*/
|
2019-07-18 15:28:19 +08:00
|
|
|
standSafeHeight: 3,
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 站台首端字体大小*/
|
|
|
|
standHeadFontSize: 10,
|
2019-07-18 15:28:19 +08:00
|
|
|
/** 站台默认字体大小*/
|
|
|
|
standTextFontSize: 10,
|
|
|
|
/** 站台紧急关闭半径*/
|
|
|
|
standEmergentR: 4,
|
|
|
|
/** 站台紧急关闭偏移量*/
|
|
|
|
standEmergentOffset: {x: 0, y: 40},
|
|
|
|
/** 扣车方向*/
|
|
|
|
standDetainDirection: -1,
|
|
|
|
/** 扣车偏移量*/
|
|
|
|
standDetainOffset: {x: -8, y: -6},
|
|
|
|
/** 运行时间方向*/
|
|
|
|
standTimeDirection: 1,
|
|
|
|
/** 运行时间偏移量*/
|
|
|
|
standTimeOffset: {x: -8, y: 26},
|
|
|
|
/** 运行等级方向*/
|
|
|
|
standLevelDirection: 1,
|
|
|
|
/** 运行等级偏移量*/
|
|
|
|
standLevelOffset: {x: -8, y: 6},
|
|
|
|
/** 折返方向*/
|
|
|
|
standReentryDirection: 0,
|
|
|
|
/** 折返偏移量*/
|
|
|
|
standReentryOffset: {x: -16, y: 20},
|
|
|
|
/** 扣车显示内容*/
|
|
|
|
standDetainText: 'H',
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 站台无人折返*/
|
|
|
|
standNoHumanReentryColor: '#0F16DA',
|
|
|
|
/** 站台自动换端*/
|
|
|
|
standAutoChangeEndsColor: '#0BF400',
|
|
|
|
/** 站台空闲颜色*/
|
|
|
|
standSpareColor: '#606060',
|
|
|
|
/** 站台列车停站颜色*/
|
|
|
|
standStopColor: '#FEFE00',
|
|
|
|
/** 站台跳停颜色*/
|
|
|
|
standJumpStopColor: '#9A99FF',
|
|
|
|
/** 站台指定列车跳停颜色*/
|
|
|
|
standDesignatedJumpStopColor: 'lightSkyBlue',
|
|
|
|
/** 站台紧急关闭颜色*/
|
|
|
|
standEmergentCloseColor: '#F61107',
|
|
|
|
/** 停站时间字体颜色*/
|
|
|
|
standTimeTextColor: '#FFFFFF',
|
2019-07-18 15:28:19 +08:00
|
|
|
/** 停站等级字体颜色*/
|
|
|
|
standLevelTextColor: '#FFFFFF',
|
2019-07-17 18:18:28 +08:00
|
|
|
/** 车站扣车颜色*/
|
|
|
|
standDetainTrainColor: '#E4EF50',
|
|
|
|
/** 中心扣车颜色*/
|
|
|
|
standCenterDetainTrainColor: '#FFFFFF',
|
|
|
|
/** 车站+中心扣车颜色*/
|
|
|
|
standAndCenterDetainTrainColor: '#F61107',
|
|
|
|
/** 屏蔽门默认颜色*/
|
|
|
|
standDoorDefaultColor: '#00FF00',
|
|
|
|
/** 屏蔽门切除颜色*/
|
|
|
|
standSplitDoorColor: '#F61107',
|
|
|
|
/** 车站扣除文字颜色*/
|
|
|
|
standDetainTrainTextColor: '#E4EF50',
|
|
|
|
/** 计数器字体颜色*/
|
|
|
|
stationCounterTextColor: '#FFFFFF',
|
|
|
|
/** 计数器边框颜色*/
|
|
|
|
stationCounterBorderColor: '#E4EF50',
|
|
|
|
/** 延迟解锁倒计时和设备文字之间的距离*/
|
|
|
|
stationDelayUnlockDistance: 3,
|
|
|
|
/** 延时解锁字体颜色*/
|
|
|
|
stationDelayUnlockTextColor: '#FFFFFF',
|
|
|
|
/** 延迟解锁边框颜色*/
|
|
|
|
stationDelayUnlockBorderColor: '#FFFFFF'
|
|
|
|
};
|
|
|
|
this[deviceType.StationControl] = {
|
|
|
|
singleControlNum: 2,
|
|
|
|
arrowsShow: true,
|
|
|
|
/** 控制模式字体大小*/
|
|
|
|
stationControlTextSize: 10,
|
|
|
|
/** 控制模式灯的半径 */
|
|
|
|
stationControlmodeR: 4,
|
|
|
|
/** 控制模式之间灯之间的距离*/
|
|
|
|
stationControlDistance: 36,
|
|
|
|
/** 控制模式灰色*/
|
|
|
|
stationControlGrayColor: '#7F7F7F',
|
|
|
|
/** 控制模式绿色*/
|
|
|
|
stationControlGreenColor: '#00FF00',
|
|
|
|
/** 控制模式红色*/
|
|
|
|
stationControlRedColor: '#FF0000',
|
|
|
|
/** 控制模式黄色*/
|
|
|
|
stationControlYellowColor: '#FFFF00'
|
|
|
|
};
|
|
|
|
this[deviceType.Station] = {
|
|
|
|
kilometerPosition: 'up'
|
2019-07-17 15:54:01 +08:00
|
|
|
};
|
2019-07-18 10:05:16 +08:00
|
|
|
this[deviceType.Switch] = {
|
|
|
|
/** 道岔单边长度 */
|
|
|
|
switchLen: 6,
|
2019-07-18 10:16:53 +08:00
|
|
|
/** 道岔名称与区段距离*/
|
|
|
|
switchNameDistance: 2,
|
2019-07-18 10:05:16 +08:00
|
|
|
/** 道岔边框颜色*/
|
|
|
|
switchTextBorderColor: '#FE0000',
|
|
|
|
/** 道岔失去颜色*/
|
|
|
|
switchTextLossColor: '#FFFFFF',
|
|
|
|
/** 道岔定位颜色*/
|
|
|
|
switchLocateTextColor: '#00FF00',
|
|
|
|
/** 道岔反位颜色*/
|
|
|
|
switchInversionColor: '#9C9D09',
|
|
|
|
/** 道岔单锁颜色*/
|
|
|
|
switchMonolockColor: '#870E10'
|
|
|
|
};
|
2019-07-17 15:54:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const fuzhouSkin = new Fuzhou();
|
|
|
|
|
|
|
|
export default fuzhouSkin;
|