updated doc to reflect changes in the way client parses an scl file

pull/11/head
Stefan Feuerhahn 6 years ago
parent bbc98a065a
commit 1cc94089f4

@ -67,7 +67,7 @@ All nodes of the server model in OpenIEC61850 are of one of the following seven
They all implement the ModelNode interface. The nodes FcDataObject, Array, ConstructedDataAttribute and BasicDataAttribute also implement the interface called FcModelNode because they are considered functionally constraint data in the standard. Many of the services of IEC 61850 can only be applied to functionally constraint data (e.g. GetDataValues and SetDataValues).
When programming a client you get a copy of the server model either through ClientAssociation.retrieveModel() or ClientAssociation.getModelFromSclFile(). When programming a server you get a copy of the server model through the ServerSap.getModelCopy() function.
When programming a client you get a copy of the server model either through ClientAssociation.retrieveModel from the server device or through SclParser.parse from an SCL file. When using the second approach, the model has to be set in the client association using ClientAssociation.setServerModel. When programming a server you get a copy of the server model through the ServerSap.getModelCopy() function.
You can then navigate through the model using several functions:

@ -1165,9 +1165,9 @@ public final class ClientAssociation {
/**
* This function will get the definition of all persistent DataSets from the server and update the
* DataSets in the ServerModel that were returned by the retrieveModel() or getModelFromSclFile()
* functions. It will delete DataSets that have been deleted since the last update and add any new
* DataSets
* DataSets in the ServerModel that was returned by {@code retrieveModel} or set using {@code
* setServerModel}. It will delete DataSets that have been deleted since the last update and add
* any new DataSets
*
* @throws ServiceError if a ServiceError is returned by the server.
* @throws IOException if a fatal association error occurs. The association object will be closed

Loading…
Cancel
Save