Interface CfnSignalCatalog.ISensorProperty
An input component that reports the environmental condition of a vehicle.
Namespace: Amazon.CDK.AWS.IoTFleetWise
Assembly: Amazon.CDK.AWS.IoTFleetWise.dll
Syntax (csharp)
public interface ISensorProperty
Syntax (vb)
Public Interface ISensorProperty
Remarks
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;
var sensorProperty = new SensorProperty {
DataType = "dataType",
FullyQualifiedName = "fullyQualifiedName",
// the properties below are optional
AllowedValues = new [] { "allowedValues" },
Description = "description",
Max = 123,
Min = 123,
Unit = "unit"
};
Synopsis
Properties
AllowedValues | (Optional) A list of possible values a sensor can take. |
DataType | The specified data type of the sensor. |
Description | (Optional) A brief description of a sensor. |
FullyQualifiedName | The fully qualified name of the sensor. |
Max | (Optional) The specified possible maximum value of the sensor. |
Min | (Optional) The specified possible minimum value of the sensor. |
Unit | (Optional) The scientific unit of measurement for data collected by the sensor. |
Properties
AllowedValues
(Optional) A list of possible values a sensor can take.
virtual string[] AllowedValues { get; }
Property Value
System.String[]
Remarks
DataType
The specified data type of the sensor.
string DataType { get; }
Property Value
System.String
Remarks
Description
(Optional) A brief description of a sensor.
virtual string Description { get; }
Property Value
System.String
Remarks
FullyQualifiedName
The fully qualified name of the sensor.
string FullyQualifiedName { get; }
Property Value
System.String
Remarks
For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery
.
Max
(Optional) The specified possible maximum value of the sensor.
virtual Nullable<double> Max { get; }
Property Value
System.Nullable<System.Double>
Remarks
Min
(Optional) The specified possible minimum value of the sensor.
virtual Nullable<double> Min { get; }
Property Value
System.Nullable<System.Double>
Remarks
Unit
(Optional) The scientific unit of measurement for data collected by the sensor.
virtual string Unit { get; }
Property Value
System.String