ItsRSUsSimulator_Pics.ttcn 286 KB
Newer Older
garciay's avatar
garciay committed
1
2
3
4
5
6
7
8
9
10
11
12
module ItsRSUsSimulator_Pics {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    
    // LibIts
    import from ITS_Container language "ASN.1:1997" all;
    import from CAM_PDU_Descriptions language "ASN.1:1997" all;
    import from DENM_PDU_Descriptions language "ASN.1:1997" all;
    import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
    import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
    import from IVIM_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
13
    import from IVI language "ASN.1:1997" all;
garciay's avatar
garciay committed
14
15
    import from SREM_PDU_Descriptions language "ASN.1:1997" all;
    import from SSEM_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
16
17
    import from DSRC language "ASN.1:1997" all;
    import from ElectronicRegistrationIdentificationVehicleDataModule language "ASN.1:1997" all;
garciay's avatar
garciay committed
18
19
20
21
22
23
24
25
26
27
28
    
    // LibItsBtp
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_Templates all;
    
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TypesAndValues all;
    
    // ItsRSUsSimulator
    import from ItsRSUsSimulator_TypesAndValues all;
    
29
30
31
    /**
     * @desc This group describes the RSUs installed on the track
     */
garciay's avatar
garciay committed
32
33
    group rsuParameters {
        
34
35
36
        /**
         * @desc RSU #1
         */
garciay's avatar
garciay committed
37
38
39
40
41
42
43
44
45
        group rsu1 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU1 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
46
                mid                   := 'AABBCCDDEE01'O
garciay's avatar
garciay committed
47
48
            } // End of PICS_RSU_GN_ADDRESS_RSU1
            
49
            modulepar RsuParm PICS_RSU1 := {
garciay's avatar
garciay committed
50
51
52
53
                gnAddress := PICS_RSU_GN_ADDRESS_RSU1,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU1,
                    timestamp_    := 0,
54
55
                    latitude      := 435510500,
                    longitude     := 102987300,
garciay's avatar
garciay committed
56
57
58
59
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
60
                stationID := 1111101,
garciay's avatar
garciay committed
61
62
63
64
65
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU1
66
            } // End of PICS_RSU1
garciay's avatar
garciay committed
67
68
69
70
71
72
73
74
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU1 := {};
            
        } // End of group rsu1
        
75
76
77
        /**
         * @desc RSU #2
         */
garciay's avatar
garciay committed
78
        group rsu2 {
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU2 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE02'O
            } // End of PICS_RSU_GN_ADDRESS_RSU2
            
            modulepar RsuParm PICS_RSU2 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU2,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU2,
                    timestamp_    := 0,
95
96
                    latitude      := 435512090,
                    longitude     := 103002510,
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111102,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU2
            } // End of PICS_RSU2
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU2 := {};
            
        } // End of group rsu2
        
        /**
         * @desc RSU #3
         */
        group rsu3 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU3 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE03'O
            } // End of PICS_RSU_GN_ADDRESS_RSU3
            
            modulepar RsuParm PICS_RSU3 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU3,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU3,
                    timestamp_    := 0,
136
137
                    latitude      := 435512090,
                    longitude     := 103002510,
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111103,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU3
            } // End of PICS_RSU3
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU3 := {};
            
        } // End of group rsu3
        
        /**
         * @desc RSU #4
         */
        group rsu4 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU4 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE04'O
            } // End of PICS_RSU_GN_ADDRESS_RSU4
            
            modulepar RsuParm PICS_RSU4 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU4,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU4,
                    timestamp_    := 0,
177
178
                    latitude      := 435582150,
                    longitude     := 103065170,
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111104,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU4
            } // End of PICS_RSU4
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU4 := {};
            
        } // End of group rsu4
        
        /**
         * @desc RSU #5
         */
        group rsu5 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU5 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE05'O
            } // End of PICS_RSU_GN_ADDRESS_RSU5
            
            modulepar RsuParm PICS_RSU5 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU5,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU5,
                    timestamp_    := 0,
218
219
                    latitude      := 435563500,
                    longitude     := 103047450,
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111105,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU5
            } // End of PICS_RSU5
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU5 := {};
            
        } // End of group rsu5
        
        /**
         * @desc RSU #6
         */
        group rsu6 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU6 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE06'O
            } // End of PICS_RSU_GN_ADDRESS_RSU6
            
            modulepar RsuParm PICS_RSU6 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU6,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU6,
                    timestamp_    := 0,
259
260
                    latitude      := 435570660,
                    longitude     := 103019170,
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111106,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU6
            } // End of PICS_RSU6
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU6 := {};
            
        } // End of group rsu6
        
        /**
         * @desc RSU #7
         */
        group rsu7 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU7 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE07'O
            } // End of PICS_RSU_GN_ADDRESS_RSU7
            
            modulepar RsuParm PICS_RSU7 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU7,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU7,
                    timestamp_    := 0,
