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