-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTypes.xml
87 lines (87 loc) · 4.11 KB
/
Types.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/rti_dds_profiles.xsd">
<types>
<module name="DdsEntities">
<module name="Constants">
<const name="DP_LIBRARY_NAME" type="string" value=""MedicalDemoParticipantLibrary""/>
<const name="DP_ARM_CONTROLLER_NAME" type="string" value=""dp/ArmController""/>
<const name="DP_ARM_NAME" type="string" value=""dp/Arm""/>
<const name="DP_ORCHESTRATOR_NAME" type="string" value=""dp/Orchestrator""/>
<const name="DP_PATIENT_MONITOR_NAME" type="string" value=""dp/PatientMonitor""/>
<const name="DP_PATIENT_SENSOR_NAME" type="string" value=""dp/PatientSensor""/>
<const name="SEPARATOR" type="string" value=""::""/>
<const name="PUBLISHER_NAME" type="string" value=""p/publisher""/>
<const name="SUBSCRIBER_NAME" type="string" value=""s/subscriber""/>
<const name="DW_PREFIX" type="string" value=""dw/""/>
<const name="DR_PREFIX" type="string" value=""dr/""/>
<const name="ENDPOINT_MOTOR_CONTROL_NAME" type="string" value=""MotorControl""/>
<const name="ENDPOINT_DEVICE_STATUS_NAME" type="string" value=""DeviceStatus""/>
<const name="ENDPOINT_DEVICE_HEARTBEAT_NAME" type="string" value=""DeviceHeartbeat""/>
<const name="ENDPOINT_DEVICE_COMMAND_NAME" type="string" value=""DeviceCommand""/>
<const name="ENDPOINT_VITALS_NAME" type="string" value=""Vitals""/>
</module>
</module>
<module name="Common">
<enum name="DeviceStatuses">
<enumerator name="ON"/>
<enumerator name="OFF"/>
<enumerator name="PAUSED"/>
<enumerator name="ERROR"/>
</enum>
<enum name="DeviceType">
<enumerator name="ARM_CONTROLLER"/>
<enumerator name="ARM"/>
<enumerator name="VIDEO_PUB"/>
<enumerator name="VIDEO_SUB"/>
<enumerator name="PATIENT_MONITOR"/>
<enumerator name="PATIENT_SENSOR"/>
</enum>
<struct name= "DeviceStatus">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
<member name="status" type="nonBasic" nonBasicTypeName= "Common::DeviceStatuses"/>
</struct>
<struct name= "DeviceHeartbeat">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
</struct>
</module>
<module name="SurgicalRobot">
<enum name="Motors">
<enumerator name="BASE"/>
<enumerator name="SHOULDER"/>
<enumerator name="ELBOW"/>
<enumerator name="WRIST"/>
<enumerator name="HAND"/>
</enum>
<enum name="MotorDirections">
<enumerator name="STATIONARY"/>
<enumerator name="INCREMENT"/>
<enumerator name="DECREMENT"/>
</enum>
<struct name= "MotorControl">
<member name="id" type="nonBasic" nonBasicTypeName= "SurgicalRobot::Motors" key="true"/>
<member name="direction" type="nonBasic" nonBasicTypeName= "SurgicalRobot::MotorDirections"/>
</struct>
</module>
<module name="Orchestrator">
<enum name="DeviceCommands">
<enumerator name="START"/>
<enumerator name="SHUTDOWN"/>
<enumerator name="PAUSE"/>
</enum>
<struct name= "DeviceCommand">
<member name="device" type="nonBasic" nonBasicTypeName= "Common::DeviceType" key="true"/>
<member name="command" type="nonBasic" nonBasicTypeName= "Orchestrator::DeviceCommands"/>
</struct>
</module>
<module name="PatientMonitor">
<struct name= "Vitals">
<member name="patient_name" stringMaxLength="20" type="string" key="true"/>
<member name="hr" type="int32"/>
<member name="spo2" type="int32"/>
<member name="etco2" type="int32"/>
<member name="nibp_s" type="int32"/>
<member name="nibp_d" type="int32"/>
</struct>
</module>
</types>
</dds>