Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Actuator = Actuator' {
- allowedValues :: Maybe [Text]
- assignedValue :: Maybe Text
- description :: Maybe Text
- max :: Maybe Double
- min :: Maybe Double
- unit :: Maybe Text
- fullyQualifiedName :: Text
- dataType :: NodeDataType
- newActuator :: Text -> NodeDataType -> Actuator
- actuator_allowedValues :: Lens' Actuator (Maybe [Text])
- actuator_assignedValue :: Lens' Actuator (Maybe Text)
- actuator_description :: Lens' Actuator (Maybe Text)
- actuator_max :: Lens' Actuator (Maybe Double)
- actuator_min :: Lens' Actuator (Maybe Double)
- actuator_unit :: Lens' Actuator (Maybe Text)
- actuator_fullyQualifiedName :: Lens' Actuator Text
- actuator_dataType :: Lens' Actuator NodeDataType
Documentation
A signal that represents a vehicle device such as the engine, heater, and door locks. Data from an actuator reports the state of a certain vehicle device.
Updating actuator data can change the state of a device. For example, you can turn on or off the heater by updating its actuator data.
See: newActuator
smart constructor.
Actuator' | |
|
Instances
Create a value of Actuator
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedValues:Actuator'
, actuator_allowedValues
- A list of possible values an actuator can take.
$sel:assignedValue:Actuator'
, actuator_assignedValue
- A specified value for the actuator.
$sel:description:Actuator'
, actuator_description
- A brief description of the actuator.
$sel:max:Actuator'
, actuator_max
- The specified possible maximum value of an actuator.
$sel:min:Actuator'
, actuator_min
- The specified possible minimum value of an actuator.
$sel:unit:Actuator'
, actuator_unit
- The scientific unit for the actuator.
$sel:fullyQualifiedName:Actuator'
, actuator_fullyQualifiedName
- The fully qualified name of the actuator. For example, the fully
qualified name of an actuator might be Vehicle.Front.Left.Door.Lock
.
$sel:dataType:Actuator'
, actuator_dataType
- The specified data type of the actuator.
actuator_allowedValues :: Lens' Actuator (Maybe [Text]) Source #
A list of possible values an actuator can take.
actuator_max :: Lens' Actuator (Maybe Double) Source #
The specified possible maximum value of an actuator.
actuator_min :: Lens' Actuator (Maybe Double) Source #
The specified possible minimum value of an actuator.
actuator_fullyQualifiedName :: Lens' Actuator Text Source #
The fully qualified name of the actuator. For example, the fully
qualified name of an actuator might be Vehicle.Front.Left.Door.Lock
.
actuator_dataType :: Lens' Actuator NodeDataType Source #
The specified data type of the actuator.