public SfcTestHelper(List <PatchEntity> stepEntities, Test testContext)
        {
            SfcEntity sfcEntity = new SfcEntity();

            foreach (PatchEntity step in stepEntities)
            {
                sfcEntity.AddPatch(step);
            }
            SimulationPageMock simulationPageMock = new SimulationPageMock();

            _controller = new ProgrammableLogicController(simulationPageMock, sfcEntity);
            _controller.Startup();
            testContext.Assert.IsTrue(_controller.IsLogicValid(), "ProgrammableLogicController->IsLogicValid");
        }
 public Master(SfcEntity sfcEntity, SimulationPage simulationPage)
 {
     SimulationPage = simulationPage;
     Plc            = new ProgrammableLogicController(simulationPage, sfcEntity);
     Plc.Startup();
 }