equal
deleted
inserted
replaced
47 """ |
47 """ |
48 |
48 |
49 EditorType = OPCUAClientEditor |
49 EditorType = OPCUAClientEditor |
50 |
50 |
51 def __init__(self): |
51 def __init__(self): |
52 self.modeldata = OPCUAClientModel() |
52 self.modeldata = OPCUAClientModel(self.Log) |
53 |
53 |
54 filepath = self.GetFileName() |
54 filepath = self.GetFileName() |
55 if os.path.isfile(filepath): |
55 if os.path.isfile(filepath): |
56 self.modeldata.LoadCSV(filepath) |
56 self.modeldata.LoadCSV(filepath) |
|
57 |
|
58 def Log(self, msg): |
|
59 self.GetCTRoot().logger.write(msg) |
57 |
60 |
58 def GetModelData(self): |
61 def GetModelData(self): |
59 return self.modeldata |
62 return self.modeldata |
60 |
63 |
61 def GetServerURI(self): |
64 def GetServerURI(self): |