ControllingParametersManager.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace WingServerCommon.Interfaces.Cache
  6. {
  7. /// <summary>
  8. /// 设备调参数据缓存
  9. /// </summary>
  10. public interface IControllingParametersManager : IBaseCacheManager<CacheControllingParameter>
  11. {
  12. }
  13. public class ControllingParametersManager : CacheManager<CacheControllingParameter>, IControllingParametersManager
  14. {
  15. public ControllingParametersManager() : base()
  16. {
  17. }
  18. }
  19. public class CacheControllingParameter : ICacheObject
  20. {
  21. public CacheControllingParameter()
  22. {
  23. }
  24. /// <summary>
  25. /// 设备编码
  26. /// </summary>
  27. /// <value></value>
  28. public string Code { get; set; }
  29. /// <summary>
  30. /// 探头应用信息
  31. /// </summary>
  32. /// <value></value>
  33. public string ProbeApplication { get; set; }
  34. /// <summary>
  35. /// 设备参数
  36. /// </summary>
  37. /// <value></value>
  38. public string Parameter { get; set; }
  39. }
  40. }