2 Commits c68b73c1f6 ... 1257848f33

Author SHA1 Message Date
  SenGao 1257848f33 Merge branch 'master' of http://git.jetplasma-oa.com/Jet/EEMS 1 month ago
  SenGao b072b32b60 Update implement of interface 1 month ago
1 changed files with 16 additions and 11 deletions
  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;
             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)
         protected virtual void Dispose(bool disposing)
         {
         {
             if (!disposedValue)
             if (!disposedValue)
@@ -82,16 +98,5 @@ namespace EEMSUIClient.Services
             Dispose(disposing: true);
             Dispose(disposing: true);
             GC.SuppressFinalize(this);
             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");
-        }
     }
     }
 }
 }