OhmSensor.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using LibreHardwareMonitor.Hardware;
  4. namespace OhmGraphite
  5. {
  6. class OhmSensor : ISensor
  7. {
  8. public void Accept(IVisitor visitor)
  9. {
  10. }
  11. public void Traverse(IVisitor visitor)
  12. {
  13. }
  14. public IControl Control => null;
  15. public IHardware Hardware { get; set; }
  16. public Identifier Identifier { get; set; }
  17. public int Index => 0;
  18. public bool IsDefaultHidden => false;
  19. public float? Max => null;
  20. public float? Min => null;
  21. public string Name { get; set; }
  22. public IReadOnlyList<IParameter> Parameters => new List<IParameter>();
  23. public LibreHardwareMonitor.Hardware.SensorType SensorType { get; set; }
  24. public float? Value { get; set; }
  25. public IEnumerable<SensorValue> Values => new List<SensorValue>();
  26. public TimeSpan ValuesTimeWindow { get; set; }
  27. public void ResetMin()
  28. {
  29. }
  30. public void ResetMax()
  31. {
  32. }
  33. public void ClearValues()
  34. {
  35. }
  36. }
  37. }