PathLossShowcase.ned 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // This program is free software: you can redistribute it and/or modify
  3. // it under the terms of the GNU Lesser General Public License as published by
  4. // the Free Software Foundation, either version 3 of the License, or
  5. // (at your option) any later version.
  6. //
  7. // This program is distributed in the hope that it will be useful,
  8. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. // GNU Lesser General Public License for more details.
  11. //
  12. // You should have received a copy of the GNU Lesser General Public License
  13. // along with this program. If not, see http://www.gnu.org/licenses/.
  14. //
  15. package inet.showcases.wireless.pathloss;
  16. import inet.environment.common.PhysicalEnvironment;
  17. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  18. import inet.node.inet.AdhocHost;
  19. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  20. import inet.visualizer.integrated.IntegratedVisualizer;
  21. network PathLossShowcase
  22. {
  23. @display("bgb=1400,400");
  24. submodules:
  25. source: AdhocHost {
  26. @display("p=144.37871,110.05918");
  27. }
  28. destination: AdhocHost {
  29. @display("p=226.62724,110.05918");
  30. }
  31. configurator: IPv4NetworkConfigurator {
  32. @display("p=49.704147,35.502964");
  33. }
  34. radioMedium: Ieee80211ScalarRadioMedium {
  35. @display("p=49.704147,85.20711");
  36. }
  37. physicalEnvironment: PhysicalEnvironment {
  38. @display("p=49.704147,135.50298");
  39. }
  40. }