def __init__(self, switchOnDate='', normalOpen=False, ratedCurrent=0.0, retained=False, switchOnCount=0, SwitchingOperations=None, LoadMgmtFunctions=None, ConnectDisconnectFunctions=None, SwitchSchedules=None, SwitchPhases=None, CompositeSwitch=None, *args, **kw_args):
        """Initialises a new 'Switch' instance.

        @param switchOnDate: The date and time when the switch was last switched on. 
        @param normalOpen: The attribute is used in cases when no Measurement for the status value is present. If the Switch has a status measurment the Discrete.normalValue is expected to match with the Switch.normalOpen. 
        @param ratedCurrent: The maximum continuous current carrying capacity in amps governed by the device material and construction. 
        @param retained: Branch is retained in a bus branch model. 
        @param switchOnCount: The switch on count since the switch was last reset or initialized. 
        @param SwitchingOperations: A switch may be operated by many schedules.
        @param LoadMgmtFunctions:
        @param ConnectDisconnectFunctions:
        @param SwitchSchedules: A Switch can be associated with SwitchSchedules.
        @param SwitchPhases:
        @param CompositeSwitch: Composite switch this Switch belongs to
        """
        #: The date and time when the switch was last switched on.
        self.switchOnDate = switchOnDate

        #: The attribute is used in cases when no Measurement for the status value is present. If the Switch has a status measurment the Discrete.normalValue is expected to match with the Switch.normalOpen.
        self.normalOpen = normalOpen

        #: The maximum continuous current carrying capacity in amps governed by the device material and construction.
        self.ratedCurrent = ratedCurrent

        #: Branch is retained in a bus branch model.
        self.retained = retained

        #: The switch on count since the switch was last reset or initialized.
        self.switchOnCount = switchOnCount

        self._SwitchingOperations = []
        self.SwitchingOperations = [] if SwitchingOperations is None else SwitchingOperations

        self._LoadMgmtFunctions = []
        self.LoadMgmtFunctions = [] if LoadMgmtFunctions is None else LoadMgmtFunctions

        self._ConnectDisconnectFunctions = []
        self.ConnectDisconnectFunctions = [] if ConnectDisconnectFunctions is None else ConnectDisconnectFunctions

        self._SwitchSchedules = []
        self.SwitchSchedules = [] if SwitchSchedules is None else SwitchSchedules

        self._SwitchPhases = []
        self.SwitchPhases = [] if SwitchPhases is None else SwitchPhases

        self._CompositeSwitch = None
        self.CompositeSwitch = CompositeSwitch

        super(Switch, self).__init__(*args, **kw_args)
def __init__ ( self , switchOnDate = '' , normalOpen = False , ratedCurrent = 0.0 , retained = False , switchOnCount = 0 , SwitchingOperations = None , LoadMgmtFunctions = None , ConnectDisconnectFunctions = None , SwitchSchedules = None , SwitchPhases = None , CompositeSwitch = None , * args , ** kw_args ) : self . switchOnDate = switchOnDate self . normalOpen = normalOpen self . ratedCurrent = ratedCurrent self . retained = retained self . switchOnCount = switchOnCount self . _SwitchingOperations = [ ] self . SwitchingOperations = [ ] if SwitchingOperations is None else SwitchingOperations self . _LoadMgmtFunctions = [ ] self . LoadMgmtFunctions = [ ] if LoadMgmtFunctions is None else LoadMgmtFunctions self . _ConnectDisconnectFunctions = [ ] self . ConnectDisconnectFunctions = [ ] if ConnectDisconnectFunctions is None else ConnectDisconnectFunctions self . _SwitchSchedules = [ ] self . SwitchSchedules = [ ] if SwitchSchedules is None else SwitchSchedules self . _SwitchPhases = [ ] self . SwitchPhases = [ ] if SwitchPhases is None else SwitchPhases self . _CompositeSwitch = None self . CompositeSwitch = CompositeSwitch super ( Switch , self ) . __init__ ( * args , ** kw_args )
Initialises a new 'Switch' instance.

        @param switchOnDate: The date and time when the switch was last switched on. 
        @param normalOpen: The attribute is used in cases when no Measurement for the status value is present. If the Switch has a status measurment the Discrete.normalValue is expected to match with the Switch.normalOpen. 
        @param ratedCurrent: The maximum continuous current carrying capacity in amps governed by the device material and construction. 
        @param retained: Branch is retained in a bus branch model. 
        @param switchOnCount: The switch on count since the switch was last reset or initialized. 
        @param SwitchingOperations: A switch may be operated by many schedules.
        @param LoadMgmtFunctions:
        @param ConnectDisconnectFunctions:
        @param SwitchSchedules: A Switch can be associated with SwitchSchedules.
        @param SwitchPhases:
        @param CompositeSwitch: Composite switch this Switch belongs to