Opc.Ua.BaseObjectState.Update C# (CSharp) Method

Update() public method

Updates the attributes from the stream.
public Update ( ISystemContext context, XmlDecoder decoder ) : void
context ISystemContext The context for the system being accessed.
decoder XmlDecoder The decoder wrapping the stream to read.
return void
        public override void Update(ISystemContext context, XmlDecoder decoder)
        {
            base.Update(context, decoder);

            decoder.PushNamespace(Namespaces.OpcUaXsd);

            if (decoder.Peek("EventNotifier"))
            {
                EventNotifier = decoder.ReadByte("EventNotifier");
            }

            decoder.PopNamespace();
        }
        

Same methods

BaseObjectState::Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void