kasbert / epsolar-tracer

Tools for EPsolar Tracer BN solar charge controller
Apache License 2.0
120 stars 76 forks source link

A Value object can now be cast to an int or a float #1

Closed Hobietime closed 9 years ago

Hobietime commented 9 years ago

Added the ability to cast a Value object to an int or a float so no parsing is necessary if you just want the raw values, while preserving the current functionality. There probably is a better way to do this with factories/metaclasses but I don't want to rework this too much.

Also, tested and working on the Landstar series EPSolar controller.

kasbert commented 9 years ago

Thanks.