The Motor widget provides different types of motors e.g. electric or magnetic. All motors support the status operation and error, controllable by properties.
| Name | Type | Default |
|---|---|---|
| errorStatus | boolean | false |
| operationMode | boolean | false |
| orientation | OasOrientation | up |
| motorType | OasMotorType | electric |
This property, if true, will display the aggregate in
its error state (red). The errorStatus has higher priority
than the operationMode changing the color to red even if
operationMode is true.
The operationMode will change the aggregate to green
when true and back to white when false. If the
errorStatus Property is true the
operationMode will have no effect.
With the orientation property the widget will be rotated in 90° steps
according to their natural position. For more info about this topic
visit the Orientation
Page. The orientation will have no effect on the electric
motor type because it has no direction.