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