import { GraphicData, GraphicState } from "jl-graphic"; export declare enum CategoryType { BeiJing = "BeiJing",//北京 XiAn = "XiAn" } export interface PlatformConstsConfig { width: number; height: number; lineWidth: number; noTrainStop: string; trainStop: string; trainJump: string; doorGraphic?: DoorConstsConfig; codeGraphic?: CodeConstsConfig; lozengeGraphic?: LozengeConstsConfig; } export interface DoorConstsConfig { doorGreen: string; doorRed: string; doorBlue: string; doorOpenSpacing: number; blueShowColor: string; doorPlatformSpacing: number; } export interface CodeConstsConfig { circleRadius: number; besideSpacing: number; besideFontSize: number; whiteNumbers: string; whiteCircle: string; HCharYellow: string; HCharWhite: string; HCharRed: string; } export interface LozengeConstsConfig { lozengeRed?: string; doorPlatformSpacing: number; } export declare const platformConstsMap: Map; declare enum TypeOfPlatform { Unknown = 0, up = 1, down = 2 } export interface IPlatformData extends GraphicData { code: string; hasdoor?: boolean; direction?: string; up?: boolean; type?: TypeOfPlatform; centralizedStation?: number; refStation: string; refSection: string; refEsbRelayCode?: string; clone(): IPlatformData; copyFrom(data: IPlatformData): void; eq(other: IPlatformData): boolean; } export interface IXiAnPlatformState 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 interface IBeiJingPlatformState extends GraphicState { id?: number; } export {};