Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

FSKEEPER sends PIREPS with fuel in kg, but phpvms converts to lbs #87

Open
macmonty opened this issue Nov 29, 2012 · 4 comments
Open

FSKEEPER sends PIREPS with fuel in kg, but phpvms converts to lbs #87

macmonty opened this issue Nov 29, 2012 · 4 comments

Comments

@macmonty
Copy link

Hello, i use fskeeper like ACARS service, but always the fuel in phpvms it's on lbs converted.

When export the flight in keeper, the weight fuel it's on kg, but when it's imported in phpvms they convert this value to lbs.

I modified the local.config.php and the admin.config.php with this settings:

Units settings

Config::Set('WeightUnit', '0'); # 0=Kg 1=lbs
Config::Set('DistanceUnit', '2'); # 0=KM 1= Miles 2=NMiles
Config::Set('SpeedUnit', '1'); # 0=Km/H 1=Kts
Config::Set('AltUnit', '1'); # 0=Meter 1=Feet
Config::Set('LiquidUnit', '2'); # 0=liter 1=gal 2=kg 3=lbs
Config::Set('WelcomeMessage', 'phpVMS/FSPAX ACARS'); # Welcome Message
Config::Set('LIQUID_UNIT_NAMES', array('liter','gal','kg','lbs'));

But the phpvms PIREPS the fuel stay in lbs.

Regards

@Oxymoron290
Copy link

Where is admin.config.php? or did you mean app.config.php

@macmonty
Copy link
Author

Sorry, it's app.config.php, i write my own code to select the gross unit.

Regards

2013/2/4 Timothy Sturm [email protected]

Where is admin.config.php? or did you mean app.config.php


Reply to this email directly or view it on GitHubhttps://github.com//issues/87#issuecomment-13095659.

@Oxymoron290
Copy link

I would recommend, instead of changing the values in app.config.php, to move them to local.config.php and change the values there.

@Oxymoron290
Copy link

has the issue been resolved?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants