package com.tofly.ghrq_route.module.emergencyHandle.service;

import android.content.Context;

import com.tofly.ghrq_route.module.emergencyHandle.controller.EmergencyCallBack;
import com.tofly.ghrq_route.module.emergencyHandle.domain.EmergencyHandleData;
import com.tofly.ghrq_route.module.trouble.domain.TroubleAudioBean;
import com.tofly.ghrq_route.module.trouble.domain.TroublePictureBean;

import java.util.List;

/**
 * Created by Amu on 2017/3/8.
 */

public interface IEmergencyService {
    /**
     * 获取应急调度列表
     */
    public void getEmergencyList(Context context, int select_state, int work_state, String keyword,
                                 int pageindex, int pagesize, final EmergencyCallBack emergencyCallBack);


    /**
     * 获取应急调度详情
     */
    public void getEmergencyInfo(Context context, String emergency_id, final EmergencyCallBack emergencyCallBack);

    public void addEmergencyNew(Context context, EmergencyHandleData handleData, List<TroublePictureBean> photos,
                                List<TroubleAudioBean> audios, List<TroubleAudioBean> files, EmergencyCallBack emergencyCallBack);

    /**
     *  应急调度派工到位签到
     */
    public void emergencySignOver(Context context, String emergencyId, double lng, double lat, EmergencyCallBack emergencyCallBack);

    /**
     *  应急调度派工处理
     */
    public void emergencyAssignHandle(Context context, EmergencyHandleData handleData, List<TroublePictureBean> signs, List<TroublePictureBean> photos,
                                      List<TroubleAudioBean> audios, List<TroubleAudioBean> files, final EmergencyCallBack emergencyCallBack);

    /**
     *  调度中心抢修派工
     */
    public void emergencyScheduleAssign(Context context, EmergencyHandleData handleData, final EmergencyCallBack emergencyCallBack);

    /**
     *  责任人抢修派工
     */
    public void emergencyRepairAssign(Context context, EmergencyHandleData handleData,  List<TroublePictureBean> photos,
                                      List<TroubleAudioBean> audios, List<TroubleAudioBean> files, final EmergencyCallBack emergencyCallBack);

    /**
     *  应急调度抢修处理
     */
    public void emergencyRepairHandle(Context context, EmergencyHandleData handleData, List<TroublePictureBean> photos,
                                      List<TroubleAudioBean> audios, List<TroubleAudioBean> files, final EmergencyCallBack emergencyCallBack);

}

