diff -r c25a752b664e -r e655ec8162e1 opc_ua/client.py --- a/opc_ua/client.py Fri Oct 29 18:00:54 2021 +0200 +++ b/opc_ua/client.py Fri Oct 29 18:07:28 2021 +0200 @@ -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