C# Class Robot.InstructionPacketBase

Afficher le fichier Open project: evilmachina/theMachine

Protected Properties

Свойство Type Description
_instruction byte
_lengthOfCommand byte
_parameters List
_sender ISender

Méthodes publiques

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

Private Methods

Méthode Description
SumOfParameters ( ) : int

Method Details

InstructionPacketBase() public méthode

public InstructionPacketBase ( byte servoId, ISender sender ) : System.Collections.Generic
servoId byte
sender ISender
Résultat System.Collections.Generic

Send() public méthode

public Send ( ) : void
Résultat void

ToByte() public méthode

public ToByte ( ) : byte[]
Résultat byte[]

Property Details

_instruction protected_oe property

protected byte _instruction
Résultat byte

_lengthOfCommand protected_oe property

protected byte _lengthOfCommand
Résultat byte

_parameters protected_oe property

protected List _parameters
Résultat List

_sender protected_oe property

protected ISender _sender
Résultat ISender