Exemplo n.º 1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MinU.GetHashCode();
         hashCode = (hashCode * 397) ^ MinV.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxU.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxV.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
        public override string ToString()
        {
            string ret = string.Format("{0}c, ", Timeout.ToString());

            switch (TpIU)
            {
            case EIU.ByI:
                ret += string.Format("{0}А, макс: {1}В", NominalI.ToString(), MaxU.ToString());
                break;

            case EIU.ByU:
                ret += string.Format("{0}В, макс: {1}А", NominalU.ToString(), MaxI.ToString());
                break;
            }
            return(ret);
        }
Exemplo n.º 3
0
 protected bool Equals(TexCoord other)
 {
     return(MinU.Equals(other.MinU) && MinV.Equals(other.MinV) && MaxU.Equals(other.MaxU) && MaxV.Equals(other.MaxV));
 }