Represents a channel of sensors.

Hierarchy

  • SensorChannel

Constructors

Accessors

  • get activated(): boolean
  • Gets whether the channel is activated.

    Returns boolean

  • get factor(): number
  • Gets the factor of the sensor channel.

    Returns number

  • get groups(): SensorGroup[]
  • Gets the groups of the sensor channel.

    Returns SensorGroup[]

  • get high(): number
  • Gets the high value of the sensor channel.

    Returns number

  • get id(): Int64
  • Gets the ID of the sensor channel.

    Returns Int64

  • get low(): number
  • Gets the low value of the sensor channel.

    Returns number

  • get mode(): BIM_SENSOR_VISUALIZATION_OPTIONS
  • Gets the mode of the sensor channel.

    Returns BIM_SENSOR_VISUALIZATION_OPTIONS

  • set mode(mode: BIM_SENSOR_VISUALIZATION_OPTIONS): void
  • Sets the mode of the sensor channel.

    Parameters

    • mode: BIM_SENSOR_VISUALIZATION_OPTIONS

    Returns void

  • get name(): string
  • Gets the name of the sensor channel.

    Returns string

  • set name(name: string): void
  • Sets the name of the sensor channel.

    Parameters

    • name: string

    Returns void

Methods

  • Activates the sensor channel.

    Parameters

    • Optional mode: BIM_SENSOR_VISUALIZATION_OPTIONS

    Returns Promise<void>

  • Adds a group to the sensor channel.

    Parameters

    • name: string

    Returns Promise<SensorGroup>

  • Cleans up the sensor channel by removing all groups.

    Returns Promise<void>

  • Finds a group by its name.

    Parameters

    • groupName: string

    Returns SensorGroup

  • Gets the state of the sensor channel.

    Returns SensorChannelState

  • Removes the sensor channel.

    Parameters

    • removeFromChannelsArray: boolean = true

    Returns Promise<boolean>

  • Updates the sensor channel with new low, high, and/or factor values.

    Parameters

    • Optional low: number
    • Optional high: number
    • Optional factor: number

    Returns Promise<boolean>