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 = 5
|
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 = 5000
|
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 = 46
|
92
|
01 = 2019-10-30 10:29:13 App Init
|
93
|
02 = 2019-10-30 10:29:14 settimer done: 0
|
94
|
03 = 2019-10-30 11:01:30 App Init
|
95
|
04 = 2019-10-30 11:01:30 settimer done: 0
|
96
|
05 = 2019-10-30 11:16:40 App Init
|
97
|
06 = 2019-10-30 11:16:40 settimer done: 0
|
98
|
07 = 2019-10-30 11:17:45 App Init
|
99
|
08 = 2019-10-30 11:17:45 settimer done: 0
|
100
|
09 = 2019-10-30 11:19:38 App Init
|
101
|
10 = 2019-10-30 11:19:38 settimer done: 0
|
102
|
11 = 2019-10-30 14:11:57 App Init
|
103
|
12 = 2019-10-30 14:11:57 settimer done: 0
|
104
|
13 = 2019-10-30 14:13:01 App Init
|
105
|
14 = 2019-10-30 14:13:01 settimer done: 0
|
106
|
15 = 2019-10-30 15:06:58 App Init
|
107
|
16 = 2019-10-30 15:06:58 settimer done: 0
|
108
|
17 = 2019-10-30 15:11:12 App Init
|
109
|
18 = 2019-10-30 15:11:12 settimer done: 0
|
110
|
19 = 2019-10-30 15:25:02 App Init
|
111
|
20 = 2019-10-30 15:25:02 settimer done: 0
|
112
|
21 = 2019-10-30 15:32:01 App Init
|
113
|
22 = 2019-10-30 15:32:01 settimer done: 0
|
114
|
23 = 2019-10-30 15:37:26 App Init
|
115
|
24 = 2019-10-30 15:37:26 settimer done: 0
|
116
|
25 = 2019-10-30 16:11:34 App Init
|
117
|
26 = 2019-10-30 16:11:34 settimer done: 0
|
118
|
27 = 2019-10-30 17:54:34 App Init
|
119
|
28 = 2019-10-30 17:54:34 settimer done: 0
|
120
|
29 = 2019-10-31 16:12:59 App Init
|
121
|
30 = 2019-10-31 16:12:59 settimer done: 0
|
122
|
31 = 2019-10-31 16:14:49 App Init
|
123
|
32 = 2019-10-31 16:14:50 settimer done: 0
|
124
|
33 = 2019-10-31 16:17:16 App Init
|
125
|
34 = 2019-10-31 16:17:16 settimer done: 0
|
126
|
35 = 2019-10-31 16:28:07 App Init
|
127
|
36 = 2019-10-31 16:28:07 settimer done: 0
|
128
|
37 = 2019-10-31 16:40:14 App Init
|
129
|
38 = 2019-10-31 16:40:14 settimer done: 0
|
130
|
39 = 2019-10-31 18:08:04 App Init
|
131
|
40 = 2019-10-31 18:08:04 settimer done: 0
|
132
|
41 = 2019-10-31 18:10:41 App Init
|
133
|
42 = 2019-10-31 18:10:41 settimer done: 0
|
134
|
43 = 2019-10-31 18:19:43 App Init
|
135
|
44 = 2019-10-31 18:19:43 settimer done: 0
|
136
|
45 = 2019-10-31 18:22:03 App Init
|
137
|
46 = 2019-10-31 18:22:03 settimer done: 0
|
138
|
|
139
|
|
140
|
[Run]
|
141
|
Cnt = 23
|
142
|
01start = Wed Oct 30 10:29:14 2019
|
143
|
02start = Wed Oct 30 11:01:30 2019
|
144
|
03start = Wed Oct 30 11:16:40 2019
|
145
|
04start = Wed Oct 30 11:17:45 2019
|
146
|
05start = Wed Oct 30 11:19:38 2019
|
147
|
06start = Wed Oct 30 14:11:57 2019
|
148
|
07start = Wed Oct 30 14:13:01 2019
|
149
|
08start = Wed Oct 30 15:06:58 2019
|
150
|
09start = Wed Oct 30 15:11:12 2019
|
151
|
10start = Wed Oct 30 15:25:02 2019
|
152
|
11start = Wed Oct 30 15:32:01 2019
|
153
|
12start = Wed Oct 30 15:37:26 2019
|
154
|
13start = Wed Oct 30 16:11:34 2019
|
155
|
14start = Wed Oct 30 17:54:34 2019
|
156
|
15start = Thu Oct 31 16:12:59 2019
|
157
|
16start = Thu Oct 31 16:14:49 2019
|
158
|
17start = Thu Oct 31 16:17:16 2019
|
159
|
18start = Thu Oct 31 16:28:07 2019
|
160
|
19start = Thu Oct 31 16:40:14 2019
|
161
|
20start = Thu Oct 31 18:08:04 2019
|
162
|
21start = Thu Oct 31 18:10:41 2019
|
163
|
22start = Thu Oct 31 18:19:43 2019
|
164
|
23start = Thu Oct 31 18:22:03 2019
|
165
|
|