beautypg.com

SMA Sunny Data Control V.5.0 User Manual

Page 119

background image

Transferring Data to the Internet

SMA Technologie AG

Technical Description

SDC-TEN081450

121

ComponentX, NameX (String)

Each component to be displayed is introduced with:

among the parameters. The parameter ComponentX specifies the component type (see above).
Each display type has an unambiguous character string which identifies the type. In this case, "X"
stands for the sequential component number. A maximum of four are possible, beginning with 1.

At present, the following values are possible for ComponentX:

"de.sma.SunnyViewer.ViewerDiagram" (for chart display)

"de.sma.SunnyViewer.ViewerDigital" (for numerical display)

"de.sma.SunnyViewer.ViewerGrid" (for device field display)

With the parameter "NameX", an unambiguous name is assigned to the component. In subsequent
procedures, the component is identified by this name. This is similar to the definition of a variable in
a programming language.

There is a set of parameters supported by all components. Each parameter is preceded by the name
of the component to which it applies, separated by a period.

BGColor (Color)

This parameter defines the background color of this component.

Example

This example specifies that the first display component is a chart component, and that this
can subsequently be referred to as "chart1".

Example

This example sets the background color of the component "chart1" to white.