Add engine monitor data (CGR-30P/CGR-30C) to flight logs

Attach a CGR-30 flight recording when logging a flight or later from the
flight page. The flight page shows engine run time, fuel burned, tach and
engine hours, peak RPM/EGT/CHT/oil/fuel flow, and charts per cylinder.
Unreadable files are rejected; recordings from another tail are flagged.

Also replace the real tail number in test data with N12345.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-05 20:25:18 -05:00
1 parent 86aadfcf6c
commit 6c6e7af8e6
12 files changed
+561 -6

No files matched your search

+6 -1
View File
@@ -24,7 +24,12 @@ Rails.application.routes.draw do
end
end
resources :notes, except: :show
resources :flight_logs, only: %i[index new create show destroy]
resources :flight_logs, only: %i[index new create show destroy] do
member do
patch :engine_data, action: :attach_engine_data
delete :engine_data, action: :remove_engine_data
end
end
resource :air_trail_export, path: "airtrail_export", only: %i[new create]
resource :airport_codes, only: %i[show update]
resource :flight_import, only: %i[new create show] do