Options
All
  • Public
  • Public/Protected
  • All
Menu

Module iot/public-api

Index

Type Aliases

IotPlatform: "composition" | "component" | "lwm2m" | "onem2m" | "vpr"
ValuesType: "numeric" | "string" | "buffer" | "json"

Functions

  • fromVariableAddress(expression: string | { hierarchy?: string | Record<string, string | number>; key: string }): string
  • 변수 주소 "객체"를 변수 주소 "문자열" 변경

    Parameters

    • expression: string | { hierarchy?: string | Record<string, string | number>; key: string }

    Returns string

  • getJsonLogicVars(logic: string | Record<string, any>): string[]
  • JonLogic 규칙에서 변수명 'var' 추출

    example
    getJsonLogicVars({
    '<': [
    {
    var: 'foo/temperature'
    },
    {
    var: 'bar/temperature'
    }
    ]
    })
    [
    'foo/temperature',
    'bar/temperature'
    ]

    Parameters

    • logic: string | Record<string, any>

      JSON 문자열이나 구문 분석된 객체

    Returns string[]

Generated using TypeDoc