private void ModifyConnections() { _log.FunctionEntryMessage("modify connections"); string[] propItems; uint connCount; _driverContext.GetNodeInfo("DrvConfig.Connections", out propItems, out connCount); uint idxI; for (idxI = 0; idxI < connCount; idxI++) { ModifyConnection(idxI); } _log.FunctionExitMessage(); // add a new connection (not using an index) if (_driverContext.AddNode("DrvConfig.Connections")) { // this connection remains with default values idxI += 1; // add a new connection - uses an index if (_driverContext.AddNode("DrvConfig.Connections[" + idxI.ToString() + "]")) { // this connection gets the minimum information necessary to be accepted by the driver ModifyConnection(idxI); } } }
private void ModifyConnections() { _log.FunctionEntryMessage("modify connections"); string[] propItems; uint connCount; _driverContext.GetNodeInfo("DrvConfig.Connections", out propItems, out connCount); uint idxI; for (idxI = 0; idxI < connCount; idxI++) { ModifyConnection(idxI); } _log.FunctionExitMessage(); if (_driverContext.AddNode("DrvConfig.Connections[" + idxI.ToString() + "]")) { //ModifyConnection(idxI); } }