UIInterfaces.cs 409 B

123456789101112131415161718192021222324
  1. namespace ServiceBase;
  2. /// <summary>
  3. /// EEMS UI -> EEMS Server
  4. /// </summary>
  5. public interface IUICaller
  6. {
  7. Task<bool> RequestDeviceLists();
  8. }
  9. /// <summary>
  10. /// EEMS Server -> EEMS UI
  11. /// </summary>
  12. public interface IUIProvider
  13. {
  14. Task<bool> UpdateDeviceList(IEnumerable<DeviceInfo> device);
  15. Task<bool> UpdateDevice(DeviceInfo device);
  16. }
  17. public enum FileType : byte
  18. {
  19. Config,
  20. Recipe
  21. }