Promotic

ResetType - property of the tvTrend object

Description:
Draw type of invalid areas.
The invalid area in the trend is a time-range when the application was stopped or any other failure occurred in runtime; the first trend point has set the reset attribute after re-starting the application.
Syntax:
Long ResetType
Values:
0 - Invalid area (reset area) is not drawn
1 - Invalid area (area reset) is drawn in the normal way, as if there was no reset.
2 (default) - System drawing of invalid areas by discrete line of the width 1 with the same color as the GraphDefault
Note:
Property access for read and write.
 
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);

var nResetType = oTrend.ResetType;   // Reading from the property
oTrend.ResetType = 0;   // Writing into the property

History:
Pm9.00.26: New option 1 that draws the reset area in a normal way.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.