1- <?xml version =" 1.0" encoding =" utf -8" standalone =" yes" ?>
2- <ServiceInterface FormatVersion =" 1.0 .0" >
3- <Overview ID =" 1" Name =" TrafficController" Version =" 1.0 .0" isRemote = " true " >
1+ <?xml version =" 1.0" encoding =" UTF -8" standalone =" yes" ?>
2+ <ServiceInterface FormatVersion =" 1.1 .0" >
3+ <Overview ID =" 1" Name =" TrafficController" Version =" 1.1 .0" Category = " Public " >
44 <Description >This is a traffic light controlle service interface.</Description >
55 </Overview >
66 <DataTypeList >
7- <DataType ID =" 2" Name =" eTrafficDirection" Type =" Enumerate " Values =" default" >
7+ <DataType ID =" 2" Name =" eTrafficDirection" Type =" Enumeration " Values =" default" >
88 <Description >The direction of traffic.</Description >
99 <FieldList >
1010 <EnumEntry ID =" 4" Name =" DirectionUndefiend" >
11- <Value />
1211 <Description >Undefined direction.</Description >
1312 </EnumEntry >
1413 <EnumEntry ID =" 5" Name =" DirectionSouthNorth" >
15- <Value />
1614 <Description >The traffic direction is south-north.</Description >
1715 </EnumEntry >
1816 <EnumEntry ID =" 6" Name =" DirectionEastWest" >
19- <Value />
2017 <Description >The traffic direction is east-west.</Description >
2118 </EnumEntry >
2219 </FieldList >
2320 </DataType >
24- <DataType ID =" 7" Name =" eVehicleTrafficLight" Type =" Enumerate " Values =" default" >
21+ <DataType ID =" 7" Name =" eVehicleTrafficLight" Type =" Enumeration " Values =" default" >
2522 <Description >The states of vehicle traffic states.</Description >
2623 <FieldList >
2724 <EnumEntry ID =" 8" Name =" VehicleLightOFF" >
28- <Value />
2925 <Description >The vehicle lights are OFF.</Description >
3026 </EnumEntry >
3127 <EnumEntry ID =" 9" Name =" VehicleLightsInit" >
32- <Value />
3328 <Description >The vehicle lights are initialized (blink yellow).</Description >
3429 </EnumEntry >
3530 <EnumEntry ID =" 10" Name =" VehicleLightRed" >
36- <Value />
3731 <Description >Vehicle light is red.</Description >
3832 </EnumEntry >
3933 <EnumEntry ID =" 11" Name =" VehicleLightYellow" >
40- <Value />
4134 <Description >Vehicle light is yellow.</Description >
4235 </EnumEntry >
4336 <EnumEntry ID =" 12" Name =" VehicleLightGreen" >
44- <Value />
4537 <Description >The vehicle light is green.</Description >
4638 </EnumEntry >
4739 </FieldList >
4840 </DataType >
49- <DataType ID =" 13" Name =" ePedestrianTrafficLight" Type =" Enumerate " Values =" default" >
41+ <DataType ID =" 13" Name =" ePedestrianTrafficLight" Type =" Enumeration " Values =" default" >
5042 <Description >The traffic light state of pedestrians.</Description >
5143 <FieldList >
5244 <EnumEntry ID =" 14" Name =" PedestrianLightOFF" >
53- <Value />
5445 <Description >The pedestrian light is OFF.</Description >
5546 </EnumEntry >
5647 <EnumEntry ID =" 15" Name =" PedestrianLightRed" >
57- <Value />
5848 <Description >Pedestrian light is red.</Description >
5949 </EnumEntry >
6050 <EnumEntry ID =" 16" Name =" PedestrianLightGreen" >
61- <Value />
6251 <Description >The pedestrian light is green.</Description >
6352 </EnumEntry >
6453 </FieldList >
6554 </DataType >
6655 <DataType ID =" 28" Name =" sTrafficLight" Type =" Structure" >
6756 <Description >Describes the direction of traffic and the states of lights for vehicle and pedestrians.</Description >
6857 <FieldList >
69- <Field DataType = " eTrafficDirection " ID =" 29" Name =" trafficDirection" >
58+ <Field ID =" 29" Name =" trafficDirection" DataType = " eTrafficDirection " >
7059 <Value IsDefault =" true" >eTrafficDirection::DirectionUndefiend</Value >
7160 <Description >The traffic direction</Description >
7261 </Field >
73- <Field DataType = " eVehicleTrafficLight " ID =" 30" Name =" lightVehicle" >
62+ <Field ID =" 30" Name =" lightVehicle" DataType = " eVehicleTrafficLight " >
7463 <Value IsDefault =" true" >eVehicleTrafficLight::VehicleLightOFF</Value >
7564 <Description >The state of vehicle lights.</Description >
7665 </Field >
77- <Field DataType = " ePedestrianTrafficLight " ID =" 31" Name =" lightPedestrian" >
66+ <Field ID =" 31" Name =" lightPedestrian" DataType = " ePedestrianTrafficLight " >
7867 <Value IsDefault =" true" >ePedestrianTrafficLight::PedestrianLightOFF</Value >
7968 <Description >Describes the state of pedestrian lights.</Description >
8069 </Field >
8170 </FieldList >
8271 </DataType >
8372 </DataTypeList >
8473 <AttributeList >
85- <Attribute DataType = " sTrafficLight " ID =" 32" Name =" TrafficSouthNorth" Notify =" OnChange" >
74+ <Attribute ID =" 32" Name =" TrafficSouthNorth" DataType = " sTrafficLight " Notify =" OnChange" >
8675 <Description >The south-north traffic.</Description >
8776 </Attribute >
88- <Attribute DataType = " sTrafficLight " ID =" 33" Name =" TrafficEastWest" Notify =" OnChange" >
77+ <Attribute ID =" 33" Name =" TrafficEastWest" DataType = " sTrafficLight " Notify =" OnChange" >
8978 <Description >The east-west traffic</Description >
9079 </Attribute >
9180 </AttributeList >
9281 <MethodList >
93- <Method ID =" 21" MethodType = " broadcast " Name = " SouthNorth " >
82+ <Method ID =" 21" Name = " SouthNorth " MethodType = " Broadcast " >
9483 <Description >Broadcasts the light states of south-north direction.</Description >
9584 <ParamList >
96- <Parameter DataType = " eVehicleTrafficLight " ID = " 23 " Name = " LightVehicle " >
85+ <Parameter ID = " 51 " Name = " LightVehicle " DataType = " eVehicleTrafficLight " >
9786 <Description >Light state for vehicles</Description >
9887 </Parameter >
99- <Parameter DataType = " ePedestrianTrafficLight " ID = " 24 " Name = " LightPedestrian " >
88+ <Parameter ID = " 52 " Name = " LightPedestrian " DataType = " ePedestrianTrafficLight " >
10089 <Description >Light state for pedestrians.</Description >
10190 </Parameter >
10291 </ParamList >
10392 </Method >
104- <Method ID =" 25" MethodType = " broadcast " Name = " EastWest " >
93+ <Method ID =" 25" Name = " EastWest " MethodType = " Broadcast " >
10594 <Description >Broadcasts the light states of east-west direction.</Description >
10695 <ParamList >
107- <Parameter DataType = " eVehicleTrafficLight " ID = " 26 " Name = " LightVehicle " >
96+ <Parameter ID = " 53 " Name = " LightVehicle " DataType = " eVehicleTrafficLight " >
10897 <Description >Light state for vehicles</Description >
10998 </Parameter >
110- <Parameter DataType = " ePedestrianTrafficLight " ID = " 27 " Name = " LightPedestrian " >
99+ <Parameter ID = " 54 " Name = " LightPedestrian " DataType = " ePedestrianTrafficLight " >
111100 <Description >Light state for pedestrians.</Description >
112101 </Parameter >
113102 </ParamList >
114103 </Method >
115104 </MethodList >
116- </ServiceInterface >
105+ </ServiceInterface >
0 commit comments