GetRadarToDataTable

Returns user's position into a DataTable

public DataTable GetRadarToDataTable(bool <byHttps>, string <userName>, string <password>, TrackRadarParameters <trackRadarParameters>, string <tableName>, ref char <messageType>, ref string <message>)

Parameters:

bool <byHttps> Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
string <userName> A string containing the username assigned from MyWakes
string <password> A string containing the password for the MyWakes user
TrackRadarParameters <trackRadarParameters> A TrackRadarParameters object containing command's specific parameters
string <tableName> A string containing the name of the returned DataTable
ref char <messageType> A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
ref string <message> A string containing output parameter with the message content

TrackRadarParameters

ModeValue <Mode> Filter data to show Private, Friend or Public radar
UInt16 <PastMinutes> Expressed in minutes, represents how much old a radar could be to be showed. Maximum value is 6000. If set to 0 (zero) all the last known positions will be showed. Default value is 60.

Returned Type: DataTable

Returns a DataTable with the following structure:

int <ID> Consumer's Id. If not set the value will be -1
string <UserName> User username
string <FirstName> User first name
string <LastName> User last name
decimal <Latitude> The point's latitude in degree and decimal degrees. If the position is in the southern hemisphere the value will be negative so it will be preceded by a minus sign
decimal <Longitude> The point's longitude in degree and decimal degrees. If the position is in the western hemisphere the value will be negative so it will be preceded by a minus sign
int <Accuracy> The point's accuracy in meters without decimal numbers
int <Altitude> The point's altitude in feet without decimal numbers
int <AltitudeAccuracy> The altitude's accuracy in feet without decimal numbers
int <Heading> The direction of the vehicle in degrees from 0 to 359
decimal <Speed> The detected speed expressed in meters per second and tenths of a meter per second
int <Status> The consumer status. 0 (zero) for normal status, 1 (one) for rest status, 2 power on and waiting points, 3 power off
string <Avatar> The gravatar's URL of the track's owner
string <Message> A message sent along with the position. Maximum length is 1000 characters
DateTime <Time> UTC date and time of the position
int <TrackId> The Id of the track that updated its position. In friend and public mode, if the track can not be viewed, is set to -1
string <CallSign> Consumer identifier
int <IconType> The type of the Icon: 0=12x20 pixel with pin at 6x20, 1=32x37 pixel with pin at 16x37, 2=32x37 pixel with pin at 16x18
string <IconUrl> The URL of the Icon
Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204