123456789101112131415161718192021222324252627282930313233 |
- 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<Device> GetDeviceList();
- //查询所有设备列表
- List<Device> GetDeviceAllList();
- //全部设备包含未使用的
- List<Device> GetDevices();
- //查询设备详情
- Task<Device> GetDeviceById(int id);
- //添加设备
- Task<bool> CreateDevice(Device user);
- //更新设备
- Task<bool> UpdateDevice(Device user);
- Task<bool> UpdateAndCache(Device vo);
- }
- }
|