1
|
[APP]
|
2
|
AppOn = 1
|
3
|
TIMER0 = 1000
|
4
|
MSG0 = omSUAppMsg0
|
5
|
db0 = libomdb.so
|
6
|
alm0 = libomalm.so
|
7
|
dbCfg = dbCfg.db3
|
8
|
dbDat0 = tmp/dbDat0.db3
|
9
|
dbDat = tmp/dbData.db3
|
10
|
AutoCtrl = 0
|
11
|
NoDog = 0
|
12
|
FeedDogX = 1
|
13
|
RebootX = 1
|
14
|
NoGsm = 1
|
15
|
PLAT = 6
|
16
|
WDT = 180
|
17
|
SmsMode = 0
|
18
|
SmsTime = 0830
|
19
|
SmsLast =
|
20
|
|
21
|
;详细数据间隔 60s,即每分钟一条记录
|
22
|
Dat1Ok = 60
|
23
|
|
24
|
;近期数据 较详细数据天数,默认30。注意: dat1M >1
|
25
|
dat1M = 30
|
26
|
|
27
|
;长期数据 保存数据天数,默认365。注意: dat1Y > dat1M, 若dat1Y小于dat1M会造成不可预知的问题
|
28
|
dat1Y = 365
|
29
|
|
30
|
;已保存天数 0开始,应将/NandFlash/dbData.db3删除
|
31
|
dat1D = 4
|
32
|
|
33
|
|
34
|
[APP.Master]
|
35
|
tbBatt100 = tbBattVal
|
36
|
tbBatt100.flds = 3
|
37
|
tbBattEB90 = tbBattEb90Val
|
38
|
tbBattBOD1000S = tbBattBOD1000SVal
|
39
|
tbSvr = tbSvrDat
|
40
|
tbSnmp = tbSnmpDat
|
41
|
tbModbus = tbModbusDat
|
42
|
tbYdt1363 = tbYdt1363Dat
|
43
|
tbNormal = tbNormalDat
|
44
|
|
45
|
|
46
|
[APP.Detail]
|
47
|
tbSubSys = 1
|
48
|
tbSubSysDetail = 1
|
49
|
tbBattEb90Val = 100
|
50
|
tbBattVal = 101
|
51
|
tbBattBOD1000SVal = 102
|
52
|
tbSvrDat = 200
|
53
|
tbSnmpDat = 202
|
54
|
tbModbusDat = 202
|
55
|
tbYdt1363Dat = 202
|
56
|
tbNormalDat = 202
|
57
|
|
58
|
|
59
|
[SU0]
|
60
|
module = libomsuw.so
|
61
|
index = 2
|
62
|
state = 1
|
63
|
mask = 0x03
|
64
|
delay = 1000
|
65
|
delaysm = 500
|
66
|
timerx = 1
|
67
|
ser0 = libomser.so
|
68
|
sm0 = libomsm.so
|
69
|
|
70
|
|
71
|
[SU1]
|
72
|
module = libomsuw.so
|
73
|
index = 21
|
74
|
state = 1
|
75
|
mask = 0x03
|
76
|
delay = 1102
|
77
|
delaysm = 500
|
78
|
timerx = 1
|
79
|
ser0 = libomser.so
|
80
|
sm0 = libomsm.so
|
81
|
loadsm = select * from tbSM where State=0 and DataMode=1 and SerDef<>'' order by Type,SID
|
82
|
|
83
|
|
84
|
[DBDAT]
|
85
|
00 = create table tbSubSysDetail(SubSys INTEGER,SID INTEGER,Type INTEGER,FldDept INTEGER,Fld INTEGER,State INTEGER,LastUpd DATETIME)
|
86
|
01 = create table tbSMAlarm(DID INTEGER PRIMARY KEY,SID INTEGER,Type INTEGER,AID INTEGER,ASubSys INTEGER,AFld INTEGER,LastUpd DATETIME,Alm INTEGER,AlmMask INTEGER,AlmRecv INTEGER,AlmImg VARCHAR(64),AlmBrief VARCHAR(256))
|
87
|
02 = create table tbSMBrief(SID INTEGER PRIMARY KEY,LastUpd DATETIME,St INTEGER,Brief VARCHAR(256))
|
88
|
|
89
|
|
90
|
[Log]
|
91
|
Cnt = 8
|
92
|
01 = 2018-08-24 23:34:36 App Init
|
93
|
02 = 2018-08-24 23:34:36 settimer done: 0
|
94
|
03 = 2018-09-17 18:30:48 App Init
|
95
|
04 = 2018-09-17 18:30:48 settimer done: 0
|
96
|
05 = 2018-11-07 23:11:22 App Init
|
97
|
06 = 2018-11-07 23:11:22 settimer done: 0
|
98
|
07 = 2023-11-27 15:34:17 App Init
|
99
|
08 = 2023-11-27 15:34:17 settimer done: 0
|
100
|
|
101
|
|
102
|
[Run]
|
103
|
Cnt = 4
|
104
|
01start = Fri Aug 24 23:34:36 2018
|
105
|
02start = Mon Sep 17 18:30:48 2018
|
106
|
03start = Wed Nov 7 23:11:22 2018
|
107
|
04start = Mon Nov 27 15:34:17 2023
|
108
|
|