Commit 1d07feb4 authored by tepelmann's avatar tepelmann
Browse files

Added TC_DEN_EVTR_BV_01.

parent 9fae10b1
Loading
Loading
Loading
Loading
+3 −5
Original line number Original line Diff line number Diff line
@@ -158,13 +158,12 @@ module LibItsDenm_Functions {
         * @desc Default handling the cancellation of an event.
         * @desc Default handling the cancellation of an event.
         * @param p_trigger Indicates if the cancellation have to be raised by the test system(e_ets) 
         * @param p_trigger Indicates if the cancellation have to be raised by the test system(e_ets) 
         *                  or at the application layer of the IUT(e_iut).
         *                  or at the application layer of the IUT(e_iut).
         * @param p_event The event to cancel.
         * @param p_actionId The action ID of the event to be cancelled
         * @param p_actionId The action ID of the event to be cancelled
         */
         */
        altstep a_cancelEvent(in template (value) Trigger p_trigger, in template (value) SituationContainer p_event, in template (value) ActionID p_actionId) 
        altstep a_cancelEvent(in template (value) Trigger p_trigger, in template (value) ActionID p_actionId) 
        runs on ItsDenm {
        runs on ItsDenm {
            [] a_shutdown() {
            [] a_shutdown() {
                f_poCancelEvent(p_trigger, p_event, p_actionId);
                f_poCancelEvent(p_trigger, p_actionId);
                f_cfDown();
                f_cfDown();
                log("*** " & __SCOPE__ & ": INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
                log("*** " & __SCOPE__ & ": INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
                stop;   
                stop;   
@@ -236,10 +235,9 @@ module LibItsDenm_Functions {
         * @desc Postamble including cancellation of an event.
         * @desc Postamble including cancellation of an event.
         * @param p_trigger Indicates if the cancellation have to be raised by the test system(e_ets) 
         * @param p_trigger Indicates if the cancellation have to be raised by the test system(e_ets) 
         *                  or at the application layer of the IUT(e_iut).
         *                  or at the application layer of the IUT(e_iut).
         * @param p_event The event to cancel.
         * @param p_actionId The action ID of the event to be cancelled
         * @param p_actionId The action ID of the event to be cancelled
         */
         */
        function f_poCancelEvent(template (value) Trigger p_trigger, template (value) SituationContainer p_event, template (value) ActionID p_actionId) 
        function f_poCancelEvent(template (value) Trigger p_trigger, template (value) ActionID p_actionId) 
        runs on ItsDenm {
        runs on ItsDenm {
            var FncRetCode v_ret := e_success;
            var FncRetCode v_ret := e_success;
            
            
+20 −15
Original line number Original line Diff line number Diff line
@@ -52,12 +52,13 @@ module LibItsDenm_Templates {
            template (value) UtTrigger m_utTriggerEvent(
            template (value) UtTrigger m_utTriggerEvent(
                template (value) SituationContainer p_situation,
                template (value) SituationContainer p_situation,
                template (value) LocationContainer p_location,
                template (value) LocationContainer p_location,
                template (omit) ValidityDuration p_validityDuration := omit,
                template (omit) TransmissionInterval p_transmissionInterval := omit,
                template (omit) TransmissionInterval p_transmissionInterval := omit,
                template (omit) boolean p_keepAliveForwardingRequest := omit,
                template (omit) boolean p_keepAliveForwardingRequest := omit,
                template (omit) AlacarteContainer p_alacarte := omit
                template (omit) AlacarteContainer p_alacarte := omit
            ) := {
            ) := {
                detectionTime := f_getCurrentTime(),
                detectionTime := f_getCurrentTime(),
                validityDuration := 10,
                validityDuration := c_validityDuration_10sec,
                repetitionDuration := 10,
                repetitionDuration := 10,
                situtation := p_situation,
                situtation := p_situation,
                location := p_location,
                location := p_location,
@@ -294,11 +295,6 @@ module LibItsDenm_Templates {
            alacarte := omit
            alacarte := omit
        }
        }
        
        
        /**
         * @desc    Default receive template for any decentralized situation
         */    
        template SituationContainer mw_anySitutation := ?;
        
    } // end group decentralizedEnvironmentalNotificationMessageTemplates
    } // end group decentralizedEnvironmentalNotificationMessageTemplates
    
    
    group decentralizedManagementTemplates {
    group decentralizedManagementTemplates {
@@ -460,6 +456,11 @@ module LibItsDenm_Templates {
                linkedCause := *
                linkedCause := *
            }
            }
            
            
            /**
             * @desc    Default receive template for any decentralized situation
             */    
            template SituationContainer mw_anySitutation := ?;
            
        } // end group situationTemplates
        } // end group situationTemplates
        
        
    } // end group decentralizedSituationTemplates
    } // end group decentralizedSituationTemplates
@@ -514,11 +515,15 @@ module LibItsDenm_Templates {
    group alacateTemplates {
    group alacateTemplates {
        
        
        template AlacarteContainer m_alacarteConLaneCount := {
        template AlacarteContainer m_alacarteConLaneCount := {
    		
            laneCount := {
            laneCount := {
                laneNumber := 2,
                laneNumber := 2,
                laneNumberConfidence := 100
                laneNumberConfidence := 100
    		}
            },
            impactReduction := omit,
            externalTemperature := omit,
            roadWorks := omit,
            positioningSolution := omit,
            stationaryVehicle := omit
        }
        }
        
        
    } // end alacateTemplates
    } // end alacateTemplates
+1 −0
Original line number Original line Diff line number Diff line
@@ -28,6 +28,7 @@ module LibItsDenm_TypesAndValues {
        const DataVersion c_dataVersionFirst := 0;
        const DataVersion c_dataVersionFirst := 0;
        const DataVersion c_dataVersionCancellation := 255;
        const DataVersion c_dataVersionCancellation := 255;
        
        
        const ValidityDuration c_validityDuration_10sec := 10;
        const ValidityDuration c_defaultValidity := 600; 
        const ValidityDuration c_defaultValidity := 600; 
        
        
    } // end group denmConstants
    } // end group denmConstants