diff --git a/api/api_parser.py b/api/api_parser.py index 69c35a1..bca8470 100644 --- a/api/api_parser.py +++ b/api/api_parser.py @@ -171,6 +171,9 @@ def _read_inp(inp: str) -> ChangeSet: elif name == 'END': pass # :) + # release file + file = {} + cs = ChangeSet() priorities = [ 'PATTERNS', diff --git a/build_db.py b/build_db.py index 8329bf7..2da4a82 100644 --- a/build_db.py +++ b/build_db.py @@ -4,7 +4,7 @@ files = [ 'bwsn', 'exnet', 'fengxian', - 'jbh', + #'jbh', # too big sql to compress 'nanjing', 'net3', 'zj', @@ -14,5 +14,11 @@ def inp2db(): for file in files: read_inp(file, f'./inp/{file}.inp') +def db2inp(): + for file in files: + dump_inp(file, f'db_{file}.inp') + if __name__ == '__main__': - inp2db() \ No newline at end of file + #inp2db() + #db2inp() + pass \ No newline at end of file diff --git a/epanet/epanet-output.dll b/epanet/epanet-output.dll new file mode 100644 index 0000000..bf41f44 Binary files /dev/null and b/epanet/epanet-output.dll differ diff --git a/epanet/epanet2.dll b/epanet/epanet2.dll new file mode 100644 index 0000000..a3bea5e Binary files /dev/null and b/epanet/epanet2.dll differ diff --git a/epanet/runepanet.exe b/epanet/runepanet.exe new file mode 100644 index 0000000..4dcc24d Binary files /dev/null and b/epanet/runepanet.exe differ diff --git a/vcruntime140_1.dll b/epanet/vcruntime140_1.dll similarity index 100% rename from vcruntime140_1.dll rename to epanet/vcruntime140_1.dll diff --git a/epanet2.dll b/epanet2.dll deleted file mode 100644 index 3bb592e..0000000 Binary files a/epanet2.dll and /dev/null differ