Beispiel #1
0
        public HistoryRecordDataCondition Copy()
        {
            HistoryRecordDataCondition con = new HistoryRecordDataCondition();

            con.End        = End;
            con.Start      = Start;
            con.RecordName = RecordName;
            return(con);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (GetType() != obj.GetType())
            {
                return(false);
            }
            HistoryRecordDataCondition condition2 = (HistoryRecordDataCondition)obj;

            if (Start == condition2.Start &&
                End == condition2.End &&
                RecordName == condition2.RecordName)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }