Fehlermeldungen, Hinweise, etc... auf englisch übersetzt

This commit is contained in:
2025-06-04 14:17:29 +02:00
parent 3e7f2c0a38
commit c0f8025a92
2 changed files with 24 additions and 27 deletions
+5 -5
View File
@@ -148,11 +148,11 @@ def prepare_data(rawdata:dict):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Berechne Wege von Sensoren zu Verteilern über Kabeltrassen')
parser.add_argument('-f', '--filename', action='store', required=True, default="easy_position.json", help='file with all informations about positions gathered from getpositions', metavar='my_positions.json')
parser.add_argument('-c', '--console', action='store_true', help='Ausgabe auf Konsole')
parser.add_argument('-g', '--graph', action='store_true', help='Zeichnet den Graphen der Anlage')
parser.add_argument('-w', '--write', action='store', help='erstellt Ausgabe-file für das Zeichnen von Kabeln in drawdxf')
parser = argparse.ArgumentParser(description='Calculate cable-routing from Subdistributors zu sensors / actuators alon cable-racks')
parser.add_argument('-f', '--filename', action='store', required=True, default="file_positions.json", help='file with all informations about positions gathered from getpositions', metavar='my_positions.json')
parser.add_argument('-c', '--console', action='store_true', help='print to console')
parser.add_argument('-g', '--graph', action='store_true', help='draw and show generated graph')
parser.add_argument('-w', '--write', action='store', help='create .json file to pass into drawing module to visualize results')
args = parser.parse_args()