beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: min and max limit for widgets can be set with assigned variables
py2compat
15 months ago, Edouard Tisserant
0413874f2462
SVGHMI: min and max limit for widgets can be set with assigned variables
This is a valid Widget declaration using new feature:
HMI:Input@/TARGETPRESSURE,0,max_pressure@max_pressure=hmi_local_max_setting
tests/projects/svghmi is updated accordingly.
from __future__ import absolute_import
from etherlab.etherlab import *
from util.BitmapLibrary import AddBitmapFolder
import util.paths as paths
AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))