import Result from "../../models/Result"; export interface SetVehicleTrackStateParams { modelId: string[]; state: boolean; isAdsorbed?: boolean; screenNo?: number; } export interface UpdateVehicleTrackParams { facilityId: string; coordType: number; coordTypeZ: number; time?: string; data: { id: string; style?: string; color?: string; plateColor?: string; plate?: string; azimuth?: number; speed?: string; coord: number[]; coordZ: number; particleColor?: string; }[]; } export interface SetVehiclePlateVisibilityParams { plateVisible: boolean; } export interface SetVehicleSpeedVisibilityParams { speedVisible: boolean; } export interface SetVehicleLightVisibilityParams { plateVisible: boolean; } export interface SetVehicleGPSStateParams { GPSState: boolean; isAdsorbed: boolean; } export interface UpdateGPSDataParams { facilityId: string; coordType: number; coordTypeZ: number; time?: string; data: { id: string; style: string; color: string; plateColor: string; plate: string; azimuth: number; speed: number; coord: number[]; coordZ: number; particleColor?: string; }[]; } export interface SetVehicleAnimationParams { isAnimation: boolean; } /** * 车辆轨迹 */ declare class VehicleTrack { private static clazzName; private static inLoad; private static trackDisplayDict; private static mecMap; private static disHeight; static get className(): string; static init(): void; static setVehicleTrackState: (params: SetVehicleTrackStateParams) => Promise>; static setVehicleInfoScale: (params: { scaleFactor: number; }) => Promise; static setLoadMode: (params: { loadMode?: boolean; particleHeight?: number; disHeight?: number; }) => Promise>; static updateVehicleTrack: (params: UpdateVehicleTrackParams) => Promise>; static setVehiclePlateVisibility: (params: SetVehiclePlateVisibilityParams) => Promise>; static setVehicleSpeedVisibility: (params: SetVehicleSpeedVisibilityParams) => Promise>; static gpsData: any; static setVehicleGPSState: (params: SetVehicleGPSStateParams) => Promise>; static updateGPSData: (params?: UpdateGPSDataParams) => Promise>; static setVehicleAnimation: (params: SetVehicleAnimationParams) => Promise>; /** * @deprecated 已弃用 */ static setVehicleLightVisibility: (params: SetVehicleLightVisibilityParams) => Promise>; static setVehicleTrackData: (params: { dis1: 500; dis2: 1000; dis3: 2000; dis4: 5000; }) => Promise; static setSimulatedTrafficParams: (params: { modelId: string; capacity: number; speed: number; proportion: number; }) => Promise>; static setSimulatedTrafficVisibility: (params: { modelId: string; visible: boolean; }) => Promise>; static setRecordVehicleState: (params: { state: boolean; }) => Promise>; static updateRecordTrack: (params: { id: string; speed: string; segmentId: string; laneNo: string; style: string; color: string; plateColor: string; plate: string; coordTypeZ: number; coordZ: number; coord: [number, number]; }) => Promise>; } export default VehicleTrack;