Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new SmartHub(hubConnection: HubConnection): SmartHub

Properties

a

a: Port = new Port(A, this)

b

b: Port = new Port(B, this)

currentSensor

currentSensor: Port = new Port(CurrentSensor, this)

id

id: string

Optional latestError

latestError: Error
observable

Optional latestPortInput

latestPortInput: PortInput
observable

Optional latestPropertyInput

latestPropertyInput: PropertyInput
observable

rgbLight

rgbLight: Port = new Port(RGBLight, this)

voltageSensor

voltageSensor: Port = new Port(VoltageSensor, this)

Static hubType

hubType: number = 65

Accessors

connected

connected:
computed

Methods

send

  • send(output: Output): void
  • Parameters

    • output: Output

    Returns void

Static is

  • is(hub: Hub): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc