ItsRSUsSimulator_TestSystem.ttcn 1.91 KB
Newer Older
garciay's avatar
garciay committed
module ItsRSUsSimulator_TestSystem {
    
garciay's avatar
garciay committed
    // LibIts
    import from ITS_Container language "ASN.1:1997" all;
    import from DSRC language "ASN.1:1997" all;
    
garciay's avatar
garciay committed
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TestSystem all;
    import from LibItsGeoNetworking_TypesAndValues all;
    
    // AtsRSUsSimulator
    import from ItsRSUsSimulator_TypesAndValues all;
    import from ItsRSUsSimulator_Pics all;
    
    /**
     * @desc Test component for ITS Network and Transport layer
     */
    type component ItsRSUsSimulator extends ItsGeoNetworking {
        /**
         * @dec RSU position
         */
garciay's avatar
garciay committed
        var LongPosVector vc_longPosVectorRsu := {};
        /**
         * @dec RSU Geonetworking area
         */
garciay's avatar
garciay committed
        var GeoArea vc_geoArea := {};
        /**
         * @dec Supported sent messages templates: one or more from CAM, DENM, MAPEM, SPATEM, IVIM, SSEM
         * @see PICS_GENERATE_xxx
         */
        var template (value) RsuMessagesValueList vc_rsuMessagesValueList := {};
        /**
         * @dec DENM event counter: one RSU can send one or mode different DENM
         */
garciay's avatar
garciay committed
        var integer vc_denmEventCounter := 0;
        /**
         * @dec DENM sequence number index
         */
garciay's avatar
garciay committed
        var SequenceNumber vc_sequenceNumber := 0;
        var MsgCount vc_msgIssueRevision := 0;
        /**
         * @dec List of MovementState per intersection and per RSU 
         */
        var template (value) MovementListPerIntersectionRsu vc_states;
        /**
         * @dec Current SPATEM state
         */
        var integer vc_spatemStatesId := 0;
garciay's avatar
garciay committed
        
        timer tc_cam    := PICS_CAM_FREQUENY;
        timer tc_denm   := PICS_DENM_FREQUENY;
        timer tc_mapem  := PICS_MAPEM_FREQUENY;
        timer tc_spatem := PICS_SPATEM_FREQUENY;
        timer tc_ivim   := PICS_IVIM_FREQUENY;
        
    } // End of component ItsRSUsSimulator
    
} // End of module ItsRSUsSimulator_TestSystem