The calculation of the length for a device is now carried out
depending on the list content of the inputs and outputs. A length of
0 is now also possible.
Signed-off-by: Sven Sager <akira@narux.de>
At this point we do not release 0.9.10. We will switch directly to
0.10.x because of all the new things and the matching version number
of revpipyload.
Signed-off-by: Sven Sager <akira@narux.de>
Expunging all occurrences of inappropriate language of the query and
response paradigm of PLC communications. We are familiar with the Modbus
terminology and support this change.
https://www.modbus.org/docs/Client-ServerPR-07-2020-final.docx.pdf
An adapted version already exists for the server side. Since the server
side cannot be updated immediately, there is still a translation
function in this project to maintain compatibility.
Wrong type hinting for older python versions.
Version string is parsed by regex to match the numbers and ignore rcX.
Open piCtory browser form main dialog was broken.
This will allow the access from outside the package. setup.py and the
Makefile can use this version number. The __init__.py script imports
the version number, so the module will have the __version__ variable
as usual.
The creation of folders was not clear and a bug could rename wrong
elements, which the user does not select.
Now connections and folders are handled in separat ways and the user can
add a new folder by pressing a button.
The fist connection uses the configured timeout of the revpi settings
object.
While the first connection, the user will see a connecting dialog, to
show we are alive and are working. The old behavior was a freezing UI.
Most events of the buttons was on pressed, which should not be used. Now
the debugcontrol buttons has a repeating pressed event, if you hold the
button, it will read the IOs every 200 ms. The shortcuts F4, F5, F6 to
read/write IOs are now application wide.
Start a complete new setting file with right naming. Import all old
saved connections from old settings file. Revolution Pi saved settings
are now in an own class with all properties and default values. All
modules are using this new setting class, which support the save
function.
Long byte values > 4 Bytes are handled as TEXT values. In some cases this could crash the sps monitor. Now, if we are not able to convert the bytes to a str(), we'll switch that io to "number" format.