示例#1
0
 def load_runtime_config(self):
     CDevice.load_runtime_config(self)
     if self.obj_xmlnode_runtime == None:
         self.b_valid = False
         return
     self.load_enclosure_id()
     self.load_sn()
     self.load_enclosure_status()
示例#2
0
文件: CPU.py 项目: zhang-martin/atom2
 def load_runtime_config(self):
     CDevice.load_runtime_config(self)
     self._load_socket_number()
     self._load_brand_string()
     self._load_codename()
     self._load_core_number()
     self._load_core_freq()
     self._load_qpi_freq()
     self._load_ucode()
     self._load_stepping()
     self._load_por_platform()
     self._check_hyper_threading()
示例#3
0
文件: Fan.py 项目: zhang-martin/atom2
 def load_runtime_config(self):
     CDevice.load_runtime_config(self)
     self.load_slot_number()
示例#4
0
文件: PLX.py 项目: zhang-martin/atom2
 def load_runtime_config(self):
     CDevice.load_runtime_config(self)
     
示例#5
0
文件: SEL.py 项目: zhang-martin/atom2
 def load_runtime_config(self):
     CDevice.load_runtime_config(self)
     self.set_interface(self.obj_device_parent)