diff --git a/ttcn/DENM/LibItsDenm_Functions.ttcn b/ttcn/DENM/LibItsDenm_Functions.ttcn index 7f8d5cab096516ba2aac01bf972b7279f0092ca6..fd4f9ec5153142fc31526806f40b824c37fb0a17 100644 --- a/ttcn/DENM/LibItsDenm_Functions.ttcn +++ b/ttcn/DENM/LibItsDenm_Functions.ttcn @@ -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; } diff --git a/ttcn/DENM/LibItsDenm_TypesAndValues.ttcn b/ttcn/DENM/LibItsDenm_TypesAndValues.ttcn index bf3284011e8adb9343997db20824b57259aacd20..c72ec0701c0448c45903ae4f1e9095ef361da0ab 100644 --- a/ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +++ b/ttcn/DENM/LibItsDenm_TypesAndValues.ttcn @@ -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