示例#1
0
 def is_data_readable(self):
     """
     It returns if you can read data from device
     """
     return is_readable(self.datafile)
示例#2
0
 def is_readable(self):
     """
     It returns if the attribute is readable
     """
     return is_readable(self.fullpath)
示例#3
0
 def is_ctrl_readable(self):
     """
     It returns if you can read control from device
     """
     return is_readable(self.ctrlfile)