Difference between revisions of "Extensions.HMI.Screen"

From emotive
Jump to navigation Jump to search
m (Hb moved page Screen to Extensions.HMI.Screen: #3153)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Data Type '''Screen'''}}[[Category:DataType]][[Category:HMI]]
 
{{DISPLAYTITLE:Data Type '''Screen'''}}[[Category:DataType]][[Category:HMI]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | Screen | A handle to a screen resource to the runtime system | [[Complex Data Type]] | - }}
+
{{ClassificationDataType | Screen | A handle to a screen resource to the runtime system | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]] }}
  
 
== Description ==
 
== Description ==
Line 11: Line 11:
 
String=Returns the name of the screen resource | StringSample=<tt>String s = ToString(screenVariable); // Returns "ScreenSignatureName"</tt>
 
String=Returns the name of the screen resource | StringSample=<tt>String s = ToString(screenVariable); // Returns "ScreenSignatureName"</tt>
 
}}
 
}}
 +
 +
==Sample==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
HMI.Screen ScreenVariable;
 +
</syntaxhighlight>

Latest revision as of 09:39, 22 October 2018

Classification

Name Screen
Short Description A handle to a screen resource to the runtime system
Class Complex Data Type
Base Data Type ComplexType
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-3
Standard Compliant Yes

Description

The Screen data type is a handle to a screen resource on the runtime system. Screen-Handle provides an interface through which a OTX sequence representing data and can receive user input.

Icons Note.png Since screen does not have any initialization parts, one can screen not be declared constant.

Core Conversion

The following table shows the rules for conversion to another data type:

Conversion Result Sample
ToBoolean Undefined (should not be used)
ToInteger Undefined (should not be used)
ToFloat Undefined (should not be used)
ToString Returns the name of the screen resource String s = ToString(screenVariable); // Returns "ScreenSignatureName"
ToByteField Undefined (should not be used)

Sample

HMI.Screen ScreenVariable;