public void Setup()
 {
     id           = Guid.NewGuid().ToString();
     stateFactory = new SimulationStateFactory(new PlantDescriptorService());
     plant        = TestPlant.CreatePlant();
     stateData    = new SimulationStateSnapshot(100);
 }
Esempio n. 2
0
 public GrpcSimulationEventHandler(SimulationClientService.SimulationClientServiceClient client, ISimulationStateFactory stateFactory)
 {
     this.client       = client;
     this.stateFactory = stateFactory;
 }