Add FMS history & FMS set Status Tabs, Show BOS use & fix Popup height

This commit is contained in:
nocnico
2025-04-21 02:45:12 +02:00
parent 9209b78b89
commit 948c76f559
4 changed files with 98 additions and 19 deletions

View File

@@ -4,6 +4,7 @@ export interface Aircraft {
id: string;
bosName: string;
bosNameShort: string;
bosNutzung: string;
fmsStatus: string;
fmsLog: {
status: string;
@@ -35,8 +36,9 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
aircrafts: [
{
id: "1",
bosName: "Aircraft 1",
bosNameShort: "A1",
bosName: "Christoph 31",
bosNameShort: "CHX31",
bosNutzung: "RTH",
fmsStatus: "1",
fmsLog: [],
location: {
@@ -49,8 +51,9 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
},
{
id: "2",
bosName: "Aircraft 2",
bosNameShort: "A2",
bosName: "Christoph Berlin",
bosNameShort: "CHX83",
bosNutzung: "ITH",
fmsStatus: "2",
fmsLog: [],
location: {
@@ -63,9 +66,10 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
},
{
id: "3",
bosName: "Aircraft 3",
bosNameShort: "A3",
fmsStatus: "3",
bosName: "Christoph 100",
bosNameShort: "CHX100",
bosNutzung: "RTH",
fmsStatus: "7",
fmsLog: [],
location: {
lat: 52.497519717230155,
@@ -77,8 +81,9 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
},
{
id: "4",
bosName: "Aircraft 4",
bosName: "Christophorus 1",
bosNameShort: "A4",
bosNutzung: "RTH",
fmsStatus: "6",
fmsLog: [],
location: {