Skip to content
Snippets Groups Projects
Commit a4a9b985 authored by berge's avatar berge
Browse files

Added TC_DEN_PETY_BV_01

parent 0e069a61
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,26 @@ module LibItsDenm_Functions {
//TODO raise action or send message via port
return v_ret;
}
/**
* @desc Triggers event with expiration time information field and frequency information field
* included from the application layer
* @param p_event The event cause and subcause.
* @param p_expirationTime The expiration time.
* @param p_frequency The frequency.
* @return
*/
function f_triggerEventExpirationTimeFrequency(
template (value) Situation p_event,
template (value) TimeStamp p_expirationTime,
template (value) DecentralizedSituationManagement.frequency p_frequency
) runs on ItsFa return FncRetCode {
var FncRetCode v_ret := e_success;
//TODO raise action or send message via port
return v_ret;
}
......
......@@ -107,6 +107,9 @@ module LibItsDenm_TypesAndValues {
// in milliseconds
const TimeStamp c_duration20s := 20000;
const TimeStamp c_duration40s := 40000;
const float c_eventFrequencyMultiplier := 0.1;
} // end denmTimeConstants
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment