예제 #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;
 }
예제 #2
0
        public override bool Equals(object obj)
        {
            RangeData other = obj as RangeData;

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

            return((this.DatetimeRangeIdx == other.DatetimeRangeIdx) &&
                   (this.FieldIndex == other.FieldIndex) &&
                   Object.Equals(this.Max, other.Max) &&
                   Object.Equals(this.Min, other.Min));
        }