SPDTSwitch
This object describes how to configure an SPDT Switch (Single throw double switch) primitive. See https://en.wikipedia.org/wiki/Switch#Contact_terminology
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = { type: "SPDTSwitch", throwCount: 2, map_input_one_to_terminal_uid: "your-terminal-element-uid", map_input_two_to_terminal_uid: "your-terminal-element-uid", map_output_to_terminal_uid: "your-terminal-element-uid"}Fields
| Name | Type | Default | Description |
|---|---|---|---|
type | "SPDTSwitch" | The type of this object, always the string literal "SPDTSwitch" | |
throwCount | number | 2 | Number of throws |
map_input_one_to_terminal_uid | string | The terminal ID corresponding to the first input. | |
map_input_two_to_terminal_uid | string | The terminal ID corresponding to the second input. | |
map_output_to_terminal_uid | string | The terminal ID corresponding to the gate's output. |
Was this page helpful?