def __DeviceImpl__get_device_properties(self, ds_class=None):
    """get_device_properties(self, ds_class = None) -> None

                Utility method that fetches all the device properties from the database
                and converts them into members of this DeviceImpl.

            Parameters :
                - ds_class : (DeviceClass) the DeviceClass object. Optional. Default value is
                             None meaning that the corresponding DeviceClass object for this
                             DeviceImpl will be used

            Return     : None

            Throws     : DevFailed
    """
    if ds_class is None:
        try:
            # Call this method in a try/except in case this is called during the DS shutdown sequence
            ds_class = self.get_device_class()
        except:
            return
    try:
        pu = self.prop_util = ds_class.prop_util
        self.device_property_list = copy.deepcopy(ds_class.device_property_list)
        class_prop = ds_class.class_property_list
        pu.get_device_properties(self, class_prop, self.device_property_list)
        for prop_name in class_prop:
            setattr(self, prop_name, pu.get_property_values(prop_name, class_prop))
        for prop_name in self.device_property_list:
            setattr(self, prop_name, self.prop_util.get_property_values(prop_name, self.device_property_list))
    except DevFailed as df:
        print(80 * "-")
        print(df)
        raise df
def __DeviceImpl__get_device_properties ( self , ds_class = None ) : if ds_class is None : try : ds_class = self . get_device_class ( ) except : return try : pu = self . prop_util = ds_class . prop_util self . device_property_list = copy . deepcopy ( ds_class . device_property_list ) class_prop = ds_class . class_property_list pu . get_device_properties ( self , class_prop , self . device_property_list ) for prop_name in class_prop : setattr ( self , prop_name , pu . get_property_values ( prop_name , class_prop ) ) for prop_name in self . device_property_list : setattr ( self , prop_name , self . prop_util . get_property_values ( prop_name , self . device_property_list ) ) except DevFailed as df : print ( 80 * "-" ) print ( df ) raise df
get_device_properties(self, ds_class = None) -> None

                Utility method that fetches all the device properties from the database
                and converts them into members of this DeviceImpl.

            Parameters :
                - ds_class : (DeviceClass) the DeviceClass object. Optional. Default value is
                             None meaning that the corresponding DeviceClass object for this
                             DeviceImpl will be used

            Return     : None

            Throws     : DevFailed