paulscherrerinstitute / pcaspy

Portable Channel Access Server in Python
BSD 3-Clause "New" or "Revised" License
32 stars 24 forks source link

Unit vs Units in PV property #80

Closed vstadnytskyi-FDA closed 1 year ago

vstadnytskyi-FDA commented 2 years ago

Hi All,

It seems that you are using keyword "unit" when it comes to define units of a PV. I suspect that is a keyword that defines 'Engineering Units'. For example, PyEpics uses 'units' instead of unit.

Would be better to be consistent across different platforms? What are your thought?

xiaoqiangwang commented 2 years ago

If I recall correctly, my thought was that "this field defines the unit of this PV". Anyway renaming it to "units" is too late, making an alias is always possible. But I don't see that creates much clarity.