123456789101112131415161718192021222324252627282930 |
- using IMCS.CCS.Entitys;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace IMCS.CCS.Repository
- {
- public interface IDeviceRepository
- {
- //查询在线设备列表
- List<Device> GetDeviceList();
- //查询所有设备列表
- List<Device> GetDeviceAllList();
- List<Device> GetDevices();
- //查询设备详情
- Task<Device> GetDeviceById(int id);
- //添加设备
- Task<bool> CreateDevice(Device device);
- //更新设备
- Task<bool> UpdateDevice(Device device);
-
- }
- }
|