ReportedValue.cs 896 B

1234567891011121314151617181920212223242526272829303132
  1. using OpenHardwareMonitor.Hardware;
  2. namespace OhmGraphite
  3. {
  4. public class ReportedValue
  5. {
  6. public ReportedValue(string identifier,
  7. string sensor,
  8. float value,
  9. SensorType sensorType,
  10. string hardware,
  11. HardwareType hardwareType,
  12. int sensorIndex)
  13. {
  14. Identifier = identifier;
  15. Sensor = sensor;
  16. Value = value;
  17. SensorType = sensorType;
  18. Hardware = hardware;
  19. HardwareType = hardwareType;
  20. SensorIndex = sensorIndex;
  21. }
  22. public string Identifier { get; }
  23. public string Sensor { get; }
  24. public float Value { get; }
  25. public SensorType SensorType { get; }
  26. public string Hardware { get; }
  27. public HardwareType HardwareType { get; }
  28. public int SensorIndex { get; }
  29. }
  30. }