Hardware/HDD/SSDIndilinx.cs
changeset 328 f837f9f0973e
parent 325 4c31341a4800
child 330 b2c6d350396d
     1.1 --- a/Hardware/HDD/SSDIndilinx.cs	Sun Jan 01 17:12:34 2012 +0000
     1.2 +++ b/Hardware/HDD/SSDIndilinx.cs	Mon Jan 02 18:44:19 2012 +0000
     1.3 @@ -46,26 +46,26 @@
     1.4      private static readonly IEnumerable<SmartAttribute> smartAttributes =
     1.5        new List<SmartAttribute> {
     1.6  
     1.7 -     new SmartAttribute(0xB8, SmartAttributeNames.InitialBadBlockCount),
     1.8 -     new SmartAttribute(0xC3, SmartAttributeNames.ProgramFailure),
     1.9 -     new SmartAttribute(0xC4, SmartAttributeNames.EraseFailure),
    1.10 -     new SmartAttribute(0xC5, SmartAttributeNames.ReadFailure),
    1.11 -     new SmartAttribute(0xC6, SmartAttributeNames.SectorsRead),
    1.12 -     new SmartAttribute(0xC7, SmartAttributeNames.SectorsWritten),
    1.13 -     new SmartAttribute(0xC8, SmartAttributeNames.ReadCommands),
    1.14 -     new SmartAttribute(0xC9, SmartAttributeNames.WriteCommands),
    1.15 -     new SmartAttribute(0xCA, SmartAttributeNames.BitErrors),
    1.16 -     new SmartAttribute(0xCB, SmartAttributeNames.CorrectedErrors),
    1.17 -     new SmartAttribute(0xCC, SmartAttributeNames.BadBlockFullFlag),
    1.18 -     new SmartAttribute(0xCD, SmartAttributeNames.MaxCellCycles),
    1.19 -     new SmartAttribute(0xCE, SmartAttributeNames.MinErase),
    1.20 -     new SmartAttribute(0xCF, SmartAttributeNames.MaxErase),
    1.21 -     new SmartAttribute(0xD0, SmartAttributeNames.AverageEraseCount),
    1.22 -     new SmartAttribute(0xD1, SmartAttributeNames.RemainingLife,
    1.23 +     new SmartAttribute(0xB8, SmartNames.InitialBadBlockCount),
    1.24 +     new SmartAttribute(0xC3, SmartNames.ProgramFailure),
    1.25 +     new SmartAttribute(0xC4, SmartNames.EraseFailure),
    1.26 +     new SmartAttribute(0xC5, SmartNames.ReadFailure),
    1.27 +     new SmartAttribute(0xC6, SmartNames.SectorsRead),
    1.28 +     new SmartAttribute(0xC7, SmartNames.SectorsWritten),
    1.29 +     new SmartAttribute(0xC8, SmartNames.ReadCommands),
    1.30 +     new SmartAttribute(0xC9, SmartNames.WriteCommands),
    1.31 +     new SmartAttribute(0xCA, SmartNames.BitErrors),
    1.32 +     new SmartAttribute(0xCB, SmartNames.CorrectedErrors),
    1.33 +     new SmartAttribute(0xCC, SmartNames.BadBlockFullFlag),
    1.34 +     new SmartAttribute(0xCD, SmartNames.MaxCellCycles),
    1.35 +     new SmartAttribute(0xCE, SmartNames.MinErase),
    1.36 +     new SmartAttribute(0xCF, SmartNames.MaxErase),
    1.37 +     new SmartAttribute(0xD0, SmartNames.AverageEraseCount),
    1.38 +     new SmartAttribute(0xD1, SmartNames.RemainingLife,
    1.39         null, SensorType.Level, 0),
    1.40 -     new SmartAttribute(0xD2, SmartAttributeNames.UnknownUnique),
    1.41 -     new SmartAttribute(0xD3, SmartAttributeNames.SataErrorCountCrc),
    1.42 -     new SmartAttribute(0xD4, SmartAttributeNames.SataErrorCountHandshake),
    1.43 +     new SmartAttribute(0xD2, SmartNames.UnknownUnique),
    1.44 +     new SmartAttribute(0xD3, SmartNames.SataErrorCountCrc),
    1.45 +     new SmartAttribute(0xD4, SmartNames.SataErrorCountHandshake),
    1.46      };
    1.47  
    1.48      public SSDIndilinx(ISmart smart, string name, string firmwareRevision,