1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 10:28:21 +02:00

[WEI] Implement WEI Survey front

This commit is contained in:
Yohann D'ANELLO
2020-08-07 20:11:28 +02:00
parent ad59b5c81e
commit e4998cb6e3
6 changed files with 79 additions and 22 deletions

View File

@ -44,6 +44,13 @@ class WEIBusInformation:
def __init__(self, bus: Bus):
self.__dict__.update(bus.information)
self.bus = bus
self.save()
def save(self):
d = self.__dict__.copy()
d.pop("bus")
self.bus.information = d
self.bus.save()
class WEISurveyAlgorithm: