equal
deleted
inserted
replaced
84 return TYPECONVERSION.get(self.GetCTRoot().GetBaseType(type), None) |
84 return TYPECONVERSION.get(self.GetCTRoot().GetBaseType(type), None) |
85 |
85 |
86 def GetSlavePos(self): |
86 def GetSlavePos(self): |
87 return self.BaseParams.getIEC_Channel() |
87 return self.BaseParams.getIEC_Channel() |
88 |
88 |
89 def GetParamsAttributes(self, path = None): |
89 def GetParamsAttributes(self, path=None): |
90 if path: |
90 if path: |
91 parts = path.split(".", 1) |
91 parts = path.split(".", 1) |
92 if self.MandatoryParams and parts[0] == self.MandatoryParams[0]: |
92 if self.MandatoryParams and parts[0] == self.MandatoryParams[0]: |
93 return self.MandatoryParams[1].getElementInfos(parts[0], parts[1]) |
93 return self.MandatoryParams[1].getElementInfos(parts[0], parts[1]) |
94 elif self.CTNParams and parts[0] == self.CTNParams[0]: |
94 elif self.CTNParams and parts[0] == self.CTNParams[0]: |