2020-09-30 |
usveticic |
Merge two different heads
svghmi
|
changeset |
files
|
2020-09-24 |
Edouard Tisserant |
SVGHMI: Documentation fix
svghmi
|
changeset |
files
|
2020-09-24 |
usveticic |
Button and toggle reworked to use animate and dispatch
svghmi
|
changeset |
files
|
2020-09-17 |
Edouard Tisserant |
Merge + fix side effects of making warning instead of errors in case of missing HMI variable
svghmi
|
changeset |
files
|
2020-09-16 |
usveticic |
Updated svg and xml for testing program
svghmi
|
changeset |
files
|
2020-09-16 |
usveticic |
Button, ToggleButton and slider updated. Error to warning when building
svghmi
|
changeset |
files
|
2020-09-15 |
Edouard Tisserant |
Modbus: fixed typo in ctype typing.
svghmi
|
changeset |
files
|
2020-09-11 |
Edouard Tisserant |
MODBUS: Fix saving of websettings.
svghmi
|
changeset |
files
|
2020-09-10 |
Edouard Tisserant |
Runtime/PLCObject : move call to PreStartPLC right after call to the "start" method of all python extensions, and then just before the start of the python loop executing python_* blocks.
svghmi
|
changeset |
files
|
2020-09-03 |
Edouard Tisserant |
SVGHMI: Better error message when inkscape is not installed.
svghmi
|
changeset |
files
|
2020-09-02 |
Edouard Tisserant |
SVGHMI: nicer error message
svghmi
|
changeset |
files
|
2020-09-01 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-08-31 |
Edouard Tisserant |
Attempt to workaround problem reported about empty plc.xml after unrelated crash. Now, if etree model is corrupted in a way tostring() would generate an empty string, exception prevents saving.
svghmi
|
changeset |
files
|
2020-08-28 |
Edouard Tisserant |
SVGHMI: JsonTable can now have clickable elements, that trigger a request with extra argument whose content is taken from Json data.
svghmi
|
changeset |
files
|
2020-08-28 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2020-08-28 |
Edouard Tisserant |
SVGHMI: cosmetic fix in test
svghmi
|
changeset |
files
|
2020-08-18 |
usveticic |
All widgets reworked to use widget class and animate function if needed
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: Moved JsonTable/Alarm related test in a separate page.
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: JsonTable now ignores elements and groups starting with #
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: Fix keypad : non-number input was always considered invalid because of missing type checking.
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: JsonTable now updates range and position variables so that slider widget can update.
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: Fix multiple variable support in widget
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: Add TODOs in Button widgets.
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: Alarm test not using Button widget anymore, too many problems. Use Input widget instead to increment value on each click and execute python code on change.
svghmi
|
changeset |
files
|
2020-08-25 |
Edouard Tisserant |
SVGHMI: little fix in HMI:Button
svghmi
|
changeset |
files
|
2020-08-25 |
Edouard Tisserant |
SVGHMI: JsonTable now use intermediate variables again to address JSON data without duplicating code or referencing. Using intermediate variables also alows to check for availability of data and stop evaluating early if data is missing. Finally added complete roundtrip example to illustrate use of JSonTable to display "alarms" collected in python from changes on PLC boolean variables.
svghmi
|
changeset |
files
|
2020-08-24 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
changeset |
files
|
2020-08-21 |
Edouard Tisserant |
SVGHMI: JsonTable now makes meaningfull JSON request : all arguments and variables are passed in.
svghmi
|
changeset |
files
|
2020-08-21 |
Edouard Tisserant |
SVGHMI: Keypad is now keeping Javascript type constency. In other words, if a number was given as initial value, input value will have to convert to number in order to be valid. In case invalid value is entered, initial value is restored.
svghmi
|
changeset |
files
|
2020-08-20 |
Edouard Tisserant |
SVGHMI: Behave when project path include spaces, and make more understandable error in case of problem extracting geometry with inkscape.
svghmi
|
changeset |
files
|
2020-08-20 |
Edouard Tisserant |
SVGHMI: Refactor the way JsonTable generate javascript code to access json data. Now support multiple assignments, used in the case of text to change both content and style on the same element.
svghmi
|
changeset |
files
|
2020-08-20 |
Edouard Tisserant |
SVGHMI: Fix again clone unlinking, and this time add an "original" attribute to track the id of the original object before unlinking.
svghmi
|
changeset |
files
|
2020-08-17 |
Edouard Tisserant |
SVGHMI: Fix svg test file while testing latest JsonTableChanges
svghmi
|
changeset |
files
|
2020-08-15 |
Edouard Tisserant |
SVGHMI: HMI:JsonTable also recognize TextStyleList, but parsing of textContent is still not implemented and style is still not updated.
svghmi
|
changeset |
files
|
2020-08-15 |
Edouard Tisserant |
SVGHMI: Deeper clone unlinking. Was actually not recursive, and clones in clones where not unlinked. Stack successive ids to avoid collisions.
svghmi
|
changeset |
files
|
2020-08-13 |
Edouard Tisserant |
SVGHMI: factorize dispatch calling logic.
svghmi
|
changeset |
files
|
2020-08-13 |
Edouard Tisserant |
SVGHMI: HMI:VarInit:"a string"@a_value : empty widget (i.e. empty svg:group) that initialize content of local variables to value given as first argument.
svghmi
|
changeset |
files
|
2020-08-12 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-08-12 |
Edouard Tisserant |
SVGHMI: Add more local HMI variable tests in tests/svghmi.
svghmi
|
changeset |
files
|
2020-08-11 |
Edouard Tisserant |
SVGHMI: finished initial implementation of PAGE_LOCAL and HMI_LOCAL variables.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: add a SetPoint to Slider Widget, visible only when operating the slider.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: Update Slider widget so that it doesn't display future value but actual value only.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: provide request_animate() to Widget authors so that they can register redraw code when events lead to redraw. Widget member animate() is called when it is time to update DOM.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-08-08 |
Edouard Tisserant |
SVGHMI: Intermediate state while implementing local HMI variables. Now write to cache only (no send), still need to implement dispatch on change.
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Beremiz test project with newly created widgets.
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Rebuilded gen_index_html.xslt after all new widgets were commited
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new multistate widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new CircularSlider widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new slider widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Reworked togglebutton widget to extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Changed keyboard to show on defined position.
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Reworked button widget so it uses classes.
svghmi
|
changeset |
files
|
2020-08-06 |
Edouard Tisserant |
SVGHMI: allow multiple variables and formatting in Display widget. Formatting is printf style and given as first argument. If no formating is given as widget argument, space separated.
svghmi
|
changeset |
files
|
2020-08-06 |
Edouard Tisserant |
SVGHMI : have to move some JS declarations from "preamble" to "declarations" and others from "declarations" to "definitions" section to make room for JS libraries that would be used by widget classes.
svghmi
|
changeset |
files
|
2020-08-05 |
Edouard Tisserant |
SVGHMI: JS refactoring continued : "dispatch_value_to_widget" becomes widget class member "new_hmi_value" (was also broken by previous relativeness commit)
svghmi
|
changeset |
files
|
2020-08-05 |
Edouard Tisserant |
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".
svghmi
|
changeset |
files
|
2020-08-04 |
Edouard Tisserant |
SVGHMI: More JS code refactoring : change_hmi_value and apply_hmi_value now methods of widget class.
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Better JS code semantic in ForEach widget class. Update lagging generated xslt.
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Add ForEach Widget is svghmi test
svghmi
|
changeset |
files
|