Difference between revisions of "Extensions.HMI.HighlightScreen"

From emotive
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HMI]]
+
{{DISPLAYTITLE:  '''HighlightScreen'''}}[[Category:HMI]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | HighlightScreen | Raises a specific screen shown to the user's attention to focus on the screen | [[Action]]| [[HMI|OTX HMI extension]] | [[Custom screen related actions]] | - | - }}
+
{{ClassificationActivity | HighlightScreen | Highlights a given screen | [[Action]]| [[Extensions.HMI|OTX HMI extension]] | [[Extensions.HMI#Actions|Custom screen related actions]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Hmi.HighlightScreen(ScreenHandle);
+
HMI.HighlightScreen(ScreenVariable screen);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
The '''HighlightScreen''' activity raises a particular  screen out for attention of the user on the screen to set. This supports the use cases where the user's attention is required, eg. Example, if a situation occurs the instant the user input is required or if important information is displayed to inform the user to take the measures to eg to solve a critical situation, etc.
+
The '''HighlightScreen''' activity will highlight a given screen in a way appropriate for drawing the user's attention to the screen. This supports use cases where user attention is required, e.g. when a situation occurs which immediately requires user input on a particular screen, or when a screen displays important information which tells the user which actions to take to solve e.g. a critical situation, etc.
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| Screen | [[Screen]] | [[Variable]] | - | [1] | The handle of the screen that to be highlighted.}}
+
{{TableRowPropertie2| Screen | [[Extensions.HMI.Screen|Screen]] | [[Variable]] | - | [1] | This element represents the screen handle of the screen that will be highlighted.}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
package Hmi.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);
+
/// Signatures
 +
 
 +
package HMI.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);
 +
 
 +
/// Global Declarations
  
 
public procedure main()
 
public procedure main()
 
{
 
{
  Hmi.Screen ScreenHandle1;
+
/// Local Declarations
  Integer ScreenInOut1;
+
 
 +
HMI.Screen ScreenHandle1;
 +
Integer Integer1;
 +
 
 +
/// Flow
  
  Hmi.OpenScreen(ScreenSignature1, false, {ref ScreenInOutParameter1 = ScreenInOut1}, ScreenHandle1);
+
HMI.OpenScreen(ScreenHandle1, ScreenSignature1, {ScreenInOutParameter1 = Integer1}, false);
  Hmi.HighlightScreen(ScreenHandle1);
+
HMI.HighlightScreen(ScreenHandle1);
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
[[OpenScreen]] <br/>
+
[[Extensions.HMI.OpenScreen|OpenScreen]] <br/>
[[CloseScreen]]
+
[[Extensions.HMI.CloseScreen|CloseScreen]]

Latest revision as of 02:34, 13 September 2019

Classification

Name HighlightScreen
Short Description Highlights a given screen
Class Action
Extension OTX HMI extension
Group Custom screen related actions
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

HMI.HighlightScreen(ScreenVariable screen);

Description

The HighlightScreen activity will highlight a given screen in a way appropriate for drawing the user's attention to the screen. This supports use cases where user attention is required, e.g. when a situation occurs which immediately requires user input on a particular screen, or when a screen displays important information which tells the user which actions to take to solve e.g. a critical situation, etc.

Properties

Name Data Type Class Default Cardinality Description
Screen Screen Variable - [1] This element represents the screen handle of the screen that will be highlighted.

OTL Examples

/// Signatures

package HMI.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);

/// Global Declarations

public procedure main()
{
	/// Local Declarations

	HMI.Screen ScreenHandle1;
	Integer Integer1;

	/// Flow

	HMI.OpenScreen(ScreenHandle1, ScreenSignature1, {ScreenInOutParameter1 = Integer1}, false);
	HMI.HighlightScreen(ScreenHandle1);
}

See also

OpenScreen
CloseScreen