36 lines
721 B
C#

/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2010-2014 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
namespace OpenHardwareMonitor.Hardware {
public enum ControlMode {
Undefined,
Software,
Default
}
public interface IControl {
Identifier Identifier { get; }
ControlMode ControlMode { get; }
float SoftwareValue { get; }
void SetDefault();
float MinSoftwareValue { get; }
float MaxSoftwareValue { get; }
void SetSoftware(float value);
}
}