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

Added TC_DEN_EVTR_BV_01.

parent 9fae10b1
......@@ -158,13 +158,12 @@ module LibItsDenm_Functions {
* @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)
* 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
*/
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 {
[] a_shutdown() {
f_poCancelEvent(p_trigger, p_event, p_actionId);
f_poCancelEvent(p_trigger, p_actionId);
f_cfDown();
log("*** " & __SCOPE__ & ": INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
stop;
......@@ -236,10 +235,9 @@ module LibItsDenm_Functions {
* @desc Postamble including cancellation of an event.
* @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).
* @param p_event The event to cancel.
* @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 {
var FncRetCode v_ret := e_success;
......
......@@ -52,12 +52,13 @@ module LibItsDenm_Templates {
template (value) UtTrigger m_utTriggerEvent(
template (value) SituationContainer p_situation,
template (value) LocationContainer p_location,
template (omit) ValidityDuration p_validityDuration := omit,
template (omit) TransmissionInterval p_transmissionInterval := omit,
template (omit) boolean p_keepAliveForwardingRequest := omit,
template (omit) AlacarteContainer p_alacarte := omit
) := {
detectionTime := f_getCurrentTime(),
validityDuration := 10,
validityDuration := c_validityDuration_10sec,
repetitionDuration := 10,
situtation := p_situation,
location := p_location,
......@@ -294,11 +295,6 @@ module LibItsDenm_Templates {
alacarte := omit
}
/**
* @desc Default receive template for any decentralized situation
*/
template SituationContainer mw_anySitutation := ?;
} // end group decentralizedEnvironmentalNotificationMessageTemplates
group decentralizedManagementTemplates {
......@@ -460,6 +456,11 @@ module LibItsDenm_Templates {
linkedCause := *
}
/**
* @desc Default receive template for any decentralized situation
*/
template SituationContainer mw_anySitutation := ?;
} // end group situationTemplates
} // end group decentralizedSituationTemplates
......@@ -512,15 +513,19 @@ module LibItsDenm_Templates {
} // end group decentralizedLocationTemplates
group alacateTemplates {
template AlacarteContainer m_alacarteConLaneCount := {
laneCount := {
laneNumber := 2,
laneNumberConfidence := 100
}
}
template AlacarteContainer m_alacarteConLaneCount := {
laneCount := {
laneNumber := 2,
laneNumberConfidence := 100
},
impactReduction := omit,
externalTemperature := omit,
roadWorks := omit,
positioningSolution := omit,
stationaryVehicle := omit
}
} // end alacateTemplates
} // end LibItsDenmTemplates
\ No newline at end of file
......@@ -28,6 +28,7 @@ module LibItsDenm_TypesAndValues {
const DataVersion c_dataVersionFirst := 0;
const DataVersion c_dataVersionCancellation := 255;
const ValidityDuration c_validityDuration_10sec := 10;
const ValidityDuration c_defaultValidity := 600;
} // end group denmConstants
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment