BACnet.Client.Descriptors.DeviceInfo.syncFrom C# (CSharp) Method

syncFrom() protected method

Syncs updates from another instance to this one
protected syncFrom ( object other, string name ) : void
other object The instance to sync from
name string The name of the property to sync
return void
        protected override void syncFrom(object other, string name)
        {
            var di = other as DeviceInfo;
            if(di != null)
            {
                switch (name)
                {
                    case "DatabaseRevision":
                        this.DatabaseRevision = di.DatabaseRevision;
                        break;
                    default:
                        base.syncFrom(di, name);
                        break;
                }
            }
        }