Accept Merge Request #97: (api -> master)

Merge Request: Add epanet component

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/97
This commit is contained in:
王琼钰
2022-11-19 08:31:00 +08:00
7 changed files with 11 additions and 2 deletions

View File

@@ -171,6 +171,9 @@ def _read_inp(inp: str) -> ChangeSet:
elif name == 'END':
pass # :)
# release file
file = {}
cs = ChangeSet()
priorities = [
'PATTERNS',

View File

@@ -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()
#inp2db()
#db2inp()
pass

BIN
epanet/epanet-output.dll Normal file

Binary file not shown.

BIN
epanet/epanet2.dll Normal file

Binary file not shown.

BIN
epanet/runepanet.exe Normal file

Binary file not shown.

Binary file not shown.