SetDirty() 개인적인 메소드

private SetDirty ( Topic topic ) : void
topic Topic
리턴 void
예제 #1
0
            /// <summary>
            /// Sets the topic value and calls UpdateNotify on the RTD Server to refresh.
            /// </summary>
            /// <param name="value"></param>
            public void UpdateValue(object value)
            {
                object fixedValue = FixValue(value);

                lock (Server._updateLock)
                {
                    if (!object.Equals(_value, fixedValue))
                    {
                        _value = fixedValue;
                        _server.SetDirty(this);
                    }
                }
            }
예제 #2
0
 /// <summary>
 /// Calls UpdateNotify on the RTD server to refresh.
 /// </summary>
 public void UpdateNotify()
 {
     _server.SetDirty(this);
 }