Commit Graph
99 Commits
Author SHA1 Message Date
wqy 01225c309c Fix utility update 2022-09-17 10:39:53 +08:00
wqy ab11d2d134 Add pipe api 2022-09-17 10:21:17 +08:00
wqy 62961cba70 Make use of utility decorate 2022-09-17 10:11:47 +08:00
wqy 4761a0d60b Add link in base 2022-09-17 09:56:54 +08:00
wqy 435411356f Lower tank overflow enum 2022-09-17 09:49:07 +08:00
wqy efe5b796f3 Clean tank 2022-09-17 09:46:58 +08:00
wqy 4f9ffc3b11 Clean tank 2022-09-17 09:45:31 +08:00
wqy 146048ac62 Clean junction and reservoir 2022-09-17 09:44:05 +08:00
wqy 64b6a1521d Refactor tank 2022-09-17 09:43:48 +08:00
wqy ee39d96120 Make use of utility decorate 2022-09-17 09:29:05 +08:00
wqy bb93a51817 Refactor reservoir 2022-09-17 09:25:21 +08:00
wqy 7e34c0bd86 More refactor of junction 2022-09-17 00:20:11 +08:00
wqy 732990237b Refactor junction 2022-09-17 00:06:20 +08:00
wqy 2575fec547 Add utility 2022-09-17 00:04:50 +08:00
wqy 41acd13995 Refactor base 2022-09-17 00:04:38 +08:00
wqy 2fe4826bf2 Lower type string 2022-09-16 23:15:16 +08:00
wqy 3ed4afeb85 Add new api to tjnetwork 2022-09-16 23:01:43 +08:00
wqy 7f26c21435 Refactor coordinate api 2022-09-16 23:01:16 +08:00
wqy 06240f1eba Add new api to tjnetwork 2022-09-16 22:49:50 +08:00
wqy cef6ea2cf7 Add tank api 2022-09-16 22:48:35 +08:00
wqy 4b398e2619 Add reservoir api 2022-09-16 22:48:06 +08:00
wqy fd03bdec41 Fix junction pattern type 2022-09-16 22:47:27 +08:00
wqy 8ffb4ed720 Rename some field of table 2022-09-16 22:41:11 +08:00
wqy cd98c27de4 Format 2022-09-15 23:15:24 +08:00
wqy 28615df1b6 Restore 2 dll... 2022-09-15 22:59:43 +08:00
wqy 592826b0f4 Clean repo 2022-09-15 22:56:32 +08:00
王琼钰andcoding.net e197b0d0e3 Remove experiment script 2022-09-15 22:22:52 +08:00
王琼钰andcoding.net ee0d0000f1 Fix typo 2022-09-15 22:22:30 +08:00
王琼钰andcoding.net 713ff0bedb Remove import 2022-09-15 22:22:02 +08:00
王琼钰andcoding.net bb859bb946 Fix delete_junction undo sql 2022-09-15 14:10:26 +08:00
王琼钰andcoding.net b3bb99b18f Junction type is fixed enum value 2022-09-15 14:06:31 +08:00
王琼钰andcoding.net 7455fc25bb fix coordinates sql 2022-09-15 13:55:50 +08:00
王琼钰 35f66d88f5 Accept Merge Request #21: (api -> master)
Merge Request: Enhance update change set

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/21
2022-09-07 20:54:42 +08:00
wqy fb28c3c610 Ehance update change set 2022-09-07 20:53:55 +08:00
王琼钰 7f51f8accf Accept Merge Request #20: (api -> master)
Merge Request: Change pip source

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/20
2022-09-07 20:35:40 +08:00
wqy bca5f61fff Change pip source 2022-09-07 20:35:14 +08:00
王琼钰 a588b42778 Accept Merge Request #19: (api -> master)
Merge Request: Add python 3.10.6 installer

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/19
2022-09-07 20:27:44 +08:00
wqy 6721b043d8 Upload python 3.10.6 installer 2022-09-07 20:27:01 +08:00
王琼钰 9a11f5756f Accept Merge Request #18: (api -> master)
Merge Request: Fix bug

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/18
2022-09-07 20:23:13 +08:00
wqy 66e2e50321 Fix bug 2022-09-07 20:21:58 +08:00
王琼钰 5d4474204c Accept Merge Request #17: (api -> master)
Merge Request: Merge api to master

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/17
2022-09-06 21:54:51 +08:00
wqy 3a694d5e03 Make use of change set 2022-09-06 21:36:20 +08:00
wqy c99a1d728b Try change set to record result 2022-09-06 21:33:09 +08:00
wqy 57728681b6 Implement redo by PL/pgSQL 2022-09-03 17:29:50 +08:00
wqy 03a0d6cf64 Implement undo in by PL/pgSQL 2022-09-03 17:07:46 +08:00
wqy 133feef4d2 Script for tj_project template 2022-09-03 14:51:13 +08:00
wqy 2b23d52ed3 Can not add schema for index... 2022-09-03 14:50:51 +08:00
wqy 7d2cc5c1fe Put all table & enum into namespace(postgres schema) 'tj' 2022-09-03 14:38:49 +08:00
wqy 19b690b665 Start database api work 2022-09-03 14:04:44 +08:00
wqy 45bb0483ce Refine demo 2022-09-03 11:12:54 +08:00
wqy 8fe2eebe03 Get api 2022-09-03 11:08:05 +08:00
wqy c3dcf70a04 Reuse s0 defined enum 2022-09-03 10:38:15 +08:00
wqy f16a16991e Update comment 2022-09-03 10:33:27 +08:00
wqy 0832e557fe Update comment 2022-09-03 10:27:51 +08:00
wqy a44977974d Add transaction demo 2022-09-03 10:19:08 +08:00
wqy 8430b02785 Expose transaction api 2022-09-03 09:52:36 +08:00
wqy bf188494f5 Enhance transaction 2022-09-03 09:52:08 +08:00
wqy 5f3db14067 More snapshot api 2022-09-03 09:37:31 +08:00
wqy 555cab3627 Support transaction to commit or rollback, this will modify operation tree 2022-09-03 09:30:57 +08:00
wqy dc07e4811c Drop if exists 2022-09-03 09:30:19 +08:00
wqy e68c1776c4 Code refactor 2022-09-03 08:31:17 +08:00
wqy eaefc61a87 Support to copy project 2022-09-03 08:28:13 +08:00
wqy bdb08c6798 Support random check out different snapshot 2022-09-03 08:23:28 +08:00
wqy efc33a7a86 Support more operation in database 2022-09-03 08:22:32 +08:00
wqy b5a8051c61 Fix operation tree bug 2022-09-03 08:21:43 +08:00
wqy 122f3ebddc Format api file 2022-09-03 01:13:31 +08:00
wqy cb429ad822 Add demo for new api 2022-09-03 01:07:27 +08:00
wqy 0eb42567d2 Format package 2022-09-03 01:07:04 +08:00
wqy 12e61b7b9c Refine tjnetwork_new and add junction api 2022-09-03 00:43:09 +08:00
wqy e79f887542 Refine __init__.py 2022-09-03 00:35:37 +08:00
wqy 1a23664028 Support junctions api 2022-09-03 00:35:02 +08:00
wqy cce5f55a24 Title need undo redo 2022-09-03 00:34:25 +08:00
wqy 9b2b54e9ab Base is readonly 2022-09-03 00:33:58 +08:00
wqy 2955dc94d7 Remove some tests 2022-09-03 00:33:31 +08:00
wqy 3eb7aa5a46 No undo redo for project api 2022-09-03 00:32:30 +08:00
wqy 069e49430e Enhance table junctions and coordinates 2022-09-03 00:31:46 +08:00
wqy 99bcdde8ca Clean __init__.py 2022-09-02 20:31:02 +08:00
wqy 013d037b0a Use __init__.py to manage api module 2022-09-02 20:29:22 +08:00
wqy 99958a24ca Update admin script => template 2022-09-02 20:28:37 +08:00
wqy 71c454c8cf Multiple operation into a api 2022-09-02 20:28:03 +08:00
wqy 49bea820b8 Add api to query type 2022-09-02 19:01:59 +08:00
wqy d90f7d6f8e Add new api in terms of database rather than epanet/memory 2022-09-02 18:38:11 +08:00
wqy bed5741558 Fix module in terms of python style 2022-09-02 18:33:33 +08:00
wqy 4474f12d2c Implement operation tree in database 2022-09-02 18:32:22 +08:00
wqy 248f56cbea Always has title 2022-09-02 18:30:46 +08:00
wqy a7294bf6a3 Update operation tree 2022-09-02 18:30:23 +08:00
wqy b8eed02366 Start to implement database transaction tree 2022-09-01 23:32:14 +08:00
wqy 1fa8a4ac2a Get base 2022-09-01 22:56:19 +08:00
wqy 1c5d0984bf Get title 2022-09-01 22:38:01 +08:00
wqy 5e2b5acd9a Add section [TITLE] 2022-09-01 22:20:38 +08:00
wqy c42d705232 Add base test 2022-09-01 22:06:22 +08:00
wqy a177edbfcb Add base api 2022-09-01 22:03:09 +08:00
wqy 5ac03bb9bf Refine script 2022-09-01 22:01:10 +08:00
wqy 96c5857653 Add script to install psycopg 2022-08-27 12:08:42 +08:00
wqy d7922351c0 Restore startserver.bat 2022-08-27 11:58:37 +08:00
wqy 4022823f1d Add gitignore 2022-08-27 11:57:11 +08:00
wqy 690e924dfd Clean repo 2022-08-27 11:54:33 +08:00
wqy ad60cf262e Add admin script to create/delete template 2022-08-27 11:51:09 +08:00
wqy b77349cfe6 Add epanet input schema 2022-08-27 11:49:43 +08:00