unHMI  1.1.2
UnHMI_ScreenLayout.ctl File Reference

The file contains the list of classes used to manage scren layouts. More...

Classes

class  UnHMI_Window
 The UnHMI_Window class represents a single window. More...
 
class  UnHMI_ScreenLayout
 The UnHMI_ScreenLayout class represents a single screen layout. More...
 

Detailed Description

The file contains the list of classes used to manage scren layouts.

The control script that manages the unHMI screen layout.

This control script defines the UnHMI_Window class and the UnHMI_ScreenLayout class. The Window class sets and returns the necessary parameters to populate the panels that will be saved for a particular screen layout. The Screenlayout class manages the datapoint and datapoint elements related to the screen layout implementation, obtaining and returning the values for the access control, layout name, split mode and windows created, and also creating, deleting, saving, loading or cloning the configuration of the datapoints. Control Json Serialization/Deserialization functions are used to convert the information about the screen layout into a Json format, or viceversa. This allows to import/export .txt files, to store and load data from datapoints, and to read/write information about screen layouts which will be used to display panels on the unHMI, and save the important data.