TAnimatedProcessImage, palette SmartSCADAControls, unit                                                                                                                               AnimatedProcessImage.pas

   This component hold one bmp picture (glyph) that represent few situations of an object from the process. Pictures of single object situation should be placed one by one (vertically or horizontally). In run time, this component dependently how it is configured, shows single glyphs from this bit map. Next figures shows two examples of horizontally placed glyphs.

 

Figure 49. three states of pump motor

 

Figure 50. rotation animation

PROPERTIES

 

Active: Boolean

                 This property defines if component will switch glyphs by set interval.

 

AutoSize: Boolean

                 Automatically set size or not (design time).

 

Center: Boolean

                 Glyph will be placed in the center of frame or not.

 

Orientation: TGlyphOrientation

                 Orientation of bmp picture. It can be vertical or horizontal (goHorizontal  or goVertical).

 

Glyph: TBitmap

                 Bit map file.

 

GlyphNum: Integer

                 Number glyph that is currently shown. Use it to review single glyphs.

 

Interval: Cardinal

                 Time period that glyph has to be on the screen [ms].

 

NumGlyphs: Integer

                 Number of  glyphs that are placed in the bit map file.

 

InactiveGlyph: Integer

                 Glyph that will be displayed when no signal is True (Frame Switch mode).

 

ImageAction: TImageActionType

                 Behavior of the component. It can be:

                             iaAnimate:             if any of linked signal is true, glyph are animate, or

                             iaFrameSwitch.    Glyph that corresponds to linked signal that has value true and lowest ordinal

 

TransparentColor: TColor

                 Defines transparent color. Most often this is background of bit map picture.

 

Opaque: Boolean

                 Turns transparency on and off.

Stretch: Boolean

                 Glyph will be stretched to frame or not.

 

Visible : Boolean

                 Component will be visible or not.

 

Signals: TStrings

                 Signal list linked to this component. Signals are linked to component by special editor.

 

VisibleAfterStop: boolean

                 Component will be visible if all linked signals have value False, or not.

 

METHODS

 

procedure Run;

                 Provides animations. Never is called directly.

 

EVENTS

 

OnFrameChanged: TNotifyEvent

                 Event that appears when ever frame is changed.

 

OnStart: TNotifyEvent

                 Event appears after animation start.

 

OnStop: TNotifyEvent

Event appears after animation stop.

Value

Description

ifsNone

No interaction with ini file

ifsReadDS

Reading values from ini file in design time

ifsWriteDS

Writing values to ini file in design time

ifsReadWriteDS

Reading and writing values from ini file in design time

ifsReadRT

Reading values from ini file in run time

ifsWriteRT

Writing values to ini file in run time

ifsReadWriteRT

Reading and writing values from/to ini file all the time