tmp
This commit is contained in:
parent
822745e066
commit
f1d0b9e796
@ -772,6 +772,7 @@ void Uart::DealWave() {
|
||||
wave_trans_ = false;
|
||||
return;
|
||||
}
|
||||
if (m_waveCountX > 0 || m_waveCountY > 0 || m_waveCountZ > 0){
|
||||
char localtimestamp[32] = {0};
|
||||
GetTimeNet(localtimestamp, 1);
|
||||
char insertSql[100] = {0x00};
|
||||
@ -780,6 +781,7 @@ void Uart::DealWave() {
|
||||
memset(whereCon, 0x00, sizeof(whereCon));
|
||||
sprintf(insertSql, "'%s','%02x%02x','%s',0,'1','%s' ", strMeasurementID.c_str(),(wave_shortAddr >> 8) & 0xFF,wave_shortAddr & 0xFF,localtimestamp,"");
|
||||
sqlite_db_ctrl::instance().InsertData(" receive_wave_status ", insertSql);
|
||||
}
|
||||
|
||||
std::string ran = "";
|
||||
int n = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user