300
301
                    latitude      := 435550580,
                    longitude     := 103032980,
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111107,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU7
            } // End of PICS_RSU7
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU7 := {};
            
        } // End of group rsu7
        
        /**
         * @desc RSU #8
         */
        group rsu8 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU8 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE08'O
            } // End of PICS_RSU_GN_ADDRESS_RSU8
            
            modulepar RsuParm PICS_RSU8 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU8,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU8,
                    timestamp_    := 0,
341
342
                    latitude      := 435546630,
                    longitude     := 103041900,
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111108,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU8
            } // End of PICS_RSU8
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU8 := {};
            
        } // End of group rsu8
        
        /**
         * @desc RSU #9
         */
        group rsu9 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU9 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE09'O
            } // End of PICS_RSU_GN_ADDRESS_RSU9
            
            modulepar RsuParm PICS_RSU9 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU9,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU9,
                    timestamp_    := 0,
382
383
                    latitude      := 435541280,
                    longitude     := 103015780,
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111109,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU9
            } // End of PICS_RSU9
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU9 := {};
            
        } // End of group rsu9
        
        /**
         * @desc RSU #10
         */
        group rsu10 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU10 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE0A'O
            } // End of PICS_RSU_GN_ADDRESS_RSU10
            
            modulepar RsuParm PICS_RSU10 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU10,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU10,
                    timestamp_    := 0,
423
424
                    latitude      := 435535520,
                    longitude     := 103010390,
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111110,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU10
            } // End of PICS_RSU10
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU10 := {};
            
        } // End of group rsu10
        
        /**
         * @desc RSU #11
         */
        group rsu11 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU11 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE0B'O
            } // End of PICS_RSU_GN_ADDRESS_RSU11
            
            modulepar RsuParm PICS_RSU11 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU11,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU11,
                    timestamp_    := 0,
464
465
                    latitude      := 435528780,
                    longitude     := 103008650,
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111111,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU11
            } // End of PICS_RSU11
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU11 := {};
            
        } // End of group rsu11
        
        /**
         * @desc RSU #12
         */
        group rsu12 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU12 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
                mid                   := 'AABBCCDDEE0C'O
            } // End of PICS_RSU_GN_ADDRESS_RSU12
            
            modulepar RsuParm PICS_RSU12 := {
                gnAddress := PICS_RSU_GN_ADDRESS_RSU12,
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU12,
                    timestamp_    := 0,
                    latitude      := 43553123,
                    longitude     := 10302479,
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111112,
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 500
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU12
            } // End of PICS_RSU12
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU12 := {};
            
        } // End of group rsu12
garciay's avatar
garciay committed
525
526
        
        modulepar RsuParmList PICS_RSU_PARAMS := {
527
528
529
530
531
532
533
534
535
536
537
538
            PICS_RSU1,
            PICS_RSU2,
            PICS_RSU3,
            PICS_RSU4,
            PICS_RSU5,
            PICS_RSU6,
            PICS_RSU7,
            PICS_RSU8,
            PICS_RSU9,
            PICS_RSU10,
            PICS_RSU11,
            PICS_RSU12
garciay's avatar
garciay committed
539
540
541
542
        } // End of PICS_RSU_PARAMS
        
    } // End of group rsuParameters 
    
garciay's avatar
garciay committed
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
    /**
     * @desc This group describes the BEACON common settings for the RSUs CAM message broadcast
     */
    group beaconParams {
        
        /**
         * @desc Common settings
         */
        group beaconCommonSettings {
            
            modulepar UInt32 PICS_BEACON_ITS_AID                 := 38;
            
        } // End of group beaconCommonSettings
        
    } // End of group beaconParams
    
559
560
561
    /**
     * @desc This group describes the CAM common settings for the RSUs CAM message broadcast
     */
