parameters: (self)
return_statement: return m_data
docstring: 获取主板信息
          :return:
docstring_summary: 获取主板信息
          :return:
docstring_tokens: 获取主板信息 : return :
function: def get_motherboard_info(self):
          """
          获取主板信息
          :return:
          """
          computer_info = self.wmi_obj.Win32_ComputerSystem()[0]
          system_info = self.wmi_obj.Win32_OperatingSystem()[0]
          m_data = {}
          m_data['manufacturer'] = computer_info.Manufacturer
          m_data['model'] = computer_info.Model
          m_data['wake_up_type'] = computer_info.WakeUpType
          m_data['sn'] = system_info.SerialNumber
          return m_data
function_tokens: def get_motherboard_info ( self ) : computer_info = self . wmi_obj . Win32_ComputerSystem ( ) [ 0 ] system_info = self . wmi_obj . Win32_OperatingSystem ( ) [ 0 ] m_data = { } m_data [ 'manufacturer' ] = computer_info . Manufacturer m_data [ 'model' ] = computer_info . Model m_data [ 'wake_up_type' ] = computer_info . WakeUpType m_data [ 'sn' ] = system_info . SerialNumber return m_data