Preconfiguration "Energy output progression chart"

Creates compound graphic item PmiCanvas configured as energy output progression chart.
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Trend, functions, chart".
This graphic item allows to display 1/4 hour or hourly progression of energy output. Blue time cursor separates the energy output history on the left (gray semitransparent color). To the right from the cursor there is the predicted output curve. The color differs based on the relation to the defined limit (purple line). If the predicted output (valEstimate) is lower than the limit (valLimit), then the chart on the right will be rendered in green color and the triangle between current time, limit and prediction in light grey. Otherwise the limit then the rest of the chart is rendered grey and the triangle red.

As example, there is data emulation functionality in the onRefresh event

This graphic item contains embedded PmiCanvas item named Dynamic. The item has the variable valLimit, valEstimate and values of the string type containing values separated by semicolon. The binding can be used to connect it to the measured value of the same data structure. The variables of the parent item are accessible in onDraw event by using the pEvent.GetParentVar().
In the PmiCanvas graphic item, there are variables minX, maxX, minY, maxY, spaceX and spaceY. These variables define the scale range in both x and y axes and also the offset of axes from left and bottom edge.
Additional configuration variables are located at the beginning of context itself, or at the beginning of designer's methods. The following items can be set:
- colorScale color of segments and scale descriptions
- nMajY number of main segments on y axis
- nMinY number of secondary segments (between two main segments) on y axis
- nDescPer defines the quantity of displayed descriptors of main segments (0 = no, 1 = every main, 2 = every second main)
- nMajX number of main segments on x axis
- nMinX number of secondary segments (between two main segments) on x axis
- colorArea background color of the graph rendering area
- colorGrid grid color
- nGridPer defines quantity of displayed horizontal/vertical grid lines (0 = no, 1 = every main, 2 = every second main)
- nTextSize scale description text size
These configurators can be set before the preconfiguration is created:
Chart time range
1/4 hour (default)
1 hour
Maximum power scale range
Value of energy power limit
ValuesBase values
Emulation in the onRefresh eventEmulation in the graphic item event onRefresh
PROMOTIC 8.3.23 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