Diff of /trunk/IoDrvMEGAIO/IoDrvMEGAIO_1/IoDrvMEGAIO/ICmpIoDrv/IoDrvUpdateConfiguration/svnobj [r31] .. [r32]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/IoDrvMEGAIO/IoDrvMEGAIO_1/IoDrvMEGAIO/ICmpIoDrv/IoDrvUpdateConfiguration/svnobj
+++ b/trunk/IoDrvMEGAIO/IoDrvMEGAIO_1/IoDrvMEGAIO/ICmpIoDrv/IoDrvUpdateConfiguration/svnobj
@@ -1,5 +1,5 @@
-Gx_l½!0…jüoì÷ÔL©…*J3System.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
-longTagText
ŠIoDrvUpdateConfiguration_Count := IoDrvUpdateConfiguration_Count + 1;TIoDrvUpdateConfiguration := Errors.ERR_OK;8IF (pConnectorList = 0) THEN	RETURN;END_IFÄm_pConnector := IoMgrConfigGetConnector(pConnectorList, ADR(nCount), m_wModuleType, m_dwInstance);0IF m_pConnector = 0 THENd	IoDrvUpdateConfiguration := ERRORS.ERR_PARAMETER;^//check if device is enabled in the device tree€IF (m_pConnector^.dwFlags AND ConnectorFlags.CF_ENABLE) = 0 THENV	IoDrvUpdateConfiguration := Errors.ERR_OK;@IF m_pConnector^.hIoDrv = 0 THENL	m_pConnector^.hIoDrv := m_hInterface;^	m_pConnector^.pFather^.hIoDrv := m_hInterface;	V	{IF defined (pou:IoMgrConfigSetDiagnosis)}L	IoMgrConfigSetDiagnosis(m_pConnector,X							ConnectorFlags.CF_DRIVER_AVAILABLE OR V							ConnectorFlags.CF_CONNECTOR_FOUND OR!`							ConnectorFlags.CF_CONNECTOR_CONFIGURED OR"V							ConnectorFlags.CF_CONNECTOR_ACTIVE);#	{END_IF}$^	IoMgrConfigSetDiagnosis(m_pConnector^.pFather,%^	{IF defined (pou:IoMgrSetDriverProperties)}			&¸		IoMgrSetDriverProperties(m_hInterface, DRVPROP_CONSISTENCY OR DRVPROP_BACKGROUND_GETDIAG);'&	{END_IF}										(\	// Map config-, input- and output parameters )v	pParameter := IoMgrConfigGetParameter(m_pConnector, 1000);*4	IF (pParameter <> 0) THEN+l		pParameter^.dwDriverSpecific := ADR(_instance.stIn);,	END_IF-    .v	pParameter := IoMgrConfigGetParameter(m_pConnector, 2000);/n		pParameter^.dwDriverSpecific := ADR(_instance.stOut);0   1v	pParameter := IoMgrConfigGetParameter(m_pConnector, 3000);2¤		pstConfig := IoStandard.ConfigGetParameterValuePointer(pParameter, ADR(Result));3@		_instance.stCfg := pstConfig^;4R// 	//Go through all childs of the device5 // 	pChild := IoMgrConfigGetFirstChild(m_pConnector, ADR(nCount), m_pConnector);64// 	WHILE (pChild <> 0) DO7€// 		IF (pChild^.dwFlags AND ConnectorFlags.CF_ENABLE) <> 0 THEN8L// 			pChild^.hIoDrv := m_hInterface;	9`// 			{IF defined (pou:IoMgrConfigSetDiagnosis)}:J// 			IoMgrConfigSetDiagnosis(pChild,;b// 									ConnectorFlags.CF_DRIVER_AVAILABLE OR<`// 									ConnectorFlags.CF_CONNECTOR_FOUND OR=j// 									ConnectorFlags.CF_CONNECTOR_CONFIGURED OR>`// 									ConnectorFlags.CF_CONNECTOR_ACTIVE);?// 			{END_IF}@// 		END_IFA”// 		pChild := IoMgrConfigGetNextChild(pChild, ADR(nCount), m_pConnector);B// 	END_WHILECInterfaceDL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}E:{attribute 'conditionalshow'}FNMETHOD IoDrvUpdateConfiguration : UDINTGVAR_INPUTH^	pConnectorList : POINTER TO IoConfigConnector;I	nCount : DINT;JEND_VARKVARLX	pParameter : POINTER TO IoConfigParameter;	M2	Result : RTS_IEC_RESULT;NH	pstConfig : POINTER TO IoDrvConfig;O	i : int;ÐÐÐENÐÐ	
+Gx_l!0…jüoƶ¸@)õ "System.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
+longTagText
ŠIoDrvUpdateConfiguration_Count := IoDrvUpdateConfiguration_Count + 1;TIoDrvUpdateConfiguration := Errors.ERR_OK;8IF (pConnectorList = 0) THEN	RETURN;END_IFÄm_pConnector := IoMgrConfigGetConnector(pConnectorList, ADR(nCount), m_wModuleType, m_dwInstance);0IF m_pConnector = 0 THENd	IoDrvUpdateConfiguration := ERRORS.ERR_PARAMETER;^//check if device is enabled in the device tree€IF (m_pConnector^.dwFlags AND ConnectorFlags.CF_ENABLE) = 0 THENV	IoDrvUpdateConfiguration := Errors.ERR_OK;@IF m_pConnector^.hIoDrv = 0 THENL	m_pConnector^.hIoDrv := m_hInterface;^	m_pConnector^.pFather^.hIoDrv := m_hInterface;	V	{IF defined (pou:IoMgrConfigSetDiagnosis)}L	IoMgrConfigSetDiagnosis(m_pConnector,X							ConnectorFlags.CF_DRIVER_AVAILABLE OR V							ConnectorFlags.CF_CONNECTOR_FOUND OR!`							ConnectorFlags.CF_CONNECTOR_CONFIGURED OR"V							ConnectorFlags.CF_CONNECTOR_ACTIVE);#	{END_IF}$^	IoMgrConfigSetDiagnosis(m_pConnector^.pFather,%^	{IF defined (pou:IoMgrSetDriverProperties)}			&¸		IoMgrSetDriverProperties(m_hInterface, DRVPROP_CONSISTENCY OR DRVPROP_BACKGROUND_GETDIAG);'&	{END_IF}										(\	// Map config-, input- and output parameters )v	pParameter := IoMgrConfigGetParameter(m_pConnector, 1000);*4	IF (pParameter <> 0) THEN+l		pParameter^.dwDriverSpecific := ADR(_instance.stIn);,	END_IF-    .v	pParameter := IoMgrConfigGetParameter(m_pConnector, 2000);/n		pParameter^.dwDriverSpecific := ADR(_instance.stOut);0   1v	pParameter := IoMgrConfigGetParameter(m_pConnector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ÚÐ-8ÐÐ	
+­ÚÐ-9ÐÐ	
+­ÚÐ-:ÐÐ	
+­ÚÐ-;ÐÐ	
+­PÚÐ-<ÐÐ	
+­:ÚÐ-=ÐÐ	
+­ÚÐ->ÐÐ	
+­\ÚÐ-?ÐÐ	
+­gÚÐ-@ÐÐ	
+­ÚÐ-;ÐÐ	
 ­ÚÐ-