Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 747-8I, longer range and better efficiency than 747-400 #258

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions airline-data/src/main/scala/com/patson/model/Airport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,12 @@ case class Airport(iata : String, icao : String, name : String, latitude : Doubl

import Model.Type._
val multipler = airplaneModel.airplaneType match {
case LIGHT => 1
case REGIONAL => 1
case SMALL => 3
case MEDIUM => 8
case LARGE => 12
case X_LARGE => 15
case JUMBO => 18
case CLASS_A => 1
case CLASS_B => 1
case CLASS_C => 3
case CLASS_D => 8
case CLASS_E => 12
case CLASS_F => 18
}

//apply discount if it's a base
Expand Down
Loading