rt-graphic-component/components/packages/Platform/THPlatform.d.ts

50 lines
1.5 KiB
TypeScript
Raw Normal View History

2024-01-04 10:40:55 +08:00
import { GraphicState } from 'jl-graphic';
2024-01-12 11:01:58 +08:00
import { JlPlatform, DoorGraphic, LozengeGraphic, CodeGraphic } from './common/JlPlatform';
2024-01-10 15:46:15 +08:00
export interface ITHPlatformState extends GraphicState {
2024-01-04 10:40:55 +08:00
get emergstop(): boolean;
set emergstop(v: boolean);
get trainberth(): boolean;
set trainberth(v: boolean);
get close(): boolean;
set close(v: boolean);
get upHold(): boolean;
set upHold(v: boolean);
get downHold(): boolean;
set downHold(v: boolean);
get upOccHold(): boolean;
set upOccHold(v: boolean);
get downOccHold(): boolean;
set downOccHold(v: boolean);
get psdOpen(): boolean;
set psdOpen(v: boolean);
get psdCut(): boolean;
set psdCut(v: boolean);
get upSkipstop(): boolean;
set upSkipstop(v: boolean);
get downSkipstop(): boolean;
set downSkipstop(v: boolean);
get upTrainSkipstop(): boolean;
set upTrainSkipstop(v: boolean);
get downTrainSkipstop(): boolean;
set downTrainSkipstop(v: boolean);
get nextSectionRunTime(): number;
set nextSectionRunTime(v: number);
get nextSectionRunLevel(): number;
set nextSectionRunLevel(v: number);
get stopTime(): number;
set stopTime(v: number);
get rtuId(): number;
set rtuId(v: number);
}
2024-01-10 15:46:15 +08:00
export declare class THPlatform extends JlPlatform {
2024-01-12 11:01:58 +08:00
doorGraphic: DoorGraphic;
codeGraphic: CodeGraphic;
lozengeGraphic: LozengeGraphic;
2024-01-04 10:40:55 +08:00
constructor();
2024-01-10 15:46:15 +08:00
get states(): ITHPlatformState;
2024-01-04 10:40:55 +08:00
doRepaint(): void;
2024-01-10 17:25:39 +08:00
buildRelation(): void;
saveRelations(): void;
loadRelations(): void;
2024-01-04 10:40:55 +08:00
}