Loading ttcn/DENM/LibItsDenm_Functions.ttcn +20 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
ttcn/DENM/LibItsDenm_Functions.ttcn +20 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading