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

50 lines
1.5 KiB
TypeScript

import { GraphicState } from 'jl-graphic';
import { JlPlatform, DoorGraphic, LozengeGraphic, CodeGraphic } from './common/JlPlatform';
export interface ITHPlatformState extends GraphicState {
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);
}
export declare class THPlatform extends JlPlatform {
doorGraphic: DoorGraphic;
codeGraphic: CodeGraphic;
lozengeGraphic: LozengeGraphic;
constructor();
get states(): ITHPlatformState;
doRepaint(): void;
buildRelation(): void;
saveRelations(): void;
loadRelations(): void;
}