public HansPlcTwinController(Vortex.Connector.ConnectorAdapter adapter) { this.Connector = adapter.GetConnector(adapter.Parameters); _Utils = new Utils(this.Connector, "", "Utils"); _prgAddedProperties = new prgAddedProperties(this.Connector, "", "prgAddedProperties"); _MAIN = new MAIN(this.Connector, "", "MAIN"); _prgSimple = new prgSimple(this.Connector, "", "prgSimple"); _prgWeatherStations = new prgWeatherStations(this.Connector, "", "prgWeatherStations"); }
public HansPlcTwinController() { var adapter = new Vortex.Connector.ConnectorAdapter(typeof(DummyConnectorFactory)); this.Connector = adapter.GetConnector(new object[] {}); _Utils = new Utils(this.Connector, "", "Utils"); _prgAddedProperties = new prgAddedProperties(this.Connector, "", "prgAddedProperties"); _MAIN = new MAIN(this.Connector, "", "MAIN"); _prgSimple = new prgSimple(this.Connector, "", "prgSimple"); _prgWeatherStations = new prgWeatherStations(this.Connector, "", "prgWeatherStations"); }