C# 클래스 Lego.Ev3.Core.Brick

Main EV3 brick interface
파일 보기 프로젝트 열기: BrianPeek/legoev3 1 사용 예제들

공개 메소드들

메소드 설명
Brick ( ICommunication comm ) : System

Constructor

Brick ( ICommunication comm, bool alwaysSendEvents ) : System

Constructor

Disconnect ( ) : void

Disconnect from the EV3 brick

비공개 메소드들

메소드 설명
ConnectAsync ( ) : Task
ConnectAsync ( TimeSpan pollingTime ) : Task
ConnectAsyncInternal ( TimeSpan pollingTime ) : Task
OnBrickChanged ( Lego.Ev3.Core.BrickChangedEventArgs e ) : void
PollSensorsAsync ( ) : Task
ReportReceived ( object sender, ReportReceivedEventArgs e ) : void
SendCommandAsyncInternal ( Lego.Ev3.Core.Command c ) : Task

메소드 상세

Brick() 공개 메소드

Constructor
public Brick ( ICommunication comm ) : System
comm ICommunication Object implementing the interface for talking to the brick
리턴 System

Brick() 공개 메소드

Constructor
public Brick ( ICommunication comm, bool alwaysSendEvents ) : System
comm ICommunication Object implementing the interface for talking to the brick
alwaysSendEvents bool Send events when data changes, or at every poll
리턴 System

Disconnect() 공개 메소드

Disconnect from the EV3 brick
public Disconnect ( ) : void
리턴 void