Hardware/IControl.cs
author moel.mich
Tue, 30 Dec 2014 21:04:54 +0000
changeset 430 6b24e39f1b84
parent 344 3145aadca3d2
permissions -rw-r--r--
Fixed Issue 651.
moel@247
     1
/*
moel@247
     2
 
moel@344
     3
  This Source Code Form is subject to the terms of the Mozilla Public
moel@344
     4
  License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344
     5
  file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@247
     6
 
moel@428
     7
  Copyright (C) 2010-2014 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344
     8
	
moel@247
     9
*/
moel@247
    10
moel@247
    11
namespace OpenHardwareMonitor.Hardware {
moel@247
    12
moel@247
    13
  public enum ControlMode {
moel@428
    14
    Undefined,
moel@428
    15
    Software,
moel@428
    16
    Default
moel@247
    17
  }
moel@247
    18
moel@247
    19
  public interface IControl {
moel@247
    20
moel@247
    21
    Identifier Identifier { get; }
moel@247
    22
moel@247
    23
    ControlMode ControlMode { get; }
moel@247
    24
moel@247
    25
    float SoftwareValue { get; }
moel@247
    26
moel@247
    27
    void SetDefault();
moel@247
    28
moel@247
    29
    float MinSoftwareValue { get; }
moel@247
    30
    float MaxSoftwareValue { get; }
moel@247
    31
moel@247
    32
    void SetSoftware(float value);
moel@247
    33
moel@247
    34
  }
moel@247
    35
}