Loading ttcn/CAM/LibItsCam_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsCam_Functions { /** /** * @desc Create Facility component and map CAM port * @desc Create Facility component and map CAM port * @remark Only used when ItsFa is a PTC * @param p_camPtc returned Facility component variable * @param p_camPtc returned Facility component variable */ */ function f_cfCamUp(out ItsFa p_ptcCam) { function f_ptcCamUp(out ItsFa p_ptcCam) { // Create Facility component // Create Facility component p_ptcCam := ItsFa.create("CAM Tester"); p_ptcCam := ItsFa.create("CAM Tester"); Loading @@ -23,13 +24,14 @@ module LibItsCam_Functions { // map ports // map ports map(p_ptcCam:camPort, system:camPort); map(p_ptcCam:camPort, system:camPort); } // end f_cfCamUp } // end f_ptcCamUp /** /** * @desc Wait for component to finish and unmap CAM ports * @desc Wait for component to finish and unmap CAM ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfCamDown(in ItsFa p_ptcCam) runs on ItsMtc { function f_ptcCamDown(in ItsFa p_ptcCam) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { Loading @@ -38,12 +40,12 @@ module LibItsCam_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfCamDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcCamDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcCam:camPort); unmap(p_ptcCam:camPort); } // end f_cfCamDown } // end f_ptcCamDown } // end LibItsCam_Functions } // end LibItsCam_Functions No newline at end of file ttcn/DENM/LibItsDenm_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsDenm_Functions { /** /** * @desc Create Facility component and connects DENM port * @desc Create Facility component and connects DENM port * @remark Only used when ItsFa is a PTC * @param p_ptcDenm returned Facility component variable * @param p_ptcDenm returned Facility component variable */ */ function f_cfDenmUp(out ItsFa p_ptcDenm) { function f_ptcDenmUp(out ItsFa p_ptcDenm) { // Create Facility component // Create Facility component p_ptcDenm := ItsFa.create("DENM Tester"); p_ptcDenm := ItsFa.create("DENM Tester"); Loading @@ -23,13 +24,14 @@ module LibItsDenm_Functions { // map ports // map ports map(p_ptcDenm:denmPort, system:denmPort); map(p_ptcDenm:denmPort, system:denmPort); } // end f_cfDenmUp } // end f_ptcDenmUp /** /** * @desc Wait for component to finish and unmap DENM ports * @desc Wait for component to finish and unmap DENM ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfDenmDown(in ItsFa p_ptcDenm) runs on ItsMtc { function f_ptcDenmDown(in ItsFa p_ptcDenm) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { [] p_ptcDenm.done { [] p_ptcDenm.done { Loading @@ -37,12 +39,12 @@ module LibItsDenm_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfDenmDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcDenmDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcDenm:denmPort); unmap(p_ptcDenm:denmPort); } // end f_cfDenmDown } // end f_ptcDenmDown } // end LibItsDenm_Functions } // end LibItsDenm_Functions No newline at end of file ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsGeoNetworking_Functions { /** /** * @desc Create Facility component and connects GeoNetworking port * @desc Create Facility component and connects GeoNetworking port * @remark Only used when ItsFa is a PTC * @param p_ptcDenm returned Facility component variable * @param p_ptcDenm returned Facility component variable */ */ function f_cfGeoNetworkingUp(out ItsNt p_ptcGeoNetworking) { function f_ptcGeoNetworkingUp(out ItsNt p_ptcGeoNetworking) { // Create Facility component // Create Facility component p_ptcGeoNetworking := ItsNt.create("GeoNetworking Tester"); p_ptcGeoNetworking := ItsNt.create("GeoNetworking Tester"); Loading @@ -23,13 +24,14 @@ module LibItsGeoNetworking_Functions { // map ports // map ports map(p_ptcGeoNetworking:geoNetworkingPort, system:geoNetworkingPort); map(p_ptcGeoNetworking:geoNetworkingPort, system:geoNetworkingPort); } // end f_cfGeoNetworkingUp } // end f_ptcGeoNetworkingUp /** /** * @desc Wait for component to finish and unmap GeoNetworking ports * @desc Wait for component to finish and unmap GeoNetworking ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfGeoNetworkingDown(in ItsNt p_ptcGeoNetworking) runs on ItsMtc { function f_ptcGeoNetworkingDown(in ItsNt p_ptcGeoNetworking) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { [] p_ptcGeoNetworking.done { [] p_ptcGeoNetworking.done { Loading @@ -37,12 +39,12 @@ module LibItsGeoNetworking_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfGeoNetworkingDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcGeoNetworkingDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcGeoNetworking:geoNetworkingPort); unmap(p_ptcGeoNetworking:geoNetworkingPort); } // end f_cfGeoNetworkingDown } // end f_ptcGeoNetworkingDown } // end LibItsGeoNetworking_Functions } // end LibItsGeoNetworking_Functions No newline at end of file Loading
ttcn/CAM/LibItsCam_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsCam_Functions { /** /** * @desc Create Facility component and map CAM port * @desc Create Facility component and map CAM port * @remark Only used when ItsFa is a PTC * @param p_camPtc returned Facility component variable * @param p_camPtc returned Facility component variable */ */ function f_cfCamUp(out ItsFa p_ptcCam) { function f_ptcCamUp(out ItsFa p_ptcCam) { // Create Facility component // Create Facility component p_ptcCam := ItsFa.create("CAM Tester"); p_ptcCam := ItsFa.create("CAM Tester"); Loading @@ -23,13 +24,14 @@ module LibItsCam_Functions { // map ports // map ports map(p_ptcCam:camPort, system:camPort); map(p_ptcCam:camPort, system:camPort); } // end f_cfCamUp } // end f_ptcCamUp /** /** * @desc Wait for component to finish and unmap CAM ports * @desc Wait for component to finish and unmap CAM ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfCamDown(in ItsFa p_ptcCam) runs on ItsMtc { function f_ptcCamDown(in ItsFa p_ptcCam) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { Loading @@ -38,12 +40,12 @@ module LibItsCam_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfCamDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcCamDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcCam:camPort); unmap(p_ptcCam:camPort); } // end f_cfCamDown } // end f_ptcCamDown } // end LibItsCam_Functions } // end LibItsCam_Functions No newline at end of file
ttcn/DENM/LibItsDenm_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsDenm_Functions { /** /** * @desc Create Facility component and connects DENM port * @desc Create Facility component and connects DENM port * @remark Only used when ItsFa is a PTC * @param p_ptcDenm returned Facility component variable * @param p_ptcDenm returned Facility component variable */ */ function f_cfDenmUp(out ItsFa p_ptcDenm) { function f_ptcDenmUp(out ItsFa p_ptcDenm) { // Create Facility component // Create Facility component p_ptcDenm := ItsFa.create("DENM Tester"); p_ptcDenm := ItsFa.create("DENM Tester"); Loading @@ -23,13 +24,14 @@ module LibItsDenm_Functions { // map ports // map ports map(p_ptcDenm:denmPort, system:denmPort); map(p_ptcDenm:denmPort, system:denmPort); } // end f_cfDenmUp } // end f_ptcDenmUp /** /** * @desc Wait for component to finish and unmap DENM ports * @desc Wait for component to finish and unmap DENM ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfDenmDown(in ItsFa p_ptcDenm) runs on ItsMtc { function f_ptcDenmDown(in ItsFa p_ptcDenm) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { [] p_ptcDenm.done { [] p_ptcDenm.done { Loading @@ -37,12 +39,12 @@ module LibItsDenm_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfDenmDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcDenmDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcDenm:denmPort); unmap(p_ptcDenm:denmPort); } // end f_cfDenmDown } // end f_ptcDenmDown } // end LibItsDenm_Functions } // end LibItsDenm_Functions No newline at end of file
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +7 −5 Original line number Original line Diff line number Diff line Loading @@ -13,9 +13,10 @@ module LibItsGeoNetworking_Functions { /** /** * @desc Create Facility component and connects GeoNetworking port * @desc Create Facility component and connects GeoNetworking port * @remark Only used when ItsFa is a PTC * @param p_ptcDenm returned Facility component variable * @param p_ptcDenm returned Facility component variable */ */ function f_cfGeoNetworkingUp(out ItsNt p_ptcGeoNetworking) { function f_ptcGeoNetworkingUp(out ItsNt p_ptcGeoNetworking) { // Create Facility component // Create Facility component p_ptcGeoNetworking := ItsNt.create("GeoNetworking Tester"); p_ptcGeoNetworking := ItsNt.create("GeoNetworking Tester"); Loading @@ -23,13 +24,14 @@ module LibItsGeoNetworking_Functions { // map ports // map ports map(p_ptcGeoNetworking:geoNetworkingPort, system:geoNetworkingPort); map(p_ptcGeoNetworking:geoNetworkingPort, system:geoNetworkingPort); } // end f_cfGeoNetworkingUp } // end f_ptcGeoNetworkingUp /** /** * @desc Wait for component to finish and unmap GeoNetworking ports * @desc Wait for component to finish and unmap GeoNetworking ports * @remark Only used when ItsFa is a PTC * @param p_camPtc Facility component variable * @param p_camPtc Facility component variable */ */ function f_cfGeoNetworkingDown(in ItsNt p_ptcGeoNetworking) runs on ItsMtc { function f_ptcGeoNetworkingDown(in ItsNt p_ptcGeoNetworking) runs on ItsMtc { tc_guard.start; tc_guard.start; alt { alt { [] p_ptcGeoNetworking.done { [] p_ptcGeoNetworking.done { Loading @@ -37,12 +39,12 @@ module LibItsGeoNetworking_Functions { } } [] tc_guard.timeout { [] tc_guard.timeout { log("*** f_cfGeoNetworkingDown: ERROR: Timeout while waiting for component ***"); log("*** f_ptcGeoNetworkingDown: ERROR: Timeout while waiting for component ***"); setverdict(inconc); setverdict(inconc); } } } } unmap(p_ptcGeoNetworking:geoNetworkingPort); unmap(p_ptcGeoNetworking:geoNetworkingPort); } // end f_cfGeoNetworkingDown } // end f_ptcGeoNetworkingDown } // end LibItsGeoNetworking_Functions } // end LibItsGeoNetworking_Functions No newline at end of file