To create a state machine, follow these steps:
- Open ConVMSVehicleTable in the designer. Right-click on the State Machines node and choose New State machine.
- Rename the new state machine InspStateMachine and complete the properties shown in the following table by creating labels for the Description and Label properties:
Property | Value |
Description | Use this to control the inspection status. |
Label | Inspection status. |
Data Field |
InspStatus. |
- Right-click on the new state machine definition and select New State.
- Complete the properties of this state using the following table:
Property | Value |
Enum Value | NotInspected. Change this to Waiting, and then back to the default Label property. |
Description | The vehicle ... |