2026-03-27 10:53:02 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using YD_YiLu.Commons.Dto.DeviceSync;
|
|
|
|
|
|
|
|
|
|
namespace YD_YiLu.Api.Services.Interface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 壹动站/壹体屏/活力课间屏 设备同步服务接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDeviceSyncService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人员分页下发
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DeviceSyncUserPageResponseDto> UserPageAsync(DeviceSyncUserPageRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人员信息拉取(活力课间屏,不分页)
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DeviceSyncUserPageResponseDto> UserSyncAsync(string deviceSerial, int deviceType, int userType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组织信息下发
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<List<DeviceSyncOrganizationDto>> OrganizationAsync(DeviceSyncOrganizationRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成绩批量上报
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<List<DeviceSyncTrainPushResponseItem>> TrainPushAsync(List<DeviceSyncTrainPushRequestDto> list);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取训练详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DeviceSyncTrainDetailsDto> TrainDetailsAsync(int trainId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 个人成绩排行榜
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<List<DeviceSyncGradeOrderItemDto>> GradeOrderAsync(DeviceSyncGradeOrderRequestDto dto);
|
2026-04-08 16:09:51 +08:00
|
|
|
|
2026-07-01 15:13:49 +08:00
|
|
|
Task<List<DeviceSyncOrganizationGradeOrderItemDto>> OrganizationGradeOrderAsync(DeviceSyncGradeOrderRequestDto dto);
|
|
|
|
|
|
|
|
|
|
Task<DeviceSyncBestScoreDto> BestScoreAsync(DeviceSyncBestScoreRequestDto dto);
|
|
|
|
|
|
2026-04-08 16:09:51 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 人员上次成绩(按人员序列号批量查询)
|
|
|
|
|
/// </summary>
|
2026-04-13 09:59:12 +08:00
|
|
|
Task<List<DeviceSyncUserDto>> LastGradeAsync(DeviceSyncLastGradeRequestDto dto);
|
2026-03-27 10:53:02 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询运动记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<List<DeviceSyncRecordAppItemDto>> RecordAppAsync(DeviceSyncRecordAppRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询我的运动
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DeviceSyncMyRecordResponseDto> MyRecordAsync(DeviceSyncMyRecordRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 老师登录
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<TeacherLoginResponseDto> TeacherLoginAsync(TeacherLoginRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 拉取安装包新版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<AppVerifyResponseDto> AppVerifyAsync(AppVerifyRequestDto dto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据设备序列号获取学校ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<int?> GetOrgIdByDeviceAsync(string deviceSerial);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取人员详情(壹动站协议)
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DeviceSyncUserDto> GetUserDetailAsync(string deviceSerial, int userId);
|
2026-04-13 09:59:12 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 视频回放上传
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<bool> DeviceVideoUploadAsync(DeviceVideoUploadRequestDto dto);
|
2026-04-13 10:11:41 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新增app版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<long> AppVersionAddAsync(AppVersionAddRequestDto dto);
|
2026-03-27 10:53:02 +08:00
|
|
|
}
|
|
|
|
|
}
|