Method FromPayload
FromPayload(MessageType, AuxDigitalOutputs)
Returns a Harp message for the AuxDigitalOutputState register.
public static HarpMessage FromPayload(MessageType messageType, AuxDigitalOutputs value)
Parameters
messageTypeMessageTypeThe type of the Harp message.
valueAuxDigitalOutputsThe value to be stored in the message payload.
Returns
- HarpMessage
A HarpMessage object for the AuxDigitalOutputState register with the specified message type and payload.
FromPayload(double, MessageType, AuxDigitalOutputs)
Returns a timestamped Harp message for the AuxDigitalOutputState register.
public static HarpMessage FromPayload(double timestamp, MessageType messageType, AuxDigitalOutputs value)
Parameters
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valueAuxDigitalOutputsThe value to be stored in the message payload.
Returns
- HarpMessage
A HarpMessage object for the AuxDigitalOutputState register with the specified message type, timestamp, and payload.