/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2022-04-28 11:21:51
 * @LastEditTime : 2022-05-25 09:20:22
 * @Description  : Do not edit
 */
import 'package:app_package/app_package.dart';
import 'package:smart_devices_package/src/models/sd_detail_list_model.dart';
import 'package:smart_devices_package/src/models/sd_detail_model.dart';
import 'package:smart_devices_package/src/models/sd_timing_list.dart';
import 'package:smart_devices_package/src/models/timing_detail.dart';
import 'package:smart_devices_package/src/models/timing_type.dart';
import '../models/sd_list_model.dart';

abstract class SmartDevicesService {
  Future<ResModel<PagingModel<SmartDevicesListModel>>> getSmartDevicesList(
      data);
  Future<ResModel<SmartDevicesDetailModel>> getDeviceDetail(data);
  Future<ResModel<PagingModel<SmartDevicesDetailListModel>>> getDeviceRecord(
      data);
  Future<bool> getDeviceOnAndOff(data);
  Future<ResModel<PagingModel<TimingListModel>>> getTimingList(data);
  Future<ResModel<bool>> patchTimingEnable(id);
  Future<ResModel<bool>> patchTimingDisable(id);
  Future<ResModel<bool>> deleteTiming(id);
  Future<ResModel<bool>> addTiming(data);
  Future<ResModel<bool>> editTiming(data, id);
  Future<ResModel<List<TimingTypeModel>>> getTimingType();
  Future<ResModel<TimingDetailModel>> getTimingDetail(id);
}
