Метод | Описание | |
---|---|---|
ConvertValue ( |
||
SmartAttribute ( byte identifier, string name ) : System |
Initializes a new instance of the SmartAttribute class.
|
|
SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion ) : System |
Initializes a new instance of the SmartAttribute class.
|
|
SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion, SensorType sensorType, int sensorChannel, bool defaultHiddenSensor = false ) : System |
Initializes a new instance of the SmartAttribute class.
|
public ConvertValue ( |
||
value | ||
Результат | float |
public SmartAttribute ( byte identifier, string name ) : System | ||
identifier | byte | The SMART identifier of the attribute. |
name | string | The name of the attribute. |
Результат | System |
public SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion ) : System | ||
identifier | byte | The SMART identifier of the attribute. |
name | string | The name of the attribute. |
rawValueConversion | RawValueConversion | A delegate for converting the raw byte /// array into a value (or null to use the attribute value). |
Результат | System |
public SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion, SensorType sensorType, int sensorChannel, bool defaultHiddenSensor = false ) : System | ||
identifier | byte | The SMART identifier of the attribute. |
name | string | The name of the attribute. |
rawValueConversion | RawValueConversion | A delegate for converting the raw byte /// array into a value (or null to use the attribute value). |
sensorType | SensorType | Type of the sensor or null if no sensor is to /// be created. |
sensorChannel | int | If there exists more than one attribute with /// the same sensor channel and type, then a sensor is created only for the /// first attribute. |
defaultHiddenSensor | bool | True to hide the sensor initially. |
Результат | System |