瀏覽代碼

Update implement of interface

SenGao 14 小時之前
父節點
當前提交
b072b32b60
共有 1 個文件被更改,包括 16 次插入11 次删除
  1. 16 11
      EEMSUIClient/Services/ClientService.cs

+ 16 - 11
EEMSUIClient/Services/ClientService.cs

@@ -53,6 +53,22 @@ namespace EEMSUIClient.Services
             return _clientCaller.UpdateRealTimeData(realtimeData).Result;
         }
 
+        public void FileReceivedNotify(FileType fileType)
+        {
+            MessageBox.Show($"{fileType} Received");
+        }
+
+        public void StartFileReceiveNotify(FileType fileType)
+        {
+            //Log Here
+            //MessageBox.Show($"Start Receiving {fileType} File");
+        }
+
+        public bool AllowReceiveFile()
+        {
+            return true;
+        }
+
         protected virtual void Dispose(bool disposing)
         {
             if (!disposedValue)
@@ -82,16 +98,5 @@ namespace EEMSUIClient.Services
             Dispose(disposing: true);
             GC.SuppressFinalize(this);
         }
-
-        public void FileReceivedNotify(FileType fileType)
-        {
-            MessageBox.Show($"{fileType} Received");
-        }
-
-        public void StartFileReceiveNotify(FileType fileType)
-        {
-            //Log Here
-            //MessageBox.Show($"Start Receiving {fileType} File");
-        }
     }
 }