Added some TODOs

pull/185/head
Holger Müller 2020-06-14 09:19:28 +02:00
rodzic c325fa5af9
commit 7437d26260
2 zmienionych plików z 8 dodań i 6 usunięć

Wyświetl plik

@ -47,14 +47,15 @@ class VNA:
return self.features
def readFrequencies(self) -> List[str]:
pass
# TODO: check return types
def readFrequencies(self) -> List[int]:
return []
def readValues11(self) -> List[str]:
pass
return []
def readValues21(self) -> List[str]:
pass
return []
def resetSweep(self, start: int, stop: int):
pass
@ -173,7 +174,8 @@ class VNA:
def setSweep(self, start, stop):
self.writeSerial("sweep " + str(start) + " " + str(stop) + " " + str(self.datapoints))
# TODO: should be dropped and the serial part should be a connection class which handles
# unconnected devices
class InvalidVNA(VNA):
name = "Invalid"

Wyświetl plik

@ -17,4 +17,4 @@
from NanoVNASaver.__main__ import main
if __name__ == '__main__':
main()
main()