export type LoadingState = 'preview' | 'loaded';

export interface SimBrief {
  plannedZFW: number;
  plannedGW: number;
  pax: number;
  cargo: number;
  fuel: number;
}

export enum CallMode {
  SB_SET = 0,
  ZFW_SET = 1,
  STATION_SET = 2,
  LOAD_SET = 3,
  UNLOAD_SET = 4,
  OPTIONS_SET = 5,
  GSX_RESET = 6,
}

export enum CommBusCall {
  TFDI_SIMBRIEF_USERNAME = 'requestSimBriefUsername',
}

export enum CommBusEvent {
  TFDI_SIMBRIEF_USERNAME = 'receiveSimBriefUsername',
  LIVE_DATA = 'khofmann_tfdi_md-11_load_manager_live_data',
  UPDATE_TARGET = 'khofmann_tfdi_md-11_load_manager_update_target',
}
