16.Resource Discovery
Provide interface for client to set the operating mode of the component. The operating mode is defined as enumerations of following:
UNKNOWN
STANDARD_OPERATING
TRAIN
MAINTENANCE
The controlling client subsystem broadcast Set Operating Mode to the components that it has control.
Require: Access Control service
Inherit from: none
16.1 Service Behavior
16.1.1 State Diagram
Figure 19 Resource Discovery State Diagram
16.1.2 State Actions
State | Actions |
---|---|
READY |
|
16.1.3 Internal Events
Event | Parameters | Event |
---|---|---|
ieReceiveMessage | Indicate a message is received |
16.1.4 Transitions
Transition | Trigger | Condition | Action |
---|---|---|---|
A | ieReceiveMessage | Process received message |
16.2 Protocol
16.2.1 Incoming Message Set
# | ID | Message |
---|---|---|
1 |
H:0x00000001 L:0x0000013E |
Register Resources |
2 |
H:0x00000001 L:0x0000013F |
Query Resources |
16.2.2 Outgoing Message Set
# | ID | Message |
---|---|---|
1 |
H:0x00000001 L: 0x00000140 |
Report Resources |
16.3 Parameters
Name | Type | Unit | Default |
---|---|---|---|
Cycle Interval | double | second | 0.1 |
Data Timeout | double | second | 20.0, timeout for not receiving register resources message from a component. |
Resource Check Interval | double | second | 20.0, Interval in seconds for check the expired registered resources. |