12345678910111213141516171819202122232425262728 |
- namespace ServiceBase;
- /// <summary>
- /// EEMS UI -> EEMS Server
- /// </summary>
- public interface IUICaller
- {
- Task<bool> RequestDeviceLists();
- Task<bool> UpdateDeviceInfo(DeviceInfo deviceInfo);
- }
- /// <summary>
- /// EEMS Server -> EEMS UI
- /// </summary>
- public interface IUIProvider
- {
- Task<bool> OnlineStatusNotify(Guid guid, bool onlineStatus);
- Task<bool> UpdateDeviceList(IEnumerable<DeviceInfo> device);
- Task<bool> UpdateDevice(DeviceInfo device);
- Task<bool> InsertNewDevice(DeviceInfo deviceInfo);
- Task<bool> UpdateRealtimeData(Guid guid, Dictionary<string, object> data);
- }
- public enum FileType : byte
- {
- Config,
- Recipe
- }
|