2019-07-16 13:34:03 +08:00
|
|
|
export default class DefaultSkin {
|
|
|
|
constructor() {
|
|
|
|
// 道岔字体颜色
|
|
|
|
this.switchTextColor = 'lightgreen';
|
|
|
|
|
|
|
|
/** 默认背景 颜色*/
|
|
|
|
this.backgroundColor = '#000000';
|
|
|
|
|
|
|
|
/** 默认提示背景 颜色*/
|
|
|
|
this.tipBackgroundColor = 'yellow';
|
|
|
|
|
|
|
|
/** 默认边线 颜色*/
|
|
|
|
this.sidelineColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 透明填充 颜色*/
|
|
|
|
this.transparentColor = 'rgba(0,0,0,0)';
|
|
|
|
|
|
|
|
/** 默认字体 大小*/
|
2019-07-17 09:12:05 +08:00
|
|
|
this.textFontSize = 10;
|
2019-07-16 13:34:03 +08:00
|
|
|
|
|
|
|
/** 默认字体 族类*/
|
|
|
|
this.textFontFormat = 'consolas';
|
|
|
|
|
|
|
|
/** 默认字体颜色*/
|
|
|
|
this.textFontColor = '#C0C0C0';
|
|
|
|
|
|
|
|
/** 默认字体阴影颜色*/
|
|
|
|
this.textShadowColor = '#FFFF00';
|
|
|
|
|
|
|
|
/** 默认border文字背景色*/
|
|
|
|
this.borderContextBackgroundColor = '#00FFFF';
|
|
|
|
|
|
|
|
/** 默认border颜色*/
|
|
|
|
this.borderColor = '#fff';
|
|
|
|
|
|
|
|
/** 默认border线宽*/
|
|
|
|
this.borderWidth = 1;
|
|
|
|
|
|
|
|
/** 默认名称和设备的距离*/
|
|
|
|
this.nameDistance = 2;
|
|
|
|
|
|
|
|
/** 目的码字体颜色*/
|
|
|
|
this.destinationTextFontColor = 'yellow';
|
|
|
|
|
|
|
|
/** line 颜色*/
|
|
|
|
this.lineWidthColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** link 宽度*/
|
|
|
|
this.linkWidth = 4.4;
|
|
|
|
|
|
|
|
/** link 线条颜色*/
|
|
|
|
this.linkColor = '#3F3F3F';
|
|
|
|
|
|
|
|
/** link 字体颜色*/
|
|
|
|
this.linkTextColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** StopPoint 颜色*/
|
|
|
|
this.stopPointColor = '#FE0000';
|
|
|
|
|
|
|
|
/** StopPoint 字体颜色*/
|
|
|
|
this.stopPointTextColor = '#FFFFFF';
|
|
|
|
|
|
|
|
this.zcControlGrayColor = '#00FF00';
|
|
|
|
|
|
|
|
this.limitControlColor = '#ECE9D8';
|
|
|
|
|
|
|
|
this.lcControlColor = '#FFFF00';
|
|
|
|
|
|
|
|
this.zcControlmodeR = 4;
|
|
|
|
|
|
|
|
/** 道岔单边长度 */
|
|
|
|
this.switchLen = 6;
|
|
|
|
|
|
|
|
/** 道岔边框颜色*/
|
|
|
|
this.switchTextBorderColor = '#FE0000';
|
|
|
|
|
|
|
|
/** 道岔失去颜色*/
|
|
|
|
this.switchTextLossColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 道岔定位颜色*/
|
|
|
|
this.switchLocateTextColor = '#00FF00';
|
|
|
|
|
|
|
|
/** 道岔反位颜色*/
|
|
|
|
this.switchInversionColor = '#9C9D09';
|
|
|
|
|
|
|
|
/** 道岔单锁颜色*/
|
|
|
|
this.switchMonolockColor = '#870E10';
|
|
|
|
|
|
|
|
/** 公里表距离车站距离*/
|
|
|
|
this.stationKmRangeDistance = 22;
|
|
|
|
|
|
|
|
/** 控制模式字体大小*/
|
|
|
|
this.stationControlTextSize = 10;
|
|
|
|
|
|
|
|
/** 控制模式灯的半径 */
|
|
|
|
this.stationControlmodeR = 4;
|
|
|
|
|
|
|
|
/** 控制模式之间灯之间的距离*/
|
|
|
|
this.stationControlDistance = 36;
|
|
|
|
|
|
|
|
/** 控制模式灰色*/
|
|
|
|
this.stationControlGrayColor = '#7F7F7F';
|
|
|
|
|
|
|
|
/** 控制模式绿色*/
|
|
|
|
this.stationControlGreenColor = '#00FF00';
|
|
|
|
|
|
|
|
/** 控制模式红色*/
|
|
|
|
this.stationControlRedColor = '#FF0000';
|
|
|
|
|
|
|
|
/** 控制模式黄色*/
|
|
|
|
this.stationControlYellowColor = '#FFFF00';
|
|
|
|
|
|
|
|
/** 站台和屏蔽门之间的距离*/
|
|
|
|
this.stationStandDistance = 9;
|
|
|
|
|
|
|
|
/** 站台屏蔽门高度*/
|
|
|
|
this.statonStandSafeHeight = 1.6;
|
|
|
|
|
|
|
|
/** 站台首端字体大小*/
|
|
|
|
this.stationStandHeadFontSize = 9;
|
|
|
|
|
|
|
|
/** 站台无人折返*/
|
|
|
|
this.stationStandNoHumanReentryColor = '#0F16DA';
|
|
|
|
|
|
|
|
/** 站台自动换端*/
|
|
|
|
this.stationStandAutoChangeEndsColor = '#0BF400';
|
|
|
|
|
|
|
|
/** 站台空闲颜色*/
|
|
|
|
this.stationStandSpareColor = '#606060';
|
|
|
|
|
|
|
|
/** 站台列车停站颜色*/
|
|
|
|
this.stationStandStopColor = '#FEFE00';
|
|
|
|
|
|
|
|
/** 站台跳停颜色*/
|
|
|
|
this.stationStandJumpStopColor = '#9A99FF';
|
|
|
|
|
|
|
|
/** 站台指定列车跳停颜色*/
|
|
|
|
this.stationStandDesignatedJumpStopColor = 'lightSkyBlue';
|
|
|
|
|
|
|
|
/** 站台紧急关闭颜色*/
|
|
|
|
this.stationStandEmergentCloseColor = '#F61107';
|
|
|
|
|
|
|
|
/** 停站时间字体颜色*/
|
|
|
|
this.stationStandTimeTextColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 车站扣车颜色*/
|
|
|
|
this.stationStandStandDetainTrainColor = '#E4EF50';
|
|
|
|
|
|
|
|
/** 中心扣车颜色*/
|
|
|
|
this.stationStandCenterDetainTrainColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 车站+中心扣车颜色*/
|
|
|
|
this.stationStandStandAndCenterDetainTrainColor = '#F61107';
|
|
|
|
|
|
|
|
/** 屏蔽门默认颜色*/
|
|
|
|
this.stationStandDoorDefaultColor = '#00FF00';
|
|
|
|
|
|
|
|
/** 屏蔽门切除颜色*/
|
|
|
|
this.stationStandSplitDoorColor = '#F61107';
|
|
|
|
|
|
|
|
/** 车站扣除文字颜色*/
|
|
|
|
this.stationStandDetainTrainTextColor = '#E4EF50';
|
|
|
|
|
|
|
|
/** 计数器字体颜色*/
|
|
|
|
this.stationCounterTextColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 计数器边框颜色*/
|
|
|
|
this.stationCounterBorderColor = '#E4EF50';
|
|
|
|
|
|
|
|
/** 延迟解锁倒计时和设备文字之间的距离*/
|
|
|
|
this.stationDelayUnlockDistance = 3;
|
|
|
|
|
|
|
|
/** 延时解锁字体颜色*/
|
|
|
|
this.stationDelayUnlockTextColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 延迟解锁边框颜色*/
|
|
|
|
this.stationDelayUnlockBorderColor = '#FFFFFF';
|
|
|
|
|
|
|
|
// 停车点折返点目的码名字颜色
|
|
|
|
this.stopPointTexDestCodetColor = '#FFF07B';
|
|
|
|
|
|
|
|
/** 停车点目的码文字大小*/
|
|
|
|
this.textPointFontSize = 10;
|
|
|
|
|
|
|
|
/** 列车长度*/
|
|
|
|
this.trainWidth = 40;
|
|
|
|
|
|
|
|
/** 列车高度*/
|
|
|
|
this.trainHeight = 20;
|
|
|
|
|
|
|
|
/** 列车字号*/
|
|
|
|
this.trainTextFontSize = 12;
|
|
|
|
|
|
|
|
/** 列车HDSA字号*/
|
|
|
|
this.trainHSDATextFontSize = 9;
|
|
|
|
|
|
|
|
/** 列车信号的半径*/
|
|
|
|
this.trainConflictR = 3;
|
|
|
|
|
|
|
|
/** 列车信号距离车的距离*/
|
|
|
|
this.trainConflictDistance = 5;
|
|
|
|
|
|
|
|
/** 列车车头比车身高出的长度;上下相比车体伸出去的边框*/
|
|
|
|
this.trainMoreLength = 0;
|
|
|
|
|
|
|
|
/** 列车和车头之间的间距*/
|
|
|
|
this.trainHeadDistance = 4;
|
|
|
|
|
|
|
|
/** 列车竖杠的宽度*/
|
|
|
|
this.trainConntWidth = 3;
|
|
|
|
|
|
|
|
/** 列车竖杠和方向之间的间隔*/
|
|
|
|
this.trainPadding = 4;
|
|
|
|
|
|
|
|
/** 列车方向的宽度*/
|
|
|
|
this.trainArrowWidth = 6;
|
|
|
|
|
|
|
|
/** 列车和区段之间的距离*/
|
|
|
|
this.trainDistance = 30;
|
|
|
|
|
|
|
|
/** 列车边线颜色*/
|
|
|
|
this.trainSidelineColor = '#C0C0C0';
|
|
|
|
|
|
|
|
/** 列车背景*/
|
|
|
|
this.trainBackground = '#000000';
|
|
|
|
|
|
|
|
/** 列车 灰色*/
|
|
|
|
this.trainGrayColor = '#C0C0C0';
|
|
|
|
|
|
|
|
/** 列车 白色*/
|
|
|
|
this.trainWitheColor = '#FFFFFF';
|
|
|
|
|
|
|
|
/** 列车 棕色*/
|
|
|
|
this.trainBrownColor = '#A0522D';
|
|
|
|
|
|
|
|
/** 列车 黄色*/
|
|
|
|
this.trainYellowColor = '#FFFF00';
|
|
|
|
|
|
|
|
/** 列车 棕灰色 */
|
|
|
|
this.trainBrown1Color = '#725A64';
|
|
|
|
|
|
|
|
/** 列车 绿色*/
|
|
|
|
this.trainGreenColor = '#00FF00';
|
|
|
|
|
|
|
|
/** 列车 蓝色*/
|
|
|
|
this.trainBlueColor = '#3265FF';
|
|
|
|
|
|
|
|
/** 列车 红色*/
|
|
|
|
this.trainRedColor = '#FF0000';
|
|
|
|
|
|
|
|
/** 列车 橘色*/
|
|
|
|
this.trainOrangeColor = 'orange';
|
|
|
|
|
|
|
|
/** 列车 紫色*/
|
|
|
|
this.trainPurpleColor = 'purple';
|
|
|
|
|
|
|
|
/** 列车 粉色*/
|
|
|
|
this.trainPinkColor = 'pink';
|
|
|
|
|
|
|
|
/** 车次窗高度*/
|
|
|
|
this.trainWindowWidth = 40;
|
|
|
|
|
|
|
|
/** 车次窗高度*/
|
|
|
|
this.trainWindowHeight = 15;
|
|
|
|
|
|
|
|
/** 车次窗颜色*/
|
|
|
|
this.trainWindowColor = '#fff';
|
|
|
|
}
|
|
|
|
}
|