rt-graphic-component/components/Platform/PlatformConfig.js

26 lines
600 B
JavaScript
Raw Normal View History

2023-12-25 13:25:01 +08:00
var CategoryType;
(function (CategoryType) {
CategoryType["JK"] = "JK";
CategoryType["TH"] = "TH";
CategoryType["ZDWX"] = "ZDWX";
})(CategoryType || (CategoryType = {}));
const jkConsts = {
width: 80,
height: 30,
lineWidth: 3,
rectColor: '0xffffff',
};
const thConsts = {
width: 90,
height: 20,
lineWidth: 3,
rectColor: '#f00',
doorGraphic: {
doorOpenSpacing: 15,
doorGreen: '0x00FF00',
}
};
const platformConstsMap = new Map([[CategoryType.JK, jkConsts], [CategoryType.TH, thConsts]]);
export { CategoryType, platformConstsMap };