Class CreateForwardSwitchPayload
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
Represents an operator that creates a message payload that status of the forward limit switch.
public class CreateForwardSwitchPayload
- Inheritance
-
CreateForwardSwitchPayload
- Derived
- Inherited Members
Properties
ForwardSwitch
Gets or sets the value that status of the forward limit switch.
public ForwardSwitchState ForwardSwitch { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that status of the forward limit switch.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the ForwardSwitch register.
GetPayload()
Creates a message payload for the ForwardSwitch register.
public ForwardSwitchState GetPayload()
Returns
- ForwardSwitchState
The created message payload value.