I have tried to add some more functionality for electric flight. I have added an option to the "Add Battery Form" to indicate whether the battery pack is a flight pack or a generic pack. The new form looks like this
As you can see in this form you can indicate that the pack is a flight pack. You can also tell it that this flight pack is restricted for use for a specific aircraft.
I have changed the tree structure for batteries as follows:
Here you can see that there is now two groups. Flight Packs and Generic packs. Under flight packs there is a new catagory called usage. This allows you to see all the individual flight times for that battery.
These flight times are added when adding flight logs. There is a new option in the aircraft form to indicate whether the aircraft is electric or not. If the aircraft is electric then the flight log form changes to the following.
Here flights and flight time are disabled and you must add each flight and indicate which battery you used. You also indicate how much flight time you got from the battery. Only Flight Packs are shown in the list of batteries. The battery list shows the batteries that are associated with that aircraft and all flight packs that are not restricted to a single aircraft.
I have also modified the capacity chart to be able to view your flight times over time as seen below:
I am interested in any comments on this. Is it enough. Is there other information you would like added as well?
Thanks
Shawn