changeset 3382 | 589abe084e57 |
parent 3378 | e655ec8162e1 |
child 3589 | a0b645a934c9 |
--- a/opc_ua/client.py Thu Nov 04 12:00:50 2021 +0100 +++ b/opc_ua/client.py Thu Nov 04 12:02:08 2021 +0100 @@ -49,12 +49,15 @@ EditorType = OPCUAClientEditor def __init__(self): - self.modeldata = OPCUAClientModel() + self.modeldata = OPCUAClientModel(self.Log) filepath = self.GetFileName() if os.path.isfile(filepath): self.modeldata.LoadCSV(filepath) + def Log(self, msg): + self.GetCTRoot().logger.write(msg) + def GetModelData(self): return self.modeldata