building a Temperature Sensor
In this example, we are going to create interactively a state machine that will be used to control a temperature sensor. example state machine extracted from the OPC Reference manual.
namespaceUri: http://sterfive.com/UA/test/
stateMachines:
- browseName: MyFiniteStateMachineType
subtypeOf: ua:FiniteStateMachineType
promotedToMandatory:
- CurrentState.Id
- CurrentState.Name
- CurrentState.Number
- CurrentState.EffectiveDisplayName
- LastTransition.Id
- LastTransition.Name
- LastTransition.Number
- LastTransition.TransitionTime
initialState:
- name: Initial
value: 0
description: Initial state