class NodeConnector(object):
    """Physical connector of 2 Nodes"""

    #Constructor
    def __init__(self, 
                fstationid: str, fvoltage: str, fnodename: str, 
                tstationid: str, tvoltage: str, tnodename: str, 
                name: str, owner: str, r: float = 0, x: float = 0, segment: str = ""):
        self.ID = (fstationid, name, segment)
        self.Impedance = complex(r,x)
        self.FromNode = None
        self.FromNodeID = (fstationid, fnodename)            
        self.FromNodeName = fnodename
        self.FromStationID = fstationid
        self.FromVoltage = fvoltage
        self.Name = name
        self.OwnerCompanyID = owner
        self.Segment = segment
        self.ToNode = None
        self.ToNodeID = (tstationid, tnodename)            
        self.ToNodeName = tnodename
        self.ToStationID = tstationid
        self.ToVoltage = tvoltage
        return


0110b165edd9c38d87a1140645ad04bde1651ad4
<mask token>

class NodeConnector(object):
    <mask token>
    <mask token>

class NodeConnector(object):
    <mask token>

    def __init__(self, fstationid: str, fvoltage: str, fnodename: str,
        tstationid: str, tvoltage: str, tnodename: str, name: str, owner:
        str, r: float=0, x: float=0, segment: str=''):
        self.ID = fstationid, name, segment
        self.Impedance = complex(r, x)
        self.FromNode = None
        self.FromNodeID = fstationid, fnodename
        self.FromNodeName = fnodename
        self.FromStationID = fstationid
        self.FromVoltage = fvoltage
        self.Name = name
        self.OwnerCompanyID = owner
        self.Segment = segment
        self.ToNode = None
        self.ToNodeID = tstationid, tnodename
        self.ToNodeName = tnodename
        self.ToStationID = tstationid
        self.ToVoltage = tvoltage
        return

class NodeConnector(object):
    """Physical connector of 2 Nodes"""

    def __init__(self, fstationid: str, fvoltage: str, fnodename: str,
        tstationid: str, tvoltage: str, tnodename: str, name: str, owner:
        str, r: float=0, x: float=0, segment: str=''):
        self.ID = fstationid, name, segment
        self.Impedance = complex(r, x)
        self.FromNode = None
        self.FromNodeID = fstationid, fnodename
        self.FromNodeName = fnodename
        self.FromStationID = fstationid
        self.FromVoltage = fvoltage
        self.Name = name
        self.OwnerCompanyID = owner
        self.Segment = segment
        self.ToNode = None
        self.ToNodeID = tstationid, tnodename
        self.ToNodeName = tnodename
        self.ToStationID = tstationid
        self.ToVoltage = tvoltage
        return

class NodeConnector(object):
    """Physical connector of 2 Nodes"""

    #Constructor
    def __init__(self, 
                fstationid: str, fvoltage: str, fnodename: str, 
                tstationid: str, tvoltage: str, tnodename: str, 
                name: str, owner: str, r: float = 0, x: float = 0, segment: str = ""):
        self.ID = (fstationid, name, segment)
        self.Impedance = complex(r,x)
        self.FromNode = None
        self.FromNodeID = (fstationid, fnodename)            
        self.FromNodeName = fnodename
        self.FromStationID = fstationid
        self.FromVoltage = fvoltage
        self.Name = name
        self.OwnerCompanyID = owner
        self.Segment = segment
        self.ToNode = None
        self.ToNodeID = (tstationid, tnodename)            
        self.ToNodeName = tnodename
        self.ToStationID = tstationid
        self.ToVoltage = tvoltage
        return

