def __init__(self, comp_ref): ''' Constructor Parameters: comp_ref - a reference to the component which is creating "us" Returns: Nothing Raises: Nothing ''' #intialize the superclass providing a suitable default #double value DevIO.__init__(self, 3.14) #save a copy of the component for later self.comp_ref = comp_ref #reference to the current property #no guarantee this has been created yet so we set it #to None and get it on demand later self.current_prop = None
def __init__(self, device, value=0): DevIO.__init__(self, value)
def __init__(self): DevIO.__init__(self, 3.14)
def __init__(self, initVal=[ACS.SUBSYSSTATE_OFFLINE, ACS.SUBSYSSTATE_SHUTDOWN]): """ """ DevIO.__init__(self, initVal) return
def __init__(self): DevIO.__init__(self, 0) return
def __init__(self, device): self.device = device DevIO.__init__(self, self.read())
def __init__(self, device): self.device = device DevIO.__init__(self, device.getPosition())
def __init__(self, initVal=[ACS.SUBSYSSTATE_OFFLINE, ACS.SUBSYSSTATE_SHUTDOWN]): ''' ''' DevIO.__init__(self, initVal) return