
Originally Posted by
reece146
This is pretty cool.
Maybe I missed it while reading the thread but how is the data stored? Just a flat CSV file on disk?
I'm wondering about snapping the maintenance log every once in a while and merging the contents into a spreadsheet on my desktop
machine.
data is saved via 2 .ini files. Here's the first dealing with the maintenance
Code:
[Main]
TotalDistance=50123.091162624
LastDate=7/7/2009
WaypointMiles= From 29.44149;-81.185204 to 29.444689;-81.183953 is 0.23 miles
FirstRun=1
[MileageInterval]
1LastDoneMiles=50001
2LastDoneMiles=50003
[TimeInterval]
1TimeCount=72
2TimeCount=72
[MaintenanceItems]
Maintenance1=Oil Change;5000;180;22.50;use 5w-30
Maintenance2=Air Filter;12000;365;17.50;Check Cabin Filter
and here's the second dealing with fuel
Code:
6/26/2009@50050@2.89@10
6/26/2009@50000@2.89@10
6/26/2009@49700@2.99@10
6/26/2009@49400@2.99@10
6/26/2009@49100@2.49@10
6/26/2009@48800@2.49@10
6/26/2009@48500@2.49@10
6/26/2009@48200@2.89@10
for maintenance i'm not saving every time anything was done... just the most recent event and how far you are away from it. I suppose i could add an export command that would create a single .csv for all events. You could add the export command to the maintenance reset or add fuel buttons if u wanted it done automatically.
Bookmarks