示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TimestampSec != 0D)
            {
                hash ^= TimestampSec.GetHashCode();
            }
            if (ModuleName.Length != 0)
            {
                hash ^= ModuleName.GetHashCode();
            }
            if (SequenceNum != 0)
            {
                hash ^= SequenceNum.GetHashCode();
            }
            if (LidarTimestamp != 0UL)
            {
                hash ^= LidarTimestamp.GetHashCode();
            }
            if (CameraTimestamp != 0UL)
            {
                hash ^= CameraTimestamp.GetHashCode();
            }
            if (RadarTimestamp != 0UL)
            {
                hash ^= RadarTimestamp.GetHashCode();
            }
            if (Version != 0)
            {
                hash ^= Version.GetHashCode();
            }
            if (status_ != null)
            {
                hash ^= Status.GetHashCode();
            }
            if (FrameId.Length != 0)
            {
                hash ^= FrameId.GetHashCode();
            }
            return(hash);
        }
示例#2
0
 public override string ToString()
 {
     return("AnimID=" + AnimID.ToString()
            + "/seq=" + SequenceNum.ToString()
            + "/objID=" + ObjectID.ToString());
 }