Эта страница является
переводом страницы
IRidium studio 2019 UI Relations. Перевод выполнен на 100%.
Relations: connections inside i3 pro interface
Connections between object provide automatic reaction to system events
Relations are a way to change a property of a graphical item when there happen changes in a feedback channel of equipment, in a token or in properties of another item. Relations are widely used in a visualization interface: you can see what relations a particular items has in the following panel PROGRAMMING > Relations.
A relation consists of a link to a data recepient and a link to a data source. Value of the source is assigned to the recepinet as it is, without changes:
Examplr: a text field of an item gets a value from a system token, containing the current date. Every time the date changes, the value in the text field also changes:
Source and Destination. The followin can be both the souce and the recepient of data:
- Project token - a project variable
- System token - a variable with system information
- Page, Popup, Item - property of an interface item
- Feedback - a feedback channel that returnes a value from equipment
- Driver token - a driver variable
- Module tag - a feedback channel that returns a value from lite-module
A relation may not deal with a graphical item. For example, data from a system token can be written in a project token. Such sutuations are rare but possible. The distinct feature id that there is no graphical item in properties of which such a connection can be seen. In this case use the Relations window diplaying all created relations. You can not only see a realtion there but also create a new one: