Source code for cimpy.cgmes_v2_4_15.DCTerminal

from .DCBaseTerminal import DCBaseTerminal
from .CGMESProfile import Profile


[docs]class DCTerminal(DCBaseTerminal): """ An electrical connection point to generic DC conducting equipment. :DCConductingEquipment: Default: None """ possibleProfileList = { "class": [Profile.EQ.value, Profile.SSH.value, Profile.TP.value, ], "DCConductingEquipment": [Profile.EQ.value, ], } serializationProfile = {} recommendedClassProfile = Profile.EQ.value __doc__ += "\nDocumentation of parent class DCBaseTerminal:\n" + DCBaseTerminal.__doc__ def __init__(self, DCConductingEquipment = None, *args, **kw_args): super().__init__(*args, **kw_args) self.DCConductingEquipment = DCConductingEquipment def __str__(self): str = "class=DCTerminal\n" attributes = self.__dict__ for key in attributes.keys(): str = str + key + "={}\n".format(attributes[key]) return str