...
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The <ScreenConfig> subsection within the <AppConfig> main section is required to specify any ‘root’ menu screens within the application. For more information about how Texplore navigates from screen to screen see Browsing from Screen to Screen. Subnodes in the <ScreenConfig> subsection must conform to the following format:
<Screen> subnodes have the following attributes:
|
...
Expand | ||
---|---|---|
| ||
The <AppVariables> subsection within the <AppConfig> main section is used to define application-specific variables used by the HMI application. Each of the subnodes in this section should specify the key name of the variable and its initial value. This variables are all stored as strings within the HMI application. Example Configuration SectionFollowing is an example <AppConfig> section for a given HMI application.
|
...
Expand | ||
---|---|---|
| ||
Texplore stores some data in its own configuration file for use the next time the application is started. The application configuration file is located in the same folder as the Texplore executable file and is named Texplore.exe.config. Currently, the only persistent information stored in the configuration file is the history of HMI applications to which the TSE program has connected. Following is a sample configuration file:
|
Expand | ||
---|---|---|
| ||
The following command line parameters are supported by Texplore:
|
Expand | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||
All screens to be displayed in the Texplore environment must conform to the following:
This is required so that the Texplore container can properly interact with and display all custom application screens. |
Expand | ||
---|---|---|
| ||
One screen can link to another in a variety of different methods:
The Texplore application internally has a TPRI.Tscreen.TscreenMgr object that manages navigation between screens. In either of the cases above, this TscreenMgr object will use the ScreenID name to find the appropriate new screen as follows:
For instance, suppose the application configuration file has the following
When the application is started, a MyNamespace1.MainMenu object will be loaded from the MyAssembly1.dll assembly, assigned a ScreenID of “MainMenu”, and initially presented to the user. This occurs because this screen is marked with the If the NtRtMenu screen has a CmdButton on it whose LinkedScreen property is set to “SubMenu”, the TscreenMgr will immediately find the SubMenu screen in its list of registered screens and activate it. However, if the CmdButton on the MainMenu screen instead specifies “OtherScreen” in its LinkedScreen property, the TscreenMgr will find that there is no screen currently registered with that ScreenID. Therefore it will check if the MyAssembly1.dll assembly contains a class by the name MyNamespace1.OtherScreen; if it finds one then that screen will be immediately registered, created and activated. If this class does not exist then the navigation will be canceled. Consequently, only top-level menus must be specified in the ScreenConfig section of the application configuration file as long as all classes corresponding to screens linked from those menus are located in the same namespace as the top-level menu. |
Expand | ||
---|---|---|
| ||
The Texplore application internally has a TPRI.Tsecurity.TsecurityMgr object that manages security for the HMI application. It is responsible for notifying each screen that is loaded of the currently logged in user and his security access key. However, it is up to each screen (and each object loaded by each screen) to enable or disable its own components as appropriate based on this security access key. In addition, the TsecurityMgr object watches the HMI display for inactivity. If no user interacts with the HMI display for the number of minutes specified by the SessionTimeout key in the AppConfig/LoginConfig section of the HMI application configuration file, the TsecurityMgr will automatically timeout the current login session. When this happens the Login screen is immediately redisplayed for this user. At this point if the user reauthenticates again as the original user, he can return to the same point in the HMI application. If he reauthenticates as a new user then the previous HMI application session will be reset and the user will be log in as if he had not been logged in before. |
Standard Screens
The following sections describe each of the standard screens provided with TSENTRY.
Expand |
---|