?? gen.ned
字號:
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 1992-2005 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//
// Authors: Gabor Lencse and Andras Varga (TU Budapest),
// based on the code from Maurits Andre, George van Montfort,
// and Gerard van de Weerd (TU Delft).
//
//
// Generates data packets for MAC.
//
simple Generator
parameters:
// Number of stations. Destination MAC address will be a random
// [0,numStatons-1] integer, omitting our own address.
numStations : numeric const,
// MAC Address of this station.
address : numeric const,
// Number of messages to generate.
numMessages : numeric const,
// Message length in bytes. It can be a random variate.
messageLength : numeric,
// Time between two messages. It can be a random variate.
interArrivalTime : numeric;
gates:
out: out;
endsimple
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -