Header menu logo issie

Component Type

JSComponent mapped to F# record. Id uniquely identifies the component within a sheet. Label is optional descriptor displayed on schematic.

Record fields

Record Field Description

H

Full Usage: H

Field type: float

Height

Field type: float

Id

Full Usage: Id

Field type: string
Field type: string

InputPorts

Full Usage: InputPorts

Field type: Port list
Field type: Port list

Label

Full Usage: Label

Field type: string

All components have a label that may be empty: label is not unique

Field type: string

OutputPorts

Full Usage: OutputPorts

Field type: Port list

position in this list determines OutputPortNumber

Field type: Port list

SlotInfo

Full Usage: SlotInfo

Field type: ComponentSlotExpr option

Information about parameter expressions that may override conponent slot values

Field type: ComponentSlotExpr option

SymbolInfo

Full Usage: SymbolInfo

Field type: SymbolInfo option

Field used only when sheet is saved from Draw Block: Symbol info is copied here This field is not uptodate when symbol is being edited in Draw Block

Field type: SymbolInfo option

Type

Full Usage: Type

Field type: ComponentType
Field type: ComponentType

W

Full Usage: W

Field type: float

Width

Field type: float

X

Full Usage: X

Field type: float
Field type: float

Y

Full Usage: Y

Field type: float
Field type: float

Instance members

Instance member Description

this.getPort arg1

Full Usage: this.getPort arg1

Parameters:
Returns: Port option
arg0 : PortId
Returns: Port option

this.isSame c2

Full Usage: this.isSame c2

Parameters:
Returns: bool

Equality function for components, includes all geometry except component position

c2 : Component
Returns: bool

Type something to start searching.