1# HdfSensorInformation 2 3 4## 概述 5 6定义传感器的基本信息。 7 8传感器的信息包括传感器名称、供应商、固件版本、硬件版本、传感器类型ID、传感器ID、最大测量范围、精度和功率。 9 10**起始版本:** 2.2 11 12**相关模块:**[HdiSensor](_hdi_sensor_v20.md) 13 14 15## 汇总 16 17 18### Public 属性 19 20| 名称 | 描述 | 21| -------- | -------- | 22| String [sensorName](#sensorname) | 传感器名称。 | 23| String [vendorName](#vendorname) | 传感器供应商。 | 24| String [firmwareVersion](#firmwareversion) | 传感器固件版本。 | 25| String [hardwareVersion](#hardwareversion) | 传感器硬件版本。 | 26| int [sensorTypeId](#sensortypeid) | 传感器类型ID(在[HdfSensorTypeTag](_hdi_sensor_v20.md#hdfsensortypetag)中描述)。 | 27| int [sensorId](#sensorid) | 传感器ID,由传感器驱动程序开发人员定义。 | 28| float [maxRange](#maxrange) | 传感器的最大测量范围。 | 29| float [accuracy](#accuracy) | 传感器精度。 | 30| float [power](#power) | 传感器功率。 | 31| long [minDelay](#mindelay) | 允许的最小采样周期(微秒) | 32| long [maxDelay](#maxdelay) | 允许的最大采样周期(微秒) | 33| unsigned int [fifoMaxEventCount](#fifomaxeventcount) | 此传感器可批处理的最大事件数 | 34| unsigned int [reserved](#reserved) | 保留字段 | 35 36 37## 类成员变量说明 38 39 40### accuracy 41 42``` 43float HdfSensorInformation::accuracy 44``` 45 46**描述** 47 48传感器精度。 49 50 51### fifoMaxEventCount 52 53``` 54unsigned int HdfSensorInformation::fifoMaxEventCount 55``` 56 57**描述** 58 59此传感器可批处理的最大事件数 60 61 62### firmwareVersion 63 64``` 65String HdfSensorInformation::firmwareVersion 66``` 67 68**描述** 69 70传感器固件版本。 71 72 73### hardwareVersion 74 75``` 76String HdfSensorInformation::hardwareVersion 77``` 78 79**描述** 80 81传感器硬件版本。 82 83 84### maxDelay 85 86``` 87long HdfSensorInformation::maxDelay 88``` 89 90**描述** 91 92允许的最大采样周期(微秒) 93 94 95### maxRange 96 97``` 98float HdfSensorInformation::maxRange 99``` 100 101**描述** 102 103传感器的最大测量范围。 104 105 106### minDelay 107 108``` 109long HdfSensorInformation::minDelay 110``` 111 112**描述** 113 114允许的最小采样周期(微秒) 115 116 117### power 118 119``` 120float HdfSensorInformation::power 121``` 122 123**描述** 124 125传感器功率。 126 127 128### reserved 129 130``` 131unsigned int HdfSensorInformation::reserved 132``` 133 134**描述** 135 136保留字段 137 138 139### sensorId 140 141``` 142int HdfSensorInformation::sensorId 143``` 144 145**描述** 146 147传感器ID,由传感器驱动程序开发人员定义。 148 149 150### sensorName 151 152``` 153String HdfSensorInformation::sensorName 154``` 155 156**描述** 157 158传感器名称。 159 160 161### sensorTypeId 162 163``` 164int HdfSensorInformation::sensorTypeId 165``` 166 167**描述** 168 169传感器类型ID(在[HdfSensorTypeTag](_hdi_sensor_v20.md#hdfsensortypetag)中描述)。 170 171 172### vendorName 173 174``` 175String HdfSensorInformation::vendorName 176``` 177 178**描述** 179 180传感器供应商。 181