garciay's avatar
garciay committed
562
563
    group camParams {
        
564
565
566
567
        /**
         * @desc Common settings
         */
        group camCommonSettings {
garciay's avatar
garciay committed
568
569
570
            
            modulepar BtpPortId PICS_CAM_BTP_DESTINATION_PORT := 2001;
            
garciay's avatar
garciay committed
571
            modulepar BtpPortId PICS_CAM_BTP_SOURCE_PORT      := 0;
garciay's avatar
garciay committed
572
            
573
574
            modulepar UInt32 PICS_CAM_ITS_AID                 := 36;
            
575
        } // End of group camCommonSettings
garciay's avatar
garciay committed
576
        
garciay's avatar
garciay committed
577
        group camUseCase6 {
578
            
garciay's avatar
garciay committed
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
            group camUseCase6SyncLocation {
                
                modulepar LongPosVector PICS_UC6_DETECTION_POINT := {
                    gnAddr := {
                        typeOfAddress         := e_manual,
                        stationType           := e_unknown,
                        stationCountryCode    := 0,
                        mid                   := '000000000000'O
                    },
                    timestamp_                                    := 0,
                    latitude                                      := 1234,
                    longitude                                     := 1234,
                    pai                                           := '0'B,
                    speed                                         := 0,
                    heading                                       := 0
                }
                
                /**
                 * @desc Maximum synchronisation area to start sending CAM
                 */
                modulepar float PICS_UC6_DETECTION_EPSILLON := 19.0;    // 2.0;
600
            
garciay's avatar
garciay committed
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
            } // End of group camUseCase6SyncLocation 
            
            group camUseCase6VehicleDescription {
                
                modulepar LongPosVector PICS_UC6_VEHICLE_POSITION := {
                    gnAddr := {
                        typeOfAddress         := e_manual,
                        stationType           := e_passengerCar,
                        stationCountryCode    := 33,
                        mid                   := 'AABBCCDDEEFF'O
                    },
                    timestamp_                                    := 0,
                    latitude                                      := 0,
                    longitude                                     := 0,
                    pai                                           := '0'B,
                    speed                                         := 30,
                    heading                                       := 0
                }
                
                modulepar GeoArea PICS_UC6_VEHICLE_GEOAREA := {
                    shape := e_geoElip,
                    area := {
                        geoAreaPosLatitude                        := 0,
                        geoAreaPosLongitude                       := 0,
                        distanceA                                 := 5,
                        distanceB                                 := 3,
                        angle                                     := 0
                    }
                }
                
            } // End of group camUseCase6VehicleDescription 
            
            modulepar Usecase6VehiclePositions PICS_USECASE6_VEHICLE_POSITIONS := {
                {
                    latitude                                    := 435525352,
                    longitude                                   := 103003415,
                    positionConfidenceEllipse                   := {
                        semiMajorConfidence   := SemiAxisLength_oneCentimeter_,
                        semiMinorConfidence   := SemiAxisLength_oneCentimeter_,
                        semiMajorOrientation  := HeadingValue_wgs84North_
                    },
                    altitude                                    := {
                        altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
                        altitudeConfidence := unavailable
                    }
                }
            }
            
        } // End of group camUseCase6
650
        
garciay's avatar
garciay committed
651
    } // End of group camParams 
garciay's avatar
garciay committed
652
    
653
654
655
    /**
     * @desc This group describes the DENM common settings for the each use cases and for each RSU.
     */
