⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 network.ned

📁 基于omnet++开发的Mf框架下的802.11协议仿真。
💻 NED
字号:
//***************************************************************************// * file:        Network.ned// *// * author:      Marc Loebbers// *// * copyright:   (C) 2004 Telecommunication Networks Group (TKN) at// *              Technische Universitaet Berlin, Germany.// *// *              This program is free software; you can redistribute it // *              and/or modify it under the terms of the GNU General Public // *              License as published by the Free Software Foundation; either// *              version 2 of the License, or (at your option) any later // *              version.// *              For further information see file COPYING // *              in the top level directory// ***************************************************************************// * part of:     framework implementation developed by tkn// * description: a network to test the 802.11 modules// *              // ***************************************************************************// * changelog:   $Revision$// *              last modified:   $Date: 2004-09-23 09:56:00 +0200 (Thu, 23 Sep 2004) $// *              by:              $Author: omfw-willkomm $// **************************************************************************/import    "Host",    "ChannelControl";module Sim    parameters:        // parametes for the framework        playgroundSizeX : numeric const,	playgroundSizeY : numeric const,        numHosts : numeric const;            submodules:        channelcontrol: ChannelControl;            parameters:                playgroundSizeX = playgroundSizeX,		playgroundSizeY = playgroundSizeY;            display: "p=50,25;i=eye14";        host: Host[numHosts];            display: "p=50,50;i=node";    connections nocheck:    // all connections and gates are to be generated dynamically    display: "p=0,0;b=$playgroundSizeX,$playgroundSizeY,rect;o=white";endmodulenetwork sim : Sim    parameters:        playgroundSizeX = input(40,"playgroundSizeX"),	playgroundSizeY = input(40,"playgroundSizeY"),        numHosts =input(2,"Number of hosts:");endnetwork

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -