47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
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 IRelatedRef {
|
||
deviceType: DeviceType;
|
||
id: number;
|
||
devicePort: DevicePort;
|
||
}
|
||
export declare namespace IRelatedRef {
|
||
function create(type: string, id: number, port: DevicePort): IRelatedRef;
|
||
}
|