Gets the semantic version of the plot extension API that is used to host the plot.
Gets the name of the hosting PiWeb client.
Gets the version of the hosting PiWeb client.
If the extensions defined multiple variables in the package.json
manifest file, this property can be used to find out which one the user picked.
Returns prefered display unit of angles. This can be configured in the settings menu of Piweb Designer and PiWeb Monitor.
Returns prefered number of decimal places of displayed values. This can be configured in the settings menu of Piweb Designer and PiWeb Monitor. Use this only as a fallback value in case no prefered number of decimal places is configured for the displayed characteristic by attribute K2022.
Returns prefered display unit of length. This can be configured in the settings menu of Piweb Designer and PiWeb Monitor.
Generated using TypeDoc
Introduction
The
piweb.environment
module provides information about the element and its properties, as well as global settings. It also contains classes that are used by the functions of thepiweb.format
module.import * as piweb from 'piweb'; import environment = piweb.environment;
format