Refactor camera feed components and add sighting tables
- Updated mode settings in camera feed reducer to use "painter" - Renamed PlatePatch component to SightingPatch and updated imports - Removed obsolete PlatePatch component - Added SightingEntryTable and SightingExitTable components for displaying sighting data - Implemented useSightingEntryAndExit hook for fetching entry and exit sightings - Adjusted VideoFeedGridPainter for improved width calculation - Introduced DecodeReading type for better typing
This commit is contained in:
@@ -144,3 +144,15 @@ export type CameraFeedAction =
|
||||
type: "RESET_PAINTED_CELLS";
|
||||
payload: { cameraFeedID: "A" | "B" | "C"; paintedCells: Map<string, PaintedCell> };
|
||||
};
|
||||
|
||||
export type DecodeReading = {
|
||||
id: number;
|
||||
vrm: string;
|
||||
laneID: number;
|
||||
seenCount: number;
|
||||
firstSeenTime?: number;
|
||||
lastSeenTime?: number;
|
||||
duplicate?: true;
|
||||
firstSeenTimeHumane: string;
|
||||
lastSeenTimeHumane: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user