Hierarchy

  • StreamModel
    • Value

Implements

Indexable

  • [x: string]: any

Constructors

Properties

Accessors

Methods

Constructors

Properties

delta?: string
description?: string
edges: OntologyEdge[] = []
eventlog: EventLog[] = []
expand: number
last_period: number = 0
measure_type?: string
meta: Meta = ...
name: string
parent?: IModel
parentEdges: OntologyEdge[] = []
period?: string | number
permission: ValuePermission = 'r'
state: State[] = []
status?: string
thresholds?: string[]
tmp_permission: ValuePermission = 'r'
type: string = ''
attributes: string[] = ...
checker: ICheckerSuite = ...
endpoint: string = '/2.1/value'
streamCallback: StreamHandlerCallbacks = ...

Accessors

  • get ontology(): OntologyEdge[]
  • Get the ontology edges of the current object.

    Returns OntologyEdge[]

    The ontology edges of the current object.

    This is here for backwards compatibility.

    Should use edges instead.

  • set ontology(edges: OntologyEdge[]): void
  • Set the ontology edges of the current object.

    Parameters

    Returns void

    This is here for backwards compatibility.

    Should use edges instead.

Methods

  • Parameters

    • tag: string

    Returns Promise<boolean>

  • Returns Promise<boolean>

  • Parameters

    Returns Promise<void>

  • Parameters

    • _reloadAll: boolean = false

    Returns Promise<boolean>

  • Parameters

    • OptionalreloadAll: boolean
    • defaultExpand: number = 0

    Returns Promise<boolean>

  • Parameters

    • tag: string

    Returns Promise<boolean>

  • Parameters

    • delta: number

    Returns Promise<boolean>

  • Parameters

    • period: number

    Returns Promise<boolean>

  • Parameters

    • user: string

    Returns Promise<any>

  • Parameters

    • OptionalcustomKeys: string[]

    Returns Promise<boolean>

  • Returns boolean

  • Parameters

    • name: string
    • params: any

    Returns void

  • Parameters

    • name: string
    • readOnly: boolean = false
    • usage: string = ''

    Returns Promise<Value[]>

  • Parameters

    • type: string
    • readOnly: boolean = false
    • usage: string = ''

    Returns Promise<Value[]>

  • Parameters

    • filter: Filter
    • omit_filter: Filter = {}
    • quantity: number | "all" = 1
    • readOnly: boolean = false
    • usage: string = ''

    Returns Promise<Value[]>

  • Parameters

    • name: string
    • quantity: number | "all" = 1
    • readOnly: boolean = false
    • usage: string = ''

    Returns Promise<Value[]>

  • Parameters

    • type: string
    • quantity: number | "all" = 1
    • readOnly: boolean = false
    • usage: string = ''

    Returns Promise<Value[]>

  • Parameters

    Returns string

  • Parameters

    • options: {
          body?: JSONObject;
          create?: boolean;
          endpoint: string;
          message: string;
          params?: JSONObject;
          quantity: number | "all";
          readOnly?: boolean;
      }

    Returns Promise<JSONObject[]>

  • Parameters

    • type: undefined | string
    • name: string
    • params: any
    • isStatic: boolean = false

    Returns void