C# Class Robot.InstructionPacketBase

Exibir arquivo Open project: evilmachina/theMachine

Protected Properties

Property Type Description
_instruction byte
_lengthOfCommand byte
_parameters List
_sender ISender

Public Methods

Method Description
InstructionPacketBase ( byte servoId, ISender sender ) : System.Collections.Generic
Send ( ) : void
ToByte ( ) : byte[]

Private Methods

Method Description
SumOfParameters ( ) : int

Method Details

InstructionPacketBase() public method

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

Send() public method

public Send ( ) : void
return void

ToByte() public method

public ToByte ( ) : byte[]
return byte[]

Property Details

_instruction protected_oe property

protected byte _instruction
return byte

_lengthOfCommand protected_oe property

protected byte _lengthOfCommand
return byte

_parameters protected_oe property

protected List _parameters
return List

_sender protected_oe property

protected ISender _sender
return ISender