The preconfiguration of window with TrendsView
ActiveX graphic objects. Contains buttons for entering the time interval and time axis shift, button for enabling/disabling the autoshift and button for additional configuration of the trend viewer object.
This preconfiguration can be activated when creating a new object (e.g. by "New object"
in the local object menu or by pressing the Insert
key after selecting the object) and is included in the group: " / Panels (PmPanel) / Trends and function"
This preconfiguration can be used with the objects: PmFolder, PmRoot, PmPanel or PmWorkspace.
- The preconfiguration creates two (or three) PmPanel
objects. The main object name is preconfigured to "PanelTrend"
and the sub object named "SetDateTime"
is a modal window for entering the date and time. If the Export the data into the csv file
configurator is enabled, the "Backup"
object is also created.
- The preconfiguration is created including the panel (PmPanel
object) functionality as a WEB panel
There are the TrendsView
objects in the main panel. The TrendsView
object is preconfigured to a default time axis interval of "1 hour". After the object is created, it is necessary to bind it staticaly or via a script to the desired PmTrend
The static binding procedure: In the TrendsView item, in the Properties configurator, on the Trends page, the "trend" object can be created, and on the Edit trend, the binding to a PmTrend value can be created.
object represents the trend header. It is preconfigured in order to display a list of trends from the TrendsView
object, selects the active trend and displays the values of Name
and also the value selected by the cursor, or the last value in the Autoscroll
The preconfigured buttons contain graphic symbols depicting their function.
- The next group of buttons zooms in/out the time axis range. The ZoomTime
method is called.
The last button in this group is offeringthe preconfigured time intervals. In the onMenuFill event the #pragma script directive is called, that influences the text localization. In the onMenuSelect event, the desired time interval of the trens viewer is set and its text is written in the button description.
- The button containing the clock symbol opens the preconfigured SetDateTime window for entering the date and time. It is used to set the beginning of the displayed time in the viewer.
- The next button is configured as a menu. In the onMenuFill
event, the #pragma
script directive is used again for the text localization and in the onMenuSelect
event, the following methods are called:
: for changing the viewer mode (chart/table)
: for loading the saved trend configuration
: for saving the trend configuration
: for setting the trend configuration
- Tisk trendů
This preconfiguration is used in PreCfg - Preconfiguration examples
These configurators can be set before the preconfiguration is created:
|The name of created object||Name of the object created in the application object tree. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.|
|Panel title||User name of the panel that is displayed for example in: |
- in the window title bar (if opened outside the workspace)
- in the panel list obtained for example by the FindViewers
This configurator sets the initial value of the property PmPanel.Title and PmiRoot.ViewerTitle.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
After this preconfiguration is created, the configurator is se to: PmPanel > Panel > Panel title.
|Permissions||On this page permissions of the object are defined. See Description of the page Permissions.|
|Member of logical groups||The list of the identifiers of the logical groups (the comma ',' is the separator), the object belongs into (it is a group member), see Logical groups. The logical group selection can be done in the Member of logical groups window. |
After this preconfiguration is created, the configurator is se to: PmObject > Object > Member of logical groups.
|Export the data into the csv file|
|Enable as WEB component||It indicates if this object has to be registered as a WEB server component |
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Enable as WEB component.
|PmWeb object||Path in the objects tree to the PmWeb, PmWebFolder or PmWebLang object where the registration is carried out. |
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > PmWeb object.
|Web component identifier||It specifies unique identifier of this WEB component. The full URL address to this component is then for example: |
Macro expression can be used for input (it is evaluated while the application is launching).
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Web component identifier.