Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
3f015151
Commit
3f015151
authored
Oct 27, 2016
by
garciay
Browse files
Remove useless synchronisations in DENM component
parent
033af58d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsSecurity/ItsSecurity_Functions.ttcn
View file @
3f015151
...
@@ -656,7 +656,7 @@ module ItsSecurity_Functions {
...
@@ -656,7 +656,7 @@ module ItsSecurity_Functions {
function
f_triggerDenmEvent
()
runs
on
ItsBaseComponent
return
ItsDenm
{
function
f_triggerDenmEvent
()
runs
on
ItsBaseComponent
return
ItsDenm
{
var
ItsDenm
v_denmComponent
;
var
ItsDenm
v_denmComponent
;
v_denmComponent
:=
ItsDenm
.
create
(
"DENM Trigger"
)
alive
;
v_denmComponent
:=
ItsDenm
.
create
(
"DENM Trigger"
);
v_denmComponent
.
start
(
fb_secTriggerDenmEvent
());
v_denmComponent
.
start
(
fb_secTriggerDenmEvent
());
v_denmComponent
.
done
;
v_denmComponent
.
done
;
...
@@ -683,7 +683,6 @@ module ItsSecurity_Functions {
...
@@ -683,7 +683,6 @@ module ItsSecurity_Functions {
var
template
(
value
)
SituationContainer
v_situation
:=
m_situation
(
CauseCodeType_vehicleBreakdown_
,
VehicleBreakdownSubCauseCode_unavailable_
);
var
template
(
value
)
SituationContainer
v_situation
:=
m_situation
(
CauseCodeType_vehicleBreakdown_
,
VehicleBreakdownSubCauseCode_unavailable_
);
map
(
self
:
utPort
,
system
:
denmUtPort
);
map
(
self
:
utPort
,
system
:
denmUtPort
);
f_connect4SelfOrClientSync
();
vc_default
:=
activate
(
LibItsDenm_Functions
.
a_utDefault
());
vc_default
:=
activate
(
LibItsDenm_Functions
.
a_utDefault
());
vc_utActionIDs
[
0
]
:=
LibItsDenm_Functions
.
f_utTriggerEvent
(
m_utTriggerEvent
(
v_situation
,
defaultValidity
));
vc_utActionIDs
[
0
]
:=
LibItsDenm_Functions
.
f_utTriggerEvent
(
m_utTriggerEvent
(
v_situation
,
defaultValidity
));
...
@@ -704,7 +703,6 @@ module ItsSecurity_Functions {
...
@@ -704,7 +703,6 @@ module ItsSecurity_Functions {
}
// End of 'for' statement
}
// End of 'for' statement
unmap
(
self
:
utPort
,
system
:
denmUtPort
);
unmap
(
self
:
utPort
,
system
:
denmUtPort
);
f_disconnect4SelfOrClientSync
();
deactivate
(
vc_default
);
deactivate
(
vc_default
);
}
// End of function f_secTriggerDenmEvent
}
// End of function f_secTriggerDenmEvent
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment