Hardware/Mainboard/Model.cs
author moel.mich
Sat, 31 Dec 2011 17:31:04 +0000
changeset 324 c6ee430d6995
parent 319 35cda448fc5f
child 332 19b1e150e7af
permissions -rw-r--r--
Modified and extended version of the patch v4 by Roland Reinl (see Issue 256). Main differences to the original patch: DeviceIoControl refactorings removed, SmartAttribute is now descriptive only and does not hold any state, report is written as one 80 columns table, sensors are created only for meaningful values and without duplicates (remaining life, temperatures, host writes and reads). Also the current implementation should really preserve all the functionality of the old system. Additionally there is now a simple SMART devices emulation class (DebugSmart) that can be used in place of WindowsSmart for testing with reported data.
moel@132
     1
/*
moel@132
     2
  
moel@132
     3
  Version: MPL 1.1/GPL 2.0/LGPL 2.1
moel@132
     4
moel@132
     5
  The contents of this file are subject to the Mozilla Public License Version
moel@132
     6
  1.1 (the "License"); you may not use this file except in compliance with
moel@132
     7
  the License. You may obtain a copy of the License at
moel@132
     8
 
moel@132
     9
  http://www.mozilla.org/MPL/
moel@132
    10
moel@132
    11
  Software distributed under the License is distributed on an "AS IS" basis,
moel@132
    12
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
moel@132
    13
  for the specific language governing rights and limitations under the License.
moel@132
    14
moel@132
    15
  The Original Code is the Open Hardware Monitor code.
moel@132
    16
moel@132
    17
  The Initial Developer of the Original Code is 
moel@132
    18
  Michael Möller <m.moeller@gmx.ch>.
moel@265
    19
  Portions created by the Initial Developer are Copyright (C) 2009-2011
moel@132
    20
  the Initial Developer. All Rights Reserved.
moel@132
    21
moel@132
    22
  Contributor(s):
moel@132
    23
moel@132
    24
  Alternatively, the contents of this file may be used under the terms of
moel@132
    25
  either the GNU General Public License Version 2 or later (the "GPL"), or
moel@132
    26
  the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
moel@132
    27
  in which case the provisions of the GPL or the LGPL are applicable instead
moel@132
    28
  of those above. If you wish to allow use of your version of this file only
moel@132
    29
  under the terms of either the GPL or the LGPL, and not to allow others to
moel@132
    30
  use your version of this file under the terms of the MPL, indicate your
moel@132
    31
  decision by deleting the provisions above and replace them with the notice
moel@132
    32
  and other provisions required by the GPL or the LGPL. If you do not delete
moel@132
    33
  the provisions above, a recipient may use your version of this file under
moel@132
    34
  the terms of any one of the MPL, the GPL or the LGPL.
moel@132
    35
 
moel@132
    36
*/
moel@126
    37
moel@126
    38
namespace OpenHardwareMonitor.Hardware.Mainboard {
moel@126
    39
moel@165
    40
  internal enum Model {
moel@153
    41
    // ASRock
moel@153
    42
    _880GMH_USB3,
moel@220
    43
    AOD790GX_128M,
moel@221
    44
    P55_Deluxe,
moel@153
    45
moel@130
    46
    // ASUS
moel@133
    47
    Crosshair_III_Formula,
moel@133
    48
    M2N_SLI_DELUXE,
moel@144
    49
    M4A79XTD_EVO,
moel@133
    50
    P5W_DH_Deluxe,    
moel@152
    51
    P6X58D_E,
moel@312
    52
    P8P67,
moel@311
    53
    P8P67_EVO,
moel@265
    54
    P8P67_PRO,
moel@276
    55
    P8P67_M_PRO,
moel@174
    56
    Rampage_Extreme,
moel@174
    57
    Rampage_II_GENE,
moel@130
    58
moel@126
    59
    // DFI
moel@126
    60
    LP_BI_P45_T2RS_Elite,
moel@132
    61
    LP_DK_P55_T3eH9,
moel@132
    62
moel@177
    63
    // ECS
moel@177
    64
    A890GXM_A,
moel@177
    65
moel@132
    66
    // EVGA
moel@132
    67
    X58_SLI_Classified,
moel@126
    68
moel@126
    69
    // Gigabyte
moel@130
    70
    _965P_S3,
moel@126
    71
    EP45_DS3R,
moel@130
    72
    EP45_UD3R,
moel@133
    73
    EX58_EXTREME,
moel@154
    74
    GA_MA770T_UD3,
moel@126
    75
    GA_MA785GMT_UD2H,
moel@290
    76
    H67A_UD3H_B3,
moel@126
    77
    P35_DS3,
moel@133
    78
    P35_DS3L,
moel@148
    79
    P55_UD4,
moel@168
    80
    P55M_UD4,
moel@278
    81
    P67A_UD4_B3,
moel@130
    82
    X38_DS5,
moel@138
    83
    X58A_UD3R,
moel@305
    84
    Z68X_UD7_B3,
moel@126
    85
moel@320
    86
    // Shuttle
moel@320
    87
    FH67,
moel@320
    88
moel@126
    89
    // Unknown
moel@126
    90
    Unknown    
moel@126
    91
  }
moel@126
    92
}