Ejemplo n.º 1
0
            public override int CompareTo(ComponentDataType other)
            {
                if (this.GetType() != other.GetType())
                {
                    return(-1);
                }
                CDTUInt32 oth = (CDTUInt32)other;
                int       res = key.CompareTo(oth.key); if (res != 0)

                {
                    return(res);
                }

                res = controlCode.CompareTo(oth.controlCode); if (res != 0)
                {
                    return(res);
                }
                return(data.CompareTo(oth.data));
            }
Ejemplo n.º 2
0
 public CDTUInt32(int APIversion, EventHandler handler, CDTUInt32 basis) : this(APIversion, handler, basis.key, basis.controlCode, basis.data)
 {
 }