/// <summary> /// Get the Chassis Manager or PDB FRU areas information. /// </summary> private static Ipmi.FruDevice GetFruDevice(DeviceType deviceType) { Ipmi.FruDevice fru = new Ipmi.FruDevice((byte)CompletionCode.UnspecifiedError); lock (locker) { try { if (initialized) { fru = ChassisState.CmFruData.ReadFru((DeviceType)deviceType); } else { Tracer.WriteError( " GetFruDevice failed: InstallHelper Uninitialized"); } } catch (Exception ex) { Tracer.WriteError( " GetFruDevice failed with the exception: " + ex.Message); } } return(fru); }
/// <summary> /// Get the Chassis Manager or PDB FRU areas information. /// </summary> private static Ipmi.FruDevice GetFruDevice(DeviceType deviceType) { Ipmi.FruDevice fru = new Ipmi.FruDevice((byte)CompletionCode.UnspecifiedError); lock (locker) { try { if (initialized) fru = ChassisState.CmFruData.ReadFru((DeviceType)deviceType); else Tracer.WriteError( " GetFruDevice failed: InstallHelper Uninitialized"); } catch (Exception ex) { Tracer.WriteError( " GetFruDevice failed with the exception: " + ex.Message); } } return fru; }