1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
| {
| "ProjectSn": "",
| "Directory": "",
| "Databases": [],
| "Redis": [
| {
| "ID": "20250701102339248",
| "Name": "默认Redis",
| "Desc": "默认",
| "ServerIP": "127.0.0.1",
| "ServerPort": 6379,
| "Auth": "",
| "DB": "DB0",
| "MaxReadPool": 3,
| "MaxWritePool": 1,
| "IsDefault": true,
| "Host": "127.0.0.1:6379",
| "FullName": "Conn.默认Redis"
| }
| ],
| "Sqlite": [],
| "Logs": [
| {
| "ID": "20250701102339248",
| "Name": "log默认日志",
| "Desc": "默认",
| "DbDir": "D:\\WCS.LogDB\\HnSx",
| "DbFile": "",
| "DbPath": "D:/WCS.LogDB/HnSx",
| "AppName": "HnSx",
| "DelDays": 7,
| "DelLevel": 3,
| "IsLogInfo": true,
| "IsLogDebug": true,
| "IsLogWarn": true,
| "IsLogError": true,
| "IsDefault": true,
| "FullName": "Conn.log默认日志",
| "Type": "MongoDB",
| "Targets": [
| "Mongo"
| ],
| "Server": "localhost",
| "Port": "27017",
| "Db": "HnSx",
| "User": "",
| "Pwd": "",
| "ConnTimeout": 3000,
| "SocketTimeout": 5000,
| "ConnectionString": "mongodb://localhost:27017?connectTimeoutMS=3000&socketTimeoutMS=5000",
| "IsDelInfo": false,
| "IsDelDebug": false,
| "IsDelWarn": false,
| "IsDelError": false,
| "DelLevels": ""
| }
| ],
| "AppConfs": [],
| "DefaultAppConfs": [
| {
| "ID": "20250701102339249",
| "Key": "InstanceLimit",
| "Value": "1",
| "Desc": "启动实例数量限制",
| "Rule": "^^([1-9][0-9]*)$",
| "Visible": true,
| "IsPwd": false
| },
| {
| "ID": "20250701102339249",
| "Key": "AutoRunPlc",
| "Value": "1",
| "Desc": "是否自动启动PLC(1是,0否)",
| "Rule": "^[0-1]$",
| "Visible": true,
| "IsPwd": false
| },
| {
| "ID": "20250701102339249",
| "Key": "RedisServerSession",
| "Value": "127.0.0.1:6379",
| "Desc": "Redis服务地址",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701102339249",
| "Key": "RedisMaxReadPool",
| "Value": "3",
| "Desc": "Redis读取池",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701102339249",
| "Key": "RedisMaxWritePool",
| "Value": "1",
| "Desc": "Redis写入池",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701110945345",
| "Key": "AutoRunPLC",
| "Value": "1",
| "Desc": "是否自动启动PLC(1是,0否)",
| "Rule": "^[0-1]$",
| "Visible": true,
| "IsPwd": false
| },
| {
| "ID": "20250701110945345",
| "Key": "MongoConnStr",
| "Value": "mongodb://localhost:27017?connectTimeoutMS=3000&socketTimeoutMS=5000",
| "Desc": "MongoConnStr",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701110945345",
| "Key": "MongoDb",
| "Value": "HnSx",
| "Desc": "MongoDb",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701110945345",
| "Key": "MongoDb_PLC",
| "Value": "HnSx_PLC",
| "Desc": "MongoDb_PLC",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701110945345",
| "Key": "RedisDefaultDb",
| "Value": "DB0",
| "Desc": "Redis数据库",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| },
| {
| "ID": "20250701110945346",
| "Key": "Lang",
| "Value": "",
| "Desc": "默认语言",
| "Rule": "",
| "Visible": false,
| "IsPwd": false
| }
| ],
| "WebSvc": [],
| "HttpSvc": [
| {
| "ID": "20250701110840619",
| "Code": "0702d9b4-b14d-4114-9d4f-46fb4ca54c59",
| "Name": "Api",
| "Desc": "这是一个api",
| "IP": "127.0.0.1",
| "Port": "8808",
| "EndPoint": "127.0.0.1:8808",
| "Url": "http://127.0.0.1:8808/",
| "Interface": []
| }
| ],
| "Globals": [],
| "CreationTime": "2025-07-01 10:23:39",
| "LastWriteTime": "2025-07-04 11:18:35"
| }
|
|