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