using IMCS.CCS.Entitys; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IMCS.CCS.Services { public interface IDeviceService { //查询在线设备列表 List GetDeviceList(); //查询所有设备列表 List GetDeviceAllList(); //全部设备包含未使用的 List GetDevices(); //查询设备详情 Task GetDeviceById(int id); //添加设备 Task CreateDevice(Device user); //更新设备 Task UpdateDevice(Device user); Task UpdateAndCache(Device vo); } }