Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ID - property of the tvTrend object

Description:
Identifier that unambiguously specifies the tvTrend object.
Syntax:
String ID
Note:
Property access for read and write. The preset value of this property is defined in the "Basic settings > Trend ID" configurator of this object.
 
The property is set, for example, when the object is created by calling the PmgTrendViewer.AddTrend method. Two tvTrend objects with the same ID cannot exist in the PmgTrendViewer object. No diacritic (national dependent) marks can occur in the ID string.
See also:
- tvTrend.Name (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var sId = oTrend.ID;  //reading
//or
oTrend.ID = "trend3";  //writing
}
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice