package com.dji.sample.debug.service;
|
|
import com.dji.sample.debug.model.param.*;
|
import com.dji.sdk.common.HttpResultResponse;
|
|
/**
|
* @author wmm
|
* @version 0.1
|
* @date 2024/5/8
|
*/
|
public interface DebugService {
|
/**
|
* Control the cover to open.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse coverOpen(String sn);
|
/**
|
* Control the cover to close.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse coverClose(String sn);
|
|
/**
|
* Control the debugMode to open.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse debugModeOpen(String sn);
|
|
/**
|
* Control the debugMode to close.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse debugModeClose(String sn);
|
|
/**
|
* supplementLightOpen.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse supplementLightOpen(String sn);
|
|
/**
|
* supplementLightClose.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse supplementLightClose(String sn);
|
|
/**
|
* chargeOpen.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse chargeOpen(String sn);
|
|
/**
|
* chargeClose.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse chargeClose(String sn);
|
|
/**
|
* droneOpen.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse droneOpen(String sn);
|
|
/**
|
* droneClose.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse droneClose(String sn);
|
|
/**
|
* deviceFormat.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse deviceFormat(String sn);
|
|
/**
|
* droneFormat.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse droneFormat(String sn);
|
|
/**
|
* deviceReboot.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse deviceReboot(String sn);
|
|
/**
|
* batteryMaintenanceSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse batteryMaintenanceSwitch(String sn, BatteryMaintenanceSwitchParam param);
|
|
/**
|
* airConditionerModeSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse airConditionerModeSwitch(String sn, AirConditionerModeSwitchParam param);
|
|
/**
|
* alarmStateSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse alarmStateSwitch(String sn, AlarmStateSwitchParam param);
|
|
/**
|
* batteryStoreModeSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse batteryStoreModeSwitch(String sn, BatteryStoreModeSwitchParam param);
|
|
/**
|
* sdrWorkmodeSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse sdrWorkmodeSwitch(String sn, SdrWorkmodeSwitchParam param);
|
|
/**
|
* esimActivate.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse esimActivate(String sn, EsimActivateParam param);
|
|
/**
|
* simSlotSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse simSlotSwitch(String sn, SimSlotSwitchParam param);
|
|
/**
|
* esimOperatorSwitch.
|
* @param sn
|
* @return
|
*/
|
HttpResultResponse esimOperatorSwitch(String sn, EsimOperatorSwitchParam param);
|
}
|