Click or drag to resize

CommandProtocol Class

Provides a convenience to access the command used to communicate with an InnoLas Nanio laser device.
Inheritance Hierarchy
SystemObject
  RAYLASE.MarkerPlugin.Devices.Laser.InnoLasLaser.NanioCommandProtocol

Namespace: RAYLASE.MarkerPlugin.Devices.Laser.InnoLasLaser.Nanio
Assembly: RAYLASE.MarkerPlugin (in RAYLASE.MarkerPlugin.dll) Version: 2.19.0
Syntax
C#
public class CommandProtocol

The CommandProtocol type exposes the following members.

Constructors
 NameDescription
Public methodCommandProtocol The constructor.
Top
Properties
 NameDescription
Public propertyChecksum The checksum. This is a 1-byte value.
Public propertyCommandType The command type. This is a 1-byte value.
Public propertyEndByte The end byte. This is a 1-byte value.
Public propertyIsHandled Flag to signal if a message has been processed by a receiver or not.
Public propertyLength The length of the command in bytes. This is a 1-byte value.
Public propertyMessageID The command ID. This is a 2-byte value.
Public propertyOpCode The op code. This is a 2-byte value.
Public propertyParameters The parameters. The length is a variable, which is the total length of the command - 7 bytes.
Public propertyStartByte The start byte. This is a 2-byte value.
Top
Methods
 NameDescription
Public methodGetLaserStateMessage Analyzes the command's parameters and returns the corresponding laser state as text.
Public methodToBytes Returns the original command, in bytes.
Top
See Also