📄 host.ned
字号:
//***************************************************************************// * file: Network.ned// *// * author: Marc Loebbers, der Schoenste!// *// * 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 host in the 802.11 test network// * // ***************************************************************************// * changelog: $Revision$// * last modified: $Date: 2004-09-23 09:56:00 +0200 (Thu, 23 Sep 2004) $// * by: $Author: omfw-willkomm $// **************************************************************************/import "AsyncApplLayer", "AsyncNetLayer", "Nic80211", "ConstSpeedMobility", "Blackboard";module Host parameters: // parameters for the framework appendDisplay : string, applLayer : string; submodules: blackboard: Blackboard; display: "p=200,75;b=30,25"; mobility: ConstSpeedMobility; display: "p=200,150;b=30,25"; appl: applLayer like AsyncApplLayer; display: "p=90,50;b=100,20,rect"; net: AsyncNetLayer; display: "p=90,100;b=100,20,rect"; nic: Nic80211; display: "p=90,150;b=100,20,rect"; connections: nic.uppergateOut --> net.lowergateIn; nic.uppergateIn <-- net.lowergateOut; net.uppergateOut --> appl.lowergateIn; net.uppergateIn <-- appl.lowergateOut; display: "p=10,10;b=250,250,rect;o=white";endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -