Kreo HMI
×
Menu
Index

Switch

Lo Switch e' un oggetto che prevede internamente la modalita' di funzionamento come pulsante Bistabile.
Attraverso le proprietà l'utente può definire la Tag di riferimento ed i valori che corrispondono ai due sttati dello switch.
 
 

Property

Property
Description
Default value
Behaviour
 
 
Visibility
Indicates whether the object should be visible or hidden
ON
Disabled
Indicates whether the sensitive area should be sensitive to pressure or not.
 
UserMode
How to use the switch
Read-Write
Tag
 
 
Tag
Variable associated with the switch
 
ValueOn
Value that corresponds to the state pressed
1
ValueOff
Value that corresponds to the released status
0
Attributes
 
 
Opacity
Opacity level
255
Areacoloron
Color of the area corresponding to the state of On
 
Areacoloroff
Color of the area corresponding to the state of Off
 
Security
 
 
Level
Object protection level
0
 

Events

 
Each event can be associated with one or more predefined functions or script code.
 
On
Pressed
Off
Release
OnSwipeLeft
Left swipe event
OnSwipeRight
Right swipe event
SwipeUp
Up swipe event
SwipeDown
Down swipe event