C# SDK
SChangeOption Class Reference

SChangeOption class is used to manipulate with basic Drive settings in ChangeApplicationOptions function. More...

Public Types

enum  LOAD_RESTRICTIONS {
  Explosives = 0x00000001, FlammableGases = 0x00000002, FlammableLiquids = 0x00000004, FlammableSolids = 0x00000008,
  Oxidizers = 0x00000010, Poisonous = 0x00000020, Radioactive = 0x00000040, Corrosive = 0x00000080,
  Hazardous = 0x00000100, InhalationHazards = 0x00000200, General = 0x00000400, Explosive = 0x00000800,
  HarmfulToWater = 0x00001000, Agriculture = 0x00010000, Coal = 0x00020000, Building = 0x00040000,
  SanitaryVaste = 0x00080000, SandAndGravel = 0x00100000, Commodity = 0x00200000, NaturalResources = 0x00400000
}
 HAZMAT / Load restrictions More...
 

Public Member Functions

string GetHomeLocation ()
 The function returns name of home position. More...
 
void SetHomeLocation (string strHome)
 The function sets name of home position. More...
 

Static Public Member Functions

static int SizeOf ()
 The function returns Size of SChangeOption in bytes. More...
 

Public Attributes

int bSoundEnabled = -1
 Flag enabling/disabling sounds.
More...
 
int bOperateRightHanded = -1
 Flag effecting Drive appearance.
More...
 
int nVolumeMin = -1
 Represents the volume in low vehicle speed. (0-10) More...
 
int nVolumeMax = -1
 Represents the volume in high vehicle speed. (0-10) More...
 
int DistanceUnit = -1
 Flag determinig distance units.
More...
 
int ClockFormat = -1
 Flag determining clock format.
More...
 
int GPSUnits = -1
 Flag determinig GPSUnits format.
More...
 
int KeyboardType = -1
 Flag determining keyboard type.
More...
 
int nAvoidTollRoads = -1
 Flag determining whether Drive avoids toll roads when computing route.
More...
 
int bAvoidUTurns = -1
 Flag determining whether Drive avoids U-turns when computing route.
More...
 
int nPlanningSettings = -1
 Flag determinating what kind of route Drive computes.
More...
 
int nPlanningSettingsLimitedSpeed = -1
 Parameter determinig vehicle speed limit. Used only if route is computed for vehicles with limited speed. (see nPlanningSettings) More...
 
int bAvoidFerries = -1
 Flag determining whether Drive avoids ferries when computing route.
More...
 
int bDisableMainMenu = -1
 Flag enabling/disabling main menu.
More...
 
int bDisableRecompute = -1
 Flag enabling/disabling recomputing route when deviating from the route More...
 
int nETAMaximumSpeed = -1
 Flag determining the Estimated Time of Arrival calculated in maximum speed More...
 
int nETAPercentageChange = -1
 Estimate time arrival percentage change More...
 
int bRadarsWarnOn = -1
 Enable speed camera warning More...
 
int bRadarsVisible = -1
 Enable speed camera visibility More...
 
int nRadarDistance = -1
 The distance from speed camera, in which the warning is enabled (range 1..10) More...
 
int nRadarDistanceInCity = -1
 The distance from speed camera, in which the warning is enabled (range 1..10) in city More...
 
int nSkin = -1
 Skin mode More...
 
int nTimeZone = -99999
 Time zone in minutes. Offset from GMT More...
 
int bHideMapCursor = -1
 Visibility of Browse map cursor More...
 
int nSpeedExceedInCity = -100
 Speed warning is triggered when the maximum allowed speed in city is exceeded by this value More...
 
int nSpeedExceed = -100
 Speed warning is triggered when the maximum allowed speed outside city is exceeded by this value More...
 
int nView = -1
 View mode More...
 
int nSignpostDirection = -1
 Displayed signposts More...
 
int nSignpostSize = -1
 Displayed signposts size More...
 
int bSnapToEveryRoad = -1
 Allows position snapping to forbidden roads More...
 
int bMaxSpeedWarn = -1
 Enable acoustic speed exceeding warning More...
 
int bTTSEnabled = -1
 Selected sound is TTS More...
 
int nVisiblePointReachDistance = -1
 Visible waypoints reach distance in meters More...
 
int nInvisiblePointReachDistance = -1
 Invisible waypoints reach distance in meters More...
 
int bAllowClosedRoads = -1
 Allow closed roads in route computing More...
 
int bAllowItineraryEdit = -1
 Flag determining whether the user will be allowed to edit itinerary manually More...
 
int bTruckInMap = -1
 Flag determining whether a truck attributes are contained in map. This flag is readonly More...
 
int bUseTruckAtt = -1
 Use truck attributes More...
 
int nTruckMaxSpeed = -1
 Truck max speed [km/h] More...
 
int nTruckWeightTotal = -1
 Gross vehicle weight [kg] More...
 
int nTruckWeightAxle = -1
 Weight per axle [kg] More...
 
int nTruckTandemWeight = -1
 Tandem axle weight [kg] More...
 
int nTruckTridemWeight = -1
 Tridem axle weight [kg] More...
 
int nTruckOtherWeight = -1
 Other weight [kg] More...
 
int nTruckUnladenWeight = -1
 Unladen vehicle weight [kg] More...
 
int nTruckLenght = -1
 Total vehicle length [mm] More...
 
int nTruckAxleLength = -1
 Extreme axle length [mm] More...
 
int nTrailerLength = -1
 Trailer Length [mm] More...
 
int nTractorLength = -1
 Tractor Length [mm] More...
 
int nKingpinLastAxle = -1
 Kingpin to last axle [mm] More...
 
int nKingpinLastTandem = -1
 Kingpin to middle of last tandem [mm] More...
 
int nKingpinEndTrailer = -1
 Kingpin to end of trailer (last trailer if applicable) [mm] More...
 
int nTruckOtherLength = -1
 Other length [mm] More...
 
int nTruckWidth = -1
 Vehicle width [mm] More...
 
int nTruckHeight = -1
 Posted height [mm] More...
 
int nLoadRestrictions = -1
 HAZMAT / Load restrictions. See LOAD_RESTRICTIONS. More...
 
LONGPOSITION HomePosition = new LONGPOSITION(0, 0)
 LONGPOSITION struct determining location of home position.

See Coordinates conversion section in TROUBLESHOOTING page.

More...
 

Properties

string Language [get, set]
 Defines language based on assignment of the form "(language).lang", e.g. "english.lang". More...
 
string Voice [get, set]
 Defines voice based on assignment of the voice folder name, e.g. "english_us". More...
 
string VoicePerson [get, set]
 Name of the sound file to play on speed warning More...
 
string MaxSpeedSound [get, set]
 Name of the sound file to play on speed warning More...
 

Detailed Description

SChangeOption class is used to manipulate with basic Drive settings in ChangeApplicationOptions function.