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, 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)
Example #4
0
 def __init__(self):
     DevIO.__init__(self, 3.14)
Example #5
0
 def __init__(self, initVal=[ACS.SUBSYSSTATE_OFFLINE, ACS.SUBSYSSTATE_SHUTDOWN]):
     """
     """
     DevIO.__init__(self, initVal)
     return
Example #6
0
 def __init__(self):
     DevIO.__init__(self, 0)
     return
Example #7
0
 def __init__(self, device):
     self.device = device
     DevIO.__init__(self, self.read())
Example #8
0
 def __init__(self, device):
     self.device = device
     DevIO.__init__(self, device.getPosition())
Example #9
0
 def __init__(self):
     DevIO.__init__(self, 0)
     return
Example #10
0
 def __init__(self,
              initVal=[ACS.SUBSYSSTATE_OFFLINE, ACS.SUBSYSSTATE_SHUTDOWN]):
     '''
     '''
     DevIO.__init__(self, initVal)
     return