ITrendAnalyzer.cs 464 B

123456789101112131415161718192021
  1. using System;
  2. using SKMC.Api.Common.Types;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SKMC.Api.Common.Data
  8. {
  9. /// <summary>
  10. /// 数值趋势分析器接口
  11. /// </summary>
  12. public interface ITrendAnalyzer
  13. {
  14. void SetParam(Dictionary<string, object> param);
  15. void SetSource(BoundedQueue<float> boundedQueue);
  16. bool CheckTrend(out string desc);
  17. }
  18. }