Class ContactConfigDefinition
Describes a contact configuration to create on the WSS device.
Inheritance
object
ContactConfigDefinition
Namespace: Wss.CoreModule
Assembly: WSS_Core_Interface.dll
Syntax
public sealed class ContactConfigDefinition
Remarks
The setup arrays use caller-facing ordering where index 0 is closest to the switch and index 3 is farthest. Each element must be 0 (unused), 1 (source), or 2 (sink).
LED configuration is optional and may be ignored by firmware that does not support LED settings.
Properties
ContactId
Gets or sets the contact configuration ID (0..255).
Declaration
public int ContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Leds
Gets or sets the optional LED bitmask. Leave null to omit LED configuration from the command payload.
Declaration
public int? Leds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
RechargeSetup
Gets or sets the recharge-phase contact roles. Provide exactly 4 values where index 0 is closest to the switch.
Declaration
public int[] RechargeSetup { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
StimSetup
Gets or sets the stimulation-phase contact roles. Provide exactly 4 values where index 0 is closest to the switch.
Declaration
public int[] StimSetup { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |