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:
@@ -171,6 +171,9 @@ def _read_inp(inp: str) -> ChangeSet:
|
||||
elif name == 'END':
|
||||
pass # :)
|
||||
|
||||
# release file
|
||||
file = {}
|
||||
|
||||
cs = ChangeSet()
|
||||
priorities = [
|
||||
'PATTERNS',
|
||||
|
||||
10
build_db.py
10
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()
|
||||
#inp2db()
|
||||
#db2inp()
|
||||
pass
|
||||
BIN
epanet/epanet-output.dll
Normal file
BIN
epanet/epanet-output.dll
Normal file
Binary file not shown.
BIN
epanet/epanet2.dll
Normal file
BIN
epanet/epanet2.dll
Normal file
Binary file not shown.
BIN
epanet/runepanet.exe
Normal file
BIN
epanet/runepanet.exe
Normal file
Binary file not shown.
BIN
epanet2.dll
BIN
epanet2.dll
Binary file not shown.
Reference in New Issue
Block a user