项目

一般

简介

omAppSU.ini

李 凯健, 2023-11-01 11:54

 
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 = 153
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 = 118
92
01 = 2023-10-17 11:02:02 App Init
93
02 = 2023-10-17 11:02:02 settimer done: 0
94
03 = 2023-10-17 11:07:10 App Init
95
04 = 2023-10-17 11:07:10 settimer done: 0
96
05 = 2023-10-17 11:15:49 App Init
97
06 = 2023-10-17 11:15:49 settimer done: 0
98
07 = 2023-10-17 11:18:38 App Init
99
08 = 2023-10-17 11:18:38 settimer done: 0
100
09 = 2023-10-17 11:19:46 App Init
101
10 = 2023-10-17 11:19:46 settimer done: 0
102
11 = 2023-10-17 22:56:18 App Init
103
12 = 2023-10-17 22:56:18 settimer done: 0
104
13 = 2023-10-17 23:44:22 App Init
105
14 = 2023-10-17 23:44:22 settimer done: 0
106
15 = 2023-10-17 23:47:42 App Init
107
16 = 2023-10-17 23:47:42 settimer done: 0
108
17 = 2023-11-01 02:01:26 App Init
109
18 = 2023-11-01 02:01:26 settimer done: 0
110
19 = 2023-05-22 14:55:49 App Init
111
20 = 2023-05-22 14:55:49 settimer done: 0
112
21 = 2023-06-18 14:21:56 App Init
113
22 = 2023-06-18 14:21:56 settimer done: 0
114
23 = 2023-06-18 16:12:37 App Init
115
24 = 2023-06-18 16:12:37 settimer done: 0
116
25 = 2023-06-30 17:01:59 App Init
117
26 = 2023-06-30 17:01:59 settimer done: 0
118
27 = 2023-07-06 16:11:59 App Init
119
28 = 2023-07-06 16:11:59 settimer done: 0
120
29 = 2023-07-06 16:13:37 App Init
121
30 = 2023-07-06 16:13:37 settimer done: 0
122
31 = 2023-07-06 16:15:51 App Init
123
32 = 2023-07-06 16:15:51 settimer done: 0
124
33 = 2023-07-21 02:01:27 App Init
125
34 = 2023-07-21 02:01:27 settimer done: 0
126
35 = 2023-08-05 02:01:27 App Init
127
36 = 2023-08-05 02:01:27 settimer done: 0
128
37 = 2023-08-09 14:55:34 App Init
129
38 = 2023-08-09 14:55:34 settimer done: 0
130
39 = 2023-08-24 02:01:27 App Init
131
40 = 2023-08-24 02:01:27 settimer done: 0
132
41 = 2023-09-08 02:01:27 App Init
133
42 = 2023-09-08 02:01:27 settimer done: 0
134
43 = 2023-09-23 02:01:26 App Init
135
44 = 2023-09-23 02:01:26 settimer done: 0
136
45 = 2023-10-08 02:15:30 App Init
137
46 = 2023-10-08 02:15:30 settimer done: 0
138
47 = 2023-10-09 11:28:48 App Init
139
48 = 2023-10-09 11:28:48 settimer done: 0
140
49 = 2023-10-09 12:09:04 App Init
141
50 = 2023-10-09 12:09:04 settimer done: 0
142
51 = 2023-10-09 12:19:40 App Init
143
52 = 2023-10-09 12:19:40 settimer done: 0
144
53 = 2023-10-09 13:15:57 App Init
145
54 = 2023-10-09 13:15:57 settimer done: 0
146
55 = 2023-10-09 13:27:33 App Init
147
56 = 2023-10-09 13:27:33 settimer done: 0
148
57 = 2023-10-09 13:29:44 App Init
149
58 = 2023-10-09 13:29:44 settimer done: 0
150
59 = 2023-10-09 13:40:43 App Init
151
60 = 2023-10-09 13:40:43 settimer done: 0
152
61 = 2023-10-09 13:44:06 App Init
153
62 = 2023-10-09 13:44:06 settimer done: 0
154
63 = 2023-10-09 23:07:00 App Init
155
64 = 2023-10-09 23:07:00 settimer done: 0
156
65 = 2023-10-10 12:33:30 App Init
157
66 = 2023-10-10 12:33:30 settimer done: 0
158
67 = 2023-10-15 23:29:10 App Init
159
68 = 2023-10-15 23:29:10 settimer done: 0
160
69 = 2023-10-16 12:02:26 App Init
161
70 = 2023-10-16 12:02:26 settimer done: 0
162
71 = 2023-10-16 12:03:18 App Init
163
72 = 2023-10-16 12:03:18 settimer done: 0
164
73 = 2023-10-16 12:08:45 App Init
165
74 = 2023-10-16 12:08:45 settimer done: 0
166
75 = 2023-10-16 12:39:10 App Init
167
76 = 2023-10-16 12:39:10 settimer done: 0
168
77 = 2023-10-16 12:40:19 App Init
169
78 = 2023-10-16 12:40:19 settimer done: 0
170
79 = 2023-10-16 12:44:15 App Init
171
80 = 2023-10-16 12:44:15 settimer done: 0
172
81 = 2023-10-16 12:45:53 App Init
173
82 = 2023-10-16 12:45:53 settimer done: 0
174
83 = 2023-10-16 13:14:24 App Init
175
84 = 2023-10-16 13:14:24 settimer done: 0
176
85 = 2023-10-17 10:37:32 App Init
177
86 = 2023-10-17 10:37:32 settimer done: 0
178
87 = 2023-10-17 10:39:13 App Init
179
88 = 2023-10-17 10:39:13 settimer done: 0
180
89 = 2023-10-17 10:40:20 App Init
181
90 = 2023-10-17 10:40:20 settimer done: 0
182
91 = 2023-10-17 10:44:30 App Init
183
92 = 2023-10-17 10:44:30 settimer done: 0
184
93 = 2023-10-17 10:48:44 App Init
185
94 = 2023-10-17 10:48:44 settimer done: 0
186
95 = 2023-10-17 10:50:33 App Init
187
96 = 2023-10-17 10:50:33 settimer done: 0
188
97 = 2023-10-17 10:53:58 App Init
189
98 = 2023-10-17 10:53:58 settimer done: 0
190
99 = 2023-10-17 11:00:33 App Init
191
00 = 2023-10-17 11:00:33 settimer done: 0
192

    
193

    
194
[Run]
195
Cnt = 59
196
01start = Thu Aug  9 22:13:31 2018
197
02start = Sat Dec  3 10:54:34 2022
198
03start = Sun Dec 18 02:01:26 2022
199
04start = Tue May  9 15:34:23 2023
200
05start = Tue May  9 15:41:12 2023
201
06start = Tue May  9 15:34:35 2023
202
07start = Tue May  9 15:36:03 2023
203
08start = Tue May  9 15:37:26 2023
204
09start = Mon May 22 14:42:21 2023
205
10start = Mon May 22 14:55:49 2023
206
11start = Sun Jun 18 14:21:56 2023
207
12start = Sun Jun 18 16:12:37 2023
208
13start = Fri Jun 30 17:01:59 2023
209
14start = Thu Jul  6 16:11:59 2023
210
15start = Thu Jul  6 16:13:37 2023
211
16start = Thu Jul  6 16:15:51 2023
212
17start = Fri Jul 21 02:01:27 2023
213
18start = Sat Aug  5 02:01:27 2023
214
19start = Wed Aug  9 14:55:34 2023
215
20start = Thu Aug 24 02:01:27 2023
216
21start = Fri Sep  8 02:01:27 2023
217
22start = Sat Sep 23 02:01:26 2023
218
23start = Sun Oct  8 02:15:30 2023
219
24start = Mon Oct  9 11:28:48 2023
220
25start = Mon Oct  9 12:09:04 2023
221
26start = Mon Oct  9 12:19:40 2023
222
27start = Mon Oct  9 13:15:57 2023
223
28start = Mon Oct  9 13:27:33 2023
224
29start = Mon Oct  9 13:29:44 2023
225
30start = Mon Oct  9 13:40:43 2023
226
31start = Mon Oct  9 13:44:06 2023
227
32start = Mon Oct  9 23:07:00 2023
228
33start = Tue Oct 10 12:33:30 2023
229
34start = Sun Oct 15 23:29:10 2023
230
35start = Mon Oct 16 12:02:26 2023
231
36start = Mon Oct 16 12:03:18 2023
232
37start = Mon Oct 16 12:08:45 2023
233
38start = Mon Oct 16 12:39:10 2023
234
39start = Mon Oct 16 12:40:19 2023
235
40start = Mon Oct 16 12:44:15 2023
236
41start = Mon Oct 16 12:45:53 2023
237
42start = Mon Oct 16 13:14:24 2023
238
43start = Tue Oct 17 10:37:32 2023
239
44start = Tue Oct 17 10:39:13 2023
240
45start = Tue Oct 17 10:40:20 2023
241
46start = Tue Oct 17 10:44:30 2023
242
47start = Tue Oct 17 10:48:44 2023
243
48start = Tue Oct 17 10:50:33 2023
244
49start = Tue Oct 17 10:53:58 2023
245
50start = Tue Oct 17 11:00:33 2023
246
51start = Tue Oct 17 11:02:02 2023
247
52start = Tue Oct 17 11:07:10 2023
248
53start = Tue Oct 17 11:15:49 2023
249
54start = Tue Oct 17 11:18:38 2023
250
55start = Tue Oct 17 11:19:46 2023
251
56start = Tue Oct 17 22:56:18 2023
252
57start = Tue Oct 17 23:44:22 2023
253
58start = Tue Oct 17 23:47:42 2023
254
59start = Wed Nov  1 02:01:26 2023
255