Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (BluetoothAddress.Length != 0)
            {
                hash ^= BluetoothAddress.GetHashCode();
            }
            if (SystemTime != 0L)
            {
                hash ^= SystemTime.GetHashCode();
            }
            if (CommunicationType != global::com.shimmerresearch.datastructure.ObjectCluster2.Types.CommunicationType.BT)
            {
                hash ^= CommunicationType.GetHashCode();
            }
            hash ^= DataMap.GetHashCode();
            return(hash);
        }