Esempio n. 1
0
 def __init__(self,type_list,typename):
     #获取当前系统的时间
     base_time = ConfigTime()
     self.nowtime =base_time.gettime + typename+".xls"
     #获取基础配置信息
     base_info = ReadBaseConfig()
     picture_filepath = base_info.get_filepath('picturepath')
     self.save_filepath = os.path.join(picture_filepath,self.nowtime)#保存备份数据的地址
     print(self.save_filepath)
     self.type_value = type_list
Esempio n. 2
0
 def __init__(self, mem_list, mem_title, ytarget, yheight, typename):
     #获取当前系统的时间
     base_time = ConfigTime()
     self.nowtime = base_time.gettime
     self.name = self.nowtime + typename + ".png"
     #获取基础配置信息
     base_info = ReadBaseConfig()
     picture_filepath = base_info.get_filepath('picturepath')
     self.save_picture = os.path.join(picture_filepath,
                                      self.name)  #保存生成报告图片的路径地址
     print(self.save_picture)
     self.mem_list = mem_list
     self.mem_title = mem_title
     self.ytarget = ytarget
     self.yheight = yheight
Esempio n. 3
0
 def __init__(self, pid_name):
     self.pid_name = pid_name
     data_time = ReadBaseConfig()
     self.time_count = int(data_time.get_monitor_time('get_monitor_time'))
Esempio n. 4
0
 def __init__(self):
     # 获取基础配置信息
     base_info = ReadBaseConfig()
     self.filepath = base_info.get_filepath('picturepath')
     base_info = ReadBaseConfig()
     self.save_filepath = os.path.join(base_info.get_filepath('picturepath'),'pid.xls')
Esempio n. 5
0
 def __init__(self):
     data_time = ReadBaseConfig()
     self.time_count = int(data_time.get_monitor_time('get_monitor_time'))
Esempio n. 6
0
def control_time():
    data_time = ReadBaseConfig()
    time_count = int(data_time.get_monitor_time('get_monitor_time'))
    second_time = (time_count*10)+3600
    return second_time
Esempio n. 7
0
 def __init__(self):
     filepaths = ReadBaseConfig()
     self.filepath = filepaths.get_filepath('filepath')
     nowtime = ConfigTime()
     self.nt = nowtime.gettime