Fragtality / Fenix2GSX

GSX Integration for the Fenix A320
MIT License
102 stars 4 forks source link

Round up refuel figure to nearest 100KG #83

Closed luke11brown closed 4 months ago

luke11brown commented 4 months ago

As the refuel panel only allows selection in 100KG intervals, round up refuel figure to nearest 100KG, rather than matching OFP value.

Fragtality commented 4 months ago

Hmm 🤔 Does the Fenix itself does that now correctly?

luke11brown commented 4 months ago

It seems to round up to nearest 10KG

Fragtality commented 4 months ago

And how are LBS handled on that Panel?

luke11brown commented 4 months ago

Never played with an A320 that uses freedom units myself, but I would imagine it's LBs x 1000, so it rounds to nearest 100lbs

ref: https://www.airbus.com/sites/g/files/jlcbta136/files/2021-11/Airbus-Commercial-Aircraft-AC-A320.pdf

Fragtality commented 4 months ago

Btw, It is always round up or what? E.g. when the OFP says 4614 it would still be 4700?

luke11brown commented 4 months ago

Yes, always round up, never down

Fragtality commented 4 months ago

Mkay, try it out then ;) https://www.mediafire.com/file/vqzbkkglmnszk4q/Fenix2GSX-Installer-v0.4.11.exe/file (Yes it will still show as 0.4.10 so that the Update Notification works when it goes GA - it is a Dev-Build, so there might be Changes)

luke11brown commented 4 months ago

Works like a charm image

image

Fragtality commented 4 months ago

Will be Part for the official 0.4.11 Release then - don't forget to Update when notified. There still might have been other Changes to your Dev-Build.