TrendStorageVariableDescription (STRUCT)

TYPE TrendStorageVariableDescription : STRUCT

This structure describes a variable, whose values are stored in the trend storage.

InOut:

Name

Type

Comment

m_sVarName

STRING(255)

The name of the variable

m_VarType

TypeClass

A TypeClass value representing the type of the variable

m_diGraphColor

DINT

The color of the graph

m_eGraphType

ETrendStorageGraphType

Describes, how the graph is drawn

m_eLineStyle

ETrendStoragePenStyle

The style, how the lines of the graph are drawn

m_usiLineWidth

USINT

The line width of the graph

m_xActivateMinWarning

BOOL

Flag indicating, whether values less m_rMinWarningThreshold should use the color m_diMinWarningColor

m_xActivateMaxWarning

BOOL

Flag indicating, whether values greater m_rMaxWarningThreshold should use the color m_diMaxWarningColor

m_rMinWarningThreshold

REAL

See m_xActivateMinWarning

m_rMaxWarningThreshold

REAL

See m_xActivateMaxWarning

m_diMinWarningColor

DINT

See m_xActivateMinWarning

m_diMaxWarningColor

DINT

See m_xActivateMaxWarning

m_sDescriptionTextID

STRING(7)

The text id for the global textlist to retrieve the description of the variable.

m_xDisplayVariableName

BOOL

Flag indicating, whether the variable name should be also displayed or not

m_eCurveType

ECurveType

Curve type to use

m_eFillingType

EFillingType

Filling type to use

m_diFillingColor

DINT

Filling color

m_iFillingAlpha

INT

Filling color transparency

m_Grd_diColor1

DINT

Gradient First color

m_Grd_bTranspColor1

BYTE

Gradient First color transparency

m_Grd_diColor2

DINT

Gradient Second color

m_Grd_bTranspColor2

BYTE

Gradient Second color transparency

m_Grd_iAngle

INT

Gradient Angle of rotation

m_Grd_iCenterX

INT

Gradient Point rotation center

m_Grd_iCenterY

INT

Gradient Point rotation center

m_Grd_eGradientType

ETraceGradientType

Gradient Gradient type

m_Grd_xUseTwoColors

BOOL

Gradient Use two colors

m_Grd_iBrightness

INT

Gradient Brightness

m_Grd_dwColorBrightness

DWORD

Gradient Color Brightness