PMDV_BATT0
(app->ap_device < PMDV_BATT0 || app->ap_device > PMDV_BATT_ALL))
unit = app->ap_device - PMDV_BATT0;
aps.ap_device = PMDV_BATT0 + i;