rt-graphic-component/components/packages/Platform/PlatformConfig.js
joylink_zhaoerwei a08ef74550 站台微调
2024-01-10 16:59:12 +08:00

46 lines
1.1 KiB
JavaScript

const GPConsts = {
width: 90,
height: 20,
lineWidth: 3,
noTrainStop: '0xffffff',
trainStop: '0xfbff00',
trainJump: '0xC0C0FE',
};
const THConsts = {
width: 90,
height: 20,
lineWidth: 3,
noTrainStop: '0x7F7F7F',
trainStop: '0xfbff00',
trainJump: '0xC0C0FE',
doorGraphic: {
doorOpenSpacing: 15,
doorGreen: '0x00FF00',
doorRed: '0xff0000',
doorBlue: '0x3149c3',
doorPlatformSpacing: 10,
},
codeGraphic: {
circleRadius: 1,
besideSpacing: 10,
besideFontSize: 12,
whiteNumbers: '0xffffff',
whiteCircle: '0xffffff',
HCharYellow: '0xfbff00',
HCharWhite: '0xffffff',
HCharRed: '0xff0000',
},
lozengeGraphic: {
lozengeRed: '0xff0000',
doorPlatformSpacing: 10,
},
};
var TypeOfPlatform;
(function (TypeOfPlatform) {
TypeOfPlatform[TypeOfPlatform["Unknown"] = 0] = "Unknown";
TypeOfPlatform[TypeOfPlatform["up"] = 1] = "up";
TypeOfPlatform[TypeOfPlatform["down"] = 2] = "down";
})(TypeOfPlatform || (TypeOfPlatform = {}));
export { GPConsts, THConsts };