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':
|
elif name == 'END':
|
||||||
pass # :)
|
pass # :)
|
||||||
|
|
||||||
|
# release file
|
||||||
|
file = {}
|
||||||
|
|
||||||
cs = ChangeSet()
|
cs = ChangeSet()
|
||||||
priorities = [
|
priorities = [
|
||||||
'PATTERNS',
|
'PATTERNS',
|
||||||
|
|||||||
10
build_db.py
10
build_db.py
@@ -4,7 +4,7 @@ files = [
|
|||||||
'bwsn',
|
'bwsn',
|
||||||
'exnet',
|
'exnet',
|
||||||
'fengxian',
|
'fengxian',
|
||||||
'jbh',
|
#'jbh', # too big sql to compress
|
||||||
'nanjing',
|
'nanjing',
|
||||||
'net3',
|
'net3',
|
||||||
'zj',
|
'zj',
|
||||||
@@ -14,5 +14,11 @@ def inp2db():
|
|||||||
for file in files:
|
for file in files:
|
||||||
read_inp(file, f'./inp/{file}.inp')
|
read_inp(file, f'./inp/{file}.inp')
|
||||||
|
|
||||||
|
def db2inp():
|
||||||
|
for file in files:
|
||||||
|
dump_inp(file, f'db_{file}.inp')
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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