You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's appropriate to find a corresponding dictionary by name,
because different manufacturers' dictionaries have different names, such as uppercase and lowercase。
For example, one of my devices is ['actual speed '], but your routine is ['Velocity actual value']
I think you should use the cia standard to represent it, such as 6040,1008,6060 and so on, in numerical form.
Also, using strings to represent NMT status is not safe, although it may seem intuitive. Due to the possibility of accidentally typing another character, the NMT status may be incorrect. For example, node. state='READY TO SWITCH ON', this string is easy to write as 'READY TO SWITCH ON'
The text was updated successfully, but these errors were encountered:
Macros don't exist in python as they do in C for example. Enumerations neither. In Python, every symbol is just a pointer to an object. Any object has a hash, which is used when looking up keys in a map.
I don't think it's appropriate to find a corresponding dictionary by name,
because different manufacturers' dictionaries have different names, such as uppercase and lowercase。
For example, one of my devices is ['actual speed '], but your routine is ['Velocity actual value']
I think you should use the cia standard to represent it, such as 6040,1008,6060 and so on, in numerical form.
Also, using strings to represent NMT status is not safe, although it may seem intuitive. Due to the possibility of accidentally typing another character, the NMT status may be incorrect. For example, node. state='READY TO SWITCH ON', this string is easy to write as 'READY TO SWITCH ON'
The text was updated successfully, but these errors were encountered: