C# 클래스 Robot.InstructionPacketBase

파일 보기 프로젝트 열기: evilmachina/theMachine

보호된 프로퍼티들

프로퍼티 타입 설명
_instruction byte
_lengthOfCommand byte
_parameters List
_sender ISender

공개 메소드들

메소드 설명
InstructionPacketBase ( byte servoId, ISender sender ) : System.Collections.Generic
Send ( ) : void
ToByte ( ) : byte[]

비공개 메소드들

메소드 설명
SumOfParameters ( ) : int

메소드 상세

InstructionPacketBase() 공개 메소드

public InstructionPacketBase ( byte servoId, ISender sender ) : System.Collections.Generic
servoId byte
sender ISender
리턴 System.Collections.Generic

Send() 공개 메소드

public Send ( ) : void
리턴 void

ToByte() 공개 메소드

public ToByte ( ) : byte[]
리턴 byte[]

프로퍼티 상세

_instruction 보호되어 있는 프로퍼티

protected byte _instruction
리턴 byte

_lengthOfCommand 보호되어 있는 프로퍼티

protected byte _lengthOfCommand
리턴 byte

_parameters 보호되어 있는 프로퍼티

protected List _parameters
리턴 List

_sender 보호되어 있는 프로퍼티

protected ISender _sender
리턴 ISender