C# Class AK.F1.Timing.Messages.Driver.SetDriverSpeedMessage

Inheritance: DriverMessageBase
Show file Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Accept ( IMessageVisitor visitor ) : void
SetDriverSpeedMessage ( int driverId, SpeedCaptureLocation location, int speed ) : System

Initialises a new instance of the SetDriverSpeedMessage class and specifies if the Id of the driver, the speed capture location and the speed.

ToString ( ) : string

Method Details

Accept() public method

public Accept ( IMessageVisitor visitor ) : void
visitor IMessageVisitor
return void

SetDriverSpeedMessage() public method

Initialises a new instance of the SetDriverSpeedMessage class and specifies if the Id of the driver, the speed capture location and the speed.
/// Thrown when or is negative. ///
public SetDriverSpeedMessage ( int driverId, SpeedCaptureLocation location, int speed ) : System
driverId int The Id of the driver.
location SpeedCaptureLocation The speed capture location.
speed int The driver's speed.
return System

ToString() public method

public ToString ( ) : string
return string