diff -r 3a0908b0319d -r 589abe084e57 opc_ua/client.py --- 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