using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
namespace HL_FristAidPlatform_IDataBase
{
public interface IT_Service_FirstAid_AlarmTaskInfo
{
///
/// 获取当天出车调度信息
///
///
///
string GetTaskInfo(string guid);
///
/// 当天正在进行的出车任务列表
///
///
///
TableModel GetTaskInfoTop8(string guid);
///
/// 当天正在进行的出车任务列表
///
///
/// 派车医院
///
/// -1 全部 0等待任务开始 1 任务开始 2 途中待命 3 站内待命 4 中止任务 5 暂停调用 6 恢复调用 7 已交接
/// -1 全部 0 否 1 是
///
TableModel GetTaskInfoList(string guid, string hospitalGuid, string plateNumber, int taskState, int transport);
///
/// 获取任务详情
///
///
///
TableModel GetTaskDetail(string guid);
T_Service_FirstAid_AlarmTaskInfo GetTask(string guid);
///
/// 确认接收指令
///
///
///
bool ConfirmTakeOrderse(string guid);
///
/// 当前任务分类统计
///
///
///
TableModel GetTaskStatistics(string guid);
///
/// 更新派车任务时间
///
///
///
///
string UpdateTime(string guid, int type, string toAddress, string time);
///
/// 更新让任务状态
///
///
///
///
bool UpdateTaskState(string guid, int taskState, string reason,long userId);
///
/// 保存任务中止原因
///
///
///
bool SaveVehicleCall(T_Service_FirstAid_VehicleCallRunning model);
///
/// 更新异常原因
///
///
///
///
bool UpdateAbnormalReason(string guid, string reason);
///
/// 更新转送地址
///
///
///
///
bool UpdateTransportAddress(string guid, string address);
///
/// 获取待交接任务列表
///
///
TableModel GetToBeHandoverTaskList(string hospitalGUID);
///
/// 根据当前登陆用户获取该用户对于任务详情
///
///
///
TableModel GetTaskByUserID(long userId);
///
/// 急救任务(急诊分诊)
///
///
///
///
///
///
///
///
///
///
///
///
///
TableModel GetAlarmTaskInfoFinishList(string hospitalGuid, string time1, string time2, int accidentType, int transport, string ambulanceGuid, int pageIndex, int pageSize);
///
/// 根据任务GUID获取患者信息(分诊)
///
///
///
TableModel GetInfoByTaskGuid(string guid);
//
/// 获取院前部分急救信息 (分诊保存调用)
///
///
///
FirstAid_PatientInfoModel GetPatientInfoModel(string guid);
///
/// 根据当前登陆用户获取该用户对于任务历史
///
///
///
TableModel GetTaskHistoryListByUserId(long userId, int pageIndex, int pageSize);
///
/// 根据guid查询任务详情
///
///
///
T_Service_FirstAid_AlarmTaskInfo GetTaskInfoByGuid(string guid);
///
/// 清除更新的时间
///
/// 任务guid
/// 0
///
bool WithdrawAlarmTaskTime(string guid, int type);
}
}