Skip to content
LIBRARY
Interfaces.PartialBooleanSource.md

Interfaces.PartialBooleanSource

Partial source block with 1 output Boolean signal and an appropriate default icon.

Basic block for Boolean sources of package Blocks.Sources. This component has one continuous Boolean output signal y and a 3D icon.

Usage

BlockComponents.Interfaces.PartialBooleanSource()

Connectors

  • y - This connector represents a boolean signal as an output from a component (BooleanOutput)

Source

dyad
"""
Partial source block with 1 output Boolean signal and an appropriate default icon.

Basic block for Boolean sources of package Blocks.Sources.
This component has one continuous Boolean output signal y
and a 3D icon.
"""
partial component PartialBooleanSource
  "Connector of Boolean output signal"
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end
Flattened Source
dyad
"""
Partial source block with 1 output Boolean signal and an appropriate default icon.

Basic block for Boolean sources of package Blocks.Sources.
This component has one continuous Boolean output signal y
and a 3D icon.
"""
partial component PartialBooleanSource
  "Connector of Boolean output signal"
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses