C# 클래스 AK.F1.Timing.Messages.Weather.SetWindAngleMessage

상속: Message
파일 보기 프로젝트 열기: simoneb/ak-f1-timing 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Accept ( IMessageVisitor visitor ) : void
IsValidAngle ( int angle ) : bool

Returns a value indicating if the specified angle is valid.

SetWindAngleMessage ( int angle ) : System

Initialises a new instance of the SetWindAngleMessage class and specifies the wind angle, in degrees.

ToString ( ) : string

메소드 상세

Accept() 공개 메소드

public Accept ( IMessageVisitor visitor ) : void
visitor IMessageVisitor
리턴 void

IsValidAngle() 공개 정적인 메소드

Returns a value indicating if the specified angle is valid.
public static IsValidAngle ( int angle ) : bool
angle int The angle to test.
리턴 bool

SetWindAngleMessage() 공개 메소드

Initialises a new instance of the SetWindAngleMessage class and specifies the wind angle, in degrees.
/// Thrown when is negative or greater than 360. ///
public SetWindAngleMessage ( int angle ) : System
angle int The wind angle, in degrees.
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string