garciay's avatar
garciay committed
656
657
    group denmEvents {
        
658
659
660
661
        /**
         * @desc Common settings
         */
        group denmCommonSettings {
garciay's avatar
garciay committed
662
663
664
            
            modulepar BtpPortId PICS_DENM_BTP_DESTINATION_PORT := 2002;
            
garciay's avatar
garciay committed
665
            modulepar BtpPortId PICS_DENM_BTP_SOURCE_PORT      := 0;
garciay's avatar
garciay committed
666
            
667
668
            modulepar UInt32 PICS_DENM_ITS_AID                 := 37;
            
garciay's avatar
garciay committed
669
670
671
672
673
674
675
676
677
678
679
            modulepar PosConfidenceEllipse PICS_DENM_POSITION_CONFIDENCE_ELLIPSE := {
                semiMajorConfidence   := SemiAxisLength_oneCentimeter_,
                semiMinorConfidence   := SemiAxisLength_oneCentimeter_,
                semiMajorOrientation  := HeadingValue_wgs84North_
            } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE
            
            modulepar Altitude PICS_DENM_ALTITUDE := {
                altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
                altitudeConfidence := unavailable
            } // End of PICS_DENM_ALTITUDE
            
680
681
682
683
684
            /**
             * @desc DENM repetition interval, in ms
             */
            modulepar TransmissionInterval PICS_DENM_REPETITION_INTERVAL := 1000;
            
685
686
687
            /**
             * @desc DENM RelevanceDistance
             */
688
            modulepar RelevanceDistance PICS_DENM_RELEVANCE_DISTANCE := lessThan200m;
689
690
691
692
693
694
            
            /**
             * @desc DENM RelevanceTrafficDirection
             */
            modulepar RelevanceTrafficDirection PICS_DENM_RELEVANCE_TRAFFIC_DIRECTION := upstreamTraffic;
            
695
        } // End of group denmCommonSettings
garciay's avatar
garciay committed
696
        
697
698
699
700
701
702
703
704
705
706
        /**
         * @desc Use case #1: Z1-D1-SL/Speed limit
         */
        group denmUseCase1 {
            
            /**
             * @desc Use case #1: Z1-D1-EP/Event position
             */
            group denmZone1 {
                
707
708
                modulepar SpeedLimit PICS_SPEED_LIMIT := 30;
                
709
710
                group denmZone1_D1 {
                    
711
712
713
714
715
716
717
718
719
                    /**
                     * @desc Z1-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z1_D1_POS0 := {
                        deltaLatitude                       := 4659,
                        deltaLongitude                      := 7205,
                        deltaAltitude                       := 0
                    }; // End of PICS_Z1_D1_POS0
                    
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
                    /**
                     * @desc Z1-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z1_D1_EP := {
                        latitude                                    := 435525352,                               // Z1-D1-EP/latitude
                        longitude                                   := 103003415,                               // Z1-D1-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z1_D1_EP
                    
                    /**
                     * @desc Z1-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z1_D1_Hx := { 
                        { // Z1_D1_H1
                            eventPosition := {
                                deltaLatitude                       := -2546,
                                deltaLongitude                      := -3697,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
garciay's avatar
garciay committed
742
                        },
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
                        { // Z1_D1_H2
                            eventPosition := {
                                deltaLatitude                       := -3699,
                                deltaLongitude                      := -5788,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z1_D1_Hx
                    
                    /**
                     * @desc Z1-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z1_D1_Tx := {
                        {
759
760
761
762
763
764
765
                            { // Z1-D1-T1
                                pathPosition := {
                                    deltaLatitude                       := 4659,
                                    deltaLongitude                      := 7205,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
766
                            },
767
768
769
770
771
772
773
                            { // Z1-D1-T2
                                pathPosition := {
                                    deltaLatitude                       := 510,
                                    deltaLongitude                      := 720,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
774
                            },
775
776
777
778
779
780
781
                            { // Z1-D1-T3
                                pathPosition := {
                                    deltaLatitude                       := 208,
                                    deltaLongitude                      := 531,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
782
                            },
783
784
785
786
787
788
789
                            { // Z1-D1-T4
                                pathPosition := {
                                    deltaLatitude                       := 154,
                                    deltaLongitude                      := 409,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
790
                            },
791
792
793
794
795
796
797
798
                            { // Z1-D1-T5
                                pathPosition := {
                                    deltaLatitude                       := 160,
                                    deltaLongitude                      := 1041,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
799
800
801
802
803
804
805
806
807
                        }
                    }; // End of PICS_Z1_D1_Tx
                    
                    modulepar DenmParm PICS_Z1_D1 := {
                        eventPosition                               := PICS_Z1_D1_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z1_D1_Hx,
                        traces                                      := PICS_Z1_D1_Tx,
                        roadWorksContainerExtended := {
808
                            lightBarSirenInUse                      := LightBarSirenInUse_sirenActivated_,
809
810
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
811
                                drivingLaneStatus                   := '10'B
812
813
                            },
                            restriction                             := omit,
814
                            speedLimit                              := PICS_SPEED_LIMIT,
815
816
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
817
                            startingPointSpeedLimit                 := PICS_Z1_D1_POS0,
818
                            trafficFlowRule                         := passToLeft,
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z1_D1
                    
                } // End of group denmZone1_D1
                
                group denmZone1_D2 {
                    
                    /**
                     * @desc Z1-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z1_D2_EP := {
                        latitude                                    := 435519107,                               // Z1-D2-EP/latitude
                        longitude                                   := 102993930,                               // Z1-D2-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z1_D2_EP
                    
                    /**
                     * @desc Z1-D2-EP/EventHistory2
                     */
                    modulepar EventHistory PICS_Z1_D2_Hx := { 
                        { // Z1_D2_H1
                            eventPosition := {
                                deltaLatitude                       := -2750,
                                deltaLongitude                      := -4251,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
garciay's avatar
garciay committed
849
                        },
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
                        { // Z1_D2_H2
                            eventPosition := {
                                deltaLatitude                       := -2936,
                                deltaLongitude                      := -3641,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z1_D2_Hx
                    
                    /**
                     * @desc Z1-D2-Traces/Trace2
                     */
                    modulepar Traces PICS_Z1_D2_Tx := {
                        {
866
867
868
869
870
871
872
                            { // Z1-D2-T1
                                pathPosition := {
                                    deltaLatitude                       := 3699,
                                    deltaLongitude                      := 5788,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
873
                            },
874
875
876
877
878
879
880
                            { // Z1-D2-T2
                                pathPosition := {
                                    deltaLatitude                       := 456,
                                    deltaLongitude                      := 598,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
881
                            },
882
883
884
885
886
887
888
                            { // Z1-D2-T3
                                pathPosition := {
                                    deltaLatitude                       := 450,
                                    deltaLongitude                      := 697,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
889
                            },
890
891
892
893
894
895
896
                            { // Z1-D2-T4
                                pathPosition := {
                                    deltaLatitude                       := 619,
                                    deltaLongitude                      := 963,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
897
                            },
898
899
900
901
902
903
904
905
                            { // Z1-D2-T5
                                pathPosition := {
                                    deltaLatitude                       := 510,
                                    deltaLongitude                      := 719,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
906
907
908
909
910
911
912
913
914
                        }
                    }; // End of PICS_Z1_D2_Tx
                    
                    modulepar DenmParm PICS_Z1_D2 := {
                        eventPosition                               := PICS_Z1_D2_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z1_D2_Hx,
                        traces                                      := PICS_Z1_D2_Tx,
                        roadWorksContainerExtended := {
915
                            lightBarSirenInUse                      := LightBarSirenInUse_lightBarActivated_,
916
917
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
918
                                drivingLaneStatus                   := '1100'B
919
920
                            },
                            restriction                             := omit,
921
                            speedLimit                              := PICS_SPEED_LIMIT,
922
923
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
924
                            startingPointSpeedLimit                 := omit,
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                        
                    } // End of PICS_Z1_D2
                    
                } // End of group denmZone1_D2
                
                group denmZone1_D3 {
                    
                    /**
                     * @desc Z1-D3-EP/POS3
                     */
                    modulepar ReferencePosition PICS_Z1_D3_EP := {
                        latitude                                    := 435513421,                               // Z1-D3-EP/latitude
                        longitude                                   := 102986038,                               // Z1-D3-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z1_D3_EP
                    
                    /**
                     * @desc Z1-D3-EP/EventHistory1
                     */
                    modulepar EventHistory 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 PICS_Z1_D3_Hx
                    
                    /**
                     * @desc Z1-D3-Traces/Trace1
                     */
                    modulepar Traces PICS_Z1_D3_Tx := {
                        {
974
975
976
977
978
979
980
                            { // Z1-D3-T1
                                pathPosition := {
                                    deltaLatitude                       := 3435,
                                    deltaLongitude                      := 4483,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
981
                            },
982
983
984
985
986
987
988
                            { // Z1-D3-T2
                                pathPosition := {
                                    deltaLatitude                       := 626,
                                    deltaLongitude                      := 863,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
989
                            },
990
991
992
993
994
995
996
                            { // Z1-D3-T3
                                pathPosition := {
                                    deltaLatitude                       := 500,
                                    deltaLongitude                      := 541,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
997
                            },
998
999
1000
1001
1002
1003
1004
1005
                            { // Z1-D3-T4
                                pathPosition := {
                                    deltaLatitude                       := 564,
                                    deltaLongitude                      := 841,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
                        }
                    }; // End of PICS_Z1_D3_Tx
                    
                    modulepar DenmParm PICS_Z1_D3 := {
                        eventPosition                               := PICS_Z1_D3_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z1_D3_Hx,
                        traces                                      := PICS_Z1_D3_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := closed,
1018
                                drivingLaneStatus                   := '11001'B
1019
1020
                            },
                            restriction                             := omit,
1021
                            speedLimit                              := PICS_SPEED_LIMIT,
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
                            startingPointSpeedLimit := {
                                deltaLatitude                       := 0,
                                deltaLongitude                      := 0,
                                deltaAltitude                       := 0
                            },
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                        
                    } // End of PICS_Z1_D3
                    
                } // End of denmZone1_D3
                
            } // End of group denmZone1 
garciay's avatar
garciay committed
1038
            
1039
1040
1041
1042
            group denmZone2 {
                
                group denmZone2_D1 {
                    
1043
1044
1045
1046
1047
1048
1049
1050
1051
                    /**
                     * @desc Z2-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z2_D1_POS0 := {
                        deltaLatitude                       := -1377,
                        deltaLongitude                      := -12164,
                        deltaAltitude                       := 0
                    }; // End of PICS_Z2_D1_POS0
                    
1052
1053
1054
1055
                    /**
                     * @desc Z2-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z2_D1_EP := {
1056
1057
                        latitude                                    := 435512286,                               // Z2-D1-EP/latitude
                        longitude                                   := 102999675,                               // Z2-D1-EP/longitude
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z2_D1_EP
                    
                    /**
                     * @desc Z2-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z2_D1_Hx := { 
                        { // Z2_D1_H1
                            eventPosition := {
1068
1069
                                deltaLatitude                       := 718,
                                deltaLongitude                      := 7406,
1070
1071
1072
1073
1074
1075
1076
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D1_H2
                            eventPosition := {
1077
1078
                                deltaLatitude                       := 577,
                                deltaLongitude                      := 5717,
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D1_Hx
                    
                    /**
                     * @desc Z2-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z2_D1_Tx := {
                        {
1091
1092
1093
1094
1095
1096
1097
                            { // Z2-D1-T1
                                pathPosition := {
                                    deltaLatitude                       := 4659,
                                    deltaLongitude                      := 7205,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1098
                            },
1099
1100
1101
1102
1103
1104
1105
                            { // Z2-D1-T2
                                pathPosition := {
                                    deltaLatitude                       := -1377,
                                    deltaLongitude                      := -12164,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1106
                            },
1107
1108
1109
1110
1111
1112
1113
                            { // Z2-D1-T3
                                pathPosition := {
                                    deltaLatitude                       := 55,
                                    deltaLongitude                      := -609,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1114
                            },
1115
1116
1117
1118
1119
1120
1121
                            { // Z2-D1-T4
                                pathPosition := {
                                    deltaLatitude                       := 312,
                                    deltaLongitude                      := -587,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1122
                            },
1123
1124
1125
1126
1127
1128
1129
1130
                            { // Z2-D1-T5
                                pathPosition := {
                                    deltaLatitude                       := 358,
                                    deltaLongitude                      := -421,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
                        }
                    }; // End of PICS_Z2_D1_Tx
                    
                    modulepar DenmParm PICS_Z2_D1 := {
                        eventPosition                               := PICS_Z2_D1_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z2_D1_Hx,
                        traces                                      := PICS_Z2_D1_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0001'B
                            },
                            restriction                             := omit,
1146
                            speedLimit                              := PICS_SPEED_LIMIT,
1147
1148
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1149
                            startingPointSpeedLimit                 := PICS_Z2_D1_POS0,
1150
                            trafficFlowRule                         := passToLeft,
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z2_D1
                    
                } // End of group denmZone2_D1
                
                group denmZone2_D2 {
                    
                    /**
                     * @desc Z2-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z2_D2_EP := {
1163
1164
                        latitude                                    := 435513581,                               // Z2-D2-EP/latitude
                        longitude                                   := 103012798,                               // Z2-D2-EP/longitude
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z2_D2_EP
                    
                    /**
                     * @desc Z2-D2-EP/EventHistory2
                     */
                    modulepar EventHistory PICS_Z2_D2_Hx := { 
                        { // Z2_D2_H1
                            eventPosition := {
1175
1176
                                deltaLatitude                       := 3883,
                                deltaLongitude                      := 5826,
1177
1178
1179
1180
1181
1182
1183
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D2_H2
                            eventPosition := {
1184
1185
                                deltaLatitude                       := 3550,
                                deltaLongitude                      := 1859,
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D2_Hx
                    
                    /**
                     * @desc Z2-D2-Traces/Trace2
                     */
                    modulepar Traces PICS_Z2_D2_Tx := {
                        {
1198
1199
1200
1201
1202
1203
1204
                            { // Z2-D2-T1
                                pathPosition := {
                                    deltaLatitude                       := -861,
                                    deltaLongitude                      := -8506,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1205
                            },
1206
1207
1208
1209
1210
1211
1212
                            { // Z2-D2-T2
                                pathPosition := {
                                    deltaLatitude                       := -88,
                                    deltaLongitude                      := -949,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1213
                            },
1214
1215
1216
1217
1218
1219
1220
                            { // Z2-D2-T3
                                pathPosition := {
                                    deltaLatitude                       := -97,
                                    deltaLongitude                      := -817,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1221
                            },
1222
1223
1224
1225
1226
1227
1228
                            { // Z2-D2-T4
                                pathPosition := {
                                    deltaLatitude                       := -118,
                                    deltaLongitude                      := -815,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1229
                            },
1230
1231
1232
1233
1234
1235
1236
1237
                            { // Z2-D2-T5
                                pathPosition := {
                                    deltaLatitude                       := -5,
                                    deltaLongitude                      := -631,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
                        }
                    }; // End of PICS_Z2_D2_Tx
                    
                    modulepar DenmParm PICS_Z2_D2 := {
                        eventPosition                               := PICS_Z2_D2_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z2_D2_Hx,
                        traces                                      := PICS_Z2_D2_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0011'B
                            },
                            restriction                             := omit,
1253
                            speedLimit                              := PICS_SPEED_LIMIT,
1254
1255
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1256
                            startingPointSpeedLimit                 := omit,
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                        
                    } // End of PICS_Z2_D2
                    
                } // End of group denmZone2_D2
                
                group denmZone2_D3 {
                    
                    /**
                     * @desc Z2-D3-EP/POS3
                     */
                    modulepar ReferencePosition PICS_Z2_D3_EP := {
1271
1272
                        latitude                                    := 435521014,                               // Z2-D3-EP/latitude
                        longitude                                   := 103020483,                               // Z2-D3-EP/longitude
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z2_D3_EP
                    
                    /**
                     * @desc Z2-D3-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z2_D3_Hx := { 
                        { // Z2_D3_H1
                            eventPosition := {
1283
1284
                                deltaLatitude                       := 3169,
                                deltaLongitude                      := 1084,
1285
1286
1287
1288
1289
1290
1291
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D3_H2
                            eventPosition := {
1292
1293
                                deltaLatitude                       := 2020,
                                deltaLongitude                      := -1029,
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D3_Hx
                    
                    /**
                     * @desc Z2-D3-Traces/Trace1
                     */
                    modulepar Traces PICS_Z2_D3_Tx := {
                        {
1306
1307
1308
1309
1310
1311
1312
                            { // Z2-D3-T1
                                pathPosition := {
                                    deltaLatitude                       := -6382,
                                    deltaLongitude                      := -3852,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1313
                            },
1314
1315
1316
1317
1318
1319
1320
                            { // Z2-D3-T2
                                pathPosition := {
                                    deltaLatitude                       := -132,
                                    deltaLongitude                      := -653,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1321
                            },
1322
1323
1324
1325
1326
1327
1328
                            { // Z2-D3-T3
                                pathPosition := {
                                    deltaLatitude                       := -355,
                                    deltaLongitude                      := -1040,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1329
                            },
1330
1331
1332
1333
1334
1335
1336
                            { // Z2-D3-T4
                                pathPosition := {
                                    deltaLatitude                       := -362,
                                    deltaLongitude                      := -941,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
                            }
                        }
                    }; // End of PICS_Z2_D3_Tx
                    
                    modulepar DenmParm PICS_Z2_D3 := {
                        eventPosition                               := PICS_Z2_D3_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z2_D3_Hx,
                        traces                                      := PICS_Z2_D3_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := closed,
                                drivingLaneStatus                   := '01'B
                            },
                            restriction                             := omit,
1353
                            speedLimit                              := PICS_SPEED_LIMIT,
1354
1355
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1356
                            startingPointSpeedLimit                 := omit,
1357
1358
1359
1360
1361
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z2_D3
                    
1362
                } // group denmZone2_D3
1363
1364
                
            } // End of group denmZone2
garciay's avatar
garciay committed
1365
            
1366
1367
1368
1369
            group denmZone3 {
                
                group denmZone3_D1 {
                        
1370
1371
1372
1373
1374
1375
1376
1377
1378
                    /**
                     * @desc Z3-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z3_D1_POS0 := {
                        deltaLatitude                       := -4657,
                        deltaLongitude                      := -9320,
                        deltaAltitude                       := 0
                    }; // End of PICS_Z3_D1_POS0
                    
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
                    /**
                     * @desc Z3-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z3_D1_EP := {
                        latitude                                    := 435537393,                               // Z3-D1-EP/latitude
                        longitude                                   := 103003415,                               // Z3-D1-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z3_D1_EP
                        
                    /**
                     * @desc Z3-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z3_D1_Hx := { 
                        { // Z3_D1_H1
                            eventPosition := {
                                deltaLatitude                       := -2546,
                                deltaLongitude                      := -3697,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z3_D1_H2
                            eventPosition := {
                                deltaLatitude                       := -3699,
                                deltaLongitude                      := -5788,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z3_D1_Hx
                        
                    /**
                     * @desc Z3-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z3_D1_Tx := {
                        {
                            { // Z3-D1-T1
                                pathPosition := {
                                    deltaLatitude                       := 4659,
                                    deltaLongitude                      := 7205,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D1-T2
                                pathPosition := {
                                    deltaLatitude                       := 510,
                                    deltaLongitude                      := 720,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D1-T3
                                pathPosition := {
                                    deltaLatitude                       := -247,
                                    deltaLongitude                      := -797,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D1-T4
                                pathPosition := {
                                    deltaLatitude                       := -258,
                                    deltaLongitude                      := -675,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D1-T5
                                pathPosition := {
                                    deltaLatitude                       := -4657,
                                    deltaLongitude                      := -9320,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
                        }
                    }; // End of PICS_Z3_D1_Tx
                        
                    modulepar DenmParm PICS_Z3_D1 := {
                        eventPosition                               := PICS_Z3_D1_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z3_D1_Hx,
                        traces                                      := PICS_Z3_D1_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0001'B
                            },
                            restriction                             := omit,
1473
                            speedLimit                              := PICS_SPEED_LIMIT,
1474
1475
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1476
                            startingPointSpeedLimit                 := PICS_Z3_D1_POS0,
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z3_D1
                        
                } // End of group denmZone3_D1
                    
                group denmZone3_D2 {
                        
                    /**
                     * @desc Z3-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z3_D2_EP := {
                        latitude                                    := 435543599,                               // Z3-D2-EP/latitude
                        longitude                                   := 103041247,                               // Z3-D2-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z3_D2_EP
                        
                    /**
                     * @desc Z3-D2-EP/EventHistory2
                     */
                    modulepar EventHistory 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 PICS_Z3_D2_Hx
                        
                    /**
                     * @desc Z3-D2-Traces/Trace2
                     */
                    modulepar Traces PICS_Z3_D2_Tx := {
                        {
                            { // Z3-D2-T1
                                pathPosition := {
                                    deltaLatitude                       := -3929,
                                    deltaLongitude                      := -5291,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D2-T2
                                pathPosition := {
                                    deltaLatitude                       := -461,
                                    deltaLongitude                      := -575,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D2-T3
                                pathPosition := {
                                    deltaLatitude                       := -460,
                                    deltaLongitude                      := -576,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D2-T4
                                pathPosition := {
                                    deltaLatitude                       := -494,
                                    deltaLongitude                      := -996,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D2-T5
                                pathPosition := {
                                    deltaLatitude                       := -511,
                                    deltaLongitude                      := -719,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
                        }
                    }; // End of PICS_Z3_D2_Tx
                        
                    modulepar DenmParm PICS_Z3_D2 := {
                        eventPosition                               := PICS_Z3_D2_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z3_D2_Hx,
                        traces                                      := PICS_Z3_D2_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0011'B
                            },
                            restriction                             := omit,
1580
                            speedLimit                              := PICS_SPEED_LIMIT,
1581
1582
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1583
                            startingPointSpeedLimit                 := omit,
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                            
                    } // End of PICS_Z3_D2
                        
                } // End of group denmZone3_D2
                    
                group denmZone3_D3 {
                        
                    /**
                     * @desc Z3-D3-EP/POS3
                     */
                    modulepar ReferencePosition PICS_Z3_D3_EP := {
                        latitude                                    := 435550184,                               // Z3-D3-EP/latitude
                        longitude                                   := 103037351,                               // Z3-D3-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z3_D3_EP
                        
                    /**
                     * @desc Z3-D3-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z3_D3_Hx := { 
                        { // Z3_D3_H1
                            eventPosition := {
                                deltaLatitude                       := 1279,
                                deltaLongitude                      := -2037,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z3_D3_H2
                            eventPosition := {
                                deltaLatitude                       := 1482,
                                deltaLongitude                      := -2136,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z3_D3_Hx
                        
                    /**
                     * @desc Z3-D3-Traces/Trace1
                     */
                    modulepar Traces PICS_Z3_D3_Tx := {
                        {
                            { // Z3-D3-T1
                                pathPosition := {
                                    deltaLatitude                       := -3578,
                                    deltaLongitude                      := 6055,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D3-T2
                                pathPosition := {
                                    deltaLatitude                       := -527,
                                    deltaLongitude                      := 155,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D3-T3
                                pathPosition := {
                                    deltaLatitude                       := -1162,
                                    deltaLongitude                      := 532,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z3-D3-T4
                                pathPosition := {
                                    deltaLatitude                       := -752,
                                    deltaLongitude                      := -885,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
                        }
                    }; // End of PICS_Z3_D3_Tx
                        
                    modulepar DenmParm PICS_Z3_D3 := {
                        eventPosition                               := PICS_Z3_D3_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z3_D3_Hx,
                        traces                                      := PICS_Z3_D3_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := closed,
                                drivingLaneStatus                   := '01'B
                            },
                            restriction                             := omit,
1680
                            speedLimit                              := PICS_SPEED_LIMIT,
1681
1682
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1683
                            startingPointSpeedLimit                 := omit,
1684
                            trafficFlowRule                         := passToLeft,
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z3_D3
                        
                } // group denmZone3_D3
                
            } // group denmZone3
            
            group denmZone4 {
                
                group denmZone4_D1 {
                        
1697
1698
1699
1700
1701
1702
1703
1704
1705
                    /**
                     * @desc Z4-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z4_D1_POS0 := {
                        deltaLatitude                       := -6894,
                        deltaLongitude                      := -8590,
                        deltaAltitude                       := 0
                    }; // End of PICS_Z4_D1_POS0
                    
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
                    /**
                     * @desc Z4-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z4_D1_EP := {
                        latitude                                    := 435562873,                               // Z4-D1-EP/latitude
                        longitude                                   := 103041679,                               // Z4-D1-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z4_D1_EP
                        
                    /**
                     * @desc Z4-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z4_D1_Hx := { 
                        { // Z4_D1_H1
                            eventPosition := {
                                deltaLatitude                       := 1817,
                                deltaLongitude                      := 5988,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z4_D1_H2
                            eventPosition := {
                                deltaLatitude                       := 2484,
                                deltaLongitude                      := 4406,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z4_D1_Hx
                        
                    /**
                     * @desc Z4-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z4_D1_Tx := {
                        {
                            { // Z4-D1-T1
                                pathPosition := {
                                    deltaLatitude                       := -6894,
                                    deltaLongitude                      := -8590,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z4-D1-T2
                                pathPosition := {
                                    deltaLatitude                       := -587,
                                    deltaLongitude                      := -598,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z4-D1-T3
                                pathPosition := {
                                    deltaLatitude                       := -471,
                                    deltaLongitude                      := -453,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z4-D1-T4
                                pathPosition := {
                                    deltaLatitude                       := -565,
                                    deltaLongitude                      := -244,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            },
                            { // Z4-D1-T5
                                pathPosition := {
                                    deltaLatitude                       := -340,
                                    deltaLongitude                      := 199,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
                        }
                    }; // End of PICS_Z4_D1_Tx
                        
                    modulepar DenmParm PICS_Z4_D1 := {
                        eventPosition                               := PICS_Z4_D1_EP,
                        causeCodeType                               := CauseCodeType_roadworks_,
                        eventHistory                                := PICS_Z4_D1_Hx,
                        traces                                      := PICS_Z4_D1_Tx,
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0001'B
                            },
                            restriction                             := omit,
1800
                            speedLimit                              := PICS_SPEED_LIMIT,
1801
1802
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1803
                            startingPointSpeedLimit                 := PICS_Z4_D1_POS0,
1804
                            trafficFlowRule                         := passToLeft,
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z4_D1
                        
                } // End of group denmZone4_D1
                    
                group denmZone4_D2 {
                        
                    /**
                     * @desc Z4-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z4_D2_EP := {
                        latitude                                    := 435567174,                               // Z4-D2-EP/latitude
                        longitude                                   := 103052073,                               // Z4-D2-EP/longitude
                        positionConfidenceEllipse                   := PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := PICS_DENM_ALTITUDE
                    }; // End of PICS_Z4_D2_EP
                        
                    /**
                     * @desc Z4-D2-EP/EventHistory2
                     */
                    modulepar EventHistory PICS_Z4_D2_Hx := { 
                        { // Z4_D2_H1
                            eventPosition := {
                                deltaLatitude                       := 3300,
                                deltaLongitude                      := 4505,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { //