titanization.patch 518 KB
Newer Older
+                        typeOfAddress         := e_manual,
+                        stationType           := e_passengerCar,
+                        stationCountryCode    := 33,
garciay's avatar
garciay committed
+                        mid                   := '001C6B0D02FF'O
+                    },
+                    timestamp_                                    := 0,
+                    latitude                                      := 0,
+                    longitude                                     := 0,
+                    pai                                           := '0'B,
+                    speed                                         := 30,
+                    heading                                       := 0
+                } // End of c_PICS_UC6_VEHICLE_POSITION
+                
+                const GeoArea c_PICS_UC6_VEHICLE_TEMPLATE_GEOAREA := {
+                    shape := e_geoElip,
+                    area := {
+                        geoAreaPosLatitude                        := 0,
+                        geoAreaPosLongitude                       := 0,
+                        distanceA                                 := 5,
+                        distanceB                                 := 3,
+                        angle                                     := 0
+                    }
+                } // End of c_PICS_UC6_VEHICLE_GEOAREA
+                
+            } // End of group camUseCase6VehicleDescription 
+            
+            group camUseCase6SyncLocation {
+                
+                /**
+                 * @desc Coordinates of the collision point
+                 */
garciay's avatar
garciay committed
+                const ThreeDLocation PICS_UC6_COLLISION_POINT := {
+                    latitude                                      := 435522970,
+                    longitude                                     := 103000170,
+                    elevation                                     := '0000'O
+                } // End of c_PICS_UC6_COLLISION_POINT
+                
+                /**
+                 * @desc Vehicle detection area
+                 */
+                const RectangularRegion c_PICS_UC6_CAM_DETECTION_AREA := {
+                    northwest := {
garciay's avatar
garciay committed
+                        latitude                                      := 435529170,
+                        longitude                                     := 102998330
+                    },
+                    southeast := {
garciay's avatar
garciay committed
+                        latitude                                      := 435522420,
+                        longitude                                     := 103011400
+                    }
+                } // End of c_PICS_UC6_CAM_DETECTION_AREA
+                
+            } // End of group camUseCase6SyncLocation 
+            
+        } // End of group camUseCase6
+        
+        group camUseCase7 {
+            
+            /**
+             * @desc RSU GN address
+             */
+            const GN_Address c_PICS_UC7_GN_ADDRESS := {
+                typeOfAddress                               := e_manual,
+                stationType                                 := e_bus,
+                stationCountryCode                          := 39,
+                mid                                         := '001C6B0DEEEE'O
+            } // End of c_PICS_UC7_GN_ADDRESS
+            
+            const RsuParm c_PICS_UC7_LPV := {
+                longPosVector := {
+                    gnAddr                                  := c_PICS_UC7_GN_ADDRESS,
+                    timestamp_                              := 0,
+                    latitude                                := 435582150,
+                    longitude                               := 103065170,
+                    pai                                     := '0'B,
+                    speed                                   := 0,
+                    heading                                 := 10
+                },
+                stationID                                   := 7895,
+                stationType := StationType_passengerCar_,
+                vehicleRole := taxi,
+                geoShape                                    := e_geoCircle,
+                geoParms := {
+                    radius                                  := 300
+                },
+                pathHistory                                 := {}
+            } // End of c_PICS_UC7_LPV
+            
+            const ReferencePosition c_PICS_UC7_COLLISION_POINT := {
+                latitude                                    := 435582150,
+                longitude                                   := 103065170,
+                positionConfidenceEllipse                   := {
+                    semiMajorConfidence   := 100,
+                    semiMinorConfidence   := 100,
+                    semiMajorOrientation  := HeadingValue_wgs84North_
+                },
+                altitude                                    := {
+                    altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
+                    altitudeConfidence := unavailable
+                }
+            } // End of c_PICS_UC7_COLLISION_POINT
+            
+        } // End of group camUseCase7
+        
+        group camUseCase9 {
+            
+            const ProtectedCommunicationZone c_PICS_USECASE9_PCZ_1 := {
+                protectedZoneType        := cenDsrcTolling,
+                expiryTime               := omit,
+                protectedZoneLatitude    := 435838400,
+                protectedZoneLongitude   := 103249780,
garciay's avatar
garciay committed
+                protectedZoneRadius      := 100,
+                protectedZoneID          := 1
+            } // End of c_PICS_USECASE9_PCZ_1
+            
+        } // End of group camUseCase7
+        
+    } // End of group camParams 
+    
+    /**
+     * @desc This group describes the DENM common settings for the each use cases and for each RSU.
+     */
+    group denmEvents {
+        
+        /**
+         * @desc Common settings
+         */
+        group denmCommonSettings {
+            
+            const BtpPortId c_PICS_DENM_BTP_DESTINATION_PORT := 2002;
+            
+            const BtpPortId c_PICS_DENM_BTP_SOURCE_PORT      := 0;
+            
+            const UInt32 c_PICS_DENM_ITS_AID                 := 37;
+            
+            const PosConfidenceEllipse c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE := {
+                semiMajorConfidence   := 100,
+                semiMinorConfidence   := 100,
garciay's avatar
garciay committed
+                semiMajorOrientation  := 0
+            } // End of c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE
+            
+            const Altitude c_PICS_DENM_ALTITUDE := {
+                altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
garciay's avatar
garciay committed
+                altitudeConfidence := alt_000_01
+            } // End of c_PICS_DENM_ALTITUDE
+            
+            /**
+             * @desc DENM repetition interval, in ms
+             */
+            const TransmissionInterval c_PICS_DENM_REPETITION_INTERVAL := 1000;
+            
+            /**
+             * @desc DENM RelevanceDistance
+             */
+            const RelevanceDistance c_PICS_DENM_RELEVANCE_DISTANCE := lessThan200m;
+            
+            /**
+             * @desc DENM ValidityDuration
+             */
+            const ValidityDuration c_PICS_DENM_VALIDITY_DURATION := 90 * 60; // 90 minutes
+            
+            /**
+             * @desc DENM RelevanceTrafficDirection
+             */
+            const RelevanceTrafficDirection c_PICS_DENM_RELEVANCE_TRAFFIC_DIRECTION := upstreamTraffic;
+            
+            
+        } // End of group denmCommonSettings
+        
+        /**
+         * @desc Use case #1: Z1-D1-SL/Speed limit
+         */
+        group denmUseCase1 {
+            
+            /**
+             * @desc Use case #1: Z1-D1-EP/Event position
+             */
+            group denmZone1 {
+                
+                const SpeedLimit c_PICS_SPEED_LIMIT := 30;
+                
+                group denmZone1_D1 {
+                    
+                    /**
+                     * @desc Z1-D1-EP/POS0
+                     */
+                    const DeltaReferencePosition c_PICS_Z1_D1_POS0 := {
garciay's avatar
garciay committed
+                        deltaLatitude                       := 2616,
+                        deltaLongitude                      := 4067,
3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501
+                        deltaAltitude                       := 0
+                    }; // End of c_PICS_Z1_D1_POS0
+                    
+                    /**
+                     * @desc Z1-D1-EP/POS1
+                     */
+                    const ReferencePosition c_PICS_Z1_D1_EP := {
+                        latitude                                    := 435525352,                               // Z1-D1-EP/latitude
+                        longitude                                   := 103003415,                               // Z1-D1-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z1_D1_EP
+                    
+                    /**
+                     * @desc Z1-D1-EP/EventHistory1
+                     */
+                    const EventHistory c_PICS_Z1_D1_Hx := { 
+                        { // Z1_D1_H1
+                            eventPosition := {
+                                deltaLatitude                       := -2546,
+                                deltaLongitude                      := -3697,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z1_D1_H2
+                            eventPosition := {
+                                deltaLatitude                       := -3699,
+                                deltaLongitude                      := -5788,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z1_D1_Hx
+                    
+                    /**
+                     * @desc Z1-D1-Traces/Trace1
+                     */
+                    const Traces c_PICS_Z1_D1_Tx := {
+                        {
+                        { // Z1-D1-T1
+                            pathPosition := {
+                                deltaLatitude                       := 4659,
+                                deltaLongitude                      := 7205,
+                                deltaAltitude                       := 0
+                            },
+                            pathDeltaTime                           := omit
+                        },
+                        { // Z1-D1-T2
+                            pathPosition := {
+                                deltaLatitude                       := 510,
+                                deltaLongitude                      := 720,
+                                deltaAltitude                       := 0
+                            },
+                            pathDeltaTime                           := omit
+                        },
+                        { // Z1-D1-T3
+                            pathPosition := {
+                                deltaLatitude                       := 208,
+                                deltaLongitude                      := 531,
+                                deltaAltitude                       := 0
+                            },
+                            pathDeltaTime                           := omit
+                        },
+                        { // Z1-D1-T4
+                            pathPosition := {
+                                deltaLatitude                       := 154,
+                                deltaLongitude                      := 409,
+                                deltaAltitude                       := 0
+                            },
+                            pathDeltaTime                           := omit
+                        },
+                        { // Z1-D1-T5
+                            pathPosition := {
+                                deltaLatitude                       := 160,
+                                deltaLongitude                      := 1041,
+                                deltaAltitude                       := 0
+                            },
+                            pathDeltaTime                           := omit
+                        }
+                        }
+                    }; // End of c_PICS_Z1_D1_Tx
+                    
+                    const DenmParm c_PICS_Z1_D1 := {
+                        eventPosition                               := c_PICS_Z1_D1_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z1_D1_Hx,
+                        traces                                      := c_PICS_Z1_D1_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := availableForDriving,
+                                drivingLaneStatus                   := '0001'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := c_PICS_Z1_D1_POS0,
+                            trafficFlowRule                         := passToRight,
+                            referenceDenms                          := omit
+                        }
+                    } // End of c_PICS_Z1_D1
+                    
+                } // End of group denmZone1_D1
+                
+                group denmZone1_D2 {
+                    
+                    /**
+                     * @desc Z1-D2-EP/POS2
+                     */
+                    const ReferencePosition c_PICS_Z1_D2_EP := {
+                        latitude                                    := 435519107,                               // Z1-D2-EP/latitude
+                        longitude                                   := 102993930,                               // Z1-D2-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z1_D2_EP
+                    
+                    /**
+                     * @desc Z1-D2-EP/EventHistory2
+                     */
+                    const EventHistory c_PICS_Z1_D2_Hx := { 
+                        { // Z1_D2_H1
+                            eventPosition := {
+                                deltaLatitude                       := -2750,
+                                deltaLongitude                      := -4251,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z1_D2_H2
+                            eventPosition := {
+                                deltaLatitude                       := -2936,
+                                deltaLongitude                      := -3641,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z1_D2_Hx
+                    
+                    /**
+                     * @desc Z1-D2-Traces/Trace2
+                     */
+                    const Traces c_PICS_Z1_D2_Tx := {
+                        {
+                            { // Z1-D2-T1
+                                pathPosition := {
+                                    deltaLatitude                       := 3699,
+                                    deltaLongitude                      := 5788,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D2-T2
+                                pathPosition := {
+                                    deltaLatitude                       := 456,
+                                    deltaLongitude                      := 598,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D2-T3
+                                pathPosition := {
+                                    deltaLatitude                       := 450,
+                                    deltaLongitude                      := 697,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D2-T4
+                                pathPosition := {
+                                    deltaLatitude                       := 619,
+                                    deltaLongitude                      := 963,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D2-T5
+                                pathPosition := {
+                                    deltaLatitude                       := 510,
+                                    deltaLongitude                      := 719,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z1_D2_Tx
+                    
+                    const DenmParm c_PICS_Z1_D2 := {
+                        eventPosition                               := c_PICS_Z1_D2_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z1_D2_Hx,
+                        traces                                      := c_PICS_Z1_D2_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := availableForDriving,
+                                drivingLaneStatus                   := '0011'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := omit,
+                            trafficFlowRule                         := passToRight,
+                            referenceDenms                          := omit
+                        }
+                        
+                    } // End of c_PICS_Z1_D2
+                    
+                } // End of group denmZone1_D2
+                
+                group denmZone1_D3 {
+                    
+                    /**
+                     * @desc Z1-D3-EP/POS3
+                     */
+                    const ReferencePosition c_PICS_Z1_D3_EP := {
+                        latitude                                    := 435513421,                               // Z1-D3-EP/latitude
+                        longitude                                   := 102986038,                               // Z1-D3-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z1_D3_EP
+                    
+                    /**
+                     * @desc Z1-D3-EP/EventHistory1
+                     */
+                    const EventHistory c_PICS_Z1_D3_Hx := { 
+                        { // Z1_D3_H1
+                            eventPosition := {
+                                deltaLatitude                       := -1158,
+                                deltaLongitude                      := -45,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z1_D3_H2
+                            eventPosition := {
+                                deltaLatitude                       := -1299,
+                                deltaLongitude                      := 819,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z1_D3_Hx
+                    
+                    /**
+                     * @desc Z1-D3-Traces/Trace1
+                     */
+                    const Traces c_PICS_Z1_D3_Tx := {
+                        {
+                            { // Z1-D3-T1
+                                pathPosition := {
+                                    deltaLatitude                       := 3435,
+                                    deltaLongitude                      := 4483,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D3-T2
+                                pathPosition := {
+                                    deltaLatitude                       := 626,
+                                    deltaLongitude                      := 863,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D3-T3
+                                pathPosition := {
+                                    deltaLatitude                       := 500,
+                                    deltaLongitude                      := 541,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z1-D3-T4
+                                pathPosition := {
+                                    deltaLatitude                       := 564,
+                                    deltaLongitude                      := 841,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z1_D3_Tx
+                    
+                    const DenmParm c_PICS_Z1_D3 := {
+                        eventPosition                               := c_PICS_Z1_D3_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z1_D3_Hx,
+                        traces                                      := c_PICS_Z1_D3_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := closed,
+                                drivingLaneStatus                   := '0100'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit := {
+                                deltaLatitude                       := 0,
+                                deltaLongitude                      := 0,
+                                deltaAltitude                       := 0
+                            },
+                            trafficFlowRule                         := passToLeft,
garciay's avatar
garciay committed
+                            referenceDenms                          := omit
+                        }
+                        
+                    } // End of c_PICS_Z1_D3
+                    
+                } // End of denmZone1_D3
+                
+            } // End of group denmZone1 
+            
+            group denmZone2 {
+                
+                group denmZone2_D1 {
+                    
+                    /**
+                     * @desc Z2-D1-EP/POS0
+                     */
+                    const DeltaReferencePosition c_PICS_Z2_D1_POS0 := {
garciay's avatar
garciay committed
+                        deltaLatitude                       := -676,
+                        deltaLongitude                      := -6542,
3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845
+                        deltaAltitude                       := 0
+                    }; // End of c_PICS_Z2_D1_POS0
+                    
+                    /**
+                     * @desc Z2-D1-EP/POS1
+                     */
+                    const ReferencePosition c_PICS_Z2_D1_EP := {
+                        latitude                                    := 435512286,                               // Z2-D1-EP/latitude
+                        longitude                                   := 102999675,                               // Z2-D1-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z2_D1_EP
+                    
+                    /**
+                     * @desc Z2-D1-EP/EventHistory1
+                     */
+                    const EventHistory c_PICS_Z2_D1_Hx := { 
+                        { // Z2_D1_H1
+                            eventPosition := {
+                                deltaLatitude                       := 718,
+                                deltaLongitude                      := 7406,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z2_D1_H2
+                            eventPosition := {
+                                deltaLatitude                       := 577,
+                                deltaLongitude                      := 5717,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z2_D1_Hx
+                    
+                    /**
+                     * @desc Z2-D1-Traces/Trace1
+                     */
+                    const Traces c_PICS_Z2_D1_Tx := {
+                        {
+                            { // Z2-D1-T1
+                                pathPosition := {
+                                    deltaLatitude                       := -1377,
+                                    deltaLongitude                      := -12164,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D1-T2
+                                pathPosition := {
+                                    deltaLatitude                       := 55,
+                                    deltaLongitude                      := -609,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D1-T3
+                                pathPosition := {
+                                    deltaLatitude                       := 312,
+                                    deltaLongitude                      := -587,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D1-T4
+                                pathPosition := {
+                                    deltaLatitude                       := 358,
+                                    deltaLongitude                      := -421,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D1-T5
+                                pathPosition := {
+                                    deltaLatitude                       := 860,
+                                    deltaLongitude                      := -254,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z2_D1_Tx
+                    
+                    const DenmParm c_PICS_Z2_D1 := {
+                        eventPosition                               := c_PICS_Z2_D1_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z2_D1_Hx,
+                        traces                                      := c_PICS_Z2_D1_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := availableForDriving,
+                                drivingLaneStatus                   := '0001'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := c_PICS_Z2_D1_POS0,
+                            trafficFlowRule                         := passToRight,
+                            referenceDenms                          := omit
+                        }
+                    } // End of c_PICS_Z2_D1
+                    
+                } // End of group denmZone2_D1
+                
+                group denmZone2_D2 {
+                    
+                    /**
+                     * @desc Z2-D2-EP/POS2
+                     */
+                    const ReferencePosition c_PICS_Z2_D2_EP := {
+                        latitude                                    := 435513581,                               // Z2-D2-EP/latitude
+                        longitude                                   := 103012798,                               // Z2-D2-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z2_D2_EP
+                    
+                    /**
+                     * @desc Z2-D2-EP/EventHistory2
+                     */
+                    const EventHistory c_PICS_Z2_D2_Hx := { 
+                        { // Z2_D2_H1
+                            eventPosition := {
+                                deltaLatitude                       := 3883,
+                                deltaLongitude                      := 5826,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z2_D2_H2
+                            eventPosition := {
+                                deltaLatitude                       := 3550,
+                                deltaLongitude                      := 1859,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z2_D2_Hx
+                    
+                    /**
+                     * @desc Z2-D2-Traces/Trace2
+                     */
+                    const Traces c_PICS_Z2_D2_Tx := {
+                        {
+                            { // Z2-D2-T1
+                                pathPosition := {
+                                    deltaLatitude                       := -861,
+                                    deltaLongitude                      := -8506,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D2-T2
+                                pathPosition := {
+                                    deltaLatitude                       := -88,
+                                    deltaLongitude                      := -949,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D2-T3
+                                pathPosition := {
+                                    deltaLatitude                       := -97,
+                                    deltaLongitude                      := -817,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D2-T4
+                                pathPosition := {
+                                    deltaLatitude                       := -118,
+                                    deltaLongitude                      := -815,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D2-T5
+                                pathPosition := {
+                                    deltaLatitude                       := -5,
+                                    deltaLongitude                      := -631,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z2_D2_Tx
+                    
+                    const DenmParm c_PICS_Z2_D2 := {
+                        eventPosition                               := c_PICS_Z2_D2_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z2_D2_Hx,
+                        traces                                      := c_PICS_Z2_D2_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := availableForDriving,
+                                drivingLaneStatus                   := '0011'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := omit,
+                            trafficFlowRule                         := passToRight,
+                            referenceDenms                          := omit
+                        }
+                        
+                    } // End of c_PICS_Z2_D2
+                    
+                } // End of group denmZone2_D2
+                
+                group denmZone2_D3 {
+                    
+                    /**
+                     * @desc Z2-D3-EP/POS3
+                     */
+                    const ReferencePosition c_PICS_Z2_D3_EP := {
+                        latitude                                    := 435521014,                               // Z2-D3-EP/latitude
+                        longitude                                   := 103020483,                               // Z2-D3-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z2_D3_EP
+                    
+                    /**
+                     * @desc Z2-D3-EP/EventHistory1
+                     */
+                    const EventHistory c_PICS_Z2_D3_Hx := { 
+                        { // Z2_D3_H1
+                            eventPosition := {
+                                deltaLatitude                       := 3169,
+                                deltaLongitude                      := 1084,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z2_D3_H2
+                            eventPosition := {
+                                deltaLatitude                       := 2020,
+                                deltaLongitude                      := -1029,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z2_D3_Hx
+                    
+                    /**
+                     * @desc Z2-D3-Traces/Trace1
+                     */
+                    const Traces c_PICS_Z2_D3_Tx := {
+                        {
+                            { // Z2-D3-T1
+                                pathPosition := {
+                                    deltaLatitude                       := -6382,
+                                    deltaLongitude                      := -3852,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D3-T2
+                                pathPosition := {
+                                    deltaLatitude                       := -132,
+                                    deltaLongitude                      := -653,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D3-T3
+                                pathPosition := {
+                                    deltaLatitude                       := -355,
+                                    deltaLongitude                      := -1040,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z2-D3-T4
+                                pathPosition := {
+                                    deltaLatitude                       := -362,
+                                    deltaLongitude                      := -941,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z2_D3_Tx
+                    
+                    const DenmParm c_PICS_Z2_D3 := {
+                        eventPosition                               := c_PICS_Z2_D3_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z2_D3_Hx,
+                        traces                                      := c_PICS_Z2_D3_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := closed,
+                                drivingLaneStatus                   := '0100'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := omit,
+                            trafficFlowRule                         := passToLeft,
+                            referenceDenms                          := omit
+                        }
+                    } // End of c_PICS_Z2_D3
+                    
+                } // group denmZone2_D3
+                
+            } // End of group denmZone2
+            
+            group denmZone3 {
+                
+                group denmZone3_D1 {
+                        
+                    /**
+                     * @desc Z3-D1-EP/POS0
+                     */
+                    const DeltaReferencePosition c_PICS_Z3_D1_POS0 := {
garciay's avatar
garciay committed
+                        deltaLatitude                       := -3495,
+                        deltaLongitude                      := -5236,
+                        deltaAltitude                       := 0
+                    }; // End of c_PICS_Z3_D1_POS0
+                    
+                    /**
+                     * @desc Z3-D1-EP/POS1
+                     */
+                    const ReferencePosition c_PICS_Z3_D1_EP := {
+                        latitude                                    := 435537393,                               // Z3-D1-EP/latitude
+                        longitude                                   := 103003415,                               // Z3-D1-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z3_D1_EP
+                        
+                    /**
+                     * @desc Z3-D1-EP/EventHistory1
+                     */
+                    const EventHistory c_PICS_Z3_D1_Hx := { 
+                        { // Z3_D1_H1
+                            eventPosition := {
+                                deltaLatitude                       := -2546,
+                                deltaLongitude                      := -3697,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z3_D1_H2
+                            eventPosition := {
+                                deltaLatitude                       := 2969,
+                                deltaLongitude                      := 3874,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z3_D1_Hx
+                        
+                    /**
+                     * @desc Z3-D1-Traces/Trace1
+                     */
+                    const Traces c_PICS_Z3_D1_Tx := {
+                        {
+                            { // Z3-D1-T1
+                                pathPosition := {
+                                    deltaLatitude                       := -4657,
+                                    deltaLongitude                      := -9320,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z3-D1-T2
+                                pathPosition := {
+                                    deltaLatitude                       := -34,
+                                    deltaLongitude                      := -1018,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z3-D1-T3
+                                pathPosition := {
+                                    deltaLatitude                       := -109,
+                                    deltaLongitude                      := -897,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z3-D1-T4
+                                pathPosition := {
+                                    deltaLatitude                       := -247,
+                                    deltaLongitude                      := -797,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            },
+                            { // Z3-D1-T5
+                                pathPosition := {
+                                    deltaLatitude                       := -258,
+                                    deltaLongitude                      := -675,
+                                    deltaAltitude                       := 0
+                                },
+                                pathDeltaTime                           := omit
+                            }
+                        }
+                    }; // End of c_PICS_Z3_D1_Tx
+                        
+                    const DenmParm c_PICS_Z3_D1 := {
+                        eventPosition                               := c_PICS_Z3_D1_EP,
+                        causeCodeType                               := CauseCodeType_roadworks_,
+                        eventHistory                                := c_PICS_Z3_D1_Hx,
+                        traces                                      := c_PICS_Z3_D1_Tx,
+                        roadWorksContainerExtended := {
+                            lightBarSirenInUse                      := omit,
+                            closedLanes := {
+                                hardShoulderStatus                  := availableForDriving,
+                                drivingLaneStatus                   := '0001'B
+                            },
+                            restriction                             := omit,
+                            speedLimit                              := c_PICS_SPEED_LIMIT,
+                            incidentIndication                      := omit,
+                            recommendedPath                         := omit,
+                            startingPointSpeedLimit                 := c_PICS_Z3_D1_POS0,
+                            trafficFlowRule                         := passToRight,
+                            referenceDenms                          := omit
+                        }
+                    } // End of c_PICS_Z3_D1
+                        
+                } // End of group denmZone3_D1
+                    
+                group denmZone3_D2 {
+                        
+                    /**
+                     * @desc Z3-D2-EP/POS2
+                     */
+                    const ReferencePosition c_PICS_Z3_D2_EP := {
+                        latitude                                    := 435543599,                               // Z3-D2-EP/latitude
+                        longitude                                   := 103041247,                               // Z3-D2-EP/longitude
+                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
+                        altitude                                    := c_PICS_DENM_ALTITUDE
+                    }; // End of c_PICS_Z3_D2_EP
+                        
+                    /**
+                     * @desc Z3-D2-EP/EventHistory2
+                     */
+                    const EventHistory c_PICS_Z3_D2_Hx := { 
+                        { // Z3_D2_H1
+                            eventPosition := {
+                                deltaLatitude                       := 1910,
+                                deltaLongitude                      := 2225,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        },
+                        { // Z3_D2_H2
+                            eventPosition := {
+                                deltaLatitude                       := 4675,
+                                deltaLongitude                      := -6121,
+                                deltaAltitude                       := 0
+                            },
+                            eventDeltaTime                          := omit,
+                            informationQuality                      := 0
+                        }
+                    }; // End of c_PICS_Z3_D2_Hx
+                        
+                    /**
+                     * @desc Z3-D2-Traces/Trace2
+                     */
+                    const Traces c_PICS_Z3_D2_Tx := {
+                        {
+                            { // Z3-D2-T1
+                                pathPosition := {
+                                    deltaLatitude                       := -3929,
+                                    deltaLongitude                      := -5291,