The current PSCU class is large, containing code for configuring, controlling and reading out all sensor channels, whereas the data containers are distinct for each class of sensor. The PSCU class could be refactored to place sensor (type) specific code in separate classes, binding specific PSCU device channels to each. This would significantly reduce the size of the main PSCU class.
The current PSCU class is large, containing code for configuring, controlling and reading out all sensor channels, whereas the data containers are distinct for each class of sensor. The PSCU class could be refactored to place sensor (type) specific code in separate classes, binding specific PSCU device channels to each. This would significantly reduce the size of the main PSCU class.