logic gate momentary pulse, switch status port (#17198)
* logic gate momentary is now pulse * switch status, minor refactor * filescope namespace * switch * fix ci probably * add auto linking for edge detector and logic gate --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
description: signal-port-description-off-transmitter
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: sourcePort
|
||||
id: Status
|
||||
name: signal-port-name-status-transmitter
|
||||
description: signal-port-description-status-transmitter
|
||||
|
||||
- type: sourcePort
|
||||
id: Left
|
||||
name: signal-port-name-left
|
||||
@@ -78,13 +83,16 @@
|
||||
id: Output
|
||||
name: signal-port-name-logic-output
|
||||
description: signal-port-description-logic-output
|
||||
defaultLinks: [ Input ]
|
||||
|
||||
- type: sourcePort
|
||||
id: OutputHigh
|
||||
name: signal-port-name-logic-output-high
|
||||
description: signal-port-description-logic-output-high
|
||||
defaultLinks: [ On, Open, Forward, Trigger ]
|
||||
|
||||
- type: sourcePort
|
||||
id: OutputLow
|
||||
name: signal-port-name-logic-output-low
|
||||
description: signal-port-description-logic-output-low
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
@@ -30,8 +30,9 @@
|
||||
range: 200
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- On
|
||||
- Off
|
||||
- On
|
||||
- Off
|
||||
- Status
|
||||
|
||||
- type: entity
|
||||
id: SignalButton
|
||||
@@ -56,6 +57,7 @@
|
||||
- type: SignalSwitch
|
||||
onPort: Pressed
|
||||
offPort: Pressed
|
||||
statusPort: Pressed
|
||||
- type: Rotatable
|
||||
- type: Construction
|
||||
graph: SignalButtonGraph
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
description: signal-port-description-off-transmitter
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: transmitterPort
|
||||
id: Status
|
||||
name: signal-port-name-status-transmitter
|
||||
description: signal-port-description-status-transmitter
|
||||
|
||||
- type: transmitterPort
|
||||
id: Left
|
||||
name: signal-port-name-left
|
||||
@@ -78,13 +83,16 @@
|
||||
id: Output
|
||||
name: signal-port-name-logic-output
|
||||
description: signal-port-description-logic-output
|
||||
defaultLinks: [ Input ]
|
||||
|
||||
- type: transmitterPort
|
||||
id: OutputHigh
|
||||
name: signal-port-name-logic-output-high
|
||||
description: signal-port-description-logic-output-high
|
||||
defaultLinks: [ On, Open, Forward, Trigger ]
|
||||
|
||||
- type: transmitterPort
|
||||
id: OutputLow
|
||||
name: signal-port-name-logic-output-low
|
||||
description: signal-port-description-logic-output-low
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
Reference in New Issue
Block a user