PanelDataHistory
Settings history. This component displays a list of the last settings on the pages. The display can be compact or extended, with the possibility to show more information.Inside the component table, the collected data will automatically take the description “hint” took from the original data associated component. For example, if a DataSet allows to set the variable “SPEED” with the associated string “Maximum speed” set to the “hint” property, when the user will set the data, it will be stored inside the DataHistory with the associated description “Maximum speed”. Further language changes will be reflected on PanelDataHistory, even for already present data.Publishes the following properties:
- nlines: sets the number of lines to display for each history window. Note: if the indicated number exceeds window height, the line will not be seen and the cursor may attempt to reach it and disappear from the screen. In this case, reduce the number of lines or increase the size of the history window.
- formatDateID: sets a formatting string for date/time Personalize via the following list of 16 dynamic parameters: %1 : replaced with time [0..23] %2 : replaced with time [1..12] %3 : replaced with AM or PM %4 : replaced with indication of minutes [0..59] %5 : replaced with indication of seconds [0..59] %6 : replaced with indication of day [1..31] %7 : replaced with indication of month [1..12] %8 : replaced with indication of year in 4 figures %9 : replaced with indication of year in 2 figures %10 : as %1 but with zero at left if necessary %11: as %2 but with zero at left if necessary %12: as %4 but with zero at left if necessary %13: as %5 but with zero at left if necessary %14: as %6 but with zero at left if necessary %15: as %7 but with zero at left if necessary %16: as %9 but with zero at left if necessary Example: string : “%1:%4.%5 s” produces messages such as “14:30.58 s”
- restore1StringID: string that describes the first message shown during the procedure to restore a data to its original value: “The following data will be restored to its original value:”
- restore2StringID: string that describes the second message during the procedure to restore a data to its original value: “Press [RIGHT] to confirm, [LEFT] to cancel.”
- onOffStringID: string that specifies what to display in correspondence to value “ON” and “OFF” of textless Boolean components (ex.: DataCheckBox). The string consists of two parts separated by the character “;”. The first part is assigned value 0 (false). The second part is assigned value 1 (true). Example: “NO;YES”
- warningButtonsID: sets the definition strings for the “ok” and “cancel” buttons shown during the value restore procedure. If this property is never used (-1), the buttons will not be visible. If it is used, next to the line: “Press [RIGHT] to confirm, [LEFT] to cancel.” will be shown 2 buttons containing the string defined in this property. The string must consist of two elements separated by the character “;”. Example: Ok;Cancel The two elements separated by the character “;” will be assigned to the two buttons. They are required in case of use of system without keyboard (usually touch system)
- titleStringID: string that specifies what visualize in title. They must be nine strings divided by point and comma. The string must be composed by 9 elements, divided by character “;”:
- Date-Time;Description;Old;New;Unit;User-Level;IP;Comment;Flags
- titleEnable: qualification at heading’s visualization
- titleBorderEnable: if the heading is qualified, it allows to draw an outline’s border
- titleBackground: background colour of the holding
- titleForeground: foreground colour of the holding
- remote: name of the remote system to connect to. To connect to the local system, leave the field empty.
- lineForeground: foreground colour of data lines
- sizeElement1..9: column size. The numbers refer to:
- 1: dateTime. Element representing the setting date/time
- 2: description. Description of data
- 3: oldValue. Old data value
- 4: newValue. New value given to data
- 5: unit. Unit of measurement of data
- 6: user. The user that edited the data
- 7: ip. IP address of the unit that made the change (127.0.0.1 = local)
- 8: comment. Variable Name/Page Name
- 9: flags. Icons representing the various reasons for which the data may not match the set value (e.g. maximum limit exceeded, etc.).
- Note: the first 5 pieces of data appear on the first line, the last 4 on the second line. The set value corresponds to % of the space available. The user must ensure that the total of the first 5 values or the following 4 values, does not exceed 100 (100% of available space) in order to view them properly on the page.