24 lines
877 B
JavaScript
24 lines
877 B
JavaScript
import { CategoryType } from '../CategoryType.js';
|
|
|
|
var TransponderTypeEnum;
|
|
(function (TransponderTypeEnum) {
|
|
TransponderTypeEnum[TransponderTypeEnum["FB"] = 0] = "FB";
|
|
TransponderTypeEnum[TransponderTypeEnum["WB"] = 1] = "WB";
|
|
TransponderTypeEnum[TransponderTypeEnum["DB"] = 2] = "DB";
|
|
TransponderTypeEnum[TransponderTypeEnum["VB"] = 3] = "VB";
|
|
TransponderTypeEnum[TransponderTypeEnum["IB"] = 4] = "IB";
|
|
})(TransponderTypeEnum || (TransponderTypeEnum = {}));
|
|
const THConsts = {
|
|
height: 12,
|
|
lineWidth: 2,
|
|
lineColor: '0xFFFFFF',
|
|
wblineColor: '0xFF0000',
|
|
textFontSize: 12,
|
|
textMarginY: 5, // 名称与应答器的距离
|
|
vblineColor: '0xFF00FF',
|
|
iblineColor: '0x0000FF',
|
|
};
|
|
const TransponderConstsMap = new Map([[CategoryType.JK, THConsts], [CategoryType.TH, THConsts]]);
|
|
|
|
export { TransponderConstsMap, TransponderTypeEnum };
|