C# Class AK.F1.Timing.Model.Driver.LapHistoryEntry

Afficher le fichier Open project: simoneb/ak-f1-timing Class Usage Examples

Méthodes publiques

Méthode Description
LapHistoryEntry ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : System

Initialises a new instance of the LapHistoryEntry class.

Private Methods

Méthode Description
CheckLapNumber ( PostedTime time, int expectedLapNumber, string paramName ) : void
CheckLapNumbersAreEqual ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : void
CheckOneIsNotNull ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : void

Method Details

LapHistoryEntry() public méthode

Initialises a new instance of the LapHistoryEntry class.
/// Thrown when all arguments are . /// /// Thrown when specified times are not all for the same lap. ///
public LapHistoryEntry ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : System
s1 PostedTime The sector one time set.
s2 PostedTime The sector two time set.
s3 PostedTime The sector three time set.
lap PostedTime The overall lap time set.
Résultat System