This is an old revision of the document!
Assumptions:
* Gaps greater than 4 hours on the same date are separate tracks.
* Gaps less than 1 hour across a day are in the same track (UTC days require this).
* We check the 61st (or 121st) point for presence in a project, if not inside the projects, we put it in other.
* We have to create a local method (catalog) of storing projects and data. I'm thinking an xml file describing the Projects and Tracks for quickly populating the window when the import window displays. This does mean more code for housekeeping of what's there but lends a level of organization to all the data that is missing now. The challenge of trackwork has always been to handle the large amount of data in a clean, organized way that conveys the results without being bogged down by the quantity. If we end up with competition, this will be a key differentiator. Other tracking applications have opted for collecting data less frequently and throw out key information rather than deal with the detail.
New Import Window
Import gets rid of the tabs in previous incarnations as well as the Google window (for legal reasons). The idea here is that we have sources of data that feed into the track display.
Pressing any one of the source buttons displays an appropriate dialog for the device. The Flash Drive and Files buttons bring up standard File open dialogs (we may want to add a checkbox to the bottom of each as an option to delete the files once safely copied.) There are two reasons to keep them as separate buttons. One is to remember the last path used separately because the G-ray will always be a different drive. The second to make the differing sources more explicit and obvious. The Trackserver source is only displayed when the user has that option in the registry. Selecting the Trackserver button first prompts for the User ID and password, and on success shows the Treeview of track server to allow the user to download tracks to the local view. (Note: The AGTEK Access/Trackserver can be implemented last.) AGTEK Access shows the project and track structure currently on AGTEK Access for the customer.
TreeView The TreeView is very similar to what we do with the Trackserver now. A slight difference is to bold the Project names. We'll store this view locally in an XML file so there will always be something visible, even if it is just Other. The right mouse menus differ depending on whether you have a project selected or a track selected. The project right mouse menu looks like this:
Edit Project brings up the project window. Synchronize with AGTEK Access is an optional feature shown only when AGTEK Access set on in the Registry. The idea is that it will allow you to compare the local project to the one stored on AGTEK Access and update either. (One of the last things to implement.) Delete Project does just that. If picked, ask to confirm and also if it should delete the data associated with it. If the user answers no to the delete data but yes to deleting the project, move the data to the Other project.
The Track/vehicle right mouse menu looks like this.
Move Tracks to is a combo box that allows moving of the tracks to another project on the list. Assign Vehicle is a fast way of assigning vehicles to a different track based on the list stored in the local XML file. Hopefully, going to the Vehicles window is a rare occurrence of adding a new vehicle. Once a vehicle is assigned to a track, it stays in that project until a newer track is assigned to it. That eliminates a lot of the need to automatically assign the vehicle end date to 5 years in the future. Show in Google Earth takes the currently selected track and creates a KML file that opens in Google Earth (or the other designated mapping program set in Settings.) This is allowable under Google's licensing and does give the user a way to see it on the earth rather than just in preview or the program. Delete Tracks does just that after being confirmed. Another option not shown is “Upload to AGTEK Access which copies the file up the user's AGTEK Access Projects account. If the user has not logged in yet, the login window displays and the file uploads upon a successful login.
Track Preview Preview tracks is useful but the Google window we had before was slow and didn't work that well. It also probably wasn't legal. The idea here is display a preview of the selected track. George has an app written that is doing more that just displaying but for our purposes here I really just want the equivalent of a thumbnail. The scale is to give some form of reference to relative size.
Calendar The calendar does what old window did which I mostly can't remember. I proposed getting rid of it but was told it was used. I think the primary function is to show what days have activity from within a selected project.