Method FromUInt32
FromUInt32(int, MessageType, uint)
Returns a HarpMessage with the specified address, message type, and a single value 32-bit unsigned integer payload.
public static HarpMessage FromUInt32(int address, MessageType messageType, uint value)
Parameters
addressintThe address of the register to which the Harp message refers to.
messageTypeMessageTypeThe type of the Harp message.
valueuintThe value to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type and payload.
FromUInt32(int, int, MessageType, uint)
Returns a HarpMessage with the specified address, message type, port, and a single value 32-bit unsigned integer payload.
public static HarpMessage FromUInt32(int address, int port, MessageType messageType, uint value)
Parameters
addressintThe address of the register to which the Harp message refers to.
portintThe origin or destination of the Harp message, for routing purposes.
messageTypeMessageTypeThe type of the Harp message.
valueuintThe value to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, port, and payload.
FromUInt32(int, double, MessageType, uint)
Returns a HarpMessage with the specified address, message type, timestamp, and a single value 32-bit unsigned integer payload.
public static HarpMessage FromUInt32(int address, double timestamp, MessageType messageType, uint value)
Parameters
addressintThe address of the register to which the Harp message refers to.
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valueuintThe value to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, timestamp, and payload.
FromUInt32(int, int, double, MessageType, uint)
Returns a HarpMessage with the specified address, message type, port, timestamp, and a single value 32-bit unsigned integer payload.
public static HarpMessage FromUInt32(int address, int port, double timestamp, MessageType messageType, uint value)
Parameters
addressintThe address of the register to which the Harp message refers to.
portintThe origin or destination of the Harp message, for routing purposes.
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valueuintThe value to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, port, timestamp, and payload.
FromUInt32(int, MessageType, params uint[])
Returns a HarpMessage with the specified address, message type, and an array payload of 32-bit unsigned integers.
public static HarpMessage FromUInt32(int address, MessageType messageType, params uint[] values)
Parameters
addressintThe address of the register to which the Harp message refers to.
messageTypeMessageTypeThe type of the Harp message.
valuesuint[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type and payload.
FromUInt32(int, int, MessageType, params uint[])
Returns a HarpMessage with the specified address, message type, port, and an array payload of 32-bit unsigned integers.
public static HarpMessage FromUInt32(int address, int port, MessageType messageType, params uint[] values)
Parameters
addressintThe address of the register to which the Harp message refers to.
portintThe origin or destination of the Harp message, for routing purposes.
messageTypeMessageTypeThe type of the Harp message.
valuesuint[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, port, and payload.
FromUInt32(int, double, MessageType, params uint[])
Returns a HarpMessage with the specified address, message type, timestamp, and an array payload of 32-bit unsigned integers.
public static HarpMessage FromUInt32(int address, double timestamp, MessageType messageType, params uint[] values)
Parameters
addressintThe address of the register to which the Harp message refers to.
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valuesuint[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, timestamp, and payload.
FromUInt32(int, int, double, MessageType, params uint[])
Returns a HarpMessage with the specified address, message type, port, timestamp, and an array payload of 32-bit unsigned integers.
public static HarpMessage FromUInt32(int address, int port, double timestamp, MessageType messageType, params uint[] values)
Parameters
addressintThe address of the register to which the Harp message refers to.
portintThe origin or destination of the Harp message, for routing purposes.
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valuesuint[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage instance with the specified address, message type, port, timestamp, and payload.