From dc91d35d01b979bcf14edd9a56245791f9c33071 Mon Sep 17 00:00:00 2001 From: "william.oblak" <william.oblak@nps.edu> Date: Tue, 9 May 2023 15:23:51 -0700 Subject: [PATCH] Changed Assignment 3 DIS information from USA to AUL --- .../homework3/Oblak/ExampleSimulationProgram.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java b/assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java index 6bd40e8749..48ede73ae0 100644 --- a/assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java +++ b/assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java @@ -7,11 +7,10 @@ * and tracing its source before destroying it - updated September 12, 2021 to ensure * correct file pushed to Gitlab. * - * @author Bruce Chojnacki + * @author William Oblak (Changes made from copy given in class) */ package MV3500Cohort2023MarchJune.homework3.Oblak; -import MV3500Cohort2023MarchJune.homework3.Chojnacki.*; import edu.nps.moves.dis7.enumerations.*; // match any import edu.nps.moves.dis7.pdus.*; // match any of the PDU classes, easier than listing individually import edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface; @@ -27,7 +26,7 @@ import java.util.logging.Logger; */ public class ExampleSimulationProgram { - private boolean verboseComments = true; + private boolean verboseComments = true; static final String NETWORK_ADDRESS_DEFAULT = "239.1.2.3"; static final int NETWORK_PORT_DEFAULT = 3000; static String networkAddress = NETWORK_ADDRESS_DEFAULT; @@ -46,7 +45,7 @@ public class ExampleSimulationProgram EntityType FNFireWallType = new EntityType(); FNFireWallType.setEntityKind(EntityKind.PLATFORM); FNFireWallType.setDomain(Domain.inst(PlatformDomain.OTHER)); - FNFireWallType.setCountry(Country.UNITED_STATES_OF_AMERICA_USA); + FNFireWallType.setCountry(Country.AUSTRALIA_AUS); FNFireWallType.setCategory(3); FNFireWallType.setSubCategory(1); FNFireWallType.setSpecific(1); @@ -77,7 +76,7 @@ public class ExampleSimulationProgram EntityType TracerouteType = new EntityType(); //2.2.225.2.13.1 TracerouteType.setEntityKind(EntityKind.MUNITION); TracerouteType.setDomain(Domain.inst(PlatformDomain.OTHER)); - TracerouteType.setCountry(Country.UNITED_STATES_OF_AMERICA_USA); + TracerouteType.setCountry(Country.AUSTRALIA_AUS); TracerouteType.setCategory(2); TracerouteType.setSubCategory(8); TracerouteType.setSpecific(1); -- GitLab