1.dp信息统计
This commit is contained in:
parent
83ac60d9ae
commit
c0981ed481
|
@ -2609,6 +2609,36 @@ SINT32 sf_power_off_check_ui_para_sava(void)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
/*************************************************
|
||||||
|
Function: sf_power_off_statistics
|
||||||
|
Description: sf power off .
|
||||||
|
Input: N/A
|
||||||
|
Output: N/A
|
||||||
|
Return: 0:SUCCESS, errcode:FAIL
|
||||||
|
Others: N/A
|
||||||
|
*************************************************/
|
||||||
|
SINT32 sf_power_off_statistics(void)
|
||||||
|
{
|
||||||
|
UINT8 PowerOnMode = sf_poweron_type_get();
|
||||||
|
UIMenuStoreInfo *puiPara = sf_app_ui_para_get();
|
||||||
|
SF_PDT_PARAM_STATISTICS_S *psfPara = sf_statistics_param_get();
|
||||||
|
|
||||||
|
|
||||||
|
if(((PowerOnMode == PWR_ON_TIME_SEND) || (PowerOnMode == PWR_ON_TIMELAPSE) || (PowerOnMode == PWR_ON_PIR)) && (sf_get_signal_ready_flag()))
|
||||||
|
{
|
||||||
|
psfPara->picSendCount++;//Failed to register, counted as sending once.
|
||||||
|
printf("picSendCount=%d\n", psfPara->picSendCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
if((PowerOnMode == PWR_ON_TIMELAPSE) || (PowerOnMode == PWR_ON_PIR))
|
||||||
|
{
|
||||||
|
psfPara->TirgNum++;
|
||||||
|
psfPara->NewFlieCount+=(puiPara->Multishot+1);
|
||||||
|
printf("TirgNum=%d NewFlieCount=%d\n", psfPara->TirgNum, psfPara->NewFlieCount);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************************************
|
/*************************************************
|
||||||
Function: sf_power_off_check_camera_restart
|
Function: sf_power_off_check_camera_restart
|
||||||
|
|
Loading…
Reference in New Issue
Block a user