UNPKG

@fleet-frontend/mower-maps

Version:

a mower maps in google maps

43 lines 1.03 kB
/** * 路径相关类型定义 */ import { Position, LatLng } from './common'; export interface PathDataItem { deviceName?: string; productKey?: string; sn?: string; timestamp?: number; mcVersion?: string; vehicleState?: string; longitude?: number; latitude?: number; postureX?: number; postureY?: number; postureTheta?: number; dataTransferTime?: number; isFloatingPoint?: string; pathType?: string; knifeRotation?: string; partitionId?: string; } export interface PartitionPathData { area?: number; finishedArea?: number; partitionPercentage?: number; partitionId?: number; endTimeAlias?: number; startTime?: number; endTime?: number; points?: PathDataItem[]; } export interface PathData { [partitionId: string]: PartitionPathData; } export interface MowerPath { positions: Position[]; latLngPositions?: LatLng[]; timestamp: Date; mowerId?: string; pathColor?: string; } //# sourceMappingURL=path.d.ts.map