Gurux.DLMS.GXDLMSServer.NotifyFindObject C# (CSharp) Метод

NotifyFindObject() приватный Метод

Find object.
private NotifyFindObject ( ObjectType objectType, int sn, String ln ) : GXDLMSObject
objectType ObjectType Object type. In Short Name referencing this is not used.
sn int Short Name. In Logical name referencing this is not used.
ln String Logical Name. In Short Name referencing this is not used.
Результат Gurux.DLMS.Objects.GXDLMSObject
        internal GXDLMSObject NotifyFindObject(ObjectType objectType, int sn, String ln)
        {
            return FindObject(objectType, sn, ln);
        }

Usage Example

Пример #1
0
        ///<summary>
        /// Find Short Name object.
        ///</summary>
        ///<param name="sn">
        ///Short name to find.
        ///</param>
        private static GXSNInfo FindSNObject(GXDLMSServer server, int sn)
        {
            GXSNInfo i = FindSNObject(server.Items, sn);

            if (i.Item == null)
            {
                i.Item = server.NotifyFindObject(ObjectType.None, sn, null);
            }
            return(i);
        }
All Usage Examples Of Gurux.DLMS.GXDLMSServer::NotifyFindObject