Track Editor: Difference between revisions

From Maria GDK Wiki
Jump to navigation Jump to search
()
()
Line 8: Line 8:


;Note
;Note
:* For general description of track related info, see [[General_track_service_information|'''General track service information''']].
:* For this part you will need to include the '''''TPG.Maria.TrackLayer''''' package as a minimum.
:* For this part you will need to include the '''''TPG.Maria.TrackLayer''''' package as a minimum.
:* You also need to have a Track Service available.  
:* You also need to have a Track Service available.  

Revision as of 11:20, 18 October 2019

Maria track editor (WPF)

This section describes how to create a WPF application interacting with a Maria Track Service, without using MariaUserControl and track layer.

General

This page is under construction!
Note
  • For general description of track related info, see General track service information.
  • For this part you will need to include the TPG.Maria.TrackLayer package as a minimum.
  • You also need to have a Track Service available.
  • Sample code for this section is the MariaTrackEditor project, in the Sample Projects solution.

Track service engine

Track service interaction.

Available functions:

Connection
ConnectToTrackService
Connect to specified track service.
Disconnect
Disconnect from service
IsConnected
Get current connection status.
Track lists
GetTrackLists
Retreive available tracklists from track service.
AddTrackList
Create a new track list.
RemoveTrackList
Remove track list, and all track info, if any.
Tracks
GetAllTracks
Retreive available tracks from a specific track list, matching the search criteria.
GetTrackData
Retreive specified tracks from a specific track list.
AddOrUpdateTrack
Create or update specific track.
Track history setting
GetTrackHistoryOptions
SetDefaultTrackHistoryOptions
Set default track history options for new track lists.
SetTrackHistoryOptions
Retreive track history options for specified track list.
Track history
RemoveTrack
Remove specified track from specific track list
GetTrackHistory
Retreive available track history information for specified track & track list, according to filter criteria.


Here is source code for MariaTrackServiceEngine

Track editor

Connect/disconnect

Track list management

Track info management

Track history

Track history settings

Track history info