rt-graphic-component/components/common/common.d.ts
joylink_zhaoerwei 2ca2c58435 测试
2024-01-12 11:01:58 +08:00

53 lines
1.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export declare enum StyleType {
GP = "GP",//北京测试: 轨旁 GP
TH = "TH",//西安NCC/西安1、3号线/福州1号线/标准线/佛山1号线/西安3:通号 TH
KSK = "KSK",//宁波1号线 卡斯柯
ZDWX = "ZDWX",//西安2号线/成都1号线 浙大网新
KSSSSK = "SSS",//南京2号线 十四所
TLZ = "TLZ"
}
export declare enum DevicePort {
A = 0,
B = 1,
C = 2
}
export declare enum DeviceType {
Section = 0,
Turnout = 1,
TrainWindow = 2,
AxleCounting = 3,
SectionLink = 4,
Signal = 5,
Station = 6,
ScreenDoor = 7,
SignalFaultAlarm = 8,
Breakers = 9,
PowerScreen = 10
}
export declare enum Direction {
LEFT = 0,
RIGHT = 1
}
export interface KilometerSystem {
get coordinateSystem(): string;
set coordinateSystem(v: string);
get kilometer(): number;
set kilometer(v: number);
get direction(): Direction;
set direction(v: Direction);
}
export interface KilometerSystemNoDir {
get coordinateSystem(): string;
set coordinateSystem(v: string);
get kilometer(): number;
set kilometer(v: number);
}
export interface IRelatedRef {
deviceType: DeviceType;
id: number;
devicePort: DevicePort;
}
export declare namespace IRelatedRef {
function create(type: string, id: number, port: DevicePort): IRelatedRef;
}