12345678910111213141516171819202122232425262728293031323334 |
- package inet.showcases.wireless.power;
- import inet.common.lifecycle.LifecycleController;
- import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
- import inet.node.inet.AdhocHost;
- import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
- import inet.visualizer.integrated.IntegratedCanvasVisualizer;
- network PowerConsumptionShowcase
- {
- parameters:
- int numHost;
- submodules:
- visualizer: IntegratedCanvasVisualizer {
- parameters:
- @display("p=100,100");
- }
- configurator: IPv4NetworkConfigurator {
- parameters:
- @display("p=100,200");
- }
- radioMedium: Ieee80211ScalarRadioMedium {
- parameters:
- @display("p=100,300");
- }
- lifecycleController: LifecycleController {
- parameters:
- @display("p=100,400");
- }
- host[numHost]: AdhocHost {
- parameters:
- @display("p=150,300");
- }
- }
|