Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Device

Indexable

[key: string]: any

Index

Constructors

constructor

  • new Device(data?: any): Device

Properties

active

active: boolean

busy

busy: boolean = false

Optional dataBlock

dataBlock: DataBlock

drifterMode

drifterMode: boolean

Optional externalId

externalId: undefined | string

gid

gid: string

id

id: number

isModified

isModified: boolean

label

label: string

Optional lat

lat: undefined | number

Optional lon

lon: undefined | number

Optional org

org: undefined | string

project

project: string

properties

properties: Array<Property>

propertyMap

propertyMap: PropertyDictionary

rawData

rawData: any

sensorGraphSlug

sensorGraphSlug: string

Optional sg

slug

slug: string

Optional state

state: undefined | string

template

template: string

Methods

addProperties

  • addProperties(properties: Array<Property>): void

getPatchPayload

  • getPatchPayload(): any

getProperty

getStateDisplay

  • getStateDisplay(): string

isDataBlock

  • isDataBlock(): boolean

toJson

  • toJson(): any

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