[WEI] Implement WEI Survey front
This commit is contained in:
parent
ad59b5c81e
commit
e4998cb6e3
6 changed files with 79 additions and 22 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue