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