Skip to content

Commit 1706321

Browse files
committed
Slight refactor for ARCTIC Fan Controller
1 parent 305fda3 commit 1706321

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

OpenHardwareMonitorLib/Hardware/Controller/Arctic/ArcticFanController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ internal class ArcticFanController : Hardware
2626
private readonly System.Collections.Generic.List<Sensor> _rpmSensors = new();
2727
private readonly System.Collections.Generic.List<Sensor> _controlSensors = new();
2828

29-
public ArcticFanController(HidDevice dev, ISettings settings) : base("Arctic Fan Controller", new Identifier(dev), settings)
29+
public ArcticFanController(HidDevice dev, ISettings settings) : base("ARCTIC Fan Controller", new Identifier(dev), settings)
3030
{
3131
if (dev.TryOpen(out HidStream hidStream))
3232
{
3333
// Create fan sensors (RPM monitoring) - all 10 fans have RPM feedback
3434
for (int i = 1; i <= CHANNEL_COUNT; i++)
3535
{
36-
var fanSensor = new Sensor($"Arctic Controller Fan {i}", i, SensorType.Fan, this, settings);
36+
var fanSensor = new Sensor($"Fan #{i}", i, SensorType.Fan, this, settings);
3737
ActivateSensor(fanSensor);
3838
_rpmSensors.Add(fanSensor);
3939
}
4040

4141
// Create control sensors - all 10 fans can be controlled
4242
for (int i = 1; i <= CHANNEL_COUNT; i++)
4343
{
44-
var controlSensor = new Sensor($"Arctic Controller Fan Control {i}", i, SensorType.Control, this, settings);
44+
var controlSensor = new Sensor($"Control #{i}", i, SensorType.Control, this, settings);
4545
Control control = new(controlSensor, settings, CONTROL_VALUE_MIN, CONTROL_VALUE_MAX);
4646
control.ControlModeChanged += Control_ControlModeChanged;
4747
control.SoftwareControlValueChanged += Control_SoftwareControlValueChanged;

OpenHardwareMonitorLib/Hardware/Controller/Arctic/ArcticGroup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal class ArcticGroup : IGroup
1616

1717
public ArcticGroup(ISettings settings)
1818
{
19-
_report.AppendLine("Arctic Hardware");
19+
_report.AppendLine("ARCTIC Hardware");
2020
_report.AppendLine();
2121
try
2222
{
@@ -26,12 +26,12 @@ public ArcticGroup(ISettings settings)
2626
if (hidDevice != null)
2727
{
2828
_hardware.Add(new ArcticFanController(hidDevice, settings));
29-
_report.AppendLine("Arctic Fan Controller initialized successfully");
29+
_report.AppendLine("ARCTIC Fan Controller initialized successfully");
3030
}
3131
}
3232
catch (Exception ex)
3333
{
34-
_report.AppendLine($"Arctic Fan Controller Plugin initialization failed: {ex.Message}");
34+
_report.AppendLine($"ARCTIC Fan Controller Plugin initialization failed: {ex.Message}");
3535
}
3636
}
3737

0 commit comments

Comments
 (0)