?? asynchost.ned
字號:
//***************************************************************************
// * file: AsyncHost.ned
// *
// * author: yupeng.hu
// *
// * copyright: (C) 2006 HUNAN Univer, China
//
// * part of: Asynchronous Simulation
// *
// *
// ***************************************************************************/
import
"BasicApplLayer",
"AsyncApplLayer",
"AsyncNetLayer",
//"AsyncNic",
"Nic80211",
"BasicMobility",
"Blackboard";
module AsyncHost
parameters:
applLayer: string; //application layer type
//address: numeric;
submodules:
blackboard: Blackboard;
display: "p=130,70,rect;b=25,25;o=black";
mobility: BasicMobility;
display: "p=130,140;i=cogwheel2";
appl: applLayer like BasicApplLayer;
display: "b=35,26;p=60,50;i=app";
net: AsyncNetLayer;
display: "b=32,30;p=60,108;i=prot1";
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=180,200,rect;o=white";
endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -