Esempio n. 1
0
 def export_csv(self, filename):
     "Export the bottle list to a CSV file"
     dialog = ExportCsvDialog(self.parent)
     if dialog.exec_():
         from oxitopped.export_csv import CsvExporter
         exporter = CsvExporter()
         exporter.delimiter = dialog.delimiter
         exporter.lineterminator = dialog.lineterminator
         exporter.quotechar = dialog.quotechar
         exporter.quoting = dialog.quoting
         exporter.header_row = dialog.header_row
         exporter.timestamp_format = dialog.timestamp_format
         exporter.export_bottles(filename, self.parent.data_logger.bottles)
 def export_csv(self, filename):
     "Export the bottle list to a CSV file"
     dialog = ExportCsvDialog(self.parent)
     if dialog.exec_():
         from oxitopped.export_csv import CsvExporter
         exporter = CsvExporter()
         exporter.delimiter = dialog.delimiter
         exporter.lineterminator = dialog.lineterminator
         exporter.quotechar = dialog.quotechar
         exporter.quoting = dialog.quoting
         exporter.header_row = dialog.header_row
         exporter.timestamp_format = dialog.timestamp_format
         exporter.export_bottles(filename, self.parent.data_logger.bottles)
Esempio n. 3
0
 def export_csv(self, filename):
     "Export the bottle readings to a CSV file"
     dialog = ExportCsvDialog(self.parent)
     if dialog.exec_():
         from oxitopped.export_csv import CsvExporter
         exporter = CsvExporter()
         exporter.delimiter = dialog.delimiter
         exporter.lineterminator = dialog.lineterminator
         exporter.quotechar = dialog.quotechar
         exporter.quoting = dialog.quoting
         exporter.header_row = dialog.header_row
         exporter.timestamp_format = dialog.timestamp_format
         exporter.export_bottle(filename,
                                self.parent.model.analyzer.bottle,
                                delta=self.parent.model.delta,
                                points=self.parent.model.points)
Esempio n. 4
0
 def export_csv(self, filename):
     "Export the bottle readings to a CSV file"
     dialog = ExportCsvDialog(self.parent)
     if dialog.exec_():
         from oxitopped.export_csv import CsvExporter
         exporter = CsvExporter()
         exporter.delimiter = dialog.delimiter
         exporter.lineterminator = dialog.lineterminator
         exporter.quotechar = dialog.quotechar
         exporter.quoting = dialog.quoting
         exporter.header_row = dialog.header_row
         exporter.timestamp_format = dialog.timestamp_format
         exporter.export_bottle(
             filename,
             self.parent.model.analyzer.bottle,
             delta=self.parent.model.delta,
             points=self.parent.model.points)