Open-Acidification / TankController

Arduino and web GUI source code for the Open Acidification tank controller (pH-stat unit).
https://open-acidification.github.io/
Mozilla Public License 2.0
8 stars 33 forks source link

Ensure type is known for AppData and TcInterface singletons #421

Closed jgfoster closed 1 year ago

jgfoster commented 1 year ago

We were using a property getter for a singleton that starts out as null, so the type was simply Object. By switching to a method getter we can specify the type as not null and this provides better type information (and highlights several "discarded futures" problems that already exist and should be addressed in the future).

jgfoster commented 1 year ago

Fix #420.