Compare commits
No commits in common. "5597bfca0bbd7c783d020c540b3583b3b2c71f26" and "0535c0765cb0eec29620cd27c461de887b76ab83" have entirely different histories.
5597bfca0b
...
0535c0765c
@ -662,12 +662,7 @@ std::string JsonData::JsonCmd_Cgi_30(Param_30 ¶m) {
|
||||
}
|
||||
}
|
||||
if(param.mMode == 0 && productNo == "02"){
|
||||
std::string::size_type comper = param.mChannelId.find("Z");
|
||||
if (comper != std::string::npos) {
|
||||
resolution = 1 / 1.28;
|
||||
}else{
|
||||
resolution = 1 / 1.6;
|
||||
}
|
||||
}else if(param.mMode == 1 && productNo == "02"){
|
||||
resolution = 1 / 3.2;
|
||||
}
|
||||
|
||||
@ -453,7 +453,7 @@ int Uart::DealReviveDuration(uint16_t ushortAdd){
|
||||
int next_taskID = 0;
|
||||
bool z = false;
|
||||
uint16_t next_duration = scheduler::instance().GetNextDuration(ushortAdd,z,next_taskID);
|
||||
zlog_info(zct, "next_duration = %d next_taskID = %d,z = %d", next_duration,next_taskID,z);
|
||||
zlog_info(zct, "next_duration = %d next_taskID = %d", next_duration,next_taskID);
|
||||
scheduleTask.cmd = REVIVE_DURATION;
|
||||
scheduleTask.shortAddr = ushortAdd;
|
||||
scheduleTask.duration = next_duration;
|
||||
|
||||
@ -991,13 +991,13 @@ std::vector<float> Uart::DealData(int iChannel, float coe, unsigned int sampleRa
|
||||
break;
|
||||
}
|
||||
}else if( version == 0){
|
||||
if (vecData.size() == 13108 && iChannel == WAVE_X) { //过滤数据包结尾空数据
|
||||
if (vecData.size() == 8192 && iChannel == WAVE_X) { //过滤数据包结尾空数据
|
||||
break;
|
||||
}
|
||||
if (vecData.size() == 13108 && iChannel == WAVE_Y) { //过滤数据包结尾空数据
|
||||
if (vecData.size() == 8192 && iChannel == WAVE_Y) { //过滤数据包结尾空数据
|
||||
break;
|
||||
}
|
||||
if (vecData.size() == 30720 && iChannel == WAVE_Z) { //过滤数据包结尾空数据
|
||||
if (vecData.size() == 24000 && iChannel == WAVE_Z) { //过滤数据包结尾空数据
|
||||
break;
|
||||
}
|
||||
if (vecData.size() == 13108 && iChannel == WAVE_LF_X) { //过滤数据包结尾空数据
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user