|
|
|
@ -481,12 +481,7 @@ class HandHeld(object): |
|
|
|
|
self.output_path = OUTPUT_DIR |
|
|
|
|
self.current_filepath = fpath |
|
|
|
|
self.current_measure_time = self.hhp.getCurrentMeasureTimeFromPath(fpath) |
|
|
|
|
self.ymdhms = "20"+ str(self.info_dict['year']) + '_' \ |
|
|
|
|
+ str(self.info_dict['month']) + '_' \ |
|
|
|
|
+ str(self.info_dict['day']) + '_' \ |
|
|
|
|
+ str(self.info_dict['hour']) + '_' \ |
|
|
|
|
+ str(self.info_dict['minute']) + '_' \ |
|
|
|
|
+ str(self.info_dict['second']) |
|
|
|
|
self.get_ymdhms() |
|
|
|
|
self.output_path = self.output_path.joinpath( self.ymdhms ) |
|
|
|
|
log.debug(f"current_measure_time: {self.current_measure_time}", __name__, "dealOneHandheldMeasurement") |
|
|
|
|
|
|
|
|
@ -744,6 +739,13 @@ class HandHeld(object): |
|
|
|
|
|
|
|
|
|
return True |
|
|
|
|
|
|
|
|
|
def get_ymdhms(self, ): |
|
|
|
|
self.ymdhms = "20"+ f"{self.info_dict['year']:02d}" + '_' \ |
|
|
|
|
+ f"{self.info_dict['month']:02d}" + '_' \ |
|
|
|
|
+ f"{self.info_dict['day']:02d}" + '_' \ |
|
|
|
|
+ f"{self.info_dict['hour']:02d}" + '_' \ |
|
|
|
|
+ f"{self.info_dict['minute']:02d}" + '_' \ |
|
|
|
|
+ f"{self.info_dict['second']:02d}" |
|
|
|
|
# def getLwRsAndSave(self, ) -> bool: |
|
|
|
|
# """ |
|
|
|
|
# 并计算Lw Rs并保存 |
|
|
|
|