Skip to content
Snippets Groups Projects
Commit fb1e8a47 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

TODO set timesteps in PDUs

parent d40805ea
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ public class ExampleSimulationProgram
public void initializeSimulationEntities()
{
if (pduFactory == null)
pduFactory = disChannel.getPduFactory();
pduFactory = disChannel.getPduFactory();
entityStatePdu_1 = pduFactory.makeEntityStatePdu();
entityStatePdu_2 = pduFactory.makeEntityStatePdu();
firePdu_1a = pduFactory.makeFirePdu();
......@@ -242,6 +242,8 @@ public class ExampleSimulationProgram
System.out.println ("... sending PDUs of interest for simulation step " + simulationLoopCount + ", monitor loopback to confirm sent");
System.out.flush();
// TODO set timesteps in PDUs
sendAllPdusForLoopTimestep(entityStatePdu_1,
firePdu_1a,
disChannel.COMMENTPDU_APPLICATION_STATUS,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment