numat / alicat

Python driver and command line tool for Alicat mass flow controllers.
GNU General Public License v2.0
21 stars 27 forks source link

DRY #6

Closed patrickfuller closed 2 years ago

patrickfuller commented 6 years ago

This code was written for RS-232/USB support, and then the Ethernet gateway support was bolted on by copy-pasting the implementation.

This would be better organized as a Protocol-Transport model, where an abstract base class implements the protocol and stubs the transport.

patrickfuller commented 2 years ago

Duplicate of #16.