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