UNPKG

fleeta-components

Version:

A comprehensive React component library for fleet management applications

37 lines 1.04 kB
/** * Sensor data parsing status enumeration * Indicates the current state of sensor data parsing */ export declare enum SensorParsingStatus { NOT_STARTED = "NOT_STARTED", SUCCESS = "SUCCESS", NO_DATA = "NO_DATA", INVALID_FORMAT = "INVALID_FORMAT", DECODE_ERROR = "DECODE_ERROR", ERROR = "ERROR" } /** * Individual acceleration data point interface * Represents G-sensor acceleration data at a specific time */ export interface IAccel { /** Timestamp in seconds */ timestamp: number; /** X-axis acceleration (vertical) */ x: number | null; /** Y-axis acceleration (lateral) */ y: number | null; /** Z-axis acceleration (longitudinal) */ z: number | null; } /** * Sensor parsing result interface * Contains parsing status and extracted sensor data points */ export interface SensorParsingResult { /** Parsing operation status */ status: SensorParsingStatus; /** Array of extracted acceleration data points */ points: IAccel[]; } //# sourceMappingURL=types.d.ts.map