From OpenSCADAWiki
Jump to: navigation, search

The visualizer module provides and uses set of specific attributes of the generic means, the information of which is given in the table. These attributes are automatically created by the visualizer in their absence and during the first run, or created by the user in the frame of the specified area, as needed.

Identifier (area) Name Appointment
keepAspectRatio (main page) Keep aspect ratio on scale Keep aspect ratio of the pages on scale.
stBarNoShow (main page) Do not show the status bar Hide the status bar of the main window.
notify{N}, notifyVisWebVision{N} (page) Notification: type {N} At.png Create manually with the type "Text"!

Specifies a notifier and a procedure of the notification resource obtaining according to the "Signalling (Alarms)" conception.

statLine (main page) Status line items At.png Create manually with the type "Text"!

Text field with description of the status line item in the string form "{Id}:{Label}:{ToolTip}:{Color}:{Img}", where:

  • "Id" — identifier, uses also to form events from the widget "stIt_{Id}".
  • "Label" — visual label of the status element.
  • "ToolTip" — context help about the element.
  • "Color" — label color.
  • "Img" — image of the status element, instead the label.
userSetVis (main page) Setting the user At.png Create manually with the type "String"!

Change the user or call a dialog to select it. Variants of the value:

  • "*" — call for a selecting dialog of the user;
  • "$" — change the user to the default one;
  • "{user}[:{password}]" — direct change to user with password; for empty password, the user is changed only if its permission is lesser or equal; a useful example of changing to the "user" after one minute inactivity:
if((SYS.time()-this.ownerSess().userActTm()) < 60)userSetVis = "";
else if(this.ownerSess().reqUser() != "user") userSetVis = "user";
prjDoc (main page) Project document At.png Create manually with the type "String"!

Specifying the project documentation of call from the status line's button with a possibility of disabling-concealing the button at empty value. The documentation specified in view "{OffLine}|{OnLineOpenSCADAWiki}", for example for the AGLCS project — "AGLCS|Using/Model_AGLKS". The online part is used in first order at its specifying!

vs_goHttpUrl (view "Button" of the primitive "FormEl") Go to the HTTP URL At.png Create manually with the type "String"!

Go to the specified URL at the button press.

vs_background (views "Line edit", "Text edit", "Combo box", "List", "Tree", "Table" of the primitive "FormEl") Custom background At.png Create manually with the type "String"!

Specifies for the custom background in the form {color}-{transp} {image}.

vs_border (views "Line edit", "Text edit", "Combo box", "List", "Tree", "Table" of the primitive "FormEl") Custom border At.png Create manually with the type "String"!

Specifies for the custom border in the standard CSS-form {wdth}px {style} {color}.

vs_winTitle (the view "Box") Window title At.png Create manually with the type "String"!

Dynamic window title value.