Class HarpCommand
Provides static methods for creating Harp command messages.
public static class HarpCommand
- Inheritance
-
HarpCommand
- Inherited Members
Methods
- Read(int, PayloadType)
Returns a HarpMessage read command for the specified address and payload type.
- ReadByte(int)
Returns a HarpMessage read command for an 8-bit unsigned integer register with the specified address.
- ReadInt16(int)
Returns a HarpMessage read command for a 16-bit signed integer register with the specified address.
- ReadInt32(int)
Returns a HarpMessage read command for a 32-bit signed integer register with the specified address.
- ReadInt64(int)
Returns a HarpMessage read command for a 64-bit signed integer register with the specified address.
- ReadSByte(int)
Returns a HarpMessage read command for an 8-bit signed integer register with the specified address.
- ReadSingle(int)
Returns a HarpMessage read command for a single-precision floating point register with the specified address.
- ReadUInt16(int)
Returns a HarpMessage read command for a 16-bit unsigned integer register with the specified address.
- ReadUInt32(int)
Returns a HarpMessage read command for a 32-bit unsigned integer register with the specified address.
- ReadUInt64(int)
Returns a HarpMessage read command for a 64-bit unsigned integer register with the specified address.
- Write(int, PayloadType, ArraySegment<byte>)
Returns a HarpMessage write command with the specified address, and payload data stored in the specified array segment.
- Write(int, PayloadType, params byte[])
Returns a HarpMessage write command with the specified address, and payload.
- WriteByte(int, byte)
Returns a HarpMessage write command with the specified address, and a single value 8-bit unsigned integer payload.
- WriteByte(int, params byte[])
Returns a HarpMessage write command with the specified address, and an array payload of 8-bit unsigned integers.
- WriteInt16(int, short)
Returns a HarpMessage write command with the specified address, and a single value 16-bit signed integer payload.
- WriteInt16(int, params short[])
Returns a HarpMessage write command with the specified address, and an array payload of 16-bit signed integers.
- WriteInt32(int, int)
Returns a HarpMessage write command with the specified address, and a single value 32-bit signed integer payload.
- WriteInt32(int, params int[])
Returns a HarpMessage write command with the specified address, and an array payload of 32-bit signed integers.
- WriteInt64(int, long)
Returns a HarpMessage write command with the specified address, and a single value 64-bit signed integer payload.
- WriteInt64(int, params long[])
Returns a HarpMessage write command with the specified address, and an array payload of 64-bit signed integers.
- WriteSByte(int, sbyte)
Returns a HarpMessage write command with the specified address, and a single value 8-bit signed integer payload.
- WriteSByte(int, params sbyte[])
Returns a HarpMessage write command with the specified address, and an array payload of 8-bit signed integers.
- WriteSingle(int, params float[])
Returns a HarpMessage write command with the specified address, and an array payload of single-precision floating point numbers.
- WriteUInt16(int, ushort)
Returns a HarpMessage write command with the specified address, and a single value 16-bit unsigned integer payload.
- WriteUInt16(int, params ushort[])
Returns a HarpMessage write command with the specified address, and an array payload of 16-bit unsigned integers.
- WriteUInt32(int, uint)
Returns a HarpMessage write command with the specified address, and a single value 32-bit unsigned integer payload.
- WriteUInt32(int, params uint[])
Returns a HarpMessage write command with the specified address, and an array payload of 32-bit unsigned integers.
- WriteUInt64(int, ulong)
Returns a HarpMessage write command with the specified address, and a single value 64-bit unsigned integer payload.
- WriteUInt64(int, params ulong[])
Returns a HarpMessage write command with the specified address, and an array payload of 64-bit unsigned integers.