[APP] AppOn = 1 TIMER0 = 1000 MSG0 = omSUAppMsg0 db0 = libomdb.so alm0 = libomalm.so dbCfg = dbCfg.db3 dbDat0 = tmp/dbDat0.db3 dbDat = tmp/dbData.db3 AutoCtrl = 0 NoDog = 0 FeedDogX = 1 RebootX = 1 NoGsm = 1 PLAT = 6 WDT = 180 SmsMode = 0 SmsTime = 0830 SmsLast = ;详细数据间隔 60s,即每分钟一条记录 Dat1Ok = 60 ;近期数据 较详细数据天数,默认30。注意: dat1M >1 dat1M = 30 ;长期数据 保存数据天数,默认365。注意: dat1Y > dat1M, 若dat1Y小于dat1M会造成不可预知的问题 dat1Y = 365 ;已保存天数 0开始,应将/NandFlash/dbData.db3删除 dat1D = 5 [APP.Master] tbBatt100 = tbBattVal tbBatt100.flds = 3 tbBattEB90 = tbBattEb90Val tbBattBOD1000S = tbBattBOD1000SVal tbSvr = tbSvrDat tbSnmp = tbSnmpDat tbModbus = tbModbusDat tbYdt1363 = tbYdt1363Dat tbNormal = tbNormalDat [APP.Detail] tbSubSys = 1 tbSubSysDetail = 1 tbBattEb90Val = 100 tbBattVal = 101 tbBattBOD1000SVal = 102 tbSvrDat = 200 tbSnmpDat = 202 tbModbusDat = 202 tbYdt1363Dat = 202 tbNormalDat = 202 [SU0] module = libomsuw.so index = 2 state = 1 mask = 0x03 delay = 1000 delaysm = 500 timerx = 1 ser0 = libomser.so sm0 = libomsm.so [SU1] module = libomsuw.so index = 21 state = 1 mask = 0x03 delay = 5000 delaysm = 500 timerx = 1 ser0 = libomser.so sm0 = libomsm.so loadsm = select * from tbSM where State=0 and DataMode=1 and SerDef<>'' order by Type,SID [DBDAT] 00 = create table tbSubSysDetail(SubSys INTEGER,SID INTEGER,Type INTEGER,FldDept INTEGER,Fld INTEGER,State INTEGER,LastUpd DATETIME) 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)) 02 = create table tbSMBrief(SID INTEGER PRIMARY KEY,LastUpd DATETIME,St INTEGER,Brief VARCHAR(256)) [Log] Cnt = 46 01 = 2019-10-30 10:29:13 App Init 02 = 2019-10-30 10:29:14 settimer done: 0 03 = 2019-10-30 11:01:30 App Init 04 = 2019-10-30 11:01:30 settimer done: 0 05 = 2019-10-30 11:16:40 App Init 06 = 2019-10-30 11:16:40 settimer done: 0 07 = 2019-10-30 11:17:45 App Init 08 = 2019-10-30 11:17:45 settimer done: 0 09 = 2019-10-30 11:19:38 App Init 10 = 2019-10-30 11:19:38 settimer done: 0 11 = 2019-10-30 14:11:57 App Init 12 = 2019-10-30 14:11:57 settimer done: 0 13 = 2019-10-30 14:13:01 App Init 14 = 2019-10-30 14:13:01 settimer done: 0 15 = 2019-10-30 15:06:58 App Init 16 = 2019-10-30 15:06:58 settimer done: 0 17 = 2019-10-30 15:11:12 App Init 18 = 2019-10-30 15:11:12 settimer done: 0 19 = 2019-10-30 15:25:02 App Init 20 = 2019-10-30 15:25:02 settimer done: 0 21 = 2019-10-30 15:32:01 App Init 22 = 2019-10-30 15:32:01 settimer done: 0 23 = 2019-10-30 15:37:26 App Init 24 = 2019-10-30 15:37:26 settimer done: 0 25 = 2019-10-30 16:11:34 App Init 26 = 2019-10-30 16:11:34 settimer done: 0 27 = 2019-10-30 17:54:34 App Init 28 = 2019-10-30 17:54:34 settimer done: 0 29 = 2019-10-31 16:12:59 App Init 30 = 2019-10-31 16:12:59 settimer done: 0 31 = 2019-10-31 16:14:49 App Init 32 = 2019-10-31 16:14:50 settimer done: 0 33 = 2019-10-31 16:17:16 App Init 34 = 2019-10-31 16:17:16 settimer done: 0 35 = 2019-10-31 16:28:07 App Init 36 = 2019-10-31 16:28:07 settimer done: 0 37 = 2019-10-31 16:40:14 App Init 38 = 2019-10-31 16:40:14 settimer done: 0 39 = 2019-10-31 18:08:04 App Init 40 = 2019-10-31 18:08:04 settimer done: 0 41 = 2019-10-31 18:10:41 App Init 42 = 2019-10-31 18:10:41 settimer done: 0 43 = 2019-10-31 18:19:43 App Init 44 = 2019-10-31 18:19:43 settimer done: 0 45 = 2019-10-31 18:22:03 App Init 46 = 2019-10-31 18:22:03 settimer done: 0 [Run] Cnt = 23 01start = Wed Oct 30 10:29:14 2019 02start = Wed Oct 30 11:01:30 2019 03start = Wed Oct 30 11:16:40 2019 04start = Wed Oct 30 11:17:45 2019 05start = Wed Oct 30 11:19:38 2019 06start = Wed Oct 30 14:11:57 2019 07start = Wed Oct 30 14:13:01 2019 08start = Wed Oct 30 15:06:58 2019 09start = Wed Oct 30 15:11:12 2019 10start = Wed Oct 30 15:25:02 2019 11start = Wed Oct 30 15:32:01 2019 12start = Wed Oct 30 15:37:26 2019 13start = Wed Oct 30 16:11:34 2019 14start = Wed Oct 30 17:54:34 2019 15start = Thu Oct 31 16:12:59 2019 16start = Thu Oct 31 16:14:49 2019 17start = Thu Oct 31 16:17:16 2019 18start = Thu Oct 31 16:28:07 2019 19start = Thu Oct 31 16:40:14 2019 20start = Thu Oct 31 18:08:04 2019 21start = Thu Oct 31 18:10:41 2019 22start = Thu Oct 31 18:19:43 2019 23start = Thu Oct 31 18:22:03 2019