rt-graphic-component/components/common/common.d.ts

53 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-01-10 15:46:15 +08:00
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"
}
2024-01-04 10:40:55 +08:00
export declare enum DevicePort {
2024-01-04 18:02:38 +08:00
A = 0,
B = 1,
C = 2
2024-01-04 10:40:55 +08:00
}
export declare enum DeviceType {
Section = 0,
Turnout = 1,
TrainWindow = 2,
AxleCounting = 3,
SectionLink = 4,
2024-01-22 10:30:43 +08:00
signal = 5,
station = 6,
2024-01-04 10:40:55 +08:00
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);
}
2024-01-12 11:01:58 +08:00
export interface KilometerSystemNoDir {
get coordinateSystem(): string;
set coordinateSystem(v: string);
get kilometer(): number;
set kilometer(v: number);
}
2024-01-04 10:40:55 +08:00
export interface IRelatedRef {
deviceType: DeviceType;
id: number;
devicePort: DevicePort;
}
export declare namespace IRelatedRef {
function create(type: string, id: number, port: DevicePort): IRelatedRef;
}