fly 2 years ago
parent
commit
0be55afdc8
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Service/DeviceService.cs

+ 9 - 0
Service/DeviceService.cs

@@ -1007,6 +1007,15 @@ namespace WingDeviceService.Service
             return result;
         }
 
+        /// <summary>
+        /// 查找有效设备总数量
+        /// </summary>
+        /// <returns></returns>
+        public async Task<long> GetActiveDeviceCount()
+        {
+            return await _deviceInfoDBServiceProxy.GetActiveDeviceCount();
+        }
+
     }
 
 }