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