get

[ Function ]

public static get(): TcHmi.IConfig;

Returns an object of type TcHmi.IConfig with the currently valid project configurations from the file tchmiconfig.json.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

TcHmi.IConfig

Object of type TcHmi.IConfig with the currently valid project configurations from the file tchmiconfig.json.

get 1:

Available from version 1.12

Sample - JavaScript

var currentConfig = TcHmi.Config.get();
TcHmi.Log.infoEx('This HMI has ', currentConfig.content.length, ' content files configured.');