Infosys在阅读器中打开 / AI 翻译

TE2000 | HMI Engineering · 0 次阅读

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.');