Skip to content
Snippets Groups Projects
Commit d57999e2 authored by tepelmann's avatar tepelmann
Browse files

Added TC_DEN_EVUP_BV_01.

parent 3455af61
No related branches found
No related tags found
No related merge requests found
......@@ -72,40 +72,9 @@ module LibItsCommon_TypesAndValues {
*/
group subCauseCodes {
const SubCauseCodeType c_subCauseUnknown := 0;
const SubCauseCodeType c_subCauseHardBrakeVehicle := 1;
const SubCauseCodeType c_subCauseStopSignViolation := 1;
const SubCauseCodeType c_subCauseTrafficLightViolation := 2;
const SubCauseCodeType c_subCauseTurningRegulationViolation := 3;
const SubCauseCodeType c_subCauseBrakeDownVehicle := 1;
const SubCauseCodeType c_subCauseVehicleSpeedReducedWithSafetyLightsOn := 2;
const SubCauseCodeType c_subCauseLeftTurnCollisionRisk := 1;
const SubCauseCodeType c_subCauseRightTurnCollisionRisk := 2;
const SubCauseCodeType c_subCauseCrossingCollisionRisk := 3;
const SubCauseCodeType c_subCauseMergingCollisionRisk := 4;
const SubCauseCodeType c_subCauseDangerousCurve := 1;
const SubCauseCodeType c_subCauseObstacleOnTheRoad := 2;
const SubCauseCodeType c_subCauseHeavyRain := 1;
const SubCauseCodeType c_subCauseHeavySnow := 2;
const SubCauseCodeType c_subCauseStrongSideWind := 1;
const SubCauseCodeType c_subCauseStrongWindFromBack := 2;
const SubCauseCodeType c_subCauseLowRoadAdhesion := 1;
const SubCauseCodeType c_subCauseBlackIce := 2;
const SubCauseCodeType c_subCauseBadVisibilityDueToFrost := 1;
const SubCauseCodeType c_subCauseBadVisibilityDueToStorm := 4;
const SubCauseCodeType c_subCauseEmergencyVehicle := 1;
const SubCauseCodeType c_subCauseMedicalAssistanceVahicle := 2;
const SubCauseCodeType c_subCauseCode_Unavailable := 0;
const VehicleBreakdownSubCauseCode c_vehicleBreakDownSubCauseCode_engineProblem := 3;
} // end group subCauseCodes
......
......@@ -69,6 +69,31 @@ module LibItsDenm_Templates {
keepAliveForwardingRequest := p_keepAliveForwardingRequest
}
template (value) UtUpdate m_utUpdateEvent(
template (value) ActionID p_actionId,
template (omit) SituationContainer p_situation := omit,
template (omit) LocationContainer p_location := omit,
template (omit) ValidityDuration p_validityDuration := omit,
template (omit) RelevanceDistance p_relevanceDistance := omit,
template (omit) RelevanceTrafficDirection p_relevanceTrafficDirection := omit,
template (omit) integer p_trafficClass := omit,
template (omit) TransmissionInterval p_transmissionInterval := omit,
template (omit) boolean p_keepAliveForwardingRequest := omit,
template (omit) AlacarteContainer p_alacarte := omit
) := {
actionId := p_actionId,
detectionTime := f_getCurrentTime(),
validityDuration := p_validityDuration,
situation := p_situation,
location := p_location,
alacarte := p_alacarte,
relevanceDistance := p_relevanceDistance,
relevanceTrafficDirection := p_relevanceTrafficDirection,
trafficClass := p_trafficClass,
transmissionInterval := p_transmissionInterval,
keepAliveForwardingRequest := p_keepAliveForwardingRequest
}
/**
* @desc Send template for Upper Tester event cancellation
* @param p_actionId Action ID of the event to be cancelled
......
......@@ -75,9 +75,15 @@ module LibItsDenm_TypesAndValues {
type record UtUpdate {
ActionID actionId,
TimestampIts detectionTime,
ValidityDuration validityDuration,
SituationContainer situtation,
LocationContainer location
ValidityDuration validityDuration optional,
SituationContainer situation optional,
LocationContainer location optional,
AlacarteContainer alacarte optional,
RelevanceDistance relevanceDistance optional,
RelevanceTrafficDirection relevanceTrafficDirection optional,
integer trafficClass optional,
TransmissionInterval transmissionInterval optional,
boolean keepAliveForwardingRequest optional
}
type ActionID UtUpdateResult;
......
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