/// <summary> /// Get Fru Inventory Area /// </summary> public virtual FruInventoryArea GetFruInventoryArea(byte deviceId = 0) { GetFruInventoryAreaInfoResponse response = (GetFruInventoryAreaInfoResponse)this.IpmiSendReceive( new GetFruInventoryAreaInfoRequest(deviceId), typeof(GetFruInventoryAreaInfoResponse)); FruInventoryArea fruArea = new FruInventoryArea(response.CompletionCode); if (response.CompletionCode == 0) { fruArea.fruSize = IpmiSharedFunc.GetShort(response.OffSetLS, response.OffSetMS); if ((byte)(response.AccessType & 0x01) == 0x01) { fruArea.accessedByBytes = false; } } return(fruArea); }