import type { AircraftParams } from '../types';

export const mockGetAirplaneParams = (): Promise<AircraftParams> => {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve({
        type: 'Plane',
        downang: 40,
        upang: 45,
        weight: 3.4,
        speed: 80,
        frontalArea: 0.12,
        dragCoefficient: 0.45,
        batteryCapacity: 315,
        thrustWatts: [
          { thrust: 500, watts: 55.5 },
          { thrust: 750, watts: 91.02 },
          { thrust: 1000, watts: 137.64 },
          { thrust: 1250, watts: 191 },
          { thrust: 1500, watts: 246 },
          { thrust: 1750, watts: 308 },
          { thrust: 2000, watts: 381 },
        ],
        propellerEfficiency: 0.95,
      });
    }, 100);
  });
};
