예제 #1
0
        private void onReceived_colordata(TimedShort colordata)
        {
            if (InvokeRequired)
            {
                Invoke(new Action <TimedShort>(onReceived_colordata), new object[] { colordata });
                tmpcolor = (short?)(colordata.Data);

                addpoint();
                return;
            }
        }
예제 #2
0
 ///<exclude/>
 public bool Equals(TimedShort other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other._Tm.Equals(_Tm) && other._Data.Equals(_Data);
 }