LibItsCommon_ASN1_ISDSRC_NamedNumbers.ttcn 3.56 KB
Newer Older
garciay's avatar
garciay committed
1
2
3
4
5
6
//This module contains TTCN-3 values for ASN.1 named numbers, aligned with TTWorkbench name convention

module LibItsCommon_ASN1_ISDSRC_NamedNumbers {

import from DSRC language "ASN.1:1997" all;

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
 group IS_DSCR_constants {

   group LaneParameter_constants {

     const LaneAttributes_Barrier LaneAttributes_Barrier_median_RevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Bike LaneAttributes_Bike_bikeRevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Crosswalk LaneAttributes_Crosswalk_crosswalkRevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Parking LaneAttributes_Parking_parkingRevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Sidewalk LaneAttributes_Sidewalk_sidewalk_RevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Striping LaneAttributes_Striping_stripeToConnectingLanesRevocableLane_ := '0000000000000000'B;
     const LaneAttributes_TrackedVehicle LaneAttributes_TrackedVehicle_spec_RevocableLane_ := '0000000000000000'B;
     const LaneAttributes_Vehicle LaneAttributes_Vehicle_isVehicleRevocableLane_ := '00000000'B;
     const LaneDirection LaneDirection_ingressPath_ := '00'B;
     const LaneDirection LaneDirection_egressPath_ := '01'B;
   } //end LaneParameter_constants

   group Intersection_constants {
     const IntersectionStatusObject IntersectionStatusObject_manualControlIsEnabled_    := '0000000000000000'B;
     const IntersectionStatusObject IntersectionStatusObject_stopTimeIsActivated_       := '0000000000000001'B;
     const IntersectionStatusObject IntersectionStatusObject_failureFlash_              := '0000000000000010'B;
     const IntersectionStatusObject IntersectionStatusObject_preemptIsActive_           := '0000000000000011'B;
     const IntersectionStatusObject IntersectionStatusObject_signalPriorityIsActive_    := '0000000000000100'B;
     const IntersectionStatusObject IntersectionStatusObject_fixedTimeOperation_        := '0000000000000101'B;
     const IntersectionStatusObject IntersectionStatusObject_trafficDependentOperation_ := '0000000000000110'B;
     const IntersectionStatusObject IntersectionStatusObject_standbyOperation_          := '0000000000000111'B;
     const IntersectionStatusObject IntersectionStatusObject_failureMode_               := '0000000000001000'B;
     const IntersectionStatusObject IntersectionStatusObject_off_                       := '0000000000001001'B;
     const IntersectionStatusObject IntersectionStatusObject_recentMAPmessageUpdate_    := '0000000000001010'B;
     const IntersectionStatusObject IntersectionStatusObject_recentChangeInMAPassignedLanesIDsUsed_ := '0000000000001011'B;
     const IntersectionStatusObject IntersectionStatusObject_noValidMAPisAvailableAtThisTime_ := '0000000000001100'B;
     const IntersectionStatusObject IntersectionStatusObject_noValidSPATisAvailableAtThisTime_ := '0000000000001101'B;
   } // End of group Intersection_constants

   group requestor_description {
     const TransitVehicleStatus TransitVehicleStatus_loading_ := '10000000'B;
     const TransitVehicleStatus TransitVehicleStatus_anADAuse_ := '01000000'B;
     const TransitVehicleStatus TransitVehicleStatus_aBikeLoad_ := '00100000'B;
     const TransitVehicleStatus TransitVehicleStatus_doorOpen_ := '00010000'B;
     const TransitVehicleStatus TransitVehicleStatus_charging_ := '00001000'B;
     const TransitVehicleStatus TransitVehicleStatus_atStopLine_ := '00000100'B;

   } // End of of group requestor_description

 } // End of group IS_DSCR_constants
garciay's avatar
garciay committed
51
52

} // End of module LibItsCommon_ASN1_ISDSRC_NamedNumbers