Hardware/IControl.cs
author StephaneLenclud
Thu, 18 Apr 2013 23:25:10 +0200
branchMiniDisplay
changeset 444 9b09e2ee0968
parent 344 3145aadca3d2
permissions -rw-r--r--
Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
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
}