| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using Device;
- namespace ServiceBase;
- /// <summary>
- /// EEMS Client -> EEMS Server
- /// </summary>
- public interface IClientCaller
- {
- Task<Guid> RegisterDevice(DeviceInfo deviceInfo);
- Task<bool> FilePack(Guid guid, byte[] buffer, int current, int total);
- }
- /// <summary>
- /// EEMS Server -> EEMS Client
- /// </summary>
- public interface IClientProvider
- {
- Task RequestFile(Guid guid, FileType fileType);
- }
- /// <summary>
- /// EEMS UI -> EEMS Server
- /// </summary>
- public interface IUICaller
- {
- }
- /// <summary>
- /// EEMS Server -> EEMS UI
- /// </summary>
- public interface IUIProvider
- {
- }
- public enum FileType : byte
- {
- Config,
- Recipe
- }
|