31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
|
import { Container, Point } from 'pixi.js';
|
||
|
import { JlGraphic, VectorText } from 'jl-graphic';
|
||
|
import { ConstrolConstsConfig, ConstrolItemConfig, IStationData, StationConstsConfig } from './StationConfig';
|
||
|
import { CategoryType } from '../Platform/PlatformConfig';
|
||
|
declare class constrolGraphic extends Container {
|
||
|
categoryType: CategoryType;
|
||
|
constrolConfig?: ConstrolItemConfig[];
|
||
|
stateArrowFillColor?: string;
|
||
|
constructor(categoryType: CategoryType);
|
||
|
draw(stationConsts: StationConstsConfig): void;
|
||
|
drawCircleCode(constrolConsts: ConstrolConstsConfig, code: string, circleFillColor: string, codeGraphFillColor: string, pos: {
|
||
|
circlePs: Point;
|
||
|
codeGraphPs: Point;
|
||
|
}): void;
|
||
|
clear(): void;
|
||
|
}
|
||
|
export declare class JlStation extends JlGraphic {
|
||
|
static Type: string;
|
||
|
private categoryType;
|
||
|
stationConsts: StationConstsConfig;
|
||
|
codeGraph: VectorText;
|
||
|
kilometerGraph: VectorText;
|
||
|
controlGraphic?: constrolGraphic;
|
||
|
_ipRtuStusDown: boolean;
|
||
|
constructor(categoryType: CategoryType);
|
||
|
get datas(): IStationData;
|
||
|
get code(): string;
|
||
|
doRepaint(): void;
|
||
|
}
|
||
|
export {};
|