1
|
;[-------------------公共配置------------------]
|
2
|
[common]
|
3
|
; 版本
|
4
|
v = 7.2.10-1
|
5
|
|
6
|
; 通用配置
|
7
|
application.directory = APP_PATH "/application/"
|
8
|
application.view.ext = "html"
|
9
|
application.modules = "Index,Login,Api,Excel,Passport,Control,Electron,Test,External,Face"
|
10
|
|
11
|
; 数据库配置
|
12
|
resources.database.params.driver = "mysql"
|
13
|
resources.database.params.hostname = "localhost"
|
14
|
resources.database.params.port = 3306
|
15
|
resources.database.params.database = "omara_cm"
|
16
|
resources.database.params.username = "omara_cm"
|
17
|
resources.database.params.password = "omara_cmpswd"
|
18
|
resources.database.params.charset = "UTF8"
|
19
|
resources.database.params.driver_options.1002 = "SET NAMES utf8"
|
20
|
|
21
|
; 集中平台地址信息
|
22
|
platform.hostname = "127.0.0.1"
|
23
|
platform.port = 8081
|
24
|
|
25
|
; 自定义路由
|
26
|
routes.simple.type="simple"
|
27
|
routes.simple.module=__m
|
28
|
routes.simple.controller=__c
|
29
|
routes.simple.action=__a
|
30
|
|
31
|
; cookie配置
|
32
|
cookie.expire = '+30 day' ;英文文本日期时间
|
33
|
cookie.path = '/'
|
34
|
cookie.domain = ''
|
35
|
|
36
|
; 每页显示数据个数
|
37
|
list.number = 10
|
38
|
|
39
|
; 我的分组显示个数
|
40
|
menu.left.number = 10
|
41
|
|
42
|
; 数据库查询时间记录
|
43
|
record.db.run = 0
|
44
|
record.db.time = 0.05
|
45
|
|
46
|
; 删除表操作
|
47
|
record.db.delete = 0
|
48
|
|
49
|
; 最新状态持续时间
|
50
|
memcache.new.time = 300
|
51
|
memcache.data.time = 2592000
|
52
|
memcache.delay.time = 3600
|
53
|
memcache.interval.time = 86400
|
54
|
|
55
|
; key
|
56
|
passport.key = omara
|
57
|
|
58
|
; 检查重复数据
|
59
|
repeat.data.0.typeId = 3328
|
60
|
repeat.data.0.field.0 = sn
|
61
|
repeat.data.0.field.1 = eq_no
|
62
|
repeat.data.0.field.2 = LogDate
|
63
|
repeat.data.1.typeId = 3331
|
64
|
repeat.data.1.field.0 = sn
|
65
|
repeat.data.1.field.1 = eq_no
|
66
|
repeat.data.1.field.2 = LogDate
|
67
|
|
68
|
; 萤石视频
|
69
|
ys.type_id = 100000
|
70
|
; 海康视频
|
71
|
hk.type_id = 200000
|
72
|
; 微耕门禁
|
73
|
wg.type_id = 300000
|
74
|
; ping
|
75
|
ping.type_id = 400000
|
76
|
; 设备7017
|
77
|
eq7017.type_id = 500000
|
78
|
; 设备7017
|
79
|
nvr.type_id = 600000
|
80
|
|
81
|
; 声光报警器
|
82
|
av.type_id = 2304
|
83
|
av.op = 0
|
84
|
av.svalue = 1
|
85
|
av.evalue = 0
|
86
|
av.duration = 15
|
87
|
|
88
|
; 整组查询条件
|
89
|
conf.history.condition = 1028
|
90
|
|
91
|
; 双机热备模式
|
92
|
; 1 单服务器 双数据库 数据库之间双向同步 或 主从同步
|
93
|
; 2 双服务器 双数据库 数据库之间双向同步
|
94
|
master_slave.type = 1
|
95
|
master_slave.ip = "http://192.168.1.1:8081"
|
96
|
; 1 作为主服务器
|
97
|
; 2 作为从服务器
|
98
|
master_slave.status = 1
|
99
|
|
100
|
; 平均值曲线配置
|
101
|
avg.0.name = "平均温度"
|
102
|
avg.0.unit = "℃"
|
103
|
avg.0.data.0.typeId = 1280
|
104
|
avg.0.data.0.spec = 1
|
105
|
avg.0.data.0.field = "Tem"
|
106
|
avg.1.name = "平均湿度"
|
107
|
avg.1.unit = "%"
|
108
|
avg.1.data.0.typeId = 1280
|
109
|
avg.1.data.0.spec = 1
|
110
|
avg.1.data.0.field = "Hum"
|
111
|
|
112
|
; 字段详细设置
|
113
|
field.0.typeId = 1044
|
114
|
field.0.spec = 0
|
115
|
field.1.typeId = 1029
|
116
|
field.1.spec = 0
|
117
|
|
118
|
; 告警分组类型屏蔽
|
119
|
screen.alert = 4903
|
120
|
|
121
|
; webSocket配置
|
122
|
webSocket.ip = "192.168.1.120"
|
123
|
webSocket.port = 9000
|
124
|
|
125
|
; 三级页面
|
126
|
; NVR
|
127
|
state.0.typeId = 600000
|
128
|
state.0.spec = 0
|
129
|
state.0.url = "preview"
|
130
|
|
131
|
; 人脸识别设备出入记录状态
|
132
|
face.minor.1 = "合法卡认证通过"
|
133
|
face.minor.2 = "刷卡加密码认证通过"
|
134
|
face.minor.3 = "刷卡加密码认证失败"
|
135
|
face.minor.4 = "数卡加密码认证超时"
|
136
|
face.minor.5 = "刷卡加密码超次"
|
137
|
face.minor.6 = "未分配权限"
|
138
|
face.minor.7 = "无效时段"
|
139
|
face.minor.8 = "卡号过期"
|
140
|
face.minor.9 = "无此卡号"
|
141
|
face.minor.10 = "反潜回认证失败"
|
142
|
face.minor.11 = "互锁门未关闭"
|
143
|
face.minor.12 = "卡不属于多重认证群组"
|
144
|
face.minor.13 = "卡不在多重认证时间段内"
|
145
|
face.minor.14 = "多重认证模式超级权限认证失败"
|
146
|
face.minor.15 = "多重认证模式远程认证失败"
|
147
|
face.minor.16 = "多重认证成功"
|
148
|
face.minor.17 = "首卡开门开始"
|
149
|
face.minor.18 = "首卡开门结束"
|
150
|
face.minor.19 = "常开状态开始"
|
151
|
face.minor.20 = "常开状态结束"
|
152
|
face.minor.21 = "门锁打开"
|
153
|
face.minor.22 = "门锁关闭"
|
154
|
face.minor.23 = "开门按钮打开"
|
155
|
face.minor.24 = "开门按钮放开"
|
156
|
face.minor.25 = "正常开门(门磁)"
|
157
|
face.minor.26 = "正常关门(门磁)"
|
158
|
face.minor.27 = "门异常打开(门磁)"
|
159
|
face.minor.28 = "门打开超时(门磁) "
|
160
|
face.minor.29 = "报警输出打开"
|
161
|
face.minor.30 = "报警输出关闭"
|
162
|
face.minor.31 = "常关状态开始"
|
163
|
face.minor.32 = "常关状态结束"
|
164
|
face.minor.33 = "多重多重认证需要远程开门"
|
165
|
face.minor.34 = "多重认证超级密码认证成功事件"
|
166
|
face.minor.35 = "多重认证重复认证事件"
|
167
|
face.minor.36 = "多重认证超时"
|
168
|
face.minor.37 = "门铃响"
|
169
|
face.minor.38 = "指纹比对通过"
|
170
|
face.minor.39 = "指纹比对失败"
|
171
|
face.minor.40 = "刷卡加指纹认证通过"
|
172
|
face.minor.41 = "刷卡加指纹认证失败"
|
173
|
face.minor.42 = "刷卡加指纹认证超时"
|
174
|
face.minor.43 = "刷卡加指纹加密码认证通过"
|
175
|
face.minor.44 = "刷卡加指纹加密码认证失败"
|
176
|
face.minor.45 = "刷卡加指纹加密码认证超时"
|
177
|
face.minor.46 = "指纹加密码认证通过"
|
178
|
face.minor.47 = "指纹加密码认证失败"
|
179
|
face.minor.48 = "指纹加密码认证超时"
|
180
|
face.minor.49 = "指纹不存在"
|
181
|
face.minor.50 = "刷卡平台认证"
|
182
|
face.minor.51 = "呼叫中心事件"
|
183
|
face.minor.52 = "消防继电器导通触发门常开"
|
184
|
face.minor.53 = "消防继电器恢复门恢复正常"
|
185
|
face.minor.54 = "人脸加指纹认证通过"
|
186
|
face.minor.55 = "人脸加指纹认证失败"
|
187
|
face.minor.56 = "人脸加指纹认证超时"
|
188
|
face.minor.57 = "人脸加密码认证通过"
|
189
|
face.minor.58 = "人脸加密码认证失败"
|
190
|
face.minor.59 = "人脸加密码认证超时"
|
191
|
face.minor.60 = "人脸加刷卡认证通过"
|
192
|
face.minor.61 = "人脸加刷卡认证失败"
|
193
|
face.minor.62 = "人脸加刷卡认证超时"
|
194
|
face.minor.63 = "人脸加密码加指纹认证通过"
|
195
|
face.minor.64 = "人脸加密码加指纹认证失败"
|
196
|
face.minor.65 = "人脸加密码加指纹认证超时"
|
197
|
face.minor.66 = "人脸加刷卡加指纹认证通过"
|
198
|
face.minor.67 = "人脸加刷卡加指纹认证失败"
|
199
|
face.minor.68 = "人脸加刷卡加指纹认证超时"
|
200
|
face.minor.69 = "工号加指纹认证通过"
|
201
|
face.minor.70 = "工号加指纹认证失败"
|
202
|
face.minor.71 = "工号加指纹认证超时"
|
203
|
face.minor.72 = "工号加指纹加密码认证通过"
|
204
|
face.minor.73 = "工号加指纹加密码认证失败"
|
205
|
face.minor.74 = "工号加指纹加密码认证超时"
|
206
|
face.minor.75 = "人脸认证通过"
|
207
|
face.minor.76 = "人脸认证失败"
|
208
|
face.minor.77 = "工号加人脸认证通过"
|
209
|
face.minor.78 = "工号加人脸认证失败"
|
210
|
face.minor.79 = "工号加人脸认证超时"
|
211
|
face.minor.80 = "人脸识别失败"
|
212
|
face.minor.81 = "首卡授权开始"
|
213
|
face.minor.82 = "首卡授权结束"
|
214
|
face.minor.83 = "门锁输入短路报警"
|
215
|
face.minor.84 = "门锁输入断路报警"
|
216
|
face.minor.85 = "门锁输入异常报警"
|
217
|
face.minor.86 = "门磁输入短路报警"
|
218
|
face.minor.87 = "门磁输入断路报警"
|
219
|
face.minor.88 = "门磁输入异常报警"
|
220
|
face.minor.89 = "开门按钮输入短路报警"
|
221
|
face.minor.90 = "开门按钮输入断路报警"
|
222
|
face.minor.91 = "开门按钮输入异常报警"
|
223
|
face.minor.92 = "门锁异常打开"
|
224
|
face.minor.93 = "门锁打开超时"
|
225
|
face.minor.94 = "首卡未授权开门失败"
|
226
|
face.minor.95 = "呼梯继电器断开"
|
227
|
face.minor.96 = "呼梯继电器闭合"
|
228
|
face.minor.97 = "自动按键继电器断开"
|
229
|
face.minor.98 = "自动按键继电器闭合"
|
230
|
face.minor.99 = "按键梯控继电器断开"
|
231
|
face.minor.100 = 按键梯控继电器闭合""
|
232
|
face.minor.101 = "工号加密码认证通过"
|
233
|
face.minor.102 = "工号加密码认证失败"
|
234
|
face.minor.103 = "工号加密码认证超时"
|
235
|
face.minor.104 = "真人检测失败"
|
236
|
face.minor.105 = "人证比对通过"
|
237
|
face.minor.112 = "人证比对失败"
|
238
|
face.minor.113 = "黑名单事件"
|
239
|
face.minor.114 = "合法短信"
|
240
|
face.minor.115 = "非法短信"
|
241
|
face.minor.116 = "MAC侦测"
|
242
|
face.minor.117 = "门状态常闭或休眠状态认证失败"
|
243
|
face.minor.118 = "认证计划休眠模式认证失败"
|
244
|
face.minor.119 = "卡加密校验失败"
|
245
|
face.minor.120 = "反潜回服务器应答失败"
|
246
|
face.minor.133 = "尾随通行"
|
247
|
face.minor.134 = "反向闯入"
|
248
|
face.minor.135 = "外力冲撞"
|
249
|
face.minor.136 = "翻越"
|
250
|
face.minor.137 = "通行超时"
|
251
|
face.minor.138 = "误闯报警"
|
252
|
face.minor.139 = "闸机自由通行时未认证通过"
|
253
|
face.minor.140 = "摆臂被阻挡"
|
254
|
face.minor.141 = "摆臂阻挡消除"
|
255
|
face.minor.142 = "设备升级本地人脸建模失败"
|
256
|
face.minor.143 = "逗留事件"
|
257
|
face.minor.151 = "密码不匹配"
|
258
|
face.minor.152 = "工号不存在"
|
259
|
face.minor.153 = "组合认证通过"
|
260
|
face.minor.154 = "组合认证超时"
|
261
|
face.minor.155 = "认证方式不匹配"
|
262
|
|
263
|
[product : common]
|
264
|
; 生产环境配置
|
265
|
url.website = ""
|
266
|
|
267
|
; 上传数据编码格式
|
268
|
coding.format = "GB2312"
|
269
|
|
270
|
[test : common]
|
271
|
; 测试环境配置
|
272
|
|
273
|
[develop : common]
|
274
|
; 开发环境配置
|
275
|
; 数据库配置
|
276
|
resources.database.params.port = 3307
|
277
|
resources.database.params.database = "omara_cm"
|
278
|
resources.database.params.username = "omara_cm"
|
279
|
resources.database.params.password = "omara_cmpswd"
|
280
|
|
281
|
; 参数配置
|
282
|
list.number = 10
|
283
|
url.website = "http://192.168.1.150:1001/omare-app/branches/v5.0/draft/pages"
|
284
|
|
285
|
; cookie配置
|
286
|
cookie.domain = ''
|
287
|
|
288
|
; 数据库查询时间记录
|
289
|
record.db.run = 1
|
290
|
record.db.time = 0.05
|
291
|
|
292
|
; 上传数据编码格式
|
293
|
coding.format = "url"
|