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 |
public SetDriverSpeedMessage(int driverId, SpeedCaptureLocation location, int speed)
: base(driverId)
{
Guard.InRange(speed >= 0, "speed");
Location = location;
Speed = speed;
}