Ejemplo n.º 1
0
 /// <summary>
 /// Copy CTOR
 /// </summary>
 /// <param name="rangeData"></param>
 public RangeData(RangeData rangeData)
 {
     FieldIndex       = rangeData.FieldIndex;
     Min              = new BoundaryValue(rangeData.Min);
     Max              = new BoundaryValue(rangeData.Max);
     DatetimeRangeIdx = rangeData.DatetimeRangeIdx;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copy CTOR
 /// </summary>
 /// <param name="boundaryValue"></param>
 public BoundaryValue(BoundaryValue boundaryValue)
 {
     Type         = boundaryValue.Type;
     Value        = new FieldValue();
     Value.Value  = boundaryValue.Value.Value;
     Value.IsNull = boundaryValue.Value.IsNull;
     Discard      = boundaryValue.Discard;
 }
Ejemplo n.º 3
0
        public override bool Equals(object obj)
        {
            BoundaryValue other = obj as BoundaryValue;

            if (other == null)
            {
                return(false);
            }

            return((this.Discard == other.Discard) &&
                   (this.Type == other.Type) &&
                   (object.Equals(this.Value, other.Value)));
        }
Ejemplo n.º 4
0
        }                                        // == 0 - regular field
        //  > 0 - order number of the range for time part in range table (idx + 1)
        //  < 0 - time part of the Datetime field

        /// <summary>
        /// CTOR
        /// </summary>
        public RangeData()
        {
            Min = new BoundaryValue();
            Max = new BoundaryValue();